/* ============================================================
   OPTIVEXA v2.0 — Premium Design System
   Inspired by Stripe, Linear, Vercel, Framer, Arc
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Surfaces */
  --bg:           #07090F;
  --bg-elev:      #0B0F1A;
  --surface:      #0E1320;
  --surface-2:    #131826;
  --surface-3:    #1A2030;
  --overlay:      rgba(11, 15, 26, 0.78);

  /* Borders */
  --border:       rgba(255, 255, 255, 0.06);
  --border-strong:rgba(255, 255, 255, 0.10);
  --border-accent:rgba(99, 132, 255, 0.30);

  /* Text */
  --white:        #FFFFFF;
  --text:         #E6EAF2;
  --text-2:       #B8C0CF;
  --muted:        #8B94A8;
  --muted-2:      #5B6377;

  /* Brand colors */
  --accent:       #6384FF;
  --accent-2:     #4F6FE5;
  --accent-3:     #3D58CC;
  --accent-glow:  rgba(99, 132, 255, 0.25);
  --accent-glow-soft: rgba(99, 132, 255, 0.10);

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #6384FF 0%, #8C5DFF 50%, #C75DFF 100%);
  --grad-brand-2: linear-gradient(135deg, #6384FF 0%, #4F6FE5 100%);
  --grad-glow:    radial-gradient(circle at 50% 0%, rgba(99,132,255,0.18) 0%, transparent 60%);
  --grad-success: linear-gradient(135deg, #10B981 0%, #059669 100%);

  /* Status */
  --success:      #10B981;
  --success-bg:   rgba(16, 185, 129, 0.10);
  --warning:      #F59E0B;
  --warning-bg:   rgba(245, 158, 11, 0.10);
  --error:        #EF4444;
  --error-bg:     rgba(239, 68, 68, 0.10);
  --info:         #6384FF;

  /* Typography */
  --ff-display:   'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono:      'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Radii */
  --r-xs:         4px;
  --r-sm:         8px;
  --r-md:         12px;
  --r-lg:         16px;
  --r-xl:         20px;
  --r-2xl:        24px;
  --r-3xl:        32px;
  --r-full:       999px;

  /* Shadows */
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.20);
  --shadow:       0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.35);
  --shadow-xl:    0 24px 64px rgba(0,0,0,0.45);
  --shadow-glow:  0 0 60px rgba(99, 132, 255, 0.20);
  --shadow-glow-soft: 0 0 40px rgba(99, 132, 255, 0.10);

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:       0.15s var(--ease);
  --t-base:       0.25s var(--ease);
  --t-slow:       0.4s var(--ease-out);

  /* Layout */
  --container:    1240px;
  --gutter:       clamp(20px, 5vw, 80px);
  --nav-h:        64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 0%, rgba(99,132,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 100%, rgba(140,93,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
hr { border: none; height: 1px; background: var(--border); }

/* Selection */
::selection { background: var(--accent); color: white; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: var(--r-full);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

/* === UTILITIES === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.7; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === LOADING SCREEN === */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo-img { height: 100px; filter: drop-shadow(0 0 32px var(--accent-glow)); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.loader-bar { width: 240px; height: 2px; background: var(--border-strong); border-radius: var(--r-full); overflow: hidden; }
.loader-bar-inner {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--r-full);
  animation: loaderProgress 1.8s ease forwards;
}
@keyframes loaderProgress { from { width: 0%; } to { width: 100%; } }
.loader-text {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: blink 1.8s ease infinite;
}
@keyframes blink { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* === SCROLL PROGRESS === */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* === BACK TO TOP === */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 1rem;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-base);
  backdrop-filter: blur(20px);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--surface-3); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 clamp(20px, 4vw, 48px);
  background: transparent;
  transition: background var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
}
nav.scrolled {
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.nav-logo { display: flex; align-items: center; gap: 0.625rem; line-height: 1; }
.nav-logo img { height: 38px; width: auto; display: block; transition: filter var(--t-base); }
.nav-logo:hover img { filter: drop-shadow(0 0 16px var(--accent-glow)); }
.nav-links {
  display: flex;
  gap: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav-account-btn:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--bg);
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t-base);
}
.nav-cta:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(7, 9, 15, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(20px, 4vw, 48px) 2rem;
  z-index: 499;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.nav-mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-mobile-menu .mobile-cta {
  margin-top: 1rem;
  background: var(--white);
  color: var(--bg);
  text-align: center;
  padding: 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
}
@media (max-width: 900px) {
  .nav-links, .nav-account-btn:not(.nav-mobile-only), .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: var(--white);
  color: var(--bg);
  border: 1px solid transparent;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99,132,255,0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { color: var(--white); }
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--border-accent);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 0.625rem 1rem;
}
.btn-ghost:hover { color: var(--white); }
.btn-danger {
  background: var(--error-bg);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--error);
}
.btn-danger:hover { background: rgba(239,68,68,0.18); }
.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.825rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; }

/* === SECTIONS === */
section { padding: clamp(60px, 8vw, 120px) var(--gutter); position: relative; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.875rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.125rem;
  color: var(--white);
}
.section-desc {
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.7;
  font-size: 1.05rem;
}
.section-head { margin-bottom: 4rem; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .section-desc { margin-left: auto; margin-right: auto; }

/* === HERO === */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) var(--gutter) 100px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s var(--ease-out);
}
.blink-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--success);
  animation: blink 2s ease-in-out infinite;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
  max-width: 1000px;
  animation: fadeInUp 0.9s var(--ease-out) 0.1s both;
}
.hero-title .accent-word {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.9s var(--ease-out) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.9s var(--ease-out) 0.3s both;
}
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  animation: fadeInUp 0.9s var(--ease-out) 0.4s both;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-item strong {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.trust-item span {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border-strong);
}

.hero-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: -1;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle at center, rgba(140,93,255,0.10), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(99,132,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99,132,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
}

.floating-card {
  position: absolute;
  background: rgba(14, 19, 32, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 0.875rem 1.125rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1;
}
@media (min-width: 1100px) {
  .floating-card { display: block; }
}
.floating-card.card-left { left: 4vw; top: 32%; animation: floatCard 6s ease-in-out infinite; }
.floating-card.card-right { right: 4vw; top: 62%; animation: floatCard 6s ease-in-out infinite 3s; }
.floating-card .fc-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.floating-card .fc-value { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.floating-card .fc-sub { font-size: 0.72rem; color: var(--text-2); margin-top: 2px; }
.floating-card .fc-bar { height: 4px; background: var(--border); border-radius: var(--r-full); margin-top: 6px; overflow: hidden; }
.floating-card .fc-bar-fill { height: 100%; background: var(--grad-brand); border-radius: var(--r-full); }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === FEATURES GRID === */
.features-section {
  background: linear-gradient(180deg, transparent, var(--bg-elev) 50%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: all var(--t-base);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99,132,255,0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  position: relative;
  z-index: 1;
}
.feature-card p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* === BENTO GRID === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}
.bento {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.bento:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow-soft);
  transform: translateY(-2px);
}
.bento-large { grid-column: span 4; grid-row: span 2; }
.bento-medium { grid-column: span 2; grid-row: span 2; }
.bento-small { grid-column: span 2; grid-row: span 1; }
.bento-wide { grid-column: span 6; grid-row: span 1; }
.bento h3 { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.bento p { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.bento .bento-visual {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 100%, rgba(99,132,255,0.08), transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-medium, .bento-small, .bento-wide { grid-column: span 1; grid-row: span 1; }
}

/* === STATS / COUNTERS === */
.stats-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat-item {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: all var(--t-base);
  position: relative;
}
.testimonial-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.testimonial-quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonial-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 2rem;
  transition: all var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-2xl);
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--grad-brand);
  border-radius: var(--r-full);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pricing-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pricing-currency { font-size: 1.25rem; color: var(--text-2); font-weight: 600; }
.pricing-amount {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.pricing-period { font-size: 0.85rem; color: var(--muted); margin-left: 4px; }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.pricing-feature .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--accent-glow-soft);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}
.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* === CARDS === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.card-title {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
}

/* === FORMS === */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted-2); }
.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: rgba(255,255,255,0.15); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-glow-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B94A8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  appearance: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-error { color: var(--error); font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.form-error.show { display: block; }
.input-error { border-color: var(--error) !important; }
.form-success-msg {
  background: var(--success-bg);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  color: var(--success);
  font-size: 0.9rem;
  display: none;
}
.form-success-msg.show { display: block; }

/* === BADGES / TAGS === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-accent { background: var(--accent-glow-soft); border: 1px solid var(--border-accent); color: var(--accent); }
.badge-success { background: var(--success-bg); border: 1px solid rgba(16,185,129,0.25); color: var(--success); }
.badge-warning { background: var(--warning-bg); border: 1px solid rgba(245,158,11,0.25); color: var(--warning); }
.badge-error { background: var(--error-bg); border: 1px solid rgba(239,68,68,0.25); color: var(--error); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* === PROCESS STEPS === */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.process-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
}
.process-step:hover { border-color: var(--border-accent); transform: translateX(4px); }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--grad-brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
}
.step-content h4 { font-family: var(--ff-display); font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.625rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast);
}
.faq-question:hover { background: var(--surface-2); }
.faq-toggle {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 1rem;
  transition: transform var(--t-base);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-answer-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* === PARTNERS / LOGOS === */
.partner-row {
  display: flex;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2.5rem 0;
  opacity: 0.6;
}
.partner-logo {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--t-fast);
}
.partner-logo:hover { opacity: 1.2; color: var(--text); }

/* === CTA SECTION === */
.cta-section { text-align: center; }
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--accent-glow-soft), transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }

.secure-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  color: var(--text-2);
  font-weight: 500;
}
.secure-badge::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* === FOOTER === */
footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 4rem var(--gutter) 2rem;
  margin-top: 4rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--t-base);
}
.footer-social a:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-2px); }
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--white); }
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.875rem;
}
.footer-newsletter input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.625rem 0.875rem;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--t-fast);
  min-width: 0;
}
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter button {
  background: var(--accent);
  color: white;
  padding: 0.625rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--t-fast);
}
.footer-newsletter button:hover { background: var(--accent-2); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--white); }

/* === TRUST BAR === */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.trust-item-large {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.trust-item-large .ti-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trust-item-large .ti-content strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; color: var(--white); }
.trust-item-large .ti-content span { font-size: 0.78rem; color: var(--muted); }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === TOAST === */
.toast-container {
  position: fixed;
  top: calc(var(--nav-h) + 1rem);
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  pointer-events: none;
  max-width: 360px;
}
.toast {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  pointer-events: auto;
  animation: toastIn 0.4s var(--ease-out);
}
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error { border-color: rgba(239,68,68,0.4); }
.toast-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.toast.success .toast-icon { background: var(--success-bg); color: var(--success); }
.toast.error .toast-icon { background: var(--error-bg); color: var(--error); }
.toast.info .toast-icon { background: var(--accent-glow-soft); color: var(--accent); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === DIVIDER === */
.divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

/* === AUTH PAGES === */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
.auth-side {
  position: relative;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  overflow: hidden;
}
.auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(99,132,255,0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(140,93,255,0.12), transparent 50%);
  pointer-events: none;
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side-quote {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 480px;
}
.auth-side-quote p {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}
.auth-side-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.auth-side-author .ava {
  width: 40px; height: 40px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.auth-side-author strong { display: block; font-size: 0.9rem; color: var(--white); }
.auth-side-author span { font-size: 0.78rem; color: var(--muted); }
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card .auth-header { margin-bottom: 2rem; }
.auth-card h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.auth-card .auth-subtitle { color: var(--text-2); font-size: 0.9rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* === DASHBOARD === */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}
.dashboard-sidebar {
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 0.125rem; }
.sidebar-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin: 1.25rem 0.75rem 0.5rem;
}
.sidebar-section-label:first-child { margin-top: 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  transition: all var(--t-fast);
  position: relative;
}
.sidebar-link:hover { background: var(--surface-2); color: var(--white); }
.sidebar-link.active {
  background: var(--accent-glow-soft);
  color: var(--white);
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 2px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.sidebar-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.8; }
.sidebar-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-full);
}
.dashboard-main {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
  max-width: 100%;
  overflow-x: hidden;
}
.dash-section { animation: fadeIn 0.4s var(--ease-out); }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.dash-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.dash-stat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--accent-glow-soft), transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}
.dash-stat-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
}
.dash-stat-value {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
  position: relative;
}
.dash-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
}

/* === DASHBOARD MOBILE TABS === */
.mobile-nav-tabs {
  display: none;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
@media (max-width: 900px) {
  .mobile-nav-tabs { display: flex; }
}
.mobile-nav-tab {
  flex-shrink: 0;
  padding: 0.875rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--t-fast);
}
.mobile-nav-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* === DASHBOARD HEADER === */
.dashboard-header {
  margin-bottom: 2rem;
}
.dashboard-header h1 {
  font-size: 1.875rem;
  margin-bottom: 0.375rem;
}
.dashboard-header p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* === TOGGLE SWITCH === */
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface-3);
  border-radius: var(--r-full);
  transition: var(--t-base);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--t-base);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* === NOTIFICATIONS === */
.notif-bell {
  position: relative;
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.notif-bell:hover { background: var(--surface-3); border-color: var(--border-accent); }
.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--surface-2);
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  overflow: hidden;
  display: none;
  backdrop-filter: blur(20px);
}
.notif-dropdown.open { display: block; }
.notif-dropdown-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-dropdown-header h4 { font-family: var(--ff-display); font-size: 0.9rem; font-weight: 700; }
.notif-dropdown-header button { color: var(--accent); font-size: 0.78rem; cursor: pointer; font-weight: 600; }
.notif-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
  cursor: pointer;
}
.notif-item:hover { background: var(--surface); }
.notif-item:last-child { border-bottom: none; }
.notif-item .ni-icon {
  width: 32px; height: 32px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.notif-item .ni-content { flex: 1; min-width: 0; }
.notif-item .ni-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.notif-item .ni-text {
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.4;
}
.notif-unread { background: var(--accent-glow-soft); }
.notif-unread .ni-title::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

/* === TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.table-wrapper { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }

/* === PROGRESS BAR === */
.progress {
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--r-full);
  transition: width 0.6s var(--ease-out);
}

/* === STATUS DOT === */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}
.status-dot::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: blink 2s ease-in-out infinite;
}

/* === BEFORE / AFTER === */
.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.comparison-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  text-align: center;
}
.comparison-side.after { border-color: var(--border-accent); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.comparison-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}
.comparison-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.comparison-value {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.comparison-side.before .comparison-value { color: var(--text); }
.comparison-side.after .comparison-value { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.comparison-desc {
  font-size: 0.85rem;
  color: var(--text-2);
}
@media (max-width: 700px) {
  .comparison { grid-template-columns: 1fr; }
  .comparison-arrow { transform: rotate(90deg); }
}

/* === CODE BLOCK === */
.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: var(--text-2);
  overflow-x: auto;
}
.code-block .comment { color: var(--muted); }
.code-block .keyword { color: var(--accent); }

/* === SCROLL-TRIGGERED FADE-IN (used by JS) === */
.fade-in-element { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.fade-in-element.visible { opacity: 1; transform: translateY(0); }

/* === LIVE INDICATOR === */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--success-bg);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
}
.live-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: blink 1.5s ease-in-out infinite;
}

/* === CHECKOUT STEPS === */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--muted);
}
.checkout-step.active {
  border-color: var(--accent);
  background: var(--accent-glow-soft);
  color: var(--white);
}
.checkout-step.done { color: var(--success); }
.checkout-step .cs-num {
  width: 22px; height: 22px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.checkout-step.active .cs-num { background: var(--accent); color: white; }
.checkout-step.done .cs-num { background: var(--success); color: white; }
.checkout-step-arrow { color: var(--muted-2); font-size: 0.85rem; }

/* === PAYMENT METHODS === */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.625rem;
}
.payment-method {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.payment-method:hover { border-color: var(--border-accent); }
.payment-method.selected { border-color: var(--accent); background: var(--accent-glow-soft); }
.payment-method .pm-icon { font-size: 1.5rem; }
.payment-method .pm-name { font-size: 0.78rem; font-weight: 600; color: var(--text-2); }

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base);
}
.blog-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  position: relative;
  overflow: hidden;
}
.blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.15;
}
.blog-card-content { padding: 1.5rem; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.875rem;
}
.blog-card-meta .badge { background: var(--accent-glow-soft); }
.blog-card h3 {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap var(--t-fast);
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* === HELP / DOCS === */
.help-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 900px) { .help-layout { grid-template-columns: 1fr; } }
.help-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.help-nav h4 { font-family: var(--ff-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.75rem; }
.help-nav ul { display: flex; flex-direction: column; gap: 0.125rem; }
.help-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.help-nav a:hover, .help-nav a.active { background: var(--surface-2); color: var(--white); }

/* === LEGAL PROSE === */
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
}
.legal-prose h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.legal-prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.legal-prose p, .legal-prose li { color: var(--text-2); line-height: 1.75; margin-bottom: 1rem; }
.legal-prose ul { margin: 1rem 0 1rem 1.5rem; list-style: disc; }
.legal-prose strong { color: var(--white); }

/* === CHECKBOX === */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox-wrap a { color: var(--accent); text-decoration: underline; }

/* === MOBILE NAV BAR === */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-account-btn:not(.nav-mobile-only) { display: none; }
}

/* === MISC === */
.text-accent { color: var(--accent); }
.divider-vertical { width: 1px; height: 24px; background: var(--border-strong); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.gap-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
