/* ============================================================
   CLARITY DATA — Global Stylesheet
   Modern SaaS Design — Stripe / Notion inspired
   ============================================================ */

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

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

/* ---- Design Tokens ---- */
:root {
  /* Brand */
  --primary:       #5B5BF4;
  --primary-light: #7B7BF7;
  --primary-dark:  #4444D0;
  --primary-50:    #EEEEFF;
  --primary-100:   #DCDEFF;
  --accent:        #06B6D4;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Surface — Light */
  --bg:        #FFFFFF;
  --bg-2:      #F8FAFC;
  --bg-3:      #F1F5F9;
  --surface:   #FFFFFF;
  --surface-2: #F8FAFC;

  /* Text — Light */
  --text-1: #0F172A;
  --text-2: #334155;
  --text-3: #64748B;
  --text-4: #94A3B8;

  /* Border */
  --border:       rgba(15,23,42,0.08);
  --border-strong:rgba(15,23,42,0.14);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.02);

  /* Radius */
  --r-sm:   6px;
  --r:      10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Transition */
  --t: all 0.18s ease;
  --t-slow: all 0.3s ease;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
  --bg:        #090912;
  --bg-2:      #0F0F1A;
  --bg-3:      #171726;
  --surface:   #13131F;
  --surface-2: #1A1A2B;

  --text-1: #F1F5F9;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-4: #64748B;

  --border:       rgba(255,255,255,0.07);
  --border-strong:rgba(255,255,255,0.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow:    0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5), 0 2px 4px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.6), 0 4px 6px -2px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6), 0 10px 10px -5px rgba(0,0,0,0.4);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 840px;  margin: 0 auto; padding: 0 24px; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91,91,244,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text-1);
}

.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-danger:hover {
  background: #DC2626;
  transform: translateY(-1px);
}

.btn-lg  { padding: 13px 28px; font-size: 0.975rem; border-radius: var(--r-lg); }
.btn-sm  { padding: 6px 14px;  font-size: 0.8rem;  border-radius: var(--r-sm); }
.btn-icon { padding: 8px; width: 36px; height: 36px; border-radius: var(--r-sm); }
.btn-full { width: 100%; }

/* ================================================================
   BADGES
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.73rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-50); color: var(--primary); }
.badge-success { background: #D1FAE5; color: #059669; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-danger  { background: #FEE2E2; color: #DC2626; }
.badge-gray    { background: var(--bg-3); color: var(--text-3); }

[data-theme="dark"] .badge-success { background: rgba(16,185,129,0.15); color: #34D399; }
[data-theme="dark"] .badge-warning { background: rgba(245,158,11,0.15);  color: #FCD34D; }
[data-theme="dark"] .badge-danger  { background: rgba(239,68,68,0.15);   color: #F87171; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #4338CA 0%, #38BDF8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.navbar-nav a {
  display: block;
  padding: 7px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: var(--t);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-1);
  background: var(--bg-3);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--t);
}
.icon-btn:hover { background: var(--bg-3); color: var(--text-1); }

.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--t);
}

/* Mobile Dropdown Nav */
.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r);
  transition: var(--t);
  margin-bottom: 2px;
}
.mobile-nav a:hover { background: var(--bg-3); color: var(--text-1); }
.mobile-nav .mobile-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(91,91,244,0.07) 0%, transparent 68%);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary);
  padding: 5px 14px 5px 6px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(91,91,244,0.2);
}
.hero-pill .pill-dot {
  width: 20px; height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-1);
  margin-bottom: 22px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-3);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-4);
}

/* Dashboard Mockup */
.hero-mockup {
  margin: 60px auto 0;
  max-width: 960px;
  position: relative;
}
.mockup-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(91,91,244,0.08);
}
.mockup-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }
.mockup-url {
  flex: 1;
  background: var(--bg-3);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
}
.mockup-body {
  display: flex;
  height: 380px;
}
.mockup-sidebar {
  width: 180px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  flex-shrink: 0;
}
.mockup-logo-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  margin-bottom: 16px;
}
.mockup-logo-icon {
  width: 24px; height: 24px;
  background: var(--primary);
  border-radius: 6px;
}
.mockup-logo-text {
  width: 50px; height: 8px;
  background: var(--bg-3);
  border-radius: 4px;
}
.mockup-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.mockup-nav-item.active { background: var(--primary-50); }
.mockup-nav-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--bg-3);
}
.mockup-nav-item.active .mockup-nav-icon { background: var(--primary-100); }
.mockup-nav-text {
  height: 7px; border-radius: 4px;
  background: var(--bg-3);
}
.mockup-nav-item.active .mockup-nav-text { background: var(--primary-100); }

.mockup-content {
  flex: 1;
  background: var(--bg-2);
  padding: 20px;
  overflow: hidden;
}
.mockup-header-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 16px;
}
.mockup-title-block { display: flex; flex-direction: column; gap: 6px; }
.mockup-h { height: 12px; border-radius: 4px; background: var(--text-1); opacity: 0.15; }
.mockup-sub { height: 8px; border-radius: 4px; background: var(--text-3); opacity: 0.3; }
.mockup-btn-fake {
  height: 28px; width: 80px;
  background: var(--primary);
  border-radius: 6px; opacity: 0.8;
}
.mockup-stats-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  margin-bottom: 16px;
}
.mockup-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.mockup-stat-label { height: 6px; width: 60%; border-radius: 3px; background: var(--bg-3); }
.mockup-stat-value { height: 14px; width: 40%; border-radius: 4px; background: var(--text-1); opacity: 0.15; }
.mockup-reports-row {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
}
.mockup-report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.mockup-pdf-icon {
  width: 32px; height: 38px;
  background: #FEE2E2;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #DC2626; font-weight: 700;
}
[data-theme="dark"] .mockup-pdf-icon { background: rgba(220,38,38,0.2); }
.mockup-report-info { display: flex; flex-direction: column; gap: 5px; }
.mockup-report-title { height: 8px; width: 100px; border-radius: 3px; background: var(--text-1); opacity: 0.15; }
.mockup-report-date  { height: 6px; width: 60px;  border-radius: 3px; background: var(--bg-3); }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 580px;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--t);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Feature Card */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--t);
}
.feature-card:hover {
  border-color: rgba(91,91,244,0.3);
  box-shadow: 0 0 0 3px rgba(91,91,244,0.06), var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--primary-50);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1rem; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.feature-card p  { font-size: 0.88rem; color: var(--text-3); line-height: 1.65; }
/* PDF text badge variant */
.feature-icon-pdf {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--primary) !important;
}

/* AI Recommendations preview inside feature card */
.feature-ai-preview {
  margin-top: 16px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-ai-preview .ai-preview-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-ai-preview .ai-preview-item {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}
.feature-ai-preview .ai-preview-item i { color: var(--success); margin-top: 2px; flex-shrink: 0; }
[data-theme="dark"] .feature-ai-preview { background: rgba(91,91,244,0.1); border-color: rgba(91,91,244,0.2); }
[data-theme="dark"] .feature-ai-preview .ai-preview-item { color: var(--primary-light); }

/* ================================================================
   GRID
   ================================================================ */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ================================================================
   HOW IT WORKS STEPS
   ================================================================ */
.steps { display: flex; flex-direction: column; gap: 28px; }

.step-item {
  display: flex;
  gap: 20px;
}
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 { font-size: 1rem; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.step-content p  { font-size: 0.875rem; color: var(--text-3); line-height: 1.65; }

/* ================================================================
   PLATFORMS BAR — Scrolling marquee
   ================================================================ */
.platforms-marquee {
  overflow: hidden;
  padding: 4px 0 8px;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.platforms-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: platforms-scroll 45s linear infinite;
}
.platforms-track:hover { animation-play-state: paused; }
@keyframes platforms-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
}
.platform-badge-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.pi-facebook   { background: #1877F2; }
.pi-instagram  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.pi-threads    { background: #101010; }
.pi-twitter    { background: #000000; }
.pi-bluesky    { background: #0085FF; }
.pi-linkedin   { background: #0A66C2; }
.pi-pinterest  { background: #E60023; }
.pi-tiktok     { background: #010101; }
.pi-tiktok-biz { background: #161823; }
.pi-youtube    { background: #FF0000; }
.pi-twitch     { background: #9146FF; }
.pi-meta       { background: #0081FB; }
.pi-google     { background: #4285F4; }
.pi-tiktok-ads { background: #FF0050; }

/* ================================================================
   TESTIMONIALS CAROUSEL
   ================================================================ */
.testimonials-marquee {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
.testimonial-slide {
  width: 520px;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.stars { color: #F59E0B; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
.av-a { background: linear-gradient(135deg,#667eea,#764ba2); }
.av-b { background: linear-gradient(135deg,#f093fb,#f5576c); }
.av-c { background: linear-gradient(135deg,#4facfe,#00f2fe); }
.author-name { font-size: 0.88rem; font-weight: 600; color: var(--text-1); }
.author-role { font-size: 0.78rem; color: var(--text-3); }

/* ================================================================
   STATS BANNER
   ================================================================ */
.stats-banner {
  background: var(--primary);
  color: white;
  padding: 56px 0;
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  text-align: center;
}
.stat-banner-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-banner-label {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-top: 6px;
}
.stat-banner-sub {
  font-size: 0.72rem;
  opacity: 0.6;
  margin-top: 4px;
  font-style: italic;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--bg-2);
  padding: 88px 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #00AAFF 100%);
  border-radius: var(--r-xl);
  padding: 64px;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  position: relative;
}
.cta-box p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-box .btn-white {
  background: white;
  color: var(--primary);
  font-weight: 600;
  position: relative;
}
.cta-box .btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.cta-box .btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  position: relative;
}
.cta-box .btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-1); margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-3); transition: var(--t); }
.footer-links a:hover { color: var(--text-1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-4);
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  transition: var(--t);
}
.footer-socials a:hover { background: var(--bg-3); color: var(--text-1); }

/* ================================================================
   PRICING
   ================================================================ */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,244,0.1), var(--shadow-lg);
}
.popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 18px;
  border-radius: var(--r-full);
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-currency { font-size: 1.3rem; font-weight: 700; color: var(--text-1); }
.price-amount   { font-size: 3rem;   font-weight: 800; letter-spacing: -0.04em; color: var(--text-1); line-height: 1; }
.price-period   { font-size: 0.875rem; color: var(--text-3); }
.pricing-desc   { font-size: 0.875rem; color: var(--text-3); margin-bottom: 28px; line-height: 1.6; }

.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0;
  font-size: 0.875rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--success); font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.pricing-features .cross { color: var(--text-4); font-size: 13px; margin-top: 1px; flex-shrink: 0; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-question {
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  transition: var(--t);
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--bg-2); }
.faq-question i { font-size: 12px; color: var(--text-3); transition: transform 0.2s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.7;
  background: var(--surface);
}
.faq-item.open .faq-answer { display: block; }

/* ================================================================
   DASHBOARD LAYOUT
   ================================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
  transition: transform 0.25s ease;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-nav { flex: 1; padding: 12px; overflow-y: auto; }
.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-4);
  padding: 8px 12px 4px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--t);
  margin-bottom: 2px;
  text-decoration: none;
}
.sidebar-nav-item:hover { background: var(--bg-3); color: var(--text-1); }
.sidebar-nav-item.active { background: var(--primary-50); color: var(--primary); }
.sidebar-nav-item i { width: 18px; text-align: center; font-size: 14px; }
.sidebar-nav-item .nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--r-full);
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--t);
  margin-bottom: 4px;
}
.user-profile:hover { background: var(--bg-3); }
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #06B6D4 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 0.82rem; font-weight: 600; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-plan { font-size: 0.72rem; color: var(--text-3); }

/* Dashboard Main */
.dashboard-main { flex: 1; margin-left: 240px; display: flex; flex-direction: column; min-height: 100vh; }

.dashboard-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 40;
}
.topbar-title { font-size: 1rem; font-weight: 600; color: var(--text-1); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

.dashboard-content { flex: 1; padding: 32px; background: var(--bg-2); }

/* Page header inside dashboard */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.page-header-left h1 { font-size: 1.5rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; letter-spacing: -0.02em; }
.page-header-left p  { font-size: 0.875rem; color: var(--text-3); }

/* ================================================================
   STAT CARDS (Dashboard)
   ================================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text-1); line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.stat-change { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 500; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ================================================================
   REPORTS / PDF
   ================================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.section-header p  { font-size: 0.82rem; color: var(--text-3); margin-top: 2px; }

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.report-card:hover { border-color: rgba(91,91,244,0.25); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.report-icon {
  width: 46px; height: 46px;
  background: #FEE2E2;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: #DC2626; font-size: 20px;
  margin-bottom: 14px;
}
[data-theme="dark"] .report-icon { background: rgba(220,38,38,0.2); }

.report-title { font-size: 0.92rem; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.report-meta  { font-size: 0.78rem; color: var(--text-3); margin-bottom: 14px; }

.report-platforms { display: flex; gap: 4px; margin-bottom: 16px; }
.platform-mini {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: white;
}
.pm-instagram { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
.pm-linkedin  { background: #0077B5; }
.pm-tiktok    { background: #010101; }
.pm-twitter   { background: #1DA1F2; }

.report-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-3);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-title { font-size: 1rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.empty-desc  { font-size: 0.875rem; line-height: 1.6; }

/* ================================================================
   ANALYSIS REQUEST FORM
   ================================================================ */
.request-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.request-card-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.request-card-body { padding: 32px; }

/* Platform Selection */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-bottom: 4px;
}
.platform-card {
  border: 2px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 16px;
  cursor: pointer;
  transition: var(--t);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
}
.platform-card:hover { border-color: rgba(91,91,244,0.3); background: var(--bg-2); }
.platform-card.selected { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.platform-card .check-mark {
  position: absolute;
  top: 10px; right: 10px;
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px;
  opacity: 0; transition: var(--t);
}
.platform-card.selected .check-mark { opacity: 1; }
.platform-icon-lg {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.pil-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.pil-linkedin  { background: #0077B5; }
.pil-tiktok    { background: #010101; }
.pil-twitter   { background: #1DA1F2; }

/* Objectives */
.objectives-section {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.objectives-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.objectives-header .platform-mini { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.objectives-header h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-1); }
.objectives-body { padding: 16px 20px; }

.objective-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.objective-tag {
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--t);
  background: var(--surface);
}
.objective-tag:hover  { border-color: var(--primary); color: var(--primary); }
.objective-tag.active { border-color: var(--primary); background: var(--primary-50); color: var(--primary); font-weight: 600; }

/* ================================================================
   FORMS (shared)
   ================================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.835rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}
.form-label .optional { font-weight: 400; color: var(--text-4); margin-left: 4px; }
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  font-size: 0.9rem;
  color: var(--text-1);
  transition: var(--t);
  font-family: inherit;
  appearance: none;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,91,244,0.1); }
.form-input::placeholder { color: var(--text-4); }
textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-hint { font-size: 0.78rem; color: var(--text-4); margin-top: 5px; }

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 12px;
}
.form-check input[type="checkbox"] { display: none; }
.check-box {
  width: 18px; height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
}
.form-check input:checked ~ .check-box { background: var(--primary); border-color: var(--primary); }
.form-check input:checked ~ .check-box::after { content: '✓'; color: white; font-size: 11px; font-weight: 700; }
.check-label { font-size: 0.875rem; color: var(--text-2); }

/* Divider */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 0.78rem; color: var(--text-4); white-space: nowrap; }

/* ================================================================
   AUTH PAGE
   ================================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: var(--bg-2);
}
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, var(--primary) 0%, #06B6D4 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.auth-left-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 60px; position: relative; }
.auth-left-logo .logo-mark-white { background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.3); }
.auth-left-logo span { font-size: 1.3rem; font-weight: 800; }
.auth-left h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; position: relative; }
.auth-left p  { font-size: 1rem; opacity: 0.85; line-height: 1.7; max-width: 380px; position: relative; }

.auth-features { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.auth-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.auth-feature-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.auth-feature-text h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.auth-feature-text p  { font-size: 0.8rem; opacity: 0.75; }

.auth-right {
  width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}
.auth-logo-top { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 1.1rem; font-weight: 800; color: var(--text-1); }

.auth-tabs {
  display: flex;
  background: var(--bg-3);
  border-radius: var(--r);
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 8px;
  border-radius: calc(var(--r) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  text-align: center;
  transition: var(--t);
  border: none;
  background: transparent;
}
.auth-tab.active { background: var(--surface); color: var(--text-1); box-shadow: var(--shadow); }

.auth-form { display: none; }
.auth-form.active { display: block; }

.social-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-1);
  background: var(--surface);
  cursor: pointer;
  transition: var(--t);
  margin-bottom: 10px;
}
.social-btn:hover { background: var(--bg-3); }

.auth-footer-text { text-align: center; font-size: 0.8rem; color: var(--text-3); margin-top: 20px; }
.auth-footer-text a { color: var(--primary); font-weight: 500; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 32px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--primary-50);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 18px;
  flex-shrink: 0;
}
.contact-info-icon-title { font-size: 0.85rem; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.contact-info-icon-text  { font-size: 0.875rem; color: var(--text-3); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

/* ================================================================
   MOBILE SIDEBAR OVERLAY
   ================================================================ */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 49;
}
.sidebar-overlay.open { display: block; }

/* Mobile toggle inside sidebar */
.sidebar-mobile-close { display: none; }

/* ================================================================
   NOTIFICATION TOAST
   ================================================================ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--text-1);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success .toast-icon { color: var(--success); }
.toast.error   .toast-icon { color: var(--danger); }

/* ================================================================
   UTILITIES
   ================================================================ */
.flex   { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 4px; }  .gap-2 { gap: 8px; }   .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; }   .gap-8 { gap: 32px; }
.mt-1 { margin-top: 4px; }  .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-1 { margin-bottom: 4px; }  .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.w-full { width: 100%; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-muted   { color: var(--text-3); }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.hidden { display: none !important; }
.relative { position: relative; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-banner-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .auth-left { display: none; }
  .auth-right { width: 100%; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .navbar-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 100px 0 56px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 40px 28px; }

  /* Dashboard */
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-mobile-close { display: flex; }
  .dashboard-main { margin-left: 0; }
  .dashboard-content { padding: 20px; }
  .dashboard-topbar { padding: 0 20px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .mobile-menu-btn-dash { display: flex !important; }
  .page-header { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 24px; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats-banner-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-2) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
