/* ════════════════════════════════════════════════════════════
   Fun Over Here — Landing Page Styles
   Mobile-first · Particle hero · Glass morphism · Dark-mode
   ════════════════════════════════════════════════════════════ */

/* ── Tokens (mirrors app.css) ─────────────────────────────── */
:root {
  --foh-primary:       #667eea;
  --foh-primary-dark:  #5a6fd6;
  --foh-secondary:     #764ba2;
  --foh-accent:        #f093fb;
  --foh-success:       #38a169;
  --foh-warning:       #ed8936;
  --foh-danger:        #e53e3e;

  --foh-bg:            #f0f2f5;
  --foh-surface:       #ffffff;
  --foh-border:        #dddfe2;
  --foh-text-primary:  #1c1e21;
  --foh-text-secondary:#65676b;
  --foh-text-muted:    #8a8d91;

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.10);
  --shadow-md:  0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --grad-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --grad-brand: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #f093fb 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --foh-bg:            #0d0d0d;
    --foh-surface:       #1a1a2e;
    --foh-border:        #2a2a3e;
    --foh-text-primary:  #e4e6eb;
    --foh-text-secondary:#b0b3b8;
    --foh-text-muted:    #8a8d91;
  }
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--foh-bg);
  color: var(--foh-text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(102,126,234,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(102,126,234,.55); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--foh-primary);
  padding: 10px 20px;
  font-weight: 600;
}
.btn-ghost:hover { background: rgba(102,126,234,.08); border-radius: var(--radius-full); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 38px; font-size: 17px; }
.btn-facebook {
  background: #1877f2;
  color: #fff;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 13px;
}
.btn-facebook:hover { background: #166fe5; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(15, 12, 41, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.nav-logo span { -webkit-text-fill-color: #fff; color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  flex-shrink: 0;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,12,41,.97);
  backdrop-filter: blur(20px);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px 40px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: rgba(255,255,255,.9);
  font-size: 22px;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.nav-mobile-menu a:hover { color: var(--foh-accent); }
.nav-mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 820px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-canvas-interactive {
  pointer-events: all !important;
  cursor: crosshair;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #e0d7ff;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  animation: fadeInDown .8s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.3);
  animation: pulse 2s infinite;
}
.hero-h1 {
  font-size: clamp(38px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp .9s .1s ease both;
}
.hero-h1 .line2 {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-typing-wrap {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  min-height: 2.2em;
  margin-bottom: 20px;
  animation: fadeInUp 1s .2s ease both;
}
.hero-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--foh-accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.62);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 1s .3s ease both;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s .45s ease both;
}
.hero-free-tag {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  animation: fadeInUp 1s .6s ease both;
}
.hero-free-tag strong { color: #4ade80; }
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  animation: fadeIn 1s 1.2s ease both;
}
.hero-scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid rgba(255,255,255,.35);
  border-bottom: 2px solid rgba(255,255,255,.35);
  transform: rotate(45deg);
  animation: bounceDown 1.8s ease-in-out infinite;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--foh-surface);
  border-bottom: 1px solid var(--foh-border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item span { font-size: 13px; color: var(--foh-text-secondary); font-weight: 500; }

/* ── SECTION HEADERS ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  background: rgba(102,126,234,.12);
  color: var(--foh-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -.8px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--foh-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FEATURES ──────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--foh-bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--foh-surface);
  border: 1px solid var(--foh-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(102,126,234,.3); }
.feature-card:hover::before { opacity: .04; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  position: relative;
}
.feature-icon.purple { background: rgba(102,126,234,.15); }
.feature-icon.pink   { background: rgba(240,147,251,.15); }
.feature-icon.green  { background: rgba(56,161,105,.15); }
.feature-icon.orange { background: rgba(237,137,54,.15); }
.feature-icon.blue   { background: rgba(49,130,206,.15); }
.feature-icon.red    { background: rgba(229,62,62,.15); }
.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--foh-text-secondary); line-height: 1.65; margin-bottom: 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(102,126,234,.1);
  color: var(--foh-primary);
}

/* ── CUSTOMIZE / PROFILE SECTION ──────────────────────────── */
.customize { padding: 100px 0; background: var(--grad-hero); overflow: hidden; position: relative; }
.customize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.customize-text { color: #fff; }
.customize-text .section-label { background: rgba(255,255,255,.12); color: #e0d7ff; }
.customize-text .section-title { color: #fff; }
.customize-text .section-subtitle { color: rgba(255,255,255,.65); }
.customize-text .section-header { text-align: left; margin-bottom: 32px; }
.customize-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.customize-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  transition: all .25s;
}
.customize-item:hover { background: rgba(255,255,255,.13); transform: translateX(4px); }
.customize-item-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.customize-item-text strong { display: block; color: #fff; font-weight: 700; margin-bottom: 4px; }
.customize-item-text span { font-size: 13px; color: rgba(255,255,255,.6); }
.profile-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}
.profile-card-mock {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 28px;
  width: 320px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  animation: floatY 4s ease-in-out infinite;
}
.mock-banner {
  height: 80px;
  border-radius: 16px;
  background: var(--grad-brand);
  margin-bottom: -30px;
}
.mock-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f093fb,#f5576c);
  border: 3px solid rgba(255,255,255,.3);
  margin: 0 0 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.mock-name { color: #fff; font-weight: 700; font-size: 18px; padding: 0 16px 4px; }
.mock-handle { color: rgba(255,255,255,.5); font-size: 13px; padding: 0 16px 14px; }
.mock-badges { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 16px; }
.mock-badge {
  font-size: 18px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 6px 10px;
  animation: popIn .5s ease both;
}
.mock-badge:nth-child(2) { animation-delay: .1s; }
.mock-badge:nth-child(3) { animation-delay: .2s; }
.mock-badge:nth-child(4) { animation-delay: .3s; }
.mock-stats { display: flex; gap: 16px; padding: 12px 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.mock-stat { text-align: center; }
.mock-stat strong { display: block; color: #fff; font-weight: 700; font-size: 16px; }
.mock-stat small { color: rgba(255,255,255,.5); font-size: 11px; }
.floating-chip {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.chip-1 { top: 10px; right: -20px; animation: floatY 3.5s 1s ease-in-out infinite; }
.chip-2 { bottom: 40px; left: -30px; animation: floatY 4s .5s ease-in-out infinite; }
.chip-3 { top: 50%; right: -40px; animation: floatY 3s 0s ease-in-out infinite; }

@media (max-width: 820px) {
  .customize-grid { grid-template-columns: 1fr; gap: 48px; }
  .profile-mockup { display: none; }
  .customize-text .section-header { text-align: center; }
  .customize-list { max-width: 500px; margin-inline: auto; }
}

/* ── FREE / PRICING ────────────────────────────────────────── */
.pricing { padding: 100px 0; background: var(--foh-bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--foh-surface);
  border: 1px solid var(--foh-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  transition: all .3s;
}
.pricing-card.featured {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(102,126,234,.4);
}
.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #4ade80;
  color: #0a2f1f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}
.pricing-name { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.pricing-price { font-size: 54px; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.pricing-price sup { font-size: 24px; vertical-align: super; }
.pricing-period { font-size: 14px; opacity: .65; margin-bottom: 28px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.pricing-features li .check { color: #4ade80; font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .pricing-features li .check { color: #d1fae5; }
.pricing-card .btn-primary { width: 100%; justify-content: center; }
.pricing-card.featured .btn-cta {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: 13px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .22s;
}
.pricing-card.featured .btn-cta:hover { background: rgba(255,255,255,.3); }

/* ── INCLUSIVE SECTION ─────────────────────────────────────── */
.inclusive { padding: 80px 0; background: var(--foh-surface); }
.inclusive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.inclusive-text { }
.inclusive-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 16px; line-height: 1.15; }
.inclusive-sub { color: var(--foh-text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.inclusive-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.inclusive-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background: rgba(102,126,234,.1);
  color: var(--foh-primary);
  border: 1px solid rgba(102,126,234,.2);
}
.pride-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pride-stripes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.pride-stripe { flex: 1; }
.pride-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}
.pride-overlay h3 { font-size: 28px; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); margin-bottom: 8px; }
.pride-overlay p { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

@media (max-width: 700px) {
  .inclusive-inner { grid-template-columns: 1fr; }
}

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.how-it-works { padding: 100px 0; background: var(--foh-bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--foh-surface);
  border: 1px solid var(--foh-border);
  border-radius: var(--radius-xl);
  transition: all .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(102,126,234,.4);
}
.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--foh-text-secondary); line-height: 1.6; }

/* ── CTA BANNER ────────────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,126,234,.25) 0%, transparent 70%);
  top: -200px; left: -100px;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,147,251,.2) 0%, transparent 70%);
  bottom: -100px; right: -50px;
  pointer-events: none;
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; color: #fff; letter-spacing: -.8px; margin-bottom: 16px; }
.cta-banner p { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 540px; margin-inline: auto; }
.cta-banner .hero-cta { margin-bottom: 20px; }
.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.cta-trust span { display: flex; align-items: center; gap: 6px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: #0a0a14;
  color: rgba(255,255,255,.65);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
}
.social-icon:hover { background: var(--grad-brand); border-color: transparent; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--foh-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--foh-primary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── MODALS ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--foh-surface);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  transform: scale(.94) translateY(8px);
  transition: transform .25s ease;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.modal-header h2 { font-size: 22px; font-weight: 800; }
.modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--foh-bg);
  color: var(--foh-text-secondary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  line-height: 1;
  font-weight: 700;
}
.modal-close:hover { background: var(--foh-danger); color: #fff; }
.modal-logo { font-size: 28px; margin-bottom: 8px; }
.modal-subtitle { color: var(--foh-text-secondary); font-size: 14px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--foh-text-secondary); }
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--foh-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--foh-bg);
  color: var(--foh-text-primary);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus { border-color: var(--foh-primary); box-shadow: 0 0 0 3px rgba(102,126,234,.12); }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--foh-text-muted);
  padding: 4px;
  line-height: 1;
}
.btn-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all .22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(102,126,234,.4); }
.btn-submit:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--foh-text-muted); font-size: 13px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--foh-border); }
.form-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--foh-text-secondary); }
.form-footer a { color: var(--foh-primary); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-error { background: rgba(229,62,62,.1); color: var(--foh-danger); border: 1px solid rgba(229,62,62,.2); }
.alert-success { background: rgba(56,161,105,.1); color: var(--foh-success); border: 1px solid rgba(56,161,105,.2); }
.strength-bar { height: 4px; background: var(--foh-border); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; width: 0; transition: all .3s; }
.strength-fill.weak   { width: 25%; background: var(--foh-danger); }
.strength-fill.fair   { width: 50%; background: var(--foh-warning); }
.strength-fill.good   { width: 75%; background: #38a169; }
.strength-fill.strong { width: 100%; background: #22c55e; }
.strength-text { font-size: 11px; margin-top: 4px; font-weight: 600; color: var(--foh-text-muted); }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}
@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
