:root {
  --brand: #883CF0;
  --brand-dim: #883cf050;
  --brand-glow: #883cf030;
  --bg-deep: #0f0818;
  --bg-base: #191127;
  --bg-alt: #180f26;
  --card: #23133a;
  --card-alt: #1f1232;
  --border: #3a1c63;
  --border-bright: #5e309d;
  --text-primary: #f0f8ff;
  --text-secondary: #d6d6d6;
  --text-muted: #d4cde3;
  --grad: linear-gradient(90deg, #3a1c63, #684895);
  --success: #60c090;
  --tag-bg: #291a3e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf040; border-radius: 3px; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.15; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 8, 24, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
}
.nav-logo span { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 500 !important;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s !important;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { opacity: 0.88; box-shadow: 0 0 18px var(--brand-dim); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
}
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu.open { display: flex; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: #883cf015;
  border: 1px solid #883cf030;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-title .accent { color: var(--brand); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #3a1c6340 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 50%, #883cf015 0%, transparent 60%),
              var(--bg-base);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand);
  background: #883cf012;
  border: 1px solid #883cf035;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .line2 { color: var(--brand); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s, opacity 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  box-shadow: 0 0 28px var(--brand-dim);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-glow);
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-code-card {
  background: #0f0818;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  box-shadow: 0 0 60px #883cf020, 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.hero-code-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.code-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1.2rem;
}
.code-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #28ca41; }

.code-comment { color: #5e4a7e; }
.code-key { color: #c792ea; }
.code-str { color: #c3e88d; }
.code-val { color: #82aaff; }
.code-brand { color: var(--brand); }
.code-muted { color: #6b5a8a; }

.hero-badge-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--tag-bg);
  border: 1px solid #883cf025;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
}

/* ── TRUSTED ── */
#trusted {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1.5rem; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  opacity: 0.5;
  flex-wrap: wrap;
}
.trusted-logos span {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── PROBLEM ── */
#problem {
  padding: 7rem 0;
  background: var(--bg-base);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.problem-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.problem-bar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.problem-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.bar-track {
  height: 8px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-fill.red { background: #dc143c; width: 0; }
.bar-fill.green { background: var(--success); width: 0; }
.bar-fill.brand { background: var(--brand); width: 0; }

.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.problem-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--brand-glow);
  border: 1px solid var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.problem-card strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* ── SOLUTION ── */
#solution {
  padding: 7rem 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, #3a1c6330 0%, transparent 70%), var(--bg-alt);
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.sol-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.sol-card:hover {
  border-color: var(--brand-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px #883cf015;
}
.sol-card:hover::before { opacity: 1; }

.sol-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--brand-glow);
  border: 1px solid var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.sol-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}
.sol-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FEATURES ── */
#features {
  padding: 7rem 0;
  background: var(--bg-base);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feat-card:hover {
  border-color: var(--brand-dim);
  box-shadow: 0 0 25px #883cf010;
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-glow);
  border: 1px solid var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.feat-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.feat-wide {
  grid-column: span 2;
}

/* ── WORKFLOW ── */
#workflow {
  padding: 7rem 0;
  background: var(--bg-alt);
}

.workflow-tabs {
  display: flex;
  gap: 0.75rem;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}
.w-tab {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.w-tab.active, .w-tab:hover {
  background: var(--brand-glow);
  border-color: var(--brand-dim);
  color: var(--brand);
}

.workflow-pane {
  display: none;
}
.workflow-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.workflow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-glow);
  border: 1px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.workflow-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.workflow-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.workflow-code {
  background: #0f0818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
.workflow-code::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

/* ── BENEFITS ── */
#benefits {
  padding: 7rem 0;
  background: var(--bg-base);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.benefit-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.benefit-card:hover {
  border-color: var(--brand-dim);
  transform: translateY(-3px);
}
.benefit-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── USE CASES ── */
#usecases {
  padding: 7rem 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, #3a1c6325 0%, transparent 70%), var(--bg-alt);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.uc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.3s;
  cursor: default;
}
.uc-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.uc-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.uc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.uc-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.uc-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── INTEGRATIONS ── */
#integrations {
  padding: 7rem 0;
  background: var(--bg-base);
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.int-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.int-card:hover {
  border-color: var(--brand-dim);
  box-shadow: 0 0 20px #883cf012;
  transform: translateY(-2px);
}
.int-logo {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.int-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.int-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── SECURITY ── */
#security {
  padding: 7rem 0;
  background: var(--bg-alt);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.sec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  transition: border-color 0.3s;
}
.sec-item:hover { border-color: var(--brand-dim); }
.sec-check {
  color: var(--success);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.sec-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.sec-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.badge-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.badge-card:hover {
  border-color: var(--brand-dim);
  box-shadow: 0 0 20px #883cf012;
}
.badge-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.badge-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.3rem;
}
.badge-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 7rem 0;
  background: var(--bg-base);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}
.testi-card:hover {
  border-color: var(--brand-dim);
  transform: translateY(-3px);
}
.testi-quote {
  font-size: 2rem;
  color: var(--brand);
  opacity: 0.4;
  margin-bottom: 0.5rem;
  font-family: 'Syne', sans-serif;
}
.testi-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Syne', sans-serif;
}
.testi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testi-role {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
#faq {
  padding: 7rem 0;
  background: var(--bg-alt);
}

.faq-list {
  max-width: 760px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--brand-dim); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
.faq-q span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
}
.faq-q svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--brand);
  transition: transform 0.3s;
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-a-inner {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA BANNER ── */
#cta {
  padding: 7rem 0;
  background: var(--bg-base);
}

.cta-box {
  background: linear-gradient(135deg, #3a1c63 0%, #1f0a38 50%, #191127 100%);
  border: 1px solid var(--brand-dim);
  border-radius: 20px;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, #883cf030 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand);
}
.footer-logo span { color: var(--text-primary); }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand); }
footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  max-height: 70vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--brand); }
.modal h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.modal p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-group select option { background: var(--bg-deep); }
.modal-submit {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s, opacity 0.2s;
  margin-top: 0.5rem;
}
.modal-submit:hover { box-shadow: 0 0 24px var(--brand-dim); opacity: 0.9; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links{
    gap:20px;
  }
  .hero-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-cards { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .workflow-pane.active { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .usecases-grid { grid-template-columns: 1fr 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 3rem 2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center;}
}

@media (max-width: 768px) {

  .hero-title{ font-size: 32px;}
  .stat-number, .section-title, .benefit-num{ font-size: 28px;}
  .cta-box h2{
    font-size: 22px;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .solution-cards , .stats-grid{ grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-badges { grid-template-columns: 1fr 1fr; }
  .footer-links {flex-direction: column; gap:20px;}
}

@media (max-width: 400px) {
  .container{
    padding: 10px;
  }
  .hero-code-card{
    max-width: 300px;
  }
  .int-grid { grid-template-columns: 1fr; }
  .compliance-badges { grid-template-columns: 1fr; }
}