/* ═══════════════════════════════════════════════════════════════════════
   DrsShield — Main CSS  v2.0
   Ultra-premium dark design system — landing + auth pages
═══════════════════════════════════════════════════════════════════════ */

/* ─── Google Fonts: Outfit (headings) + Inter (body) + JetBrains Mono ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:         #07080f;
  --bg-2:       #0c0d18;
  --bg-3:       #111223;
  --bg-4:       #161728;

  /* Surfaces */
  --surface:    rgba(255,255,255,.035);
  --surface-2:  rgba(255,255,255,.065);
  --surface-3:  rgba(255,255,255,.10);

  /* Borders */
  --border:     rgba(255,255,255,.07);
  --border-2:   rgba(255,255,255,.11);
  --border-3:   rgba(255,255,255,.17);

  /* Brand — Purple */
  --purple:       #7c3aed;
  --purple-2:     #9d5cf6;
  --purple-3:     #b78bf9;
  --purple-4:     #c4b5fd;
  --purple-glow:  rgba(124,58,237,.22);
  --purple-glow2: rgba(124,58,237,.40);

  /* Accent */
  --cyan:       #06b6d4;
  --cyan-glow:  rgba(6,182,212,.18);
  --pink:       #ec4899;
  --pink-glow:  rgba(236,72,153,.18);

  /* Semantic */
  --green:      #22c55e;
  --green-glow: rgba(34,197,94,.2);
  --red:        #ef4444;
  --red-glow:   rgba(239,68,68,.2);
  --yellow:     #f59e0b;
  --blue:       #3b82f6;

  /* Text */
  --text:       #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #475569;
  --text-4:     #2d3748;

  /* Typography */
  --font:       'Inter', 'Outfit', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* Shape */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.3);
  --shadow:     0 6px 28px rgba(0,0,0,.45);
  --shadow-lg:  0 12px 56px rgba(0,0,0,.65);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.8);
  --glow-purple: 0 0 40px var(--purple-glow), 0 0 80px rgba(124,58,237,.08);
  --glow-green:  0 0 32px var(--green-glow);
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--purple-3); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

/* ─── Animated Background Noise Overlay ─────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' 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: .5;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,.35); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,.55); }

/* ─── Selection ──────────────────────────────────────────────────────── */
::selection { background: rgba(124,58,237,.35); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════════ */
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #a855f7 100%);
  color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .01em;
  border: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, opacity .2s;
  box-shadow: 0 4px 20px rgba(109,40,217,.45), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.12) 100%);
  opacity: 0; transition: opacity .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(109,40,217,.55), 0 0 0 1px rgba(168,85,247,.3), inset 0 1px 0 rgba(255,255,255,.2);
  color: #fff;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  background: var(--surface); color: var(--text-2);
  font-weight: 500; font-size: .9rem;
  border: 1px solid var(--border-2); cursor: pointer;
  transition: all .2s cubic-bezier(.16,1,.3,1);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-2); color: var(--text);
  border-color: rgba(124,58,237,.4);
  box-shadow: 0 0 20px rgba(124,58,237,.1);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  background: transparent; color: var(--purple-3);
  font-weight: 600; font-size: .9rem;
  border: 1px solid rgba(124,58,237,.45); cursor: pointer;
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
.btn-outline:hover {
  background: rgba(124,58,237,.1);
  border-color: var(--purple-2);
  box-shadow: 0 0 24px var(--purple-glow);
  color: var(--purple-4);
}

.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════
   LANDING NAV
══════════════════════════════════════════════════════════════════════ */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: rgba(7,8,15,.75);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
.landing-nav.scrolled {
  background: rgba(7,8,15,.92);
  border-bottom-color: rgba(124,58,237,.15);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); letter-spacing: -.02em;
}
.brand-icon { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(124,58,237,.5)); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links li a {
  padding: 7px 14px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: .85rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links li a:hover { color: var(--text); background: var(--surface); }
.nav-btn-ghost {
  border: 1px solid var(--border-2) !important;
  border-radius: var(--radius) !important;
}
.nav-btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-2)) !important;
  color: #fff !important; border-radius: var(--radius) !important;
  box-shadow: 0 4px 16px var(--purple-glow);
}
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 100px 48px 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Multi-layer animated background */
.hero-glow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(124,58,237,.22) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(6,182,212,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 60%, rgba(236,72,153,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 60%, transparent 100%);
  pointer-events: none;
}
/* Floating orbs */
.hero::after {
  content: '';
  position: absolute; top: 20%; right: 8%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
  animation: floatOrb 6s ease-in-out infinite alternate;
}
@keyframes floatOrb {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-30px) scale(1.1); }
}

.hero-content { flex: 1; max-width: 640px; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.28);
  color: var(--purple-4); font-size: .78rem; font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: badgeFadeIn .6s ease;
}
@keyframes badgeFadeIn { from { opacity:0; transform: translateY(6px); } }

.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: .5; box-shadow: 0 0 4px var(--green); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 40%, #e879f9 75%, #818cf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s linear infinite;
}
@keyframes gradientShift { to { background-position: 200% center; } }

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.75;
  margin-bottom: 38px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* Compare bars */
.hero-compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.compare-label { font-size: .7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; display: block; margin-bottom: 14px; }
.compare-bars { display: flex; flex-direction: column; gap: 9px; }
.cbar {
  display: flex; align-items: center; gap: 10px;
  position: relative;
}
.cbar::after {
  content: '';
  display: block; height: 5px; border-radius: 4px;
  width: var(--w); transition: width 1s cubic-bezier(.34,1.56,.64,1);
}
.cbar.drs::after  { background: linear-gradient(90deg, #7c3aed, #a78bfa, #e879f9); box-shadow: 0 0 10px rgba(124,58,237,.4); }
.cbar.cap::after  { background: #3b82f6; }
.cbar.alt::after  { background: #06b6d4; }
.cbar.ts::after   { background: #f97316; }
.cbar.rc::after   { background: #ef4444; }
.cbar-name  { font-size: .72rem; color: var(--text-2); width: 70px; flex-shrink: 0; }
.cbar-val   { font-size: .72rem; color: var(--text-3); margin-left: auto; font-variant-numeric: tabular-nums; }

/* Hero widget preview */
.hero-widget-preview { flex-shrink: 0; z-index: 1; }
.widget-preview-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px; width: 376px; max-width: 100%;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(124,58,237,.08);
  backdrop-filter: blur(12px);
  animation: floatCard 5s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0) rotate(-1deg); }
  to   { transform: translateY(-14px) rotate(1deg); }
}
.widget-preview-form { display: flex; flex-direction: column; gap: 14px; }
.wp-field { display: flex; flex-direction: column; gap: 6px; }
.wp-field span { font-size: .7rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wp-input { height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.wp-textarea { height: 64px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.wp-captcha {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: var(--surface);
  cursor: pointer; transition: all .3s cubic-bezier(.16,1,.3,1);
}
.wp-captcha:hover { border-color: rgba(124,58,237,.5); background: rgba(124,58,237,.06); box-shadow: 0 0 20px var(--purple-glow); }
.wp-captcha.verified { border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.06); box-shadow: 0 0 20px var(--green-glow); }
.wp-shield-icon { width: 32px; height: 32px; flex-shrink: 0; }
.wp-shield-icon svg { width: 32px; height: 32px; }
.wp-label { flex: 1; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.wp-brand { font-size: .63rem; color: var(--text-3); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wp-submit {
  padding: 11px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff; font-weight: 700; border: none; cursor: pointer;
  font-size: .85rem; transition: all .2s;
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
}
.wp-submit:hover { opacity: .9; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════════════════════════════ */
.stats-strip {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  overflow: hidden;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 36px 52px;
  position: relative;
  transition: background .3s;
}
.stat-item:hover { background: rgba(124,58,237,.04); }
.stat-item::before {
  content: '';
  position: absolute; top: 20%; bottom: 20%; left: 0;
  width: 1px; background: var(--border);
}
.stat-item:first-child::before { display: none; }
.stat-item strong {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 900; color: var(--text);
  background: linear-gradient(135deg, #fff 40%, var(--purple-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item span { font-size: .75rem; color: var(--text-3); font-weight: 500; }
.stat-sep { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 16px; border-radius: 50px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.22);
  color: var(--purple-3); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 18px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--text) 50%, var(--text-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  color: var(--text-2); font-size: 1.05rem; line-height: 1.7;
  margin-top: 14px; max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════════════ */
.features { padding: 110px 48px; max-width: 1240px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
  opacity: 0; transition: opacity .4s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.5), 0 0 30px var(--purple-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-card--accent {
  background: linear-gradient(160deg, rgba(124,58,237,.1) 0%, rgba(124,58,237,.04) 100%);
  border-color: rgba(124,58,237,.22);
}
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(124,58,237,.15); margin-bottom: 18px;
  font-size: 1.5rem;
  border: 1px solid rgba(124,58,237,.2);
  box-shadow: 0 0 20px rgba(124,58,237,.12);
}
.feature-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 10px;
  color: var(--text); letter-spacing: -.01em;
}
.feature-card p { font-size: .85rem; color: var(--text-2); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════════════ */
.how { padding: 110px 48px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.how-steps {
  max-width: 680px; margin: 0 auto 64px;
  display: flex; flex-direction: column; gap: 0;
}
.how-step {
  display: flex; gap: 28px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .3s;
}
.how-step:last-child { border-bottom: none; }
.how-step:hover { padding-left: 6px; }
.step-num {
  font-size: .72rem; font-weight: 700; color: var(--purple-3);
  font-family: var(--mono); letter-spacing: .05em;
  flex-shrink: 0; padding-top: 4px;
  background: linear-gradient(135deg, var(--purple-2), var(--purple-4));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-content h3 { font-size: .95rem; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.step-content p { font-size: .84rem; color: var(--text-2); line-height: 1.75; }

/* Code preview */
.code-preview {
  max-width: 680px; margin: 0 auto;
  background: #0a0b16; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,.5);
}
.code-tabs { display: flex; border-bottom: 1px solid var(--border); }
.code-tab {
  padding: 11px 22px; background: none; border: none;
  color: var(--text-3); font-size: .8rem; cursor: pointer;
  font-family: var(--mono); transition: all .2s;
  border-right: 1px solid var(--border);
  position: relative;
}
.code-tab.active { color: var(--purple-3); background: rgba(124,58,237,.08); }
.code-tab.active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--purple-2);
}
.code-block {
  padding: 28px 32px; font-family: var(--mono);
  font-size: .82rem; line-height: 1.9; overflow-x: auto;
}
.code-block.hidden { display: none; }
.code-block .c  { color: #4b5578; }
.code-block .t  { color: #f472b6; }
.code-block .a  { color: #a78bfa; }
.code-block .s  { color: #86efac; }
.code-block .k  { color: #818cf8; }
.code-block .fn { color: #60a5fa; }
.code-block .n  { color: #fdba74; }

/* ═══════════════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════════════ */
.pricing { padding: 110px 48px; max-width: 960px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pricing-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(.16,1,.3,1);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--pro {
  border-color: rgba(124,58,237,.3);
  background: linear-gradient(160deg, rgba(124,58,237,.08) 0%, var(--bg-3) 100%);
  box-shadow: 0 0 50px rgba(124,58,237,.07);
}
.pricing-card--pro::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.7), transparent);
}
.pricing-badge {
  display: inline-block; padding: 4px 13px;
  border-radius: 50px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--surface-2); color: var(--text-2);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.pricing-badge--pro {
  background: rgba(124,58,237,.18);
  color: var(--purple-4);
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 0 20px rgba(124,58,237,.1);
}
.pricing-price { margin-bottom: 28px; }
.price-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900; color: var(--text);
  letter-spacing: -.04em;
}
.price-period { font-size: .9rem; color: var(--text-3); margin-left: 4px; }
.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
}
.pricing-features li {
  font-size: .88rem; color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: '✓'; width: 18px; height: 18px;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--green); flex-shrink: 0;
  line-height: 18px; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 48px; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(124,58,237,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(6,182,212,.06) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; margin-bottom: 18px; position: relative;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 40%, var(--purple-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-section p {
  color: var(--text-2); font-size: 1.1rem; margin-bottom: 40px;
  position: relative; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════ */
.landing-footer {
  padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
  background: var(--bg-2);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .82rem; color: var(--text-3); transition: color .2s; }
.footer-links a:hover { color: var(--purple-3); }
.footer-copy { font-size: .78rem; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(6,182,212,.06) 0%, transparent 60%),
    var(--bg);
}
.auth-brand {
  margin-bottom: 32px;
}
.auth-brand a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
}
.auth-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 42px;
  width: 100%; max-width: 430px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.03);
  position: relative; overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
}
.auth-header { margin-bottom: 32px; }
.auth-header h1 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 900; margin-bottom: 7px;
  letter-spacing: -.025em;
}
.auth-header p { font-size: .88rem; color: var(--text-3); }
.auth-error {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.22);
  color: #fca5a5; font-size: .84rem; margin-bottom: 20px;
}
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: .78rem; font-weight: 700;
  color: var(--text-2); letter-spacing: .02em;
  text-transform: uppercase;
}
.form-group input {
  padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: .9rem; font-family: var(--font);
  transition: all .25s cubic-bezier(.16,1,.3,1);
  width: 100%;
}
.form-group input:focus {
  outline: none; border-color: rgba(124,58,237,.6);
  background: rgba(124,58,237,.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.form-hint { font-size: .73rem; color: var(--text-3); }
.input-with-toggle { position: relative; }
.input-with-toggle input { padding-right: 46px; }
.toggle-pw {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-3); cursor: pointer;
  padding: 0; line-height: 1; transition: color .2s;
}
.toggle-pw:hover { color: var(--text); }
.strength-bar {
  height: 3px; background: var(--surface-2); border-radius: 2px;
  margin-top: 8px; overflow: hidden;
}
.strength-fill { height: 100%; width: 0; border-radius: 2px; transition: width .4s, background .4s; }
.strength-label { font-size: .7rem; }
.auth-terms { font-size: .74rem; color: var(--text-3); text-align: center; }
.auth-terms a { color: var(--purple-3); }
.auth-footer { margin-top: 24px; text-align: center; font-size: .84rem; color: var(--text-3); }
.auth-footer a { color: var(--purple-3); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════════════════════════════ */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,.1) 0%, transparent 60%), var(--bg);
}
.error-code {
  font-family: var(--font-display);
  font-size: 10rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--border-3) 0%, var(--border-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-msg { font-size: 1.3rem; color: var(--text-2); margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .landing-nav { padding: 14px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,8,15,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .hero { flex-direction: column; padding: 110px 20px 60px; gap: 40px; }
  .hero-widget-preview { display: none; }
  .features { padding: 80px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing { padding: 80px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1; min-width: 140px; }
  .stat-sep { display: none; }
  .landing-footer { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
  .cta-section { padding: 80px 20px; }
  .how { padding: 80px 20px; }
}
