/* ============================================================
   BESTDIGIS — DESIGN SYSTEM & GLOBAL STYLES
   ============================================================ */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand-primary: #6C3AFF;
  --brand-secondary: #00C6FF;
  --brand-accent: #FF6B35;
  --brand-success: #10B981;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #6C3AFF 0%, #00C6FF 100%);
  --gradient-card: linear-gradient(145deg, rgba(108,58,255,0.10), rgba(0,198,255,0.06));
  --gradient-cta: linear-gradient(90deg, #6C3AFF, #9B6AFF);
  --gradient-text: linear-gradient(90deg, #6C3AFF, #00C6FF);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(108,58,255,0.3) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 20%, rgba(0,198,255,0.25) 0%, transparent 55%),
                   radial-gradient(ellipse at 60% 80%, rgba(255,107,53,0.15) 0%, transparent 50%);

  /* Light Mode Neutrals */
  --bg-base: #F8F9FF;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F0F2FF;
  --text-primary: #0F0F23;
  --text-secondary: #4A4A6A;
  --text-muted: #8888AA;
  --border: rgba(108,58,255,0.14);
  --border-subtle: rgba(0,0,0,0.06);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(108,58,255,0.12);
  --shadow-lg: 0 12px 48px rgba(108,58,255,0.18);
  --shadow-glow: 0 0 48px rgba(108,58,255,0.40);
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.20);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06), 0 4px 24px rgba(108,58,255,0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-16: 128px;

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --dur-enter: 600ms;
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-base: #0A0A1A;
  --bg-surface: #12122A;
  --bg-elevated: #1A1A35;
  --text-primary: #F0F0FF;
  --text-secondary: #B0B0D0;
  --text-muted: #6060A0;
  --border: rgba(108,58,255,0.22);
  --border-subtle: rgba(255,255,255,0.06);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3), 0 4px 24px rgba(108,58,255,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background var(--dur-slow) var(--ease-in-out), color var(--dur-slow) var(--ease-in-out);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
.text-hero   { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.text-h1     { font-size: clamp(1.9rem, 3.8vw, 3rem);   font-weight: 700; line-height: 1.2;  letter-spacing: -0.02em; }
.text-h2     { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.text-h3     { font-size: 1.4rem;  font-weight: 600; line-height: 1.4; }
.text-h4     { font-size: 1.15rem; font-weight: 600; line-height: 1.5; }
.text-lg     { font-size: 1.125rem; line-height: 1.75; }
.text-body   { font-size: 1rem;    line-height: 1.7; }
.text-sm     { font-size: 0.875rem; line-height: 1.6; }
.text-xs     { font-size: 0.75rem;  line-height: 1.5; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted    { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center   { text-align: center; }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-12) 0; }
.section-sm { padding: var(--space-8) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--dur-base) var(--ease-spring);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97) !important; }

.btn-sm  { padding: 8px 18px;  font-size: 0.875rem; height: 36px; }
.btn-md  { padding: 11px 24px; font-size: 1rem;     height: 44px; }
.btn-lg  { padding: 15px 36px; font-size: 1.063rem; height: 54px; }
.btn-xl  { padding: 18px 44px; font-size: 1.125rem; height: 62px; border-radius: var(--radius-lg); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.btn-secondary:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--brand-primary); background: var(--bg-elevated); }

.btn-white {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-white:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

.btn-outline-brand {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline-brand:hover { border-color: var(--brand-primary); color: var(--brand-primary); transform: translateY(-2px); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-slow) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,58,255,0.3);
}

.glass-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}
[data-theme="dark"] .glass-card {
  background: rgba(12,12,30,0.55);
  border-color: rgba(108,58,255,0.18);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-primary { background: rgba(108,58,255,0.12); color: var(--brand-primary); border: 1px solid rgba(108,58,255,0.2); }
.badge-success { background: rgba(16,185,129,0.12); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.badge-accent  { background: rgba(255,107,53,0.12);  color: #EA5820; border: 1px solid rgba(255,107,53,0.2); }
.badge-info    { background: rgba(0,198,255,0.12);   color: #0099CC; border: 1px solid rgba(0,198,255,0.2); }

[data-theme="dark"] .badge-primary { background: rgba(108,58,255,0.2); color: #A87EFF; }
[data-theme="dark"] .badge-success { background: rgba(16,185,129,0.18); color: #34D399; }
[data-theme="dark"] .badge-accent  { background: rgba(255,107,53,0.18); color: #FF8C5A; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 2px;
}

/* ---------- Dividers ---------- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-5) 0;
}

/* ---------- Animations ---------- */
.animate-enter {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out);
}
.animate-enter.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 80ms !important; }
.delay-2 { transition-delay: 160ms !important; }
.delay-3 { transition-delay: 240ms !important; }
.delay-4 { transition-delay: 320ms !important; }
.delay-5 { transition-delay: 400ms !important; }
.delay-6 { transition-delay: 480ms !important; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.04); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blob-move {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) scale(1); }
  25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(20px,-15px) scale(1.05); }
  50%      { border-radius: 50% 60% 30% 60% / 40% 50% 60% 50%; transform: translate(-10px,20px) scale(0.97); }
  75%      { border-radius: 40% 50% 60% 30% / 60% 40% 50% 55%; transform: translate(15px,10px) scale(1.03); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--space-5);
  height: 70px;
  display: flex;
  align-items: center;
  transition: all var(--dur-slow) var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(10,10,26,0.85);
}
.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(108,58,255,0.35);
}
.logo-icon svg { width: 20px; height: 20px; fill: white; }
.logo span.brand-name { color: var(--text-primary); }
.logo span.brand-highlight { color: var(--brand-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.nav-link:hover, .nav-link.active { color: var(--brand-primary); background: rgba(108,58,255,0.08); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all var(--dur-base);
}
.theme-toggle:hover { color: var(--brand-primary); border-color: var(--brand-primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-base);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-surface);
  padding: 90px var(--space-5) var(--space-8);
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
}
.mobile-menu .btn { width: 100%; }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  z-index: 0;
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(108,58,255,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(0,198,255,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 85%, rgba(255,107,53,0.10) 0%, transparent 45%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(108,58,255,0.18);
  top: -100px; left: -200px;
  animation: blob-move 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(0,198,255,0.14);
  top: 50px; right: -100px;
  animation: blob-move 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(255,107,53,0.10);
  bottom: 50px; left: 40%;
  animation: blob-move 12s ease-in-out infinite 2s;
}

.hero-content { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-12) 0 var(--space-16);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(108,58,255,0.10);
  border: 1px solid rgba(108,58,255,0.2);
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.hero-eyebrow .dot { width: 7px; height: 7px; background: var(--brand-primary); border-radius: 50%; animation: pulse-ring 1.8s ease-out infinite; }

.hero-headline { margin-bottom: var(--space-5); }
.hero-sub { color: var(--text-secondary); max-width: 520px; margin-bottom: var(--space-8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
}
.hero-trust-item svg { color: var(--brand-success); }
.trust-sep { width: 1px; height: 20px; background: var(--border); }

/* Hero visual / dashboard mockup */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-mockup {
  width: 100%;
  max-width: 560px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red   { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green  { background: #28C840; }
.mockup-url {
  flex: 1; height: 22px; background: var(--bg-base);
  border-radius: var(--radius-sm); margin-left: 8px;
  display: flex; align-items: center; padding: 0 10px;
  font-size: 0.7rem; color: var(--text-muted);
}
.mockup-body { padding: var(--space-4); }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mockup-stat {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}
.mockup-stat .val { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.mockup-stat .lbl { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }
.mockup-chart {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  height: 90px;
  display: flex; align-items: flex-end; gap: 5px;
  padding: 10px;
  margin-bottom: 10px;
}
.chart-bar {
  flex: 1;
  background: var(--gradient-cta);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: height 0.5s ease;
}
.mockup-keywords { display: flex; flex-direction: column; gap: 6px; }
.kw-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 6px 10px;
}
.kw-rank {
  font-size: 0.7rem; font-weight: 700;
  background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  min-width: 20px;
}
.kw-name { font-size: 0.72rem; color: var(--text-secondary); flex: 1; }
.kw-change { font-size: 0.7rem; font-weight: 600; color: var(--brand-success); }

/* Floating badges on hero */
.hero-badge-float {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem; font-weight: 600;
}
.hero-badge-float .icon-circle {
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-float-1 { bottom: 15%; left: -40px; animation: float 6s ease-in-out infinite 1s; }
.badge-float-2 { top: 10%; right: -30px; animation: float 8s ease-in-out infinite 0.5s; }

/* ---------- Logo Strip ---------- */
.logo-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
  overflow: hidden;
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.logo-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-3);
}
.client-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity var(--dur-base);
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  letter-spacing: 0.05em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Services Section ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.service-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--dur-slow) var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(108,58,255,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(108,58,255,0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  transition: all var(--dur-base);
  font-size: 1.5rem;
}
.service-card:hover .service-icon { background: rgba(108,58,255,0.18); transform: scale(1.08); }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card p  { color: var(--text-secondary); font-size: 0.9rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: var(--space-4);
  font-size: 0.875rem; font-weight: 600;
  color: var(--brand-primary);
  transition: gap var(--dur-fast);
}
.service-link:hover { gap: 10px; }

/* ---------- How It Works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 38px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}
.step-card { text-align: center; padding: var(--space-5); }
.step-number {
  width: 72px; height: 72px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  color: white;
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.step-card h3 { margin-bottom: var(--space-2); }
.step-card p  { color: var(--text-secondary); font-size: 0.9rem; }

/* ---------- Pricing Section ---------- */
.pricing-section { background: var(--bg-elevated); }
[data-theme="dark"] .pricing-section { background: var(--bg-surface); }

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  margin: var(--space-6) auto var(--space-8);
  display: flex;
  width: fit-content;
}
.billing-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-base);
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.billing-btn.active {
  background: var(--gradient-cta);
  color: white;
  box-shadow: var(--shadow-sm);
}
.billing-btn .save-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255,107,53,0.15);
  color: var(--brand-accent);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}
.billing-btn.active .save-badge { background: rgba(255,255,255,0.2); color: white; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: start; }
.pricing-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--dur-slow) var(--ease-spring);
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--dur-slow);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-card.featured::before { opacity: 1; }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.featured-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: white;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 18px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card-content { position: relative; z-index: 1; }
.plan-header { margin-bottom: var(--space-5); }
.plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.plan-connections { font-size: 0.82rem; color: var(--text-muted); }
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin: var(--space-4) 0 var(--space-2);
}
.price-amount {
  font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: all var(--dur-slow) var(--ease-out);
}
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.price-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--space-5); min-height: 18px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--space-6); }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-secondary);
}
.check-icon {
  width: 18px; height: 18px;
  background: rgba(16,185,129,0.12);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand-success);
  font-size: 0.65rem;
}
.pricing-divider { border: none; height: 1px; background: var(--border); margin-bottom: var(--space-5); }
.pricing-disclaimer {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-8);
  display: flex; gap: var(--space-4); align-items: flex-start;
}
.pricing-disclaimer .icon { font-size: 1.4rem; flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--bg-base); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--dur-slow) var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-mark {
  font-size: 4rem; line-height: 0.8;
  font-family: Georgia, serif;
  color: var(--brand-primary);
  opacity: 0.18;
  margin-bottom: var(--space-3);
}
.testimonial-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--space-5); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.author-name  { font-size: 0.88rem; font-weight: 600; }
.author-title { font-size: 0.78rem; color: var(--text-muted); }
.star-row { display: flex; gap: 3px; margin-bottom: var(--space-4); }
.star { color: #FBBF24; font-size: 0.9rem; }
.verified-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 600;
  color: var(--brand-success);
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 2px 8px; border-radius: var(--radius-full);
  margin-left: auto;
}

/* ---------- Stats Bar ---------- */
.stats-section {
  background: var(--gradient-hero);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); position: relative; }
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ---------- Blog Section ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.4));
}
.blog-body { padding: var(--space-5); }
.blog-category {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.blog-title { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--space-2); line-height: 1.4; }
.blog-title a:hover { color: var(--brand-primary); }
.blog-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: var(--space-4); }
.blog-meta { display: flex; align-items: center; gap: var(--space-3); font-size: 0.78rem; color: var(--text-muted); }
.blog-meta .sep { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg-elevated); }
[data-theme="dark"] .faq-section { background: var(--bg-base); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-base);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  text-align: left;
  font-size: 0.97rem; font-weight: 600;
  color: var(--text-primary);
  gap: var(--space-4);
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-base);
  color: var(--brand-primary);
}
.faq-item.open .faq-icon { background: var(--brand-primary); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(0,198,255,0.12);
  border-radius: 50%;
  filter: blur(40px);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: var(--space-4); }
.cta-banner p  { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto var(--space-8); }
.cta-banner-btns { display: flex; align-items: center; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-6);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-10); }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin: var(--space-4) 0; max-width: 280px; }
.footer-socials { display: flex; gap: var(--space-2); }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur-base);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--brand-primary); color: white; border-color: var(--brand-primary); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
  padding: 3px 0;
}
.footer-link:hover { color: var(--brand-primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: var(--space-3);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: var(--space-4); }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--brand-primary); }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.whatsapp-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-spring);
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.1) translateY(-2px); }
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.4);
  animation: pulse-ring 2.5s ease-out infinite;
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }
.whatsapp-tooltip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: all var(--dur-base);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ---------- Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--dur-base);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(108,58,255,0.12);
}
.form-input.error { border-color: #EF4444; }
.form-error { font-size: 0.78rem; color: #EF4444; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

/* ---------- Auth Pages ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-5);
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.auth-bg {
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.auth-header { text-align: center; margin-bottom: var(--space-8); }
.auth-header h1 { margin-bottom: var(--space-2); }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; }
.auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.auth-divider {
  display: flex; align-items: center; gap: var(--space-3);
  margin: var(--space-3) 0;
  font-size: 0.82rem; color: var(--text-muted);
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer { text-align: center; margin-top: var(--space-5); font-size: 0.875rem; color: var(--text-muted); }
.auth-footer a { color: var(--brand-primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.social-auth { display: flex; flex-direction: column; gap: var(--space-3); }
.btn-social {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  padding: 11px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--dur-base);
}
.btn-social:hover { border-color: var(--brand-primary); background: var(--bg-elevated); transform: translateY(-1px); }

/* ---------- Dashboard ---------- */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-base);
}
.sidebar {
  width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: var(--space-5);
  display: flex; flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  overflow-y: auto;
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.sidebar-logo { padding: var(--space-2) 0 var(--space-8); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-section-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: var(--space-3) var(--space-3) var(--space-2);
  margin-top: var(--space-3);
}
.sidebar-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast);
  position: relative;
}
.sidebar-link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.sidebar-link.active {
  background: rgba(108,58,255,0.10);
  color: var(--brand-primary);
  font-weight: 600;
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 3px;
  background: var(--brand-primary);
  border-radius: 0 2px 2px 0;
}
.sidebar-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-badge {
  margin-left: auto;
  font-size: 0.68rem; font-weight: 700;
  background: var(--brand-primary); color: white;
  padding: 1px 7px; border-radius: var(--radius-full);
}
.sidebar-footer { padding-top: var(--space-5); border-top: 1px solid var(--border); }
.sidebar-user {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3); border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--dur-fast);
}
.sidebar-user:hover { background: var(--bg-elevated); }
.user-avatar-sm {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.user-info-sm { flex: 1; min-width: 0; }
.user-info-sm .name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-info-sm .plan { font-size: 0.72rem; color: var(--brand-primary); font-weight: 600; }

.dash-main {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column;
}
.dash-topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-6);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  backdrop-filter: blur(10px);
}
.dash-title { font-size: 1.1rem; font-weight: 700; }
.dash-actions { display: flex; align-items: center; gap: var(--space-3); }
.notif-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  position: relative;
  transition: all var(--dur-base);
}
.notif-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 8px; height: 8px;
  background: var(--brand-accent);
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
}

.dash-content { padding: var(--space-6); flex: 1; }
.dash-welcome {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  overflow: hidden; position: relative;
}
.dash-welcome::after {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.dash-welcome h2 { color: white; font-size: 1.4rem; margin-bottom: 4px; }
.dash-welcome p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.dash-welcome-badges { display: flex; gap: var(--space-2); position: relative; z-index: 1; }
.welcome-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  text-align: center;
  color: white;
}
.welcome-badge .val { font-size: 1.3rem; font-weight: 800; }
.welcome-badge .lbl { font-size: 0.7rem; opacity: 0.8; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-bottom: var(--space-6); }
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-slow) var(--ease-out);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.stat-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.stat-card-trend { font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.stat-card-trend.up   { color: var(--brand-success); }
.stat-card-trend.down { color: #EF4444; }
.stat-card-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.stat-card-label { font-size: 0.82rem; color: var(--text-muted); }

.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-5); margin-bottom: var(--space-6); }
.dash-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.dash-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.dash-card-title { font-size: 1rem; font-weight: 700; }
.dash-card-link { font-size: 0.82rem; color: var(--brand-primary); font-weight: 600; }

/* Connection Cards */
.connection-card {
  display: flex; align-items: center;
  gap: var(--space-4); padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-base);
  margin-bottom: var(--space-3);
}
.connection-card:hover { border-color: var(--brand-primary); background: rgba(108,58,255,0.04); }
.conn-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(108,58,255,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.conn-info { flex: 1; min-width: 0; }
.conn-domain { font-size: 0.92rem; font-weight: 600; }
.conn-plan   { font-size: 0.78rem; color: var(--text-muted); }
.conn-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 600;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-dot.active { background: var(--brand-success); }
.status-dot.pending { background: #F59E0B; }

/* ---------- Tools Library ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all var(--dur-base);
  cursor: pointer;
  text-align: center;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--brand-primary); box-shadow: var(--shadow-md); }
.tool-icon { font-size: 1.8rem; margin-bottom: var(--space-2); }
.tool-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.tool-desc { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Mentoring Booking ---------- */
.mentor-section { }
.mentor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.calendar-placeholder {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--space-4);
  min-height: 300px;
}
.calendar-icon { font-size: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; padding: var(--space-10) 0 var(--space-12); }
  .hero-visual { order: -1; }
  .hero-mockup { max-width: 440px; margin: 0 auto; }
  .badge-float-1 { left: 0; }
  .badge-float-2 { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn:not(.btn-primary) { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: var(--space-8) var(--space-5); }
  .billing-toggle { flex-wrap: wrap; justify-content: center; }
  .hero-trust { gap: var(--space-3); }
  .trust-sep { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: 1fr; }
  .dash-welcome { flex-direction: column; gap: var(--space-4); text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utility ---------- */
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }

/* Selection */
::selection { background: rgba(108,58,255,0.2); }
