/* ============================================
   SEDAQUI ACADEMY - MAIN STYLESHEET
   Modern Dark Theme with Gold Accents
   ============================================ */

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-dark: #d97706;
  --accent-violet: #8b5cf6;
  --accent-violet-light: #a78bfa;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(18, 18, 26, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-hover: rgba(15, 23, 42, 0.15);
  --glass-bg: rgba(248, 250, 252, 0.8);
  --glass-border: rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-primary);
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(2deg); }
  66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow: hidden;
}

.logo span {
  color: var(--accent-gold);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.logo-img {
  height: 30px;
  max-height: 30px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-violet));
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.card-row:last-child {
  border-bottom: none;
}

.card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.card-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-status {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-online {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.status-working {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

/* Floating elements */
.float-element {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.float-element:nth-child(2) { animation-delay: -2s; }
.float-element:nth-child(3) { animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ============================================
   FEATURES / HOW IT WORKS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.15));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   SYSTEM PIPELINE — 4-step "How Sedaqui works"
   ============================================ */
.system-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 40px;
}
.system-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s ease;
}
.system-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color, #6366f1);
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.4);
}
.system-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color, #6366f1);
  letter-spacing: 1px;
  opacity: 0.7;
}
.system-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  color: var(--primary-color, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.system-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.system-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.system-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #6366f1);
  font-size: 1.1rem;
  opacity: 0.6;
}
@media (max-width: 1024px) {
  .system-pipeline {
    grid-template-columns: 1fr;
  }
  .system-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

/* Global mobile fix — prevent horizontal overflow from any element */
html, body { overflow-x: hidden; max-width: 100vw; }
@media (max-width: 480px) {
  .footer-social-large { gap: 12px; }
  .footer-social-large a { width: 38px; height: 38px; font-size: 0.95rem; }
  .footer-links-row { gap: 14px; }
  .footer-clean { padding: 32px 0 24px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-title { font-size: 2rem !important; line-height: 1.15; }
  .hero-stats { gap: 16px; }
  .stat-item .stat-number { font-size: 1.6rem; }
  .section-title { font-size: 1.5rem !important; }
  .pricing-grid, .features-grid, .courses-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   COURSES
   ============================================ */
.courses-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.course-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.course-image {
  height: 180px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.course-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.course-content {
  padding: 24px;
}

.course-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.course-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.course-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.course-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.pricing-features li strong {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pricing-features li.missing {
  color: #ef4444;
  opacity: 0.8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, transparent 100%);
  border-radius: 6px;
  padding-left: 6px;
  padding-right: 6px;
}

.pricing-features li.missing i {
  color: #ef4444;
  opacity: 1;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.pricing-features li.missing span {
  font-style: italic;
}

/* Plan tier icon (silver shield / gold crown / diamond gem) */
.plan-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.55rem;
  position: relative;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover .plan-icon {
  transform: scale(1.08) rotate(-3deg);
}

.plan-icon-silver {
  background: linear-gradient(135deg, #c0c4cc 0%, #8a8f99 50%, #c0c4cc 100%);
  color: #0a0a0f;
  box-shadow: 0 8px 20px -6px rgba(192, 196, 204, 0.45);
}

.plan-icon-gold {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 45%, #b45309 100%);
  color: #1a1206;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.6);
}

.plan-icon-diamond {
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 45%, #4c1d95 100%);
  color: #f5f3ff;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.6);
}

/* Tier eyebrow label */
.plan-tier {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-card.featured .plan-tier {
  color: var(--accent-gold);
}

.pricing-diamond .plan-tier {
  color: #a78bfa;
}

/* Improved plan name typography */
.pricing-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card.featured .pricing-name {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-diamond .pricing-name {
  background: linear-gradient(135deg, #ddd6fe 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Improved price typography */
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 800;
  margin: 8px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.pricing-price .old-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-price .new-price {
  font-size: 3.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.25));
}

.pricing-diamond .pricing-price .new-price {
  background: linear-gradient(135deg, #ddd6fe 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(139, 92, 246, 0.25));
}

.pricing-price .price-period {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
  min-height: 44px;
}

/* Diamond gradient button */
.btn-diamond {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #6d28d9 100%);
  color: #f5f3ff;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(139, 92, 246, 0.5);
}

.btn-diamond:hover {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #8b5cf6 100%);
  box-shadow: 0 12px 28px -8px rgba(139, 92, 246, 0.7);
  transform: translateY(-2px);
}

/* Pricing card button full-width + fancy */
.btn-pricing {
  width: 100%;
  padding: 14px 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 12px;
  margin-top: 4px;
}

/* Glass hover lift on pricing cards */
.pricing-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), transparent 50%, rgba(139, 92, 246, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-silver {
  background: linear-gradient(180deg, rgba(192, 196, 204, 0.05) 0%, rgba(192, 196, 204, 0.01) 100%);
}

.pricing-gold {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.07) 0%, rgba(245, 158, 11, 0.01) 100%);
}

.pricing-diamond {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.01) 100%);
}

.pricing-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

/* Light theme overrides */
[data-theme="light"] .pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-silver { background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%); }
[data-theme="light"] .pricing-gold { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%); }
[data-theme="light"] .pricing-diamond { background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%); }

[data-theme="light"] .pricing-features li {
  color: #475569;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .pricing-features li strong { color: #0f172a; }
[data-theme="light"] .pricing-features li.missing {
  color: #dc2626;
  opacity: 0.85;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.06) 0%, transparent 100%);
}
[data-theme="light"] .pricing-name {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .pricing-card.featured .pricing-name {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .pricing-diamond .pricing-name {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .pricing-price .old-price { -webkit-text-fill-color: #94a3b8; }
[data-theme="light"] .pricing-price .price-period { -webkit-text-fill-color: #64748b; }
[data-theme="light"] .pricing-desc { color: #475569; }
[data-theme="light"] .plan-tier { color: #64748b; }

/* ============================================
   COLLABORATION SECTION
   ============================================ */
.collab-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.collab-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.collab-step:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 20px;
}

.collab-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.collab-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.collab-arrow {
  display: none;
}

@media (min-width: 768px) {
  .collab-arrow {
    display: block;
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-gold);
    z-index: 2;
  }
  .collab-step:last-child .collab-arrow {
    display: none;
  }
}

/* ============================================
   DASHBOARD PREVIEW
   ============================================ */
.dashboard-preview {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

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

.dashboard-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color-hover);
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }

.dashboard-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 400px;
}

.dashboard-sidebar {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border-color);
  padding: 20px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-item:hover, .sidebar-item.active {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
}

.dashboard-main {
  padding: 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.stat-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-color-hover);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: var(--radius);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0a0f;
}

/* ============================================
   PAGE HEADER (for sub-pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.page-header .section-title {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--accent-gold);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ============================================
   ASSISTANT CHAT PREVIEW
   ============================================ */
.chat-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.05);
  border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-status {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-left: auto;
}

.chat-body {
  padding: 20px;
  min-height: 300px;
}

.chat-message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.chat-message.assistant .chat-bubble {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-bottom-right-radius: 4px;
}

.chat-input {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--accent-gold);
}


/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.theme-toggle:hover {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .section {
    padding: 60px 0;
  }
  .features-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .dashboard-body {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
  .logo-img {
    height: 22px;
    max-height: 22px;
    max-width: 100%;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .stat-item {
    align-items: center;
  }
  .hero-card {
    padding: 20px;
  }
  .card-row {
    gap: 8px;
    padding: 8px 0;
  }
  .card-info h4 {
    font-size: 0.8rem;
  }
  .card-info p {
    font-size: 0.7rem;
  }
  .float-element {
    display: none;
  }
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .glow-orb {
    width: 200px;
    height: 200px;
  }
  .footer-brand .logo-img {
    height: 24px;
    max-height: 24px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 22px;
    max-height: 22px;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .hero {
    padding: 90px 0 40px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 48px 0;
  }
  .hero-card {
    padding: 16px;
  }
  .card-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }
  .card-status {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .footer-brand .logo-img {
    height: 20px;
    max-height: 20px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Mobile nav active */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
    gap: 4px;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
  .nav-links.active {
    display: flex;
  }
  /* Show CTA buttons inside the mobile menu (when active) */
  .nav-cta {
    display: none;
  }
  .nav-links.active + .nav-cta,
  .nav-links.active ~ .nav-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(70px + var(--nav-links-height, 250px));
    left: 0;
    width: 100%;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    z-index: 998;
    gap: 8px;
  }
  .nav-links.active + .nav-cta .btn,
  .nav-links.active ~ .nav-cta .btn {
    width: 100%;
  }
}

/* CLEAN FOOTER & AUTOMATION EFFECTS */
.footer-clean{padding:48px 0 32px;border-top:1px solid var(--border-color);}
.footer-clean .container{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;}
.footer-social-large{display:flex;gap:20px;}
.footer-social-large a{width:44px;height:44px;border-radius:50%;border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center;color:var(--text-secondary);font-size:1.1rem;transition:var(--transition);}
.footer-social-large a:hover{border-color:var(--accent-gold);color:var(--accent-gold);transform:translateY(-3px);}
.footer-links-row{display:flex;gap:32px;flex-wrap:wrap;justify-content:center;}
.footer-links-row a{font-size:0.85rem;color:var(--text-muted);transition:var(--transition);}
.footer-links-row a:hover{color:var(--accent-gold);}
.footer-copy{font-size:0.8rem;color:var(--text-muted);}
.section-divider{height:1px;background:linear-gradient(90deg,transparent,var(--border-color),transparent);margin:0 auto;max-width:800px;}
.hero-grid-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px);background-size:60px 60px;pointer-events:none;z-index:0;}
.glow-orb{position:absolute;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(245,158,11,0.08) 0%,transparent 70%);top:10%;right:10%;pointer-events:none;animation:floatOrb 8s ease-in-out infinite;}
@keyframes floatOrb{0%,100%{transform:translate(0,0);}50%{transform:translate(20px,-30px);}}
.typed-cursor{color:var(--accent-gold);animation:blink 1s infinite;font-weight:400;}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:0;}}
html{scroll-behavior:smooth;}

/* ============================================
   STUDENT PORTAL HEADER & FOOTER
   Clean, focused navigation for logged-in students
   ============================================ */

/* Student Navbar */
.student-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.student-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.student-nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.student-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.student-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.student-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.student-nav-links a:hover,
.student-nav-links a.active {
  color: var(--accent-gold);
}

.student-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-violet));
  border-radius: 1px;
}

.student-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.student-coins {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.student-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.student-avatar:hover {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

/* Student Footer */
.student-footer {
  padding: 32px 0 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.student-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.student-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-footer-left .logo-img {
  height: 24px;
  max-height: 24px;
}

.student-footer-left p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.student-footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.student-footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.student-footer-links a:hover {
  color: var(--accent-gold);
}

.student-footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Student dropdown */
.student-dropdown {
  position: relative;
}

.student-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1001;
}

.student-dropdown.open .student-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.student-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.student-dropdown-menu a:hover {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-gold);
}

.student-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 12px;
}

/* Mobile student nav */
@media (max-width: 768px) {
  .student-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 999;
    gap: 4px;
  }
  .student-nav-links li { width: 100%; }
  .student-nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
  .student-nav-links.active {
    display: flex;
  }
  .student-badge {
    display: none;
  }
  .student-navbar .mobile-menu-btn {
    display: block;
  }
  .student-footer .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .student-footer-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Auth guard overlay */
.auth-guard-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 16px;
}

.auth-guard-overlay p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ============================================
   DUAL PAGE STUDENT PORTAL TOGGLE
   Show student nav/footer when logged in,
   hide public nav/footer.
   ============================================ */

/* Default: hide student wrappers on dual pages */
#studentNavWrap, #studentFootWrap { display: none !important; }

/* When logged in: show student, hide public */
html[data-student] #studentNavWrap,
html[data-student] #studentFootWrap { display: block !important; }

html[data-student] .navbar { display: none !important; }
html[data-student] .footer { display: none !important; }

/* Mobile override */
@media (max-width: 768px) {
  html[data-student] .mobile-menu-btn { display: none !important; }
}

/* ============================================
   SKILLS GRID — homepage 12 career tracks
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  --c: #6366f1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  border-color: var(--c);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-emoji {
  font-size: 2.2rem;
  line-height: 1;
}

.skill-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 4px 0;
  color: var(--text-primary);
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .skill-card { padding: 16px 14px; }
  .skill-emoji { font-size: 1.8rem; }
  .skill-card h4 { font-size: 0.95rem; }
  .skill-card p { font-size: 0.78rem; }
}

/* ============================================
   COURSES PAGE BROWSE
   ============================================ */
.courses-browse-hero {
  padding: 120px 24px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.courses-browse-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #6366f1, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.courses-browse-hero p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.courses-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover { border-color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.courses-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  padding: 40px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.course-browse-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-browse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.course-browse-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-browse-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--c, var(--primary));
  background: linear-gradient(135deg, var(--c, #6366f1), color-mix(in srgb, var(--c, #6366f1) 60%, #fff));
  color: white;
  flex-shrink: 0;
}

.course-browse-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-primary);
  line-height: 1.3;
}

.course-browse-cat {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.course-browse-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.course-browse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600;
}

.course-tag.level-1 { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.course-tag.level-2 { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.course-tag.level-3 { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.course-tag.diamond { background: linear-gradient(135deg, #c084fc, #ec4899); color: white; }
.course-tag.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: white; }
.course-tag.silver { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }

.course-browse-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.course-instructor {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.course-pop {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .courses-browse-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .courses-filter { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 0.78rem; }
}

/* ─── WELCOME SALE BANNER (3-day 20% off) ─────────────────────────── */
.welcome-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #ea580c 100%);
  border-radius: 14px;
  padding: 18px 24px;
  margin: 24px auto 32px;
  max-width: 1100px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
  color: #0a0a0f;
  animation: welcomePulse 2.4s ease-in-out infinite;
}
.welcome-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 40px);
  pointer-events: none;
  animation: welcomeShimmer 8s linear infinite;
}
@keyframes welcomePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25); }
  50% { box-shadow: 0 12px 36px rgba(245, 158, 11, 0.4); }
}
@keyframes welcomeShimmer {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
.welcome-banner-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.welcome-banner-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.welcome-banner-text {
  flex: 1;
  min-width: 240px;
}
.welcome-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a0a0f;
  margin-bottom: 4px;
}
.welcome-banner-sub {
  font-size: 0.9rem;
  color: #422006;
}
.welcome-banner-sub strong {
  background: #0a0a0f;
  color: #f59e0b;
  padding: 2px 10px;
  border-radius: 6px;
  font-family: 'Inter', monospace;
  letter-spacing: 1px;
}
.welcome-banner-countdown {
  font-family: 'Inter', monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0a0a0f;
  background: rgba(10, 10, 15, 0.15);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.welcome-banner-cta {
  background: #0a0a0f;
  color: #f59e0b;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.welcome-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: #f59e0b;
}
@media (max-width: 720px) {
  .welcome-banner { padding: 14px 16px; }
  .welcome-banner-title { font-size: 1rem; }
  .welcome-banner-cta { width: 100%; text-align: center; }
}

/* ─── PRICING SALE BADGES ────────────────────────────────────────── */
.pricing-card.sale { border-color: #f59e0b; }
.pricing-card .sale-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 2;
}

/* "Most Popular" floating tag (Gold plan) */
.pricing-card .pricing-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #b45309 100%);
  color: #1a1206;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.5);
  z-index: 2;
}

/* Sale card needs top padding to make room for two badges */
.pricing-card.sale {
  padding-top: 56px;
}

/* ============================================
   SKIP-LINK (a11y)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-gold);
  color: #0a0a0f;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent-violet);
  outline-offset: 2px;
}

/* ============================================
   BACK-TO-TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.4), 0 4px 8px -2px rgba(0,0,0,0.1);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px -4px rgba(245, 158, 11, 0.6), 0 6px 12px -2px rgba(0,0,0,0.15);
}
.back-to-top:active {
  transform: translateY(-2px) scale(0.98);
}
@media (max-width: 640px) {
  .back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: auto;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.3);
  z-index: 950;
  animation: slideUpFade 0.4s ease-out;
}
@keyframes slideUpFade {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0f;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cookie-banner-text {
  flex: 1;
  min-width: 220px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.cookie-banner-text strong { color: var(--text-primary); }
.cookie-banner-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}
.cookie-banner-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-banner-btn:hover { background: var(--bg-card-hover); }
.cookie-banner-btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f;
  border-color: transparent;
}
.cookie-banner-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.4);
}
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-btn { flex: 1; }
}

/* ============================================
   FORM VALIDATION STATES
   ============================================ */
.form-field {
  margin-bottom: 16px;
  position: relative;
}
.form-error {
  display: none;
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 500;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #ef4444 !important;
  background-image: linear-gradient(transparent, transparent);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.form-field.has-error .form-error { display: block; }
.form-field input:invalid:not(:placeholder-shown),
.form-field input.is-invalid {
  border-color: #ef4444;
}
.form-field input:valid:not(:placeholder-shown) {
  border-color: #22c55e;
}
.field-required::after {
  content: ' *';
  color: #ef4444;
}

/* ============================================
   LOADING SPINNER (button state)
   ============================================ */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
  color: transparent !important;
}
.btn-loading::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  color: white;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ============================================
   EMPTY STATES (dashboard) — beautiful SVG illustrations
   ============================================ */
.empty-state-pro {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state-pro-ill {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: block;
}
.empty-state-pro-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.empty-state-pro-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 340px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.empty-state-pro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.empty-state-pro-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4);
  color: #0a0a0f;
}

/* ============================================
   THEME VIEW TRANSITIONS
   ============================================ */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
}
::view-transition-old(root) {
  animation-name: themeFadeOut;
}
::view-transition-new(root) {
  animation-name: themeFadeIn;
}
@keyframes themeFadeOut {
  to { opacity: 0; }
}
@keyframes themeFadeIn {
  from { opacity: 0; }
}

/* ============================================
   LANDING PAGE: HERO UPGRADE
   ============================================ */
.hero-mesh-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 600px at 20% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 100%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(139, 92, 246, 0.10) 0%, transparent 50%);
}
[data-theme="light"] .hero-mesh-bg {
  background:
    radial-gradient(ellipse 800px 600px at 20% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-1 {
  width: 300px; height: 300px;
  background: rgba(99, 102, 241, 0.4);
  top: 10%; right: 5%;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 200px; height: 200px;
  background: rgba(245, 158, 11, 0.3);
  top: 60%; right: 30%;
  animation-delay: -4s;
}
.hero-blob-3 {
  width: 240px; height: 240px;
  background: rgba(139, 92, 246, 0.3);
  top: 30%; left: 10%;
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}
.hero-stat-strip {
  display: flex;
  gap: 0;
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.hero-stat-strip-item {
  flex: 1;
  min-width: 140px;
  padding: 8px 16px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: default;
}
.hero-stat-strip-item:last-child { border-right: none; }
.hero-stat-strip-item:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
}
.hero-stat-strip-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-strip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
@media (max-width: 640px) {
  .hero-stat-strip { gap: 0; }
  .hero-stat-strip-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border-color); padding: 10px 8px; }
  .hero-stat-strip-item:nth-child(2n) { border-right: none; }
  .hero-stat-strip-item:nth-last-child(-n+2) { border-bottom: none; }
  .hero-stat-strip-num { font-size: 1.3rem; }
}

/* ============================================
   LANDING PAGE: "Why Sedaqui" feature grid
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--why-accent, linear-gradient(90deg, var(--accent-gold), var(--accent-violet)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--why-accent-color, var(--accent-gold));
  box-shadow: 0 20px 40px -16px var(--why-shadow, rgba(245, 158, 11, 0.25));
}
.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--why-icon-bg, linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.15)));
  color: var(--why-accent-color, var(--accent-gold));
  margin-bottom: 18px;
  transition: transform 0.35s ease;
}
.why-card:hover .why-card-icon { transform: scale(1.1) rotate(-3deg); }
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   LANDING PAGE: "How it works" timeline
   ============================================ */
.how-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.how-step {
  position: relative;
  padding: 32px 20px 24px;
  text-align: center;
  z-index: 1;
}
.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.4);
  position: relative;
  z-index: 2;
}
.how-step-icon {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: block;
}
.how-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.how-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.how-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-violet) 50%, var(--accent-gold) 100%);
  z-index: 0;
  opacity: 0.3;
}
@media (max-width: 900px) {
  .how-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .how-timeline::before { display: none; }
}
@media (max-width: 540px) {
  .how-timeline { grid-template-columns: 1fr; }
}

/* ============================================
   LANDING PAGE: Outcomes (honest)
   ============================================ */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
}
.outcome-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}
.outcome-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.outcome-flag {
  font-size: 1.6rem;
}
.outcome-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
}
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}
.outcome-list li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================
   LANDING PAGE: Stats strip (horizontal scroll)
   ============================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 64px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.stats-strip-cell {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  scroll-snap-align: start;
  transition: var(--transition);
  min-width: 140px;
}
.stats-strip-cell:last-child { border-right: none; }
.stats-strip-cell:hover { background: var(--bg-card-hover); }
.stats-strip-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stats-strip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .stats-strip-cell { border-bottom: 1px solid var(--border-color); }
  .stats-strip-cell:nth-child(3n) { border-right: none; }
  .stats-strip-cell:nth-last-child(-n+3) { border-bottom: none; }
  .stats-strip-cell:nth-child(3n+1), .stats-strip-cell:nth-child(3n+2) { border-right: 1px solid var(--border-color); }
}
@media (max-width: 540px) {
  .stats-strip { display: flex; }
  .stats-strip-cell { min-width: 150px; }
}

/* ============================================
   LANDING PAGE: Feature spotlight (split cards)
   ============================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 80px 0;
}
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }
.spotlight-text .spotlight-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.spotlight-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 0 0 16px;
  color: var(--text-primary);
  line-height: 1.2;
}
.spotlight-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}
.spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spotlight-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.spotlight-features li i {
  color: var(--accent-gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
}
.spotlight-features li strong { color: var(--text-primary); }
.spotlight-ill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.spotlight-ill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.spotlight-ill svg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 32px; margin: 56px 0; }
  .spotlight.reverse { direction: ltr; }
  .spotlight-text h3 { font-size: 1.6rem; }
}

/* ============================================
   REVEAL ON SCROLL (enhanced)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-blob, .glow-orb, .particle { animation: none !important; }
}

/* ============================================
   LANDING: announcement bar
   ============================================ */
.announce-bar {
  position: relative;
  z-index: 100;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.announce-bar a {
  color: #fef3c7;
  text-decoration: underline;
  font-weight: 700;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}
.announce-pill {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
}
.announce-msg {
  font-weight: 500;
  font-size: 0.9rem;
}
.announce-msg strong {
  font-weight: 800;
  color: #fef3c7;
}
.announce-cta {
  background: white;
  color: #6366f1 !important;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.announce-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.25);
}
.announce-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px;
  transition: background 0.2s ease;
}
.announce-close:hover { background: rgba(255,255,255,0.4); }
@media (max-width: 600px) {
  .announce-bar { font-size: 0.78rem; padding: 6px 10px; }
  .announce-msg { font-size: 0.82rem; }
  .announce-cta { display: none; }
}

/* ============================================
   ADMIN: search bar
   ============================================ */
.admin-search-wrap {
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 200px;
}
.admin-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.admin-search-input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
}
.admin-search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* ============================================
   WHY SEDAQUI GRID
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.why-card {
  background: var(--card-bg, white);
  border: 1px solid var(--border-color, rgba(0,0,0,0.08));
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(99,102,241,0.20);
  border-color: var(--accent-gold, #f59e0b);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -6px rgba(99,102,241,0.4);
}
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.why-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.97rem;
  margin: 0;
}

/* ============================================
   HOW IT WORKS TIMELINE
   ============================================ */
.how-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.how-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.how-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px -4px rgba(99,102,241,0.4);
  position: relative;
  z-index: 1;
}
.how-line {
  position: absolute;
  top: 32px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0.4;
}
.how-step:last-child .how-line { display: none; }
.how-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.how-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .how-timeline { grid-template-columns: 1fr; gap: 32px; }
  .how-line { display: none; }
}

/* ============================================
   SPOTLIGHT (split card)
   ============================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.spotlight-text { padding: 16px 0; }
.spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.spotlight-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.spotlight-features li i { margin-top: 4px; flex-shrink: 0; }
.spotlight-features li strong { color: var(--text-primary); }
.spotlight-ill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.spotlight-ill svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}
@media (max-width: 768px) {
  .spotlight { grid-template-columns: 1fr; gap: 24px; }
  .spotlight-ill svg { max-width: 300px; }
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.06));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px 16px;
  margin-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.stats-strip-cell {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid var(--border-color);
  scroll-snap-align: center;
}
.stats-strip-cell:last-child { border-right: none; }
.stats-strip-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stats-strip-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 0;
  }
  .stats-strip-cell:nth-child(3n) { border-right: none; }
}
@media (max-width: 500px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-cell:nth-child(2n) { border-right: none; }
  .stats-strip-num { font-size: 1.8rem; }
}
