/* ─────────────────────────────────────────────────────────────
   CreatorShield — Cinematic Dark Theme
   Palette: Deep space base · Purple accents · Emerald highlights
   Fonts: Syne (display) + Instrument Sans (body)
───────────────────────────────────────────────────────────── */

:root {
  --bg:           #060810;
  --bg-1:         #0c0e18;
  --bg-2:         #111425;
  --bg-glass:     rgba(14, 17, 32, 0.7);
  --purple:       #7c3aed;
  --purple-light: #a855f7;
  --purple-dim:   rgba(124, 58, 237, 0.15);
  --green:        #10b981;
  --green-light:  #34d399;
  --green-dim:    rgba(16, 185, 129, 0.15);
  --white:        #f0f2ff;
  --gray-1:       #8892b0;
  --gray-2:       #4a5270;
  --gray-3:       #1e2340;
  --border:       rgba(255, 255, 255, 0.07);
  --border-lit:   rgba(255, 255, 255, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body:    'Instrument Sans', sans-serif;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow-purple: 0 0 40px rgba(124, 58, 237, 0.18);
  --shadow-green:  0 0 40px rgba(16, 185, 129, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Gradient Text ─────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-lit);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-1);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--white); }

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(6, 8, 16, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--purple-light);
  font-size: 20px;
  line-height: 1;
}

.logo-text strong { color: var(--purple-light); }

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  color: var(--gray-1);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

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

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  gap: 80px;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  top: -150px;
  left: -200px;
}

.hero-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  bottom: -100px;
  right: -150px;
}

.hero-content {
  position: relative;
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

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

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

.hero-headline {
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-1);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

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

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

.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 12px;
  color: var(--gray-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ── Hero Visual (Threat Cards) ────────────────────────────── */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  z-index: 2;
}

.threat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(20px);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatCard 8s ease-in-out infinite;
}

.threat-card:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-purple);
}

.threat-card-2 { animation-delay: -2s; }
.threat-card-3 { animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.threat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.threat-type {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}

.threat-high {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.threat-med {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.threat-resolved {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.threat-time {
  font-size: 11px;
  color: var(--gray-2);
}

.threat-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.threat-detail {
  font-size: 12px;
  color: var(--gray-1);
  margin-bottom: 10px;
}

.threat-action {
  font-size: 11px;
  color: var(--purple-light);
  font-weight: 600;
  cursor: pointer;
}

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 18px 32px;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-platforms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-tag {
  padding: 4px 12px;
  background: var(--gray-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--gray-1);
  font-weight: 500;
}

/* ── Section Shared ────────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-1);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features ──────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg-1);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(124, 58, 237, 0.04));
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.feature-card-large {
  grid-column: span 2;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.feature-card-right {
  grid-column: 2 / 4;
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-purple {
  background: var(--purple-dim);
  color: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.icon-green {
  background: var(--green-dim);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 16px;
}

.feature-card-large .feature-title { margin-top: 0; }

.feature-desc {
  font-size: 14px;
  color: var(--gray-1);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list li {
  font-size: 13px;
  color: var(--gray-1);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  opacity: 0.7;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: var(--gray-1);
  line-height: 1.7;
}

.step-arrow {
  font-size: 22px;
  color: var(--gray-2);
  flex-shrink: 0;
  font-weight: 300;
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--bg-1);
}

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

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
}

.pricing-featured {
  background: linear-gradient(160deg, #0f1328 0%, #1a1040 100%);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
  transform: scale(1.03);
}

.pricing-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-plus { color: var(--green-light); }

.plan-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-1);
}

.plan-monthly-equiv {
  font-size: 12px;
  color: var(--gray-2);
  margin-bottom: 14px;
}

.plan-desc {
  font-size: 13px;
  color: var(--gray-1);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-yes { color: var(--white); }
.feat-no  { color: var(--gray-2); text-decoration: line-through; }

.feat-yes::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 12px; }
.feat-no::before  { content: '✕'; color: var(--gray-2); font-weight: 700; font-size: 12px; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--gray-1);
}

.pricing-note strong { color: var(--white); }

/* ── Social Proof ──────────────────────────────────────────── */
.social-proof {
  padding: 100px 0;
  background: var(--bg);
}

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

.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-1);
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.author-handle {
  font-size: 12px;
  color: var(--gray-2);
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--gray-1);
  margin-bottom: 36px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand {
  flex: 1;
  max-width: 260px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-2);
  line-height: 1.6;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--gray-1);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-2);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

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

/* ── Auth Pages ────────────────────────────────────────────── */
.auth-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-scene #particles-canvas {
  position: fixed;
}

.auth-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.auth-logo {
  font-size: 20px;
}

.auth-card {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border-lit);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-card-header h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-card-header p {
  font-size: 14px;
  color: var(--gray-1);
}

.auth-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  font-size: 13px;
  color: #f87171;
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-1);
  letter-spacing: 0.02em;
}

.form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-lit);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  transition: all 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--gray-2); }

.form-group input:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-hint {
  font-size: 11px;
  color: var(--gray-2);
}

.btn-auth {
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
}

.auth-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-1);
}

.auth-footer-link a {
  color: var(--purple-light);
  font-weight: 600;
}

.auth-footer-link a:hover { text-decoration: underline; }

.auth-terms {
  text-align: center;
  font-size: 11px;
  color: var(--gray-2);
  margin-top: 14px;
  line-height: 1.6;
}

.auth-terms a { color: var(--gray-1); text-decoration: underline; }

.back-link {
  font-size: 13px;
  color: var(--gray-2);
  transition: color 0.2s;
}
.back-link:hover { color: var(--white); }

/* ── Dashboard ─────────────────────────────────────────────── */
.dashboard-body {
  background: var(--bg);
  min-height: 100vh;
}

.dash-layout {
  display: flex;
  min-height: 100vh;
}

.dash-sidebar {
  width: 240px;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 0;
  height: 100vh;
  flex-shrink: 0;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-1);
  transition: all 0.2s;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.dash-nav-item.active {
  background: var(--purple-dim);
  color: var(--white);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.dash-nav-soon { opacity: 0.5; }

.soon-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  background: var(--gray-3);
  border-radius: 4px;
  color: var(--gray-2);
  text-transform: uppercase;
}

.dash-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.dash-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.dash-user-details { flex: 1; min-width: 0; }

.dash-user-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-plan {
  font-size: 11px;
  color: var(--gray-2);
}

.logout-btn {
  background: none;
  color: var(--gray-2);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.logout-btn:hover { color: var(--white); }

.dash-main {
  flex: 1;
  padding: 32px 40px;
  overflow-y: auto;
}

.dash-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.dash-greeting h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.dash-greeting p {
  font-size: 14px;
  color: var(--gray-1);
}

.dash-score-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.score-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  grid-column: 1 / -1;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.score-svg { width: 120px; height: 120px; }

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
}

.score-info { flex: 1; }

.score-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.score-info p {
  font-size: 13px;
  color: var(--gray-1);
  margin-bottom: 16px;
  line-height: 1.6;
}

.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-1);
}

.score-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: var(--green); }
.dot-amber { background: #f59e0b; }

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-column: 1 / -1;
}

.dash-stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.dash-stat-val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.dash-stat-label {
  font-size: 12px;
  color: var(--gray-2);
}

.dash-setup {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.setup-header {
  margin-bottom: 24px;
}

.setup-header h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.setup-header p {
  font-size: 13px;
  color: var(--gray-1);
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setup-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.setup-step-done {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
}

.setup-step-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.setup-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-3);
  color: var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.setup-step-info { flex: 1; }

.setup-step-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.setup-step-info span {
  font-size: 12px;
  color: var(--gray-1);
}

.setup-soon {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-2);
  background: var(--gray-3);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Pricing Toggle ────────────────────────────────────────── */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.billing-toggle {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
}

.toggle-btn {
  padding: 8px 20px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-1);
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.toggle-btn-active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.toggle-save-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.03em;
}

.plan-price-wrap {
  margin-bottom: 4px;
}

.plan-savings {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.plan-crossout {
  font-size: 13px;
  color: var(--gray-2);
  text-decoration: line-through;
}

.save-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ── Toast Notifications ───────────────────────────────────── */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  max-width: 480px;
  width: calc(100% - 40px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.toast-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-light);
}

.toast-info {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--white);
}

.toast span { flex: 1; }

.toast-close {
  background: none;
  color: inherit;
  font-size: 14px;
  opacity: 0.6;
  padding: 2px 4px;
  flex-shrink: 0;
}
.toast-close:hover { opacity: 1; }

/* ── Plan Chips (sidebar) ──────────────────────────────────── */
.plan-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}

.plan-chip-pro {
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.plan-chip-pro-plus {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ── Plan Upgrade Banner ───────────────────────────────────── */
.plan-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(16,185,129,0.06) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.plan-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--purple-dim);
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  flex-shrink: 0;
}

.plan-banner-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.plan-banner-sub {
  font-size: 12px;
  color: var(--gray-1);
  line-height: 1.5;
}

/* ── Dashboard Topbar Actions ──────────────────────────────── */
.dash-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Setup Step Unlocked ───────────────────────────────────── */
.setup-step-unlocked {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.03);
}

/* ── Hero Trust Signals (inline below CTA) ─────────────────── */
.hero-trust-signals {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-signal-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-2);
}

.trust-signal-dot {
  color: var(--gray-3);
  font-size: 16px;
  line-height: 1;
}

/* ── Industry Stats Strip ───────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 40px 32px;
}

.stats-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.industry-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.industry-stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-stat-label {
  font-size: 13px;
  color: var(--gray-1);
  max-width: 200px;
  line-height: 1.5;
}

.stats-strip-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Trust Section ──────────────────────────────────────────── */
.trust-section {
  padding: 80px 0;
  background: var(--bg);
}

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

.trust-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.trust-card:hover {
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-3px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card-desc {
  font-size: 13px;
  color: var(--gray-1);
  line-height: 1.7;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-trust-signals { justify-content: center; }
  .hero-visual { width: 100%; max-width: 400px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: span 1; flex-direction: column; }
  .feature-card-right { grid-column: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .trust-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats-strip-inner { gap: 32px; }
  .stats-strip-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { gap: 0; justify-content: space-between; }
  .hero-headline { font-size: 38px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-columns { justify-content: flex-start; gap: 40px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trust-bar-inner { flex-direction: column; gap: 14px; }
  .billing-toggle-wrap { flex-direction: column; gap: 10px; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-score-section { grid-template-columns: 1fr; }
  .score-card { flex-direction: column; text-align: center; }
  .plan-upgrade-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .nav-actions .btn-ghost { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-large { width: 100%; justify-content: center; }
  .auth-card { padding: 28px 20px; }
  .dash-main { padding: 20px; }
  .dash-topbar { flex-direction: column; gap: 16px; align-items: flex-start; }
  .toast { top: 12px; }
}
