/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

img { max-width: 100%; display: block; }

.hidden { display: none !important; }

:root {
  --accent: #6366f1;
  --accent-dark: #4f46e5;
  --accent-light: #eef0ff;
  --ink: #0f1023;
  --ink-soft: #4a4b6a;
  --muted: #8b8da0;
  --line: #e7e9f1;
  --bg-soft: #fafbfd;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.7);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.45), transparent 60%),
    linear-gradient(180deg, rgba(15,16,35,0.55) 0%, rgba(15,16,35,0.75) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e0e4ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.accent-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--ink);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Benefits ---------- */
.benefits { background: #fff; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.benefit-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(15,16,35,0.18);
  border-color: rgba(99,102,241,0.3);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 20px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.25rem; color: var(--ink); }
.benefit-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Social Proof ---------- */
.social-proof { background: var(--bg-soft); }
.proof-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 48px;
  margin-bottom: 70px;
}
.logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #9aa0b8;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.logo-item:hover { opacity: 1; color: var(--ink-soft); }

.testimonial {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: 0 10px 40px -20px rgba(15,16,35,0.12);
}
.quote-mark {
  position: absolute;
  top: -10px;
  left: 30px;
  font-family: 'Space Grotesk', serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}
.quote-text {
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 24px;
  font-weight: 500;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-author strong { display: block; color: var(--ink); font-size: 0.98rem; }
.quote-author span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Lead Capture ---------- */
.lead-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding: 80px 0 100px;
}
.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(99,102,241,0.25);
}
.form-head { text-align: center; margin-bottom: 32px; }
.form-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); }
.form-head p { color: var(--ink-soft); margin: 0; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
}
.field input::placeholder { color: #b5b8cc; }

#capture-form .btn { margin-top: 8px; }

.form-fineprint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 18px 0 0;
}
.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Success / Info States ---------- */
.success-state, .info-state {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-icon svg { width: 36px; height: 36px; }
.success-state h2, .info-state h2 { color: var(--ink); }
.success-state p, .info-state p { color: var(--ink-soft); }

.share-panel {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--line);
}
.share-panel h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.share-panel p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; }
.share-row { display: flex; gap: 8px; margin-bottom: 12px; }
.share-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--ink-soft);
  font-family: inherit;
}
.share-buttons { display: flex; gap: 8px; }
.share-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1023;
  color: #c7cbe0;
  padding: 32px 0 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.footer-meta { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
#wbx-powered-by-slot {
  margin-top: 16px;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .form-card { padding: 56px 56px; }
}

@media (min-width: 1024px) {
  section { padding: 110px 0; }
  .hero { min-height: 88vh; }
}

@media (max-width: 480px) {
  .form-card { padding: 32px 22px; }
  .testimonial { padding: 32px 24px; }
  .quote-text { font-size: 1.05rem; }
  .hero-meta { font-size: 0.82rem; gap: 6px 16px; }
}
