/* --- MOOLZEN MARKETING SYSTEM STYLES --- */

/* Font & Variable Definitions */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Sleek Light Mode Palette (Zerodha Kite Style) */
  --bg-primary: 0 0% 100%;        /* #FFFFFF - Pure White */
  --bg-secondary: 0 0% 98%;       /* #FAFAFA - Crisp Off-White */
  --bg-tertiary: 0 0% 95%;        /* #F1F1F1 - Light Neutral */
  --card-bg: 0 0% 100% / 0.95;
  --card-border: 0 0% 90%;        /* #E5E5E5 - Soft Gray Border */
  
  /* Vibrant Accents matching Kite/Zerodha Style */
  --accent-primary: 215 90% 50%;   /* #1E40AF - Kite Blue */
  --accent-cyan: 200 95% 45%;      /* #0284C7 - Bright Blue */
  --accent-pink: 12 90% 52%;       /* #EA580C - Kite Orange-Red */
  --accent-green: 142 70% 40%;     /* #16A34A - Growth Green */
  --accent-yellow: 35 90% 50%;     /* #F59E0B - Gold Accent */

  /* Text Colors */
  --text-primary: 215 25% 15%;     /* #1F2937 - Deep Charcoal Text */
  --text-muted: 215 16% 47%;       /* #4B5563 - Cool Grey Muted Text */
}

/* Sleek Dark Mode Overrides (matching app) */
.dark-theme {
  --bg-primary: 222 47% 11%;      /* #0F172A - Deep Slate Blue */
  --bg-secondary: 222 47% 6%;     /* #020617 - Darker Slate */
  --bg-tertiary: 222 47% 4%;      /* Extra Dark Slate */
  --card-bg: 222 47% 13% / 0.95;  /* Dark card background */
  --card-border: 222 47% 18%;     /* Darker border */

  /* Text Colors */
  --text-primary: 210 40% 98%;    /* Near white text */
  --text-muted: 215 20% 65%;      /* Muted text */
}

/* Base resets & layouts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--bg-primary));
  color: hsl(var(--text-primary));
  line-height: 1.6;
  position: relative;
}

/* Premium scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: hsl(var(--bg-primary));
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--bg-secondary));
  border-radius: 99px;
  border: 2px solid hsl(var(--bg-primary));
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--accent-primary) / 0.6);
}

/* Background Gradients */
.glow-accent-1 {
  position: absolute;
  top: -150px;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, hsl(var(--accent-primary) / 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

.glow-accent-2 {
  position: absolute;
  top: 800px;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, hsl(var(--accent-cyan) / 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

/* Typography styles */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--text-primary));
}

p {
  color: hsl(var(--text-muted));
}

.gradient-text {
  background: linear-gradient(135deg, hsl(var(--accent-primary)), hsl(var(--accent-cyan)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button aesthetics */
.btn-navbar-glow {
  background: linear-gradient(135deg, hsl(var(--accent-primary)), hsl(var(--accent-cyan)));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px hsl(var(--accent-primary) / 0.35);
  display: inline-flex;
  align-items: center;
}

.btn-navbar-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px hsl(var(--accent-primary) / 0.5);
  filter: brightness(1.1);
}

.btn-primary-glow {
  background: linear-gradient(135deg, hsl(var(--accent-primary)), hsl(var(--accent-pink)));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px hsl(var(--accent-primary) / 0.4);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsl(var(--accent-primary) / 0.6), 0 0 15px hsl(var(--accent-pink) / 0.3);
  filter: brightness(1.08);
}

.btn-secondary-outline {
  color: hsl(var(--text-primary));
  text-decoration: none;
  background: hsl(var(--bg-secondary) / 0.5);
  border: 1px solid hsl(var(--card-border));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: hsl(var(--bg-secondary) / 0.9);
  border-color: hsl(var(--accent-primary) / 0.5);
}

/* Header & Navbar navigation */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: hsl(var(--bg-primary) / 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--card-border));
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-header.scrolled {
  padding: 6px 0;
  background: hsl(var(--bg-primary) / 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

.logo-link {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1f2937 40%, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: hsl(var(--text-muted));
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--accent-pink));
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn .bar {
  width: 22px;
  height: 2px;
  background-color: hsl(var(--text-primary));
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* Hero elements */
.hero-section {
  padding: 160px 24px 80px 24px;
  display: flex;
  justify-content: center;
}

.hero-container {
  width: 100%;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: hsl(var(--accent-primary) / 0.1);
  border: 1px solid hsl(var(--accent-primary) / 0.25);
  color: hsl(var(--accent-primary));
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

/* Glassmorphism Interactive Mockup showcase card styles */
.mockup-showcase-container {
  width: 100%;
  max-width: 800px;
  background: radial-gradient(circle at top left, hsl(var(--accent-primary) / 0.15) 0%, transparent 60%);
  padding: 1px;
  border-radius: 24px;
  margin: 20px auto 0 auto;
}

.glass-mockup {
  background: hsl(var(--bg-secondary));
  border: 1px solid hsl(var(--card-border));
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 1px 1px hsl(var(--accent-primary) / 0.05);
}

.mockup-header {
  background: hsl(var(--bg-tertiary));
  padding: 12px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid hsl(var(--card-border));
}

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

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.mockup-address-bar {
  flex: 1;
  text-align: center;
  margin: 0 16px;
  background: hsl(var(--bg-primary) / 0.4);
  border: 1px solid hsl(var(--card-border));
  color: hsl(var(--text-muted));
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 6px;
  max-width: 320px;
}

.mockup-body {
  display: flex;
  height: 400px;
  text-align: left;
}

.mockup-sidebar {
  width: 160px;
  background: hsl(var(--bg-secondary));
  border-right: 1px solid hsl(var(--card-border));
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-item.active {
  background: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  font-weight: 700;
}

.mockup-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mockup-stats-row {
  display: flex;
  gap: 16px;
}

.mockup-stat-card {
  flex: 1;
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--card-border));
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  color: hsl(var(--text-muted));
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  margin-top: 4px;
}

.mockup-inner-grid {
  display: flex;
  gap: 16px;
  flex: 1;
}

.mockup-panel {
  flex: 1.2;
  background: hsl(var(--bg-primary));
  border: 1px solid hsl(var(--card-border));
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mockup-panel.side-panel {
  flex: 0.8;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.panel-header h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
  letter-spacing: 0.05em;
}

.refresh-icon {
  font-size: 0.75rem;
  cursor: pointer;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsl(var(--bg-secondary) / 0.4);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid hsl(var(--card-border) / 0.5);
}

.stock-info {
  display: flex;
  flex-direction: column;
}

.stock-info strong {
  font-size: 0.85rem;
}

.stock-info span {
  font-size: 0.65rem;
  color: hsl(var(--text-muted));
}

.stock-graph-placeholder {
  width: 60px;
  height: 20px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent-green) / 0.15), transparent);
  border-radius: 4px;
}

.stock-graph-placeholder.down {
  background: linear-gradient(90deg, transparent, hsl(var(--accent-pink) / 0.15), transparent);
}

.stock-price {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.price-change {
  font-size: 0.65rem;
}

.recommended-box {
  background: hsl(var(--bg-secondary) / 0.6);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid hsl(var(--accent-primary));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lesson-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: hsl(var(--accent-cyan));
  text-transform: uppercase;
}

.recommended-box h4 {
  font-size: 0.85rem;
  margin: 4px 0;
}

.recommended-box p {
  font-size: 0.7rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.btn-mockup-action {
  background: hsl(var(--accent-cyan));
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
}

/* Stock Sliding Ticker Section */
.ticker-section {
  width: 100%;
  background: hsl(var(--bg-secondary));
  border-top: 1px solid hsl(var(--card-border));
  border-bottom: 1px solid hsl(var(--card-border));
  padding: 14px 0;
  overflow: hidden;
}

.ticker-wrapper {
  width: 100%;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 30s linear infinite;
  gap: 40px;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.ticker-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--text-primary));
}

.ticker-item span {
  color: hsl(var(--text-muted));
}

.ticker-item .pct {
  font-weight: 700;
}

.pct.up { color: hsl(var(--accent-green)); }
.pct.down { color: hsl(var(--accent-pink)); }

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bento Grid Features Layout */
.features-section {
  padding: 100px 24px;
  display: flex;
  justify-content: center;
}

.features-container {
  max-width: 1200px;
  width: 100%;
}

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

.section-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--accent-primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: hsl(var(--card-bg));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--card-border));
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card:hover {
  border-color: hsl(var(--accent-primary) / 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 15px hsl(var(--accent-primary) / 0.1);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.card-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Card Visual styles */
.visual-balance-card {
  background: linear-gradient(135deg, hsl(var(--bg-secondary) / 0.6) 0%, hsl(var(--bg-primary) / 0.3) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--card-border) / 0.6);
  color: hsl(var(--text-primary));
  width: 100%;
  max-width: 320px;
  height: 160px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), inset 0 1px 0 hsl(var(--bg-primary) / 0.4);
  position: relative;
  overflow: hidden;
}

.dark-theme .visual-balance-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 hsl(var(--bg-primary) / 0.05);
}

.visual-balance-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.visual-balance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 700;
}

.visual-balance-amount {
  font-size: 1.8rem;
  font-family: var(--font-display);
  font-weight: 900;
}

.visual-card-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  opacity: 0.8;
}

.visual-lesson-badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.visual-badge-unlocked {
  font-size: 0.75rem;
  color: hsl(var(--text-muted));
}

.visual-badge-gold {
  background: rgba(241, 196, 15, 0.12);
  border: 1px solid rgba(241, 196, 15, 0.3);
  padding: 16px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(241, 196, 15, 0.1);
}

.visual-badge-gold span {
  font-size: 2.2rem;
}

.visual-badge-gold strong {
  color: #F1C40F;
  font-size: 0.85rem;
  margin-top: 8px;
}

.visual-leaderboard {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visual-leaderboard li {
  display: flex;
  justify-content: space-between;
  background: hsl(var(--bg-primary) / 0.4);
  border: 1px solid hsl(var(--card-border));
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.visual-leaderboard li.self {
  border-color: hsl(var(--accent-primary));
  background: hsl(var(--accent-primary) / 0.08);
  font-weight: 700;
}

.visual-leaderboard .rank {
  font-family: var(--font-display);
  font-weight: 700;
  min-width: 20px;
}

.visual-leaderboard .name {
  flex-grow: 1;
  margin-left: 10px;
}

.visual-warning-box {
  background: hsl(var(--accent-pink) / 0.08);
  border: 1px solid hsl(var(--accent-pink) / 0.25);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
}

.visual-warning-box .warning-title {
  color: hsl(var(--accent-pink));
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.visual-warning-box p {
  font-size: 0.75rem;
  color: hsl(var(--text-primary));
  line-height: 1.4;
}

/* About / Stats block styles */
.about-section {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, transparent, hsl(var(--bg-secondary) / 0.4), transparent);
}

.about-container {
  max-width: 1000px;
  width: 100%;
}

.about-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 780px;
}

.about-grid {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: hsl(var(--accent-primary));
  background: linear-gradient(135deg, hsl(var(--accent-primary)), hsl(var(--accent-pink)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* FAQs styling */
.faqs-section {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.faqs-container {
  max-width: 800px;
  width: 100%;
}

.faqs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: hsl(var(--card-bg));
  border: 1px solid hsl(var(--card-border));
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: hsl(var(--accent-primary) / 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: hsl(var(--text-primary));
  transition: all 0.2s ease;
}

.faq-icon {
  font-size: 1.2rem;
  color: hsl(var(--text-muted));
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: hsl(var(--accent-primary));
}

.faq-answer {
  padding: 0 24px 20px 24px;
  transition: all 0.3s ease;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Final Call To Action Card */
.final-cta-section {
  padding: 100px 24px;
  display: flex;
  justify-content: center;
  position: relative;
}

.cta-card {
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(135deg, hsl(var(--bg-secondary)), hsl(var(--bg-tertiary)));
  border: 1px solid hsl(var(--card-border));
  border-radius: 36px;
  padding: 64px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(var(--accent-cyan) / 0.12) 0%, transparent 60%);
  filter: blur(80px);
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 40px;
}

.domains-subtext {
  margin-top: 32px;
  font-size: 0.75rem;
  color: hsl(var(--text-muted));
  display: flex;
  gap: 12px;
  align-items: center;
}

.domains-subtext .divider {
  opacity: 0.3;
}

.domains-subtext strong {
  color: hsl(var(--text-primary));
}

/* Footer elements styling */
.footer-section {
  background-color: hsl(var(--bg-primary));
  border-top: 1px solid hsl(var(--card-border));
  padding: 64px 24px 32px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-branding {
  margin-bottom: 40px;
  max-width: 480px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: hsl(var(--text-primary));
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--card-border) / 0.5);
  padding-top: 24px;
  text-align: center;
}

/* Market hours sync badge visual */
.visual-market-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsl(var(--bg-secondary));
  border: 1px solid hsl(var(--card-border));
  padding: 10px 18px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.visual-market-badge.offline {
  color: hsl(var(--text-muted));
  border-color: hsl(var(--card-border));
}

.visual-market-badge.offline .dot {
  width: 8px;
  height: 8px;
  background-color: hsl(var(--text-muted));
  border-radius: 50%;
}

.visual-market-badge.online {
  color: hsl(var(--accent-green));
  border-color: hsl(var(--accent-green) / 0.3);
  animation: pulse-border 2s infinite;
}

.visual-market-badge.online .dot {
  width: 8px;
  height: 8px;
  background-color: hsl(var(--accent-green));
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 hsl(var(--accent-green) / 0.15); }
  70% { box-shadow: 0 0 0 8px hsl(var(--accent-green) / 0); }
  100% { box-shadow: 0 0 0 0 hsl(var(--accent-green) / 0); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Refer & Earn visual container */
.visual-referral-box {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  justify-content: center;
}

.referral-pill {
  flex: 1;
  background: hsl(var(--bg-secondary));
  border: 1px dashed hsl(var(--card-border));
  padding: 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.referral-pill:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--accent-primary) / 0.4);
  background: hsl(var(--bg-primary));
}

.referral-pill span {
  font-size: 0.7rem;
  color: hsl(var(--text-muted));
  font-weight: 600;
  text-transform: uppercase;
}

.referral-pill strong {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.referral-pill.referrer strong {
  color: hsl(var(--accent-primary));
}

.referral-pill.referee strong {
  color: hsl(var(--accent-cyan));
}

/* Responsive configurations & queries */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 16px 60px 16px;
  }

  .features-section, .about-section, .faqs-section, .final-cta-section {
    padding: 60px 16px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: hsl(var(--bg-primary) / 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(var(--card-border));
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 999;
  }

  .hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .navbar-container {
    padding: 12px 16px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-navbar-glow {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin-bottom: 48px;
  }

  .btn-primary-glow, .btn-secondary-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bento-card {
    padding: 24px 20px;
  }

  .bento-card.col-span-2 {
    grid-column: span 1;
  }
  
  .mockup-body {
    height: auto;
    flex-direction: column;
  }
  
  .mockup-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  
  .sidebar-item {
    white-space: nowrap;
  }
  
  .mockup-content {
    padding: 16px;
  }

  .mockup-stats-row {
    flex-direction: column;
    gap: 12px;
  }

  .visual-balance-card {
    max-width: 280px;
    height: auto;
    aspect-ratio: 1.88 / 1;
    padding: 16px;
  }

  .visual-balance-amount {
    font-size: 1.5rem;
  }

  .mockup-inner-grid {
    flex-direction: column;
  }
  
  .about-grid {
    flex-direction: column;
    gap: 24px;
  }
  
  .cta-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
}

/* Theme Toggle Button & Dark Theme Custom Overrides */
.theme-toggle-btn {
  background: none;
  border: 1px solid hsl(var(--card-border));
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: hsl(var(--text-primary));
  padding: 0;
}

.theme-toggle-btn:hover {
  background: hsl(var(--bg-secondary));
  border-color: hsl(var(--accent-primary) / 0.4);
  transform: scale(1.05);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: inline;
}

.dark-theme .theme-toggle-btn .sun-icon {
  display: inline;
}

.dark-theme .theme-toggle-btn .moon-icon {
  display: none;
}

.dark-theme .logo-text {
  background: linear-gradient(135deg, #ffffff 40%, #ea580c) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
