/* ── Variables ──────────────────────────────────────────────────── */
:root {
  --bg:        #0A0F1E;
  --bg2:       #0D1428;
  --bg3:       #111827;
  --cyan:      #00D4FF;
  --violet:    #7C3AED;
  --white:     #FFFFFF;
  --grey:      #A0ADB8;
  --grey2:     #4B5563;
  --border:    rgba(255,255,255,0.08);
  --glass-bg:  rgba(255,255,255,0.03);
  --grad:      linear-gradient(135deg, #00D4FF 0%, #7C3AED 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,212,255,0.15) 0%, rgba(124,58,237,0.15) 100%);
  --shadow:    0 25px 50px rgba(0,0,0,0.5);
  --radius:    16px;
  --nav-h:     72px;
}

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

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-grey { color: var(--grey); }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

/* ── Layout helpers ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  border: none;
  white-space: nowrap;
}
.btn-gradient {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 20px rgba(0,212,255,0.25);
}
.btn-gradient:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.5), 0 8px 25px rgba(124,58,237,0.3);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ── Glassmorphism card ─────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.glass:hover {
  border-color: rgba(0,212,255,0.2);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* ── Divider ────────────────────────────────────────────────────── */
.divider {
  width: 60px; height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin: 20px auto;
}
.divider-left { margin-left: 0; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Nav user dropdown ── */
.nav-user-dropdown { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 5px 12px 5px 6px;
  cursor: pointer;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.nav-user-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,212,255,0.3);
}
.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4FF, #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.nav-dropdown-arrow {
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-user-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 200;
}
.nav-user-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--grey);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 2px 0; }
.nav-dropdown-logout { color: #f87171; }
.nav-dropdown-logout:hover { background: rgba(239,68,68,0.08); color: #fca5a5; }

/* ── Pricing plan state badges ── */
.plan-current-badge {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(52,211,153,0.25);
}
.plan-current-badge-grad {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.25);
  color: #67e8f9;
}
.plan-included-note {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 0.78rem;
  color: var(--grey2);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,15,30,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--cyan); }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 25s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}
@keyframes grid-drift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, rgba(0,212,255,0.08) 50%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 0; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 { margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--grey);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey2);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}
.hero-scroll .arrow { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── STATS ──────────────────────────────────────────────────────── */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,212,255,0.02);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--grey);
  font-size: 0.9rem;
}

/* ── HOW IT WORKS ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 60px;
}
.step-card {
  padding: 40px 32px;
  position: relative;
  text-align: center;
}
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  position: absolute;
  top: 20px; right: 24px;
  line-height: 1;
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--grey); font-size: 0.95rem; }

/* ── FEATURES GRID ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 60px;
}
.feature-card {
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.feature-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; }

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 60px;
}
.testimonial-card {
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.stars { color: #F59E0B; font-size: 1rem; margin-bottom: 20px; letter-spacing: 2px; }
.testimonial-card blockquote {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-title { color: var(--grey); font-size: 0.8rem; }

/* ── FINAL CTA ──────────────────────────────────────────────────── */
.cta-section {
  background: var(--grad-soft);
  border-top: 1px solid rgba(0,212,255,0.15);
  border-bottom: 1px solid rgba(0,212,255,0.15);
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 { max-width: 700px; margin: 0 auto 16px; }
.cta-section p { color: var(--grey); max-width: 500px; margin: 0 auto 40px; }

/* ── PAGE HERO (inner pages) ────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black 0%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p {
  color: var(--grey);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ── HOW IT WORKS PAGE ──────────────────────────────────────────── */
.doc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.doc-type-card {
  padding: 36px 28px;
  text-align: center;
}
.doc-type-card .doc-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 48px;
}
.checks-card {
  padding: 32px 28px;
}
.checks-card h3 {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--grey);
}
.check-item::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.example-output {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 48px;
  font-size: 0.875rem;
}
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.output-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 10px;
  border-radius: 50px;
}
.output-finding {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.output-finding:last-child { border-bottom: none; }
.finding-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag-red   { background: rgba(239,68,68,0.15); color: #ef4444; }
.tag-amber { background: rgba(245,158,11,0.15); color: #f59e0b; }
.tag-green { background: rgba(16,185,129,0.15); color: #10b981; }
.finding-text { color: var(--grey); line-height: 1.6; }
.finding-amount { color: var(--white); font-weight: 600; white-space: nowrap; }

/* ── PRICING ────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 60px;
}
.pricing-card {
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card.popular {
  background: rgba(0,212,255,0.04);
  border-color: rgba(0,212,255,0.3);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price span { font-size: 1.2rem; font-weight: 400; color: var(--grey); }
.plan-period { color: var(--grey); font-size: 0.85rem; margin-bottom: 28px; }
.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}
.plan-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--grey);
}
.plan-feature .tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  padding: 20px;
  border: 1px dashed rgba(16,185,129,0.3);
  border-radius: var(--radius);
  color: var(--grey);
  font-size: 0.9rem;
}
.guarantee-icon { font-size: 1.8rem; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 48px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-chevron {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--cyan);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ── ABOUT PAGE ─────────────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-text p {
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-story-visual {
  position: relative;
}
.about-quote-card {
  padding: 40px;
  background: var(--grad-soft);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  position: relative;
}
.about-quote-card::before {
  content: '"';
  font-size: 6rem;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -20px; left: 20px;
  line-height: 1;
  opacity: 0.6;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 48px;
}
.trust-card {
  padding: 32px 24px;
  text-align: center;
}
.trust-card .trust-icon { font-size: 2rem; margin-bottom: 16px; }
.trust-card h3 { font-size: 1rem; margin-bottom: 10px; }
.trust-card p { color: var(--grey); font-size: 0.85rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 48px;
}
.value-card {
  padding: 32px;
  display: flex;
  gap: 20px;
}
.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.value-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; }

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--grey); line-height: 1.8; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}
.contact-detail-icon { font-size: 1.3rem; }
.contact-detail-text small { color: var(--grey); font-size: 0.8rem; }
.contact-detail-text strong { display: block; }
.contact-form-card { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group select option {
  background: #141929;
  color: #f1f5f9;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey2); }
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  color: #10b981;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ── LOGIN PAGE ─────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.login-glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
}
.login-logo {
  text-align: center;
  margin-bottom: 36px;
}
.login-logo .logo-icon {
  width: 52px; height: 52px;
  background: var(--grad);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.login-logo h1 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.login-logo p { color: var(--grey); font-size: 0.9rem; }
.login-card .form-group { margin-bottom: 18px; }
.login-extras {
  display: flex;
  justify-content: flex-end;
  margin-top: -10px;
  margin-bottom: 24px;
}
.login-extras a { font-size: 0.85rem; color: var(--cyan); }
.login-extras a:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { color: var(--grey); font-size: 0.9rem; max-width: 260px; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--grey);
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: var(--grey);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--grey2);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--grey2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--grey); }

/* ── AOS custom ─────────────────────────────────────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-story { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: scale(1); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn:first-child { display: none; }
  .hamburger { display: flex; }
  .features-grid, .steps-grid, .testimonials-grid,
  .doc-types-grid, .pricing-grid, .checks-grid,
  .values-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .login-card { padding: 36px 24px; }
  .section { padding: 70px 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ═══════════════════════════════════════════════
   REGISTRATION FLOW
   ═══════════════════════════════════════════════ */
.reg-section {
  padding: 70px 0 80px;
  min-height: 80vh;
}
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.reg-header { margin-bottom: 28px; }
.reg-title { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.reg-sub   { font-size: 0.9rem; color: var(--grey); }

/* Form card */
.reg-form { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.reg-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg-group { display: flex; flex-direction: column; gap: 6px; }
.reg-label { font-size: 0.78rem; font-weight: 600; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; }
.reg-input,
.reg-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.reg-select { appearance: none; cursor: pointer; }
.reg-input:focus, .reg-select:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
}
.reg-input::placeholder { color: var(--grey2); }
.reg-select option { background: #141929; color: #f1f5f9; }

.reg-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.5;
}
.reg-terms input[type="checkbox"] { margin-top: 2px; accent-color: var(--cyan); }
.reg-submit { width: 100%; justify-content: center; padding: 14px; font-size: 0.95rem; }
.reg-login-link { font-size: 0.8rem; color: var(--grey); text-align: center; margin-top: 4px; }

/* Error list */
.reg-errors { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.reg-error-item {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #f87171;
}

/* Plan summary card */
.reg-plan-card {
  padding: 28px 24px;
  position: sticky;
  top: 90px;
}
.reg-plan-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.plan-option-panel { display: none; }
.plan-option-panel.active { display: block; }
.reg-plan-name  { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.reg-plan-price { font-size: 2rem; font-weight: 800; color: var(--cyan); margin-bottom: 2px; }
.reg-plan-price span { font-size: 0.95rem; color: var(--grey); font-weight: 400; }
.reg-plan-tagline { font-size: 0.8rem; color: var(--grey); margin-bottom: 20px; }
.reg-plan-divider { height: 1px; background: var(--border); margin: 16px 0; }
.reg-plan-features { display: flex; flex-direction: column; gap: 10px; }
.reg-plan-feature { font-size: 0.82rem; color: var(--grey); display: flex; align-items: flex-start; gap: 8px; }
.reg-tick    { color: #34d399; font-size: 0.8rem; flex-shrink: 0; margin-top: 1px; }
.reg-tick-no { color: var(--grey2); font-size: 0.8rem; flex-shrink: 0; }
.reg-plan-missing { color: var(--grey2); }
.reg-plan-footer {
  margin-top: 22px;
  font-size: 0.75rem;
  color: var(--grey2);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Trust row */
.reg-trust-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.reg-trust-item {
  font-size: 0.72rem;
  color: var(--grey2);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ═══════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════ */
.checkout-header { text-align: center; margin-bottom: 40px; }
.checkout-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}
.checkout-summary {
  padding: 28px 24px;
  position: sticky;
  top: 90px;
}
.checkout-summary-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-bottom: 16px;
}
.checkout-plan-name  { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.checkout-plan-price { font-size: 2rem; font-weight: 800; color: var(--cyan); margin-bottom: 4px; }
.checkout-plan-price span { font-size: 0.9rem; color: var(--grey); font-weight: 400; }
.checkout-plan-tagline { font-size: 0.78rem; color: var(--grey); }
.checkout-divider { height: 1px; background: var(--border); margin: 18px 0; }
.checkout-features { display: flex; flex-direction: column; gap: 9px; }
.checkout-feature  { font-size: 0.8rem; color: var(--grey); display: flex; gap: 8px; align-items: flex-start; }
.checkout-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--grey); }
.checkout-total-price { font-size: 1.3rem; font-weight: 700; color: var(--white); }

/* Payment card */
.payment-card, .bank-transfer-card, .checkout-note {
  padding: 22px 24px;
  margin-bottom: 16px;
}
.payment-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.payment-stripe-note {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.bank-transfer-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
}
.bank-label { color: var(--grey2); }
.bank-value { color: var(--white); font-weight: 500; }
.bank-notice {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #fbbf24;
  line-height: 1.5;
}
.checkout-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
}

/* ═══════════════════════════════════════════════
   CONFIRMATION PAGE
   ═══════════════════════════════════════════════ */
.confirmation-card { padding: 48px 40px; text-align: center; }
.confirmation-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 20px;
  display: block;
}
.confirmation-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.confirmation-sub {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 32px;
}
.confirmation-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.conf-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--grey);
}
.conf-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.conf-step-done .conf-step-num { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.conf-step-done { color: var(--white); }
.conf-step-pending .conf-step-num { background: rgba(255,255,255,0.05); color: var(--grey2); border: 1px solid var(--border); }
.confirmation-note {
  font-size: 0.8rem;
  color: var(--grey2);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════
   STAFF — EXTRA BUTTONS
   ═══════════════════════════════════════════════ */
.btn-success {
  background: rgba(52,211,153,0.12);
  color: #34d399;
  border: 1px solid rgba(52,211,153,0.3);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-success:hover { background: rgba(52,211,153,0.22); }

.btn-activate-inline {
  background: linear-gradient(135deg, #7C3AED, #00D4FF);
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(124,58,237,0.35);
}
.btn-activate-inline:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-activate-inline:active { transform: translateY(0); opacity: 1; }

/* Status badge for pending_payment */
.badge-pending_payment { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }

/* ═══════════════════════════════════════════════
   STRIPE PAYMENT CARD
   ═══════════════════════════════════════════════ */
.stripe-payment-card { padding: 28px 26px; }

.stripe-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.stripe-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.card-brand-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-brand-icons svg { opacity: 0.9; border-radius: 3px; }

.stripe-field-group { margin-bottom: 20px; }

.stripe-card-element {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.stripe-card-element.StripeElement--focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.stripe-card-element.StripeElement--invalid {
  border-color: #f87171;
}

.stripe-error-msg {
  margin-top: 8px;
  min-height: 20px;
  font-size: 0.82rem;
  color: #f87171;
  line-height: 1.4;
}

.pay-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
  transition: opacity 0.2s, transform 0.1s;
}
.pay-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.pay-btn:not(:disabled):hover { transform: translateY(-1px); }

.pay-spinner {
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { animation: spin 0.8s linear infinite; }

.stripe-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--grey2);
}

.stripe-test-banner {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.18);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #fbbf24;
  line-height: 1.6;
}
.stripe-test-banner code {
  background: rgba(251,191,36,0.15);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: monospace;
  font-size: 0.85em;
}

/* ═══════════════════════════════════════════════
   REGISTRATION — RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .reg-grid     { grid-template-columns: 1fr; }
  .reg-plan-col { order: -1; }
  .reg-plan-card { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 560px) {
  .reg-row-2 { grid-template-columns: 1fr; }
  .reg-form  { padding: 22px 18px; }
  .confirmation-card { padding: 32px 22px; }
}
