/* =============================================
   NORS — style.css v6
   ============================================= */

:root {
  --bg: #040810;
  --surface: #080e1c;
  --card: #0b1120;
  --border: rgba(255,255,255,.07);
  --border-hover: rgba(255,255,255,.13);
  --text: #dde3f0;
  --muted: #5a6480;
  --white: #fff;
  --accent: #5b6ef5;
  --accent2: #818cf8;
  --accent-glow: rgba(91,110,245,.38);
  --pink: #f472b6;
  --green: #34d399;
  --red: #f87171;
  --gold: #f59e0b;
  --cyan: #22d3ee;
  --font: 'Inter', sans-serif;
  --heading: 'Outfit', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 4px; }
.hidden { display: none !important; }

/* ===== BG ===== */
.bg-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(160px); animation: drift 28s infinite alternate ease-in-out; }
.orb-1 { width: 800px; height: 800px; top: -300px; left: -200px; background: #5b6ef5; opacity: .14; }
.orb-2 { width: 600px; height: 600px; bottom: -200px; right: -150px; background: #f472b6; opacity: .10; animation-delay: -10s; }
.orb-3 { width: 500px; height: 500px; top: 35%; left: 55%; background: #22d3ee; opacity: .07; animation-delay: -5s; }
.orb-4 { width: 400px; height: 400px; top: 65%; left: 15%; background: #7c3aed; opacity: .07; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(50px,-80px) scale(1.08); }
  66% { transform: translate(-30px,60px) scale(.94); }
  100% { transform: translate(20px,-20px) scale(1.03); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 80%);
}
#particleCanvas { position: absolute; inset: 0; pointer-events: none; }

/* ===== PAGE ===== */
.page { position: relative; z-index: 10; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 64px;
  background: rgba(4,8,16,.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(4,8,16,.95); }
.nav-inner { max-width: 1140px; margin: auto; height: 100%; display: flex; align-items: center; gap: 48px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.nav-logo {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-logo.sm { width: 26px; height: 26px; border-radius: 8px; }
.nav-logo.lg { width: 52px; height: 52px; border-radius: 16px; }
.nav-brand span { font-family: var(--heading); font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; gap: 8px; margin-left: auto; }
.nav-btn { padding: 8px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; font-family: var(--font); }
.nav-btn.ghost { background: transparent; color: var(--text); }
.nav-btn.ghost:hover { background: rgba(255,255,255,.06); color: var(--white); }
.nav-btn.solid {
  background: var(--accent); color: #fff;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-btn.solid:hover { background: #4a5ce0; transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 48px 80px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91,110,245,.1);
  border: 1px solid rgba(91,110,245,.22);
  color: var(--accent2);
  padding: 6px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 32px;
  animation: fadeUp .5s ease;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.88); } }
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp .5s .08s ease both;
}
.glow-text {
  background: linear-gradient(115deg, var(--accent2) 0%, var(--pink) 38%, #a78bfa 58%, var(--accent2) 100%);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 5.5s ease infinite;
}
.hero p {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  max-width: 460px; margin-bottom: 36px;
  animation: fadeUp .5s .16s ease both;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; animation: fadeUp .5s .22s ease both; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; border: none; padding: 14px 28px;
  border-radius: 13px; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 28px var(--accent-glow);
  transition: all .25s; font-family: var(--font);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(91,110,245,.5); }
.hero-ghost { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; padding: 14px 4px; }
.hero-ghost:hover { color: var(--white); }
.hero-stats { display: flex; align-items: center; gap: 28px; animation: fadeUp .5s .3s ease both; }
.h-stat { text-align: left; }
.h-stat strong { display: block; font-family: var(--heading); font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; }
.h-stat span { font-size: 12px; color: var(--muted); margin-top: 2px; display: block; }
.h-divider { width: 1px; height: 32px; background: rgba(255,255,255,.08); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Visual */
.hero-visual { flex-shrink: 0; width: 340px; position: relative; animation: fadeUp .5s .35s ease both; }
.hero-card {
  background: rgba(11,17,32,.9);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(91,110,245,.12);
  animation: float 7s 1s ease-in-out infinite;
}
.hc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 16px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.hc-info { flex: 1; }
.hc-info strong { display: block; color: var(--white); font-size: 14px; font-weight: 700; }
.hc-online { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--green); font-weight: 600; }
.hc-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.hc-badge {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 99px;
  letter-spacing: .3px;
}
.hc-msg {
  padding: 10px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 500; line-height: 1.5;
  max-width: 82%; margin-bottom: 8px;
}
.hc-msg-in { background: rgba(255,255,255,.06); color: var(--text); border-radius: 4px 12px 12px 12px; }
.hc-msg-out {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; margin-left: auto; border-radius: 12px 4px 12px 12px;
}
.hc-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 10px 12px; margin-top: 14px;
}
.hc-input { flex: 1; font-size: 13px; color: var(--muted); }
.hc-send {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.hero-glow {
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 80px;
  background: var(--accent);
  filter: blur(60px); opacity: .2;
  border-radius: 50%;
}

/* ===== SECTIONS ===== */
.section { padding: 96px 48px; }
.section-inner { max-width: 1100px; margin: auto; }
.section-eyebrow {
  display: inline-block;
  color: var(--accent2); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.premium-eyebrow { color: var(--gold); }
.section h2 {
  font-family: var(--heading); font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; color: var(--white); letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 520px; margin-bottom: 52px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px;
  transition: all .25s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.f-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(from var(--c) r g b / .12);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--c); margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; color: var(--white); font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 0 48px; }
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.plan-card-premium {
  background: linear-gradient(145deg, rgba(91,110,245,.08) 0%, rgba(124,58,237,.05) 100%);
  border-color: rgba(91,110,245,.28);
  box-shadow: 0 0 60px rgba(91,110,245,.1);
  animation: premiumPulse 3.5s ease-in-out infinite;
}
.plan-ribbon {
  position: absolute; top: 14px; right: -30px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 5px 44px; transform: rotate(38deg);
  letter-spacing: .8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.plan-header { margin-bottom: 24px; }
.plan-name { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.premium-name { color: var(--accent2); }
.plan-price { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.price-amount { font-family: var(--heading); font-size: 44px; font-weight: 900; color: var(--white); }
.price-currency { font-size: 18px; font-weight: 700; color: var(--muted); }
.plan-period { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.plan-features li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.feat-yes::before { background: rgba(52,211,153,.12); box-shadow: inset 0 0 0 1.5px rgba(52,211,153,.35); content: "✓"; color: var(--green); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.feat-no { color: var(--muted) !important; }
.feat-no::before { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08); content: "×"; color: var(--muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.feat-premium { color: var(--accent2) !important; }
.plan-btn { width: 100%; padding: 13px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all .25s; font-family: var(--font); }
.plan-btn-ghost { background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--border); }
.plan-btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); }
.plan-btn-primary { background: linear-gradient(135deg, var(--accent), #7c3aed); color: #fff; box-shadow: 0 4px 24px var(--accent-glow); }
.plan-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(91,110,245,.5); }
.premium-status { min-height: 22px; padding: 6px 0 0; font-size: 12px; font-weight: 700; text-align: center; }
.premium-status.success { color: var(--green); }
.premium-status.pending { color: var(--gold); }
.premium-status.error { color: var(--red); }

/* Hooks */
.hooks-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.hook-item { padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.hook-num { font-family: var(--heading); font-size: 11px; font-weight: 800; color: var(--accent2); letter-spacing: 1.5px; margin-bottom: 10px; }
.hook-item h4 { font-size: 15px; color: var(--white); font-weight: 700; margin-bottom: 8px; }
.hook-item p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.pricing-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ===== STORY ===== */
.story-section { background: linear-gradient(180deg, transparent, rgba(11,17,32,.5), transparent); }
.story-wrap { max-width: 680px; margin-top: 12px; }
.story-bubble {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px 22px 22px 22px;
  padding: 30px 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.story-author { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.05); }
.s-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--pink)); display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-size: 17px; font-weight: 900; color: #fff; box-shadow: 0 4px 16px var(--accent-glow); flex-shrink: 0; }
.s-info { flex: 1; }
.s-info strong { display: block; color: var(--white); font-size: 15px; font-family: var(--heading); }
.s-info span { font-size: 12px; color: var(--accent2); font-weight: 600; }
.s-online { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--green); font-weight: 600; }
.s-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 6px rgba(52,211,153,.5); }
.story-bubble p { font-size: 14.5px; color: var(--text); line-height: 1.78; margin-bottom: 14px; }
.story-bubble p:last-child { margin-bottom: 0; }
.story-bubble strong { color: var(--white); }
.story-highlight { background: rgba(91,110,245,.07); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 14px 0; font-size: 14px; color: var(--text); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { padding: 72px 48px; }
.cta-inner {
  max-width: 1100px; margin: auto;
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, rgba(91,110,245,.07), rgba(124,58,237,.05));
  border: 1px solid rgba(91,110,245,.15);
  border-radius: 24px; padding: 64px 48px;
  overflow: hidden;
}
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 200px; background: var(--accent); filter: blur(100px); opacity: .08; border-radius: 50%; }
.cta-inner h2 { font-family: var(--heading); font-size: clamp(26px,3.5vw,40px); font-weight: 900; color: var(--white); margin-bottom: 12px; position: relative; letter-spacing: -.5px; }
.cta-inner p { font-size: 16px; color: var(--muted); margin-bottom: 32px; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-ghost { background: transparent; border: 1px solid rgba(255,255,255,.12); color: var(--text); padding: 14px 28px; border-radius: 13px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s; font-family: var(--font); }
.cta-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid rgba(255,255,255,.05); padding: 28px 48px; }
.footer-inner { max-width: 1100px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }

/* ===== AUTH PAGE ===== */
#authSection {
  position: fixed; inset: 0;
  display: flex; align-items: stretch;
  overflow: hidden;
}
.back-arrow {
  position: fixed; top: 20px; left: 20px; z-index: 110;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text); padding: 8px 16px;
  border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 600;
  transition: background .2s; font-family: var(--font);
}
.back-arrow:hover { background: rgba(255,255,255,.1); }

.auth-wrap { display: flex; width: 100%; }
.auth-brand-panel {
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 64px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.abp-logo { display: flex; align-items: center; gap: 12px; }
.abp-logo span { font-family: var(--heading); font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: 3px; }
.abp-content { }
.abp-content h2 { font-family: var(--heading); font-size: clamp(40px,5vw,68px); font-weight: 900; letter-spacing: -2.5px; line-height: 1.0; color: var(--white); margin-bottom: 18px; }
.abp-content p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 420px; margin-bottom: 28px; }
.abp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.abp-pill { padding: 7px 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text); }

.auth-form-panel {
  width: 480px; flex-shrink: 0;
  background: rgba(8,14,28,.97);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 44px;
  overflow-y: auto;
}

/* Auth card */
.glass-card {
  position: relative; width: 100%; max-width: 400px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px; padding: 36px 32px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 32px 80px rgba(0,0,0,.5), 0 0 120px -40px var(--accent-glow);
  animation: cardIn .4s cubic-bezier(.16,1,.3,1);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.card-shine { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 50%, transparent); border-radius: 22px 22px 0 0; }
.logo-area { text-align: center; margin-bottom: 24px; }
.logo-ring { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), #7c3aed); padding: 3px; box-shadow: 0 8px 32px var(--accent-glow); animation: logoPulse 4s infinite ease-in-out; }
@keyframes logoPulse { 0%,100% { box-shadow: 0 8px 32px var(--accent-glow); } 50% { box-shadow: 0 12px 50px rgba(91,110,245,.55); } }
.logo { width: 100%; height: 100%; background: var(--bg); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-size: 28px; font-weight: 900; color: var(--white); }
.card-title { font-family: var(--heading); font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.card-sub { font-size: 14px; color: var(--muted); }
.toast { padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 14px; font-weight: 600; text-align: center; }
.toast.success { background: rgba(52,211,153,.08); color: var(--green); border: 1px solid rgba(52,211,153,.2); }
.toast.error { background: rgba(248,113,113,.08); color: var(--red); border: 1px solid rgba(248,113,113,.2); }
.tab-row { display: flex; background: rgba(255,255,255,.04); border-radius: 11px; padding: 3px; margin-bottom: 20px; }
.tab { flex: 1; padding: 9px; background: transparent; border: none; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; border-radius: 9px; transition: all .25s; font-family: var(--font); }
.tab.active { background: var(--accent); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.auth-form { display: none; flex-direction: column; gap: 12px; }
.auth-form.active { display: flex; animation: fadeUp .25s ease; }
.input-group label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; margin-bottom: 5px; }
.input-group .req { color: var(--red); }
.input-group input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; color: var(--text); font-size: 14.5px; outline: none;
  transition: all .2s; font-family: var(--font);
}
.input-group input::placeholder { color: rgba(255,255,255,.18); }
.input-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,110,245,.15); background: rgba(255,255,255,.07); }
.link-btn { display: inline-block; margin-top: 6px; background: none; border: none; color: var(--accent2); font-size: 12.5px; cursor: pointer; font-family: var(--font); }
.link-btn:hover { text-decoration: underline; }
.glow-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; border: none; border-radius: 11px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font);
}
.glow-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(91,110,245,.55); }

/* ===== USER CARD ===== */
#userSection { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.user-card { max-width: 480px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.profile-left { display: flex; align-items: center; gap: 14px; }
.avatar-glow { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--pink)); padding: 2px; box-shadow: 0 4px 18px var(--accent-glow); }
.avatar { width: 100%; height: 100%; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: var(--white); font-family: var(--heading); }
.u-name { font-size: 17px; font-weight: 700; color: var(--white); }
.u-email { font-size: 13px; color: var(--muted); margin-top: 2px; }
.badge { display: flex; align-items: center; background: rgba(91,110,245,.15); border: 1px solid rgba(91,110,245,.25); color: var(--accent2); padding: 5px 14px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.dl-hero { text-align: center; padding: 22px 0; }
.dl-icon-ring { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px; background: rgba(91,110,245,.08); border: 1px solid rgba(91,110,245,.15); display: flex; align-items: center; justify-content: center; color: var(--accent2); }
.dl-hero h3 { font-size: 20px; color: var(--white); margin-bottom: 6px; font-family: var(--heading); }
.dl-hero p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.download-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #059669, #10b981); color: #fff; border: none; padding: 13px 32px; border-radius: 13px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .25s; box-shadow: 0 4px 20px rgba(16,185,129,.28); font-family: var(--font); }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,185,129,.4); }
.dl-sub { font-size: 12px; color: var(--muted); margin-top: 10px; }
.sep { height: 1px; background: rgba(255,255,255,.06); margin: 20px 0; }
.logout-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; background: transparent; border: 1px solid rgba(248,113,113,.18); color: var(--red); border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--font); }
.logout-btn:hover { background: rgba(248,113,113,.06); border-color: rgba(248,113,113,.32); }
.admin-panel { }
.ghost-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.1); color: var(--text); padding: 12px 24px; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .25s; font-family: var(--font); }
.ghost-btn-outline:hover { background: rgba(255,255,255,.05); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero { flex-direction: column; text-align: center; gap: 48px; padding: 100px 32px 60px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; max-width: 340px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { width: 100%; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .section { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hooks-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .cta-section { padding: 48px 24px; }
  .cta-inner { padding: 40px 24px; }
  .glass-card { padding: 28px 20px; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { width: 100%; padding: 32px 20px; }
}

/* ===================================================
   ADVANCED ANIMATION SYSTEM
   =================================================== */

/* — Scroll reveal — */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-up {
  opacity: 0;
  transform: translateY(22px) scale(.96);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal-up.visible { opacity: 1; transform: none; }

/* — Float — */
@keyframes float {
  0%, 100% { transform: translateY(0px)   rotate(-.4deg); }
  50%       { transform: translateY(-16px) rotate( .5deg); }
}

/* — Shimmer text — */
@keyframes shimmerText {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* — Premium card pulse — */
@keyframes premiumPulse {
  0%, 100% { box-shadow: 0 0 50px rgba(91,110,245,.10), 0 0 0 1px   rgba(91,110,245,.28); }
  50%       { box-shadow: 0 0 90px rgba(91,110,245,.28), 0 0 0 1.5px rgba(164,120,245,.55); }
}

/* — Typing dots — */
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: .4; }
  40%            { transform: translateY(-6px); opacity: 1;  }
}

/* — Badge pulse ring — */
@keyframes pulseBadge {
  0%   { box-shadow: 0 0 0 0   rgba(52,211,153,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(52,211,153, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(52,211,153, 0);  }
}

/* — Scroll progress bar — */
#scrollProgress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--accent2));
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width .08s linear;
  pointer-events: none;
}

/* — Cursor glow — */
#cursorGlow {
  position: fixed; pointer-events: none; z-index: 4;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,110,245,.052) 0%, transparent 60%);
  transform: translate(-50%,-50%);
  will-change: left, top;
  transition: opacity .4s;
}

/* — Button shine sweep — */
.hero-cta, .plan-btn-primary, .download-btn, .glow-btn { position: relative; overflow: hidden; }
.hero-cta::after, .plan-btn-primary::after, .download-btn::after, .glow-btn::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.hero-cta:hover::after,
.plan-btn-primary:hover::after,
.download-btn:hover::after,
.glow-btn:hover::after { left: 140%; }

/* — Typing indicator — */
.hc-typing {
  display: none; align-items: center; gap: 5px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: 4px 12px 12px 12px;
  width: fit-content; margin-bottom: 8px;
}
.hc-typing.show { display: flex; animation: fadeUp .3s ease; }
.hc-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted);
  animation: typingBounce 1.3s ease infinite;
}
.hc-typing span:nth-child(2) { animation-delay: .22s; }
.hc-typing span:nth-child(3) { animation-delay: .44s; }

/* — Enhanced badge/online dots — */
.badge-dot { animation: pulseBadge 2s ease-in-out infinite !important; }
.s-online i { animation: pulseBadge 2.4s 1.2s ease-in-out infinite; }
.hc-online i { animation: pulseBadge 2.2s .5s ease-in-out infinite; }

/* — Feature card tilt support — */
.feature-card { will-change: transform; }
.f-icon { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.feature-card:hover .f-icon { transform: translateY(-4px) scale(1.12); }

/* — Section eyebrow underline reveal — */
.section-eyebrow { position: relative; }
.section-eyebrow::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  height: 1.5px; width: 0%;
  background: linear-gradient(90deg, var(--accent2), transparent);
  transition: width .75s cubic-bezier(.16,1,.3,1) .35s;
}
.section-eyebrow.visible::after { width: 100%; }

/* — Orb opacity boost — */
.orb-1 { opacity: .18; }
.orb-2 { opacity: .12; }
