/* ────────────────────────────────────────────────────
   Flowi GT — Landing Page
   Brand: Sora (headings) / Inter (body)
   ──────────────────────────────────────────────────── */

/* 1. VARIABLES & RESET */
:root {
  --green:      #00D68F;
  --green-dim:  rgba(0, 214, 143, 0.12);
  --night:      #0D0D1A;
  --white:      #FFFFFF;
  --purple:     #7C3AED;
  --purple-dim: rgba(124, 58, 237, 0.12);
  --red:        #FF4757;
  --red-dim:    rgba(255, 71, 87, 0.12);
  --amber:      #F59E0B;
  --amber-dim:  rgba(245, 158, 11, 0.12);
  --red-dark:   #FF2020;

  --surface:        rgba(255, 255, 255, 0.04);
  --surface-hover:  rgba(255, 255, 255, 0.07);
  --border:         rgba(255, 255, 255, 0.08);
  --border-hover:   rgba(255, 255, 255, 0.16);
  --text-muted:     rgba(255, 255, 255, 0.5);
  --text-secondary: rgba(255, 255, 255, 0.72);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --section-max: 1200px;
  --section-pad: clamp(80px, 10vw, 120px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--night);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* 2. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* 3. UTILITY */
.text-green  { color: var(--green); }
.text-purple { color: var(--purple); }
.text-amber  { color: var(--amber); }
.text-red    { color: var(--red); }

/* 4. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green);
  color: var(--night);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 214, 143, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 214, 143, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-xl    { padding: 18px 40px; font-size: 1.1rem; }
.btn-full  { width: 100%; justify-content: center; padding: 16px 24px; font-size: 1rem; }

/* 5. SECTION LAYOUT */
.section-container {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   6. NAV
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-logo-fallback {
  display: none;
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: var(--surface);
}

.nav-cta { margin-left: 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   7. HERO
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,214,143,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-container {
  flex: 1;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,214,143,0.1);
  border: 1px solid rgba(0,214,143,0.25);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero phone */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-glow {
  position: absolute;
  width: 300px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,214,143,0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-phone-float {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,214,143,0.08);
  border: 1px solid rgba(0,214,143,0.15);
  animation: float-ring 6s ease-in-out infinite;
}
.phone-float-1 {
  width: 360px;
  height: 360px;
  animation-delay: 0s;
}
.phone-float-2 {
  width: 480px;
  height: 480px;
  background: rgba(124,58,237,0.04);
  border-color: rgba(124,58,237,0.08);
  animation-delay: -3s;
}

@keyframes float-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.hero-scroll-hint:hover { color: var(--green); }

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════
   8. PHONE MOCKUP (shared component)
   ═══════════════════════════════════════════════════ */
.phone-mockup {
  width: 260px;
  height: 534px;
  background: linear-gradient(145deg, #16163a, #0d0d26);
  border-radius: 44px;
  border: 7px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: box-shadow 0.6s ease;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.8),
    0 0 60px rgba(0,214,143,0.12);
}

.phone-mockup--hero {
  width: 290px;
  height: 595px;
  animation: hero-float 5s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 50px 120px rgba(0,0,0,0.9),
    0 0 80px rgba(0,214,143,0.18);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotateY(-6deg) rotateX(3deg); }
  50%       { transform: translateY(-16px) rotateY(-6deg) rotateX(3deg); }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0D0D1A;
  border-radius: 0 0 18px 18px;
  z-index: 20;
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 38px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-button--side {
  position: absolute;
  right: -9px;
  top: 120px;
  width: 4px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  border-radius: 0 3px 3px 0;
}

.phone-button--bottom {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

/* Module phone screenshots */
.phone-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.phone-screenshot.active { opacity: 1; }

/* ═══════════════════════════════════════════════════
   9. MODULES SCROLL SECTION
   ═══════════════════════════════════════════════════ */
.modules-section {
  position: relative;
}

.modules-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.modules-spacer {
  height: 500vh;
}

.modules-layout {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

/* Module text cards */
.modules-texts {
  position: relative;
  min-height: 380px;
}

.module-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  visibility: hidden;
}

.module-text.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag-green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,214,143,0.2); }
.tag-red    { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(255,71,87,0.2); }
.tag-amber  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.2); }
.tag-purple { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(124,58,237,0.2); }

.module-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--white);
}

.module-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--night);
  flex-shrink: 0;
}

/* Module phone area */
.modules-phone-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.modules-phone-glow {
  position: absolute;
  width: 280px;
  height: 560px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  transition: background 0.6s ease;
  background: rgba(0,214,143,0.15);
}

/* Module progress dots */
.modules-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover { background: rgba(255,255,255,0.4); }

.dot.active {
  background: var(--green);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,214,143,0.4);
}

/* ═══════════════════════════════════════════════════
   10. FEATURES
   ═══════════════════════════════════════════════════ */
.features {
  padding: var(--section-pad) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,214,143,0.03) 0%, transparent 100%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.feature-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(124,58,237,0.04));
  border-color: rgba(124,58,237,0.2);
}
.feature-card--featured:hover {
  border-color: rgba(124,58,237,0.4);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--icon-bg, rgba(255,255,255,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.feature-icon-flag { font-size: 1.8rem; }

.feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-tag {
  display: inline-flex;
  background: var(--green-dim);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════
   11. HOW IT WORKS
   ═══════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.04), transparent);
}

.steps-wrap {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(66% - 60px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  text-align: center;
}

.step { padding: 0 16px; }

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: var(--transition);
}

.step-number:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0,214,143,0.2);
}

.step-number span {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
}

.step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   12. ENTERPRISE
   ═══════════════════════════════════════════════════ */
.enterprise {
  padding: var(--section-pad) 0;
  position: relative;
}

.enterprise-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.enterprise-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  filter: blur(60px);
}

.enterprise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.enterprise-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.enterprise-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.enterprise-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enterprise-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.enterprise-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.enterprise-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.enterprise-list li strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.enterprise-list li span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Enterprise form */
.enterprise-form-wrap {
  position: relative;
}

.enterprise-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus {
  border-color: var(--purple);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.btn-full { margin-top: 8px; }

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: rgba(0,214,143,0.06);
  border: 1px solid rgba(0,214,143,0.2);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
}

.form-success.visible { display: flex; }

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,214,143,0.12);
  border: 2px solid rgba(0,214,143,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════
   13. CTA FINAL
   ═══════════════════════════════════════════════════ */
.cta-final {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,214,143,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}
.cta-glow-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
}

.cta-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.cta-social > span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   14. FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-container {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social-link:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px clamp(20px, 5vw, 60px);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   15. RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-sub { max-width: 100%; }

  .hero-actions { justify-content: center; }

  .hero-stats { justify-content: center; }

  .hero-phone-wrap { order: -1; }

  .phone-mockup--hero {
    width: 220px;
    height: 452px;
  }

  .hero-phone-float { display: none; }

  /* Modules on mobile: simplified */
  .modules-sticky { height: auto; position: relative; }
  .modules-spacer { height: 0; }
  .modules-section { height: auto; }

  .modules-layout {
    grid-template-columns: 1fr;
    padding: 60px clamp(20px, 5vw, 40px);
    gap: 48px;
  }

  .modules-texts { min-height: unset; }

  .module-text {
    position: relative;
    opacity: 1;
    transform: none;
    display: none;
  }
  .module-text.active { display: block; }

  .modules-phone-area {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
    height: 452px;
  }

  .modules-phone-glow { width: 220px; height: 440px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; max-width: 100%; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .steps-line { display: none; }
  .step-number { margin: 0 0 16px; }

  .enterprise-layout { grid-template-columns: 1fr; }
  .enterprise-desc { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    flex-direction: column;
    grid-column: auto;
  }
  .footer-col:not(.footer-brand) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .btn-large { padding: 12px 20px; font-size: 0.95rem; }
  .btn-xl { padding: 14px 28px; font-size: 1rem; }
  .cta-social { flex-direction: column; gap: 12px; }
  .nav-cta { padding: 10px 18px; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════
   16. ANIMATIONS (entry)
   ═══════════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in--delay-1 { transition-delay: 0.1s; }
.animate-in--delay-2 { transition-delay: 0.2s; }
.animate-in--delay-3 { transition-delay: 0.3s; }
