/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* ── Colors ── */
  --bg:        #0a0a0f;
  --bg2:       #111118;
  --surface:   #16161f;
  --border:    rgba(255,255,255,0.08);
  --accent:    #4f6ef7;
  --accent2:   #7c3aed;
  --grad:      linear-gradient(135deg, #4f6ef7, #7c3aed);
  --text:      #f0f0f5;
  --muted:     #8888a0;

  /* ── Border radius — 3 values only ── */
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 100px;

  /* ── Type scale ── */
  --text-xs:   0.72rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.3rem;
  --text-2xl:  1.6rem;
  --text-3xl:  clamp(1.8rem, 3.5vw, 2.8rem);

  /* ── Spacing scale ── */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;

  /* ── Easing ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Noise texture ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 128px 128px; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

/* Site Logo (used in nav and footer) */
.site-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-cta {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  background: var(--grad) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 10px 22px !important; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.875rem; line-height: 1 !important;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  text-align: center;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(10,10,15,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.4rem; font-weight: 700; color: var(--muted); transition: color 0.2s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); }
.mobile-menu .nav-cta { font-size: 1rem; }
.close-menu { position: absolute; top: 24px; right: 24px; background: none; border: none; cursor: pointer; color: var(--text); font-size: 1.5rem; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; z-index: 1;
  padding: 140px 0 80px; text-align: center;
}
.page-hero-glow { display: none; }
.page-hero .label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero h1 .highlight {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-size: 1.1rem; color: var(--muted); max-width: 580px;
  margin: 0 auto 36px; line-height: 1.7;
}

/* ── HERO (Home) ── */
.hero {
  position: relative; z-index: 1;
  padding: 160px 0 100px; text-align: center; overflow: hidden;
}
.hero-glow { display: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,110,247,0.12); border: 1px solid rgba(79,110,247,0.3);
  color: #a5b4fc; font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #4f6ef7; display: block; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 24px; max-width: 920px; margin-left: auto; margin-right: auto;
}
.hero h1 .highlight { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero > .container > p {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff;
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.95rem;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--accent);
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.875rem;
  border: 1px solid rgba(79,110,247,0.4);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-outline:hover { background: rgba(79,110,247,0.1); border-color: var(--accent); }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION ── */
.section { position: relative; z-index: 1; padding: 96px 0; }
.section.alt { background: var(--bg2); }
.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.card:hover { border-color: rgba(79,110,247,0.35); transform: translateY(-2px); }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--muted);
}
.feature-list li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(79,110,247,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6ef7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ── TESTIMONIALS ── */
.stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 10px; }
.testimonial-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 28px;
}
.testimonial-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; color: var(--muted); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 700; }
.author-role { font-size: 0.78rem; color: var(--muted); }

/* ── CTA BAND ── */
.cta-band {
  position: relative; z-index: 1;
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-text p { color: var(--muted); font-size: 1rem; max-width: 480px; line-height: 1.65; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-col-links a:hover { color: var(--text); }
.footer-tagline { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { color: var(--muted); font-size: 0.8rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

/* ── STATS ── */
.stats-bar { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* ── MISC COMPONENTS ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(79,110,247,0.1); border: 1px solid rgba(79,110,247,0.25);
  color: #a5b4fc; font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.04em;
}
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
}
.icon-box-soft {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(79,110,247,0.1); border: 1px solid rgba(79,110,247,0.2);
  display: flex; align-items: center; justify-content: center;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── ACCORDION (FAQ) ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s; gap: 16px;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon { flex-shrink: 0; font-size: 1.1rem; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 0.9rem; color: var(--muted); line-height: 1.7;
  transition: max-height 0.35s var(--ease-in-out), padding 0.35s var(--ease-in-out);
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 120px 0 72px; }
  .stats-bar { gap: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .page-hero { padding: 120px 0 60px; }
}
