:root {
  --bg: #0b0d17;
  --bg-2: #11141f;
  --surface: #161a28;
  --surface-2: #1d2233;
  --text: #f4f5f8;
  --text-dim: #a3a8b8;
  --text-muted: #6b7186;
  --accent: #7c5cff;
  --accent-2: #4dd1c5;
  --accent-grad: linear-gradient(135deg, #7c5cff 0%, #4dd1c5 100%);
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img { max-width: 100%; height: auto; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,13,23,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}
.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.menu-toggle:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.15);
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lang-switch a {
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent-grad);
  color: #0b0d17;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(124,92,255,0.6);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.16);
}

/* BREADCRUMB */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-dim); }

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,92,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #b8a6ff;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .gradient {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; }

/* SECTIONS */
section.block { padding: 80px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head.left { text-align: left; margin: 0 0 40px; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
}

/* PROBLEM / VALUE GRID (niche pages) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all .2s;
}
.value-card:hover {
  border-color: rgba(124,92,255,0.4);
  transform: translateY(-2px);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* PRODUCT LIST (checklist) */
.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-list { list-style: none; }
.product-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.product-list li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(77,209,197,0.15);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.product-list strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.product-list span {
  color: var(--text-dim);
  font-size: 14px;
}

/* HOW IT WORKS */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #0b0d17;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-dim);
  font-size: 14px;
}

/* AUDIENCE / DIVIDER BG */
.audience {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* PRICING */
.pricing { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(124,92,255,0.5);
  background: linear-gradient(180deg, rgba(124,92,255,0.08) 0%, var(--surface) 100%);
}
.price-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-grad);
  color: #0b0d17;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.price-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.price-amount small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
}
.price-desc {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.price-features { list-style: none; }
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 14px;
}
.price-features li::before {
  content: '✓';
  color: var(--accent-2);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ (SEO + GEO) */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 14px;
}
.faq-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* CTA */
.final-cta {
  background: linear-gradient(135deg, rgba(124,92,255,0.15) 0%, rgba(77,209,197,0.1) 100%);
  border: 1px solid rgba(124,92,255,0.3);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  margin: 60px auto;
  max-width: 1120px;
}
.final-cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: all .2s;
}
.blog-card:hover {
  border-color: rgba(124,92,255,0.4);
  transform: translateY(-2px);
}
.blog-card .blog-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.blog-article .article-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-article h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.blog-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}
.blog-article p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.blog-article ul {
  color: var(--text-dim);
  margin: 0 0 20px 22px;
  font-size: 16px;
  line-height: 1.75;
}
.blog-article a { color: var(--accent-2); }
.blog-article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--text-dim);
  font-style: italic;
  font-size: 17px;
}
.blog-cta-inline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}
.blog-cta-inline p { margin-bottom: 16px; }

/* TEAM (reused on niche pages if needed) */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  transition: all .2s;
  text-align: center;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-mark {
  display: inline-block;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.footer-brand .logo-mark span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a, .footer-col p {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  line-height: 1.85;
  font-size: 14px;
}
.footer-col a:hover { color: var(--text); }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  transition: all .2s;
  line-height: 1;
}
.footer-social a:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: rgba(124,92,255,0.4);
  transform: translateY(-1px);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    min-width: 220px;
    box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--text) !important;
    font-size: 15px;
  }
  .nav-links a:hover { background: var(--surface); }
  .lang-switch { margin-top: 8px; justify-content: center; align-self: stretch; }

  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  section.block { padding: 60px 0; }
  .final-cta { padding: 44px 24px; margin: 40px 16px; }

  .hero { padding: 60px 0 50px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 12px 20px; font-size: 13px; }

  .price-amount { font-size: 30px; }
  .price-amount small { font-size: 14px; }
  .price-card { padding: 28px 22px; }

  .final-cta .btn { width: 100%; justify-content: center; }
  .section-head { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  footer { padding: 50px 0 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .price-amount { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* COOKIE / CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  flex: 1 1 320px;
  margin: 0;
}
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 480px) {
  .cookie-banner { padding: 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
