:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #525050;
  --muted: rgba(82, 80, 80, 0.78);
  --border: rgba(31, 41, 55, 0.12);
  --primary: #a17255;
  --primary2: #805a43;
  --primary-border: #8d644a;
  --primary-border-hover: #6f4f3b;
  --section-alt: #f5f5f5;
  --hero-overlay: rgba(15, 18, 43, 0.65);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.25));
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 12px 40px rgba(43,124,255,0.25);
}

.meta-links {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.nav {
  display: flex;
  gap: 16px;
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a.active,
.nav a:hover {
  background: rgba(31,41,55,0.06);
  text-decoration: none;
}

.hero {
  padding: 54px 0 22px;
}

.hero-banner {
  position: relative;
  padding: 170px 0 70px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,18,43,0.40), rgba(15,18,43,0.65)),
    var(--hero-overlay);
}

.hero-content {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
}

.hero-card {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
  max-width: 860px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-main {
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  max-width: 980px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 4.2vw, 72px);
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.hero p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.35;
}

.hero-divider {
  width: min(520px, 85%);
  height: 2px;
  margin: 14px auto 18px;
  background: rgba(255,255,255,0.28);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary);
  border: 1px solid var(--primary-border);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary2);
  border-color: var(--primary-border-hover);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
}

.kpi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.kpi .tile {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
}

.kpi .tile strong {
  display: block;
  font-size: 18px;
}

.kpi .tile span {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.section {
  padding: 44px 0 88px;
  background: #ffffff;
}

.securing-line {
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  gap: clamp(6px, 1vw, 10px);
  width: 100%;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 30px);
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.securing-line > span {
  display: inline-block;
}

.securing-anchor {
  color: #1f2937;
}

.securing-rotating {
  color: #1aa6a6;
}

.section:nth-of-type(even) {
  background: var(--section-alt);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 30px;
  text-align: center;
  color: #1f2937;
}

.section-intro {
  margin: 0 auto 18px;
  max-width: 920px;
  text-align: center;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.split-content .section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.split-content h2 {
  text-align: left;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.image-slider {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.image-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: sliderFade 12s infinite;
}

.image-slider .slide:nth-child(1) { animation-delay: 0s; }
.image-slider .slide:nth-child(2) { animation-delay: 4s; }
.image-slider .slide:nth-child(3) { animation-delay: 8s; }

@keyframes sliderFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

.media-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: center;
}

.media-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.card-icon {
  display: flex;
  justify-content: center;
  margin: 4px 0 10px;
}

.card-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.card-icon-cyber { color: var(--primary); }
.card-icon-risk { color: #c7d61d; }
.card-icon-endpoint { color: #b04bd8; }
.card-icon-patch { color: #3f63cc; }
.card-icon-website { color: #8b2d6f; }
.card-icon-unknown { color: #58b534; }
.card-icon-contain { color: #c58a14; }
.card-icon-behavior { color: #7a5a2a; }
.card-icon-desktop { color: var(--primary); }
.card-icon-infra { color: #3f63cc; }
.card-icon-server { color: #58b534; }
.card-icon-zero { color: #2f6fd6; }
.card-icon-solve { color: #7a5a2a; }
.card-icon-brute { color: #c58a14; }
.card-icon-scan { color: #58b534; }
.card-icon-ddos { color: #8b2d6f; }
.card-icon-waf { color: var(--primary); }

.grid-threats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  text-align: center;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 32px 0;
  background: #2f363c;
  border-top: none;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.footer .container {
  text-align: center;
}

.footer-line {
  white-space: nowrap;
}

.footer a { color: #ffffff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-content h2 { text-align: center; }
  .split-content .section-intro { text-align: center; }
  .media-row { grid-template-columns: 1fr; }
  .securing-line { font-size: clamp(15px, 4.2vw, 24px); }
}

@media (max-width: 480px) {
  .securing-line { font-size: clamp(14px, 5.2vw, 20px); }
}
