/* ═══════════════════════════════════════════
   W3B•AI — SHARED DESIGN SYSTEM
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg:          #060A0D;
  --surface:     #0A1018;
  --card:        #0F1820;
  --card2:       #131E28;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.13);
  --green:       #00E87A;
  --green-dim:   rgba(0,232,122,0.10);
  --green-glow:  rgba(0,232,122,0.22);
  --green-line:  rgba(0,232,122,0.18);
  --white:       #ECF3EE;
  --muted:       rgba(236,243,238,0.44);
  --muted2:      rgba(236,243,238,0.22);
  --heading:     'Raleway', sans-serif;
  --body:        'DM Sans', sans-serif;
  --radius:      14px;
  --nav-h:       64px;
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══════════════════════
   CONTAINER
══════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  width: 100%;
}

/* ══════════════════════
   NAV
══════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(6,10,13,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo .dot { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: #060A0D !important;
  font-family: var(--heading);
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 24px var(--green-glow);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-pill:hover { opacity: 0.88; transform: translateY(-1px); }

/* ══════════════════════
   SECTIONS
══════════════════════ */
.section {
  padding: 90px 0;
  position: relative;
}
.section--dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.divider {
  height: 1px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

/* ══════════════════════
   TYPOGRAPHY
══════════════════════ */
.s-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}
.s-title {
  font-family: var(--heading);
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.s-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.78;
}

/* ══════════════════════
   BUTTONS
══════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--green);
  color: #060A0D;
  box-shadow: 0 0 32px var(--green-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(0,232,122,0.38); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--green-line); color: var(--green); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  background: none;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
  font-family: var(--body);
}
.btn-link:hover { border-bottom-color: var(--green); }

/* ══════════════════════
   CARDS
══════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--border2); }

/* ══════════════════════
   FAQ
══════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: none; border: none;
  color: var(--white);
  font-family: var(--body); font-size: 15px; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; color: var(--green);
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-dim); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-body-inner { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.78; }

/* ══════════════════════
   FOOTER
══════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--heading);
  font-size: 16px; font-weight: 900;
  color: var(--white); text-decoration: none;
}
.footer-brand .dot { color: var(--green); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 12px; color: var(--muted2); }

/* ══════════════════════
   MOBILE STICKY
══════════════════════ */
.sticky-buy {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 400;
  padding: 10px 16px 14px;
  background: rgba(6,10,13,0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border2);
}
.sticky-buy a {
  display: block;
  background: var(--green); color: #060A0D;
  text-align: center;
  font-family: var(--heading); font-size: 15px; font-weight: 800;
  padding: 15px; border-radius: 12px; text-decoration: none;
}
@media (max-width: 768px) {
  .sticky-buy { display: block; }
  .nav-links { display: none; }
  body { padding-bottom: 80px; }
}
