/* Pobal Cyber — brand system
   gold   #F4C839  (brand accent)
   olive  #575B37  (brand secondary)
   ink    #1F2020  (near-black)
   cream  #F9F7F0  (light surface) */

:root {
  --gold: #f4c839;
  --gold-deep: #d9ac1e;
  --olive: #575b37;
  --olive-deep: #3c402a;
  --ink: #1f2020;
  --ink-2: #171818;
  --cream: #f9f7f0;
  --paper: #fffefb;
  --muted: #6b6f63;
  --line: rgba(31, 32, 32, 0.12);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 24, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 247, 240, 0.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand img { height: 18px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--cream); font-size: 0.95rem; font-weight: 500; opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-gold { background: var(--gold); color: var(--ink) !important; opacity: 1 !important; }
.btn-gold:hover { background: #ffd84d; box-shadow: 0 8px 24px rgba(244, 200, 57, 0.35); }
.btn-ghost {
  color: var(--cream); border: 1.5px solid rgba(249, 247, 240, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { box-shadow: 0 8px 24px rgba(31, 32, 32, 0.35); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-2) 0%, #23261c 55%, var(--olive-deep) 100%);
  color: var(--cream);
  padding: 120px 24px 140px;
  min-height: 82vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/assets/foliage-deep.jpg") center/cover no-repeat;
  opacity: 0.28; mix-blend-mode: luminosity;
}
.hero-net { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 620px; opacity: 0.5; }
.net-lines line { stroke: var(--gold); stroke-width: 1; opacity: 0.45; }
.net-nodes circle { fill: var(--gold); }
.net-nodes circle:nth-child(odd) { animation: pulse 3.2s ease-in-out infinite; }
.net-nodes circle:nth-child(even) { animation: pulse 3.2s 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.hero-content { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.eyebrow {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 24px; }
.hero .accent { color: var(--gold); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; opacity: 0.88; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- ticker ---------- */
.ticker { background: var(--gold); overflow: hidden; padding: 14px 0; }
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: scroll 36s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.14em; color: var(--ink); white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, .split-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--cream); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31, 32, 32, 0.14); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-link { font-family: var(--font-head); font-weight: 600; color: var(--olive); }
.card:hover .card-link { color: var(--gold-deep); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img img { border-radius: 18px; }
.split-text p { margin: 18px 0; color: #3d4038; }
.checks { list-style: none; margin-top: 24px; }
.checks li { padding: 10px 0 10px 36px; position: relative; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold);
  clip-path: none;
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 17px;
  width: 10px; height: 6px;
  border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* smb offer */
.offer {
  background: linear-gradient(150deg, var(--ink-2) 0%, #2a2d1f 60%, var(--olive-deep) 100%);
  color: var(--cream); padding: 96px 24px; position: relative; overflow: hidden;
}
.offer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
}
.offer h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.offer-price-inline { color: var(--gold); }
.offer-copy > p { opacity: 0.88; max-width: 560px; }
.offer .btn { margin-top: 30px; }
.checks-light li::after { border-color: var(--ink); }
.checks-light li { color: var(--cream); }
.offer-badge {
  justify-self: center;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  box-shadow: 0 24px 70px rgba(244, 200, 57, 0.35);
  transform: rotate(-6deg);
}
.offer-badge-price { font-family: var(--font-head); font-weight: 700; font-size: 4.4rem; line-height: 1; }
.offer-badge-label {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.fine-print { margin-top: 16px; font-size: 0.8rem; opacity: 0.6; max-width: 480px; }

/* hero copy of the offer badge */
.hero-badge {
  position: absolute; right: 2%; top: 54%;
  width: 200px; height: 200px;
  transform: rotate(8deg);
  animation: bob 5s ease-in-out infinite;
  transition: box-shadow 0.2s;
  z-index: 3;
}
.hero-badge .offer-badge-price { font-size: 3rem; }
.hero-badge .offer-badge-label { font-size: 0.78rem; }
.hero-badge:hover { box-shadow: 0 24px 80px rgba(244, 200, 57, 0.55); }
@keyframes bob {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-12px); }
}

/* about */
.about-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center;
}
.about-photo img {
  border-radius: 50%; aspect-ratio: 1; object-fit: cover;
  border: 6px solid var(--gold);
  box-shadow: 0 18px 50px rgba(31, 32, 32, 0.18);
}
.about-role {
  font-family: var(--font-head); font-weight: 600; color: var(--olive);
  margin: 6px 0 18px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem;
}
.about-text > p:not(.eyebrow):not(.about-role) { margin-bottom: 16px; color: #3d4038; }
.about-text .btn { margin-top: 10px; }
.cert-link { color: var(--gold-deep); font-weight: 600; }
.cert-link:hover { text-decoration: underline; }

/* cta */
.cta { background: var(--gold); padding: 96px 24px; }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta p { margin-bottom: 36px; font-size: 1.1rem; color: rgba(31, 32, 32, 0.75); }
.cta .cta-alt { margin: 20px 0 0; font-size: 0.98rem; }
.cta-alt a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { background: var(--ink-2); color: var(--cream); padding: 48px 24px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer nav { display: flex; gap: 24px; }
.footer nav a { opacity: 0.75; font-size: 0.95rem; }
.footer nav a:hover { opacity: 1; color: var(--gold); }
.footer p { opacity: 0.55; font-size: 0.9rem; }
.footer-meta { text-align: right; }
.footer-loc { margin-bottom: 4px; }
@media (max-width: 900px) { .footer-meta { text-align: left; } }

/* ---------- solutions page ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ink-2) 0%, #23261c 70%, var(--olive-deep) 100%);
  color: var(--cream); padding: 110px 24px 90px; position: relative; overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.22; }
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 0; }

.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 88px 24px; max-width: var(--maxw); margin: 0 auto; }
.solution:nth-child(even of .solution) { direction: rtl; }
.solution:nth-child(even of .solution) > * { direction: ltr; }
.solution img { border-radius: 18px; }
.solution h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.solution p { color: #3d4038; }
.solution .eyebrow { margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tags span {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  background: var(--cream); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; color: var(--olive);
}
.solution-divider { max-width: var(--maxw); margin: 0 auto; border: 0; border-top: 1px solid var(--line); }

/* ---------- solution detail pages ---------- */
.detail-body { max-width: 800px; }
.detail-body h2, .faq h2, .steps-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 20px; }
.detail-body p { color: #3d4038; margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; padding: 16px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  list-style-position: outside;
}
.faq summary:hover { color: var(--gold-deep); }
.faq details p { color: #3d4038; padding: 0 0 18px; max-width: 720px; }
.related { padding-top: 0; padding-bottom: 64px; }
.related p { color: var(--muted); }
.related a { color: var(--olive); font-weight: 600; }
.related a:hover { color: var(--gold-deep); }
.solution-more { font-family: var(--font-head); font-weight: 600; color: var(--olive); display: inline-block; margin-top: 18px; }
.solution-more:hover { color: var(--gold-deep); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .net-nodes circle { animation: none !important; }
  .hero-badge { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .solution, .offer-inner, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .offer-badge { width: 220px; height: 220px; }
  .offer-badge-price { font-size: 3.4rem; }
  .hero-badge {
    position: static; margin: 40px auto 0; animation: none;
    width: 180px; height: 180px;
  }
  .about-photo { max-width: 280px; }
  .hero { padding: 90px 24px 100px; min-height: 0; }
  .hero-net { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink-2); padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(249, 247, 240, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-toggle { display: block; }
}
