/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Light */
  --bg-primary: #fafbff;
  --bg-secondary: #f0f2f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fe;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --border-color: rgba(99, 102, 241, 0.12);
  --border-hover: rgba(99, 102, 241, 0.25);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

  /* Accent Colors */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --accent-gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizes */
  --nav-height: 72px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f35;
  --bg-card-hover: #212845;
  --bg-glass: rgba(26, 31, 53, 0.75);
  --bg-glass-strong: rgba(26, 31, 53, 0.9);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --border-color: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(99, 102, 241, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.2);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background var(--transition-base), color var(--transition-base);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0;
  animation: particleFloat 8s infinite;
}

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

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass-strong);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo-icon {
  transition: transform var(--transition-spring);
}

.nav-logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

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

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--border-hover);
}

.moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card);
}

.btn-white {
  background: white;
  color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

.btn-nav {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .hero-gradient {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  opacity: 0.5;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.2);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.15);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, 0.1);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 35px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 60px 24px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s infinite;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  position: relative;
}

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

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent, var(--accent-primary));
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--accent, var(--accent-primary));
  color: white;
  transform: scale(1.05);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: all var(--transition-fast);
}

.feature-link:hover {
  gap: 10px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.steps-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.step-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: relative;
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.step-number span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.step-content {
  padding-top: 12px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: testimonialScroll 30s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

.testimonial-card {
  flex: 0 0 380px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-highlights {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.highlight svg {
  color: #10b981;
  flex-shrink: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 380px;
}

.about-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  animation: cardSlideIn 0.6s ease-out backwards;
  animation-delay: var(--card-delay, 0s);
}

.about-stat-card:hover {
  transform: translateX(8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-info {
  display: flex;
  flex-direction: column;
}

.stat-card-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-card-label {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  position: relative;
  padding: 72px 48px;
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  animation: ctaCirclePulse 4s infinite;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -40px;
  animation: ctaCirclePulse 4s infinite 2s;
}

@keyframes ctaCirclePulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  position: relative;
  z-index: 1;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.method-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.method-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.method-value:hover {
  color: var(--accent-primary);
}

/* Contact Form */
.contact-form-wrap {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

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

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== BLOG PAGE STYLES ===== */
.blog-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 50% 60% at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

.blog-hero .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.blog-grid-section {
  padding: 80px 0 120px;
}

.blog-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

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

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

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

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-image-wrap {
  overflow: hidden;
  position: relative;
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--accent-primary);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: all var(--transition-fast);
}

.blog-card-link:hover {
  gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ===== FEATURED BLOGS ===== */
.featured-blogs {
  padding: 120px 0;
  position: relative;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== COMING SOON SECTION ===== */
.coming-soon {
  padding: 80px 0 120px;
}

.coming-soon-card {
  position: relative;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cs-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cs-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
}

.cs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 20s infinite;
}

.cs-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.15);
  top: -80px;
  right: -60px;
}

.cs-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(236, 72, 153, 0.1);
  bottom: -60px;
  left: -40px;
  animation-delay: -7s;
}

.cs-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

.cs-lines {
  position: absolute;
  inset: 0;
}

.cs-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.1;
  animation: csLineSweep 4s infinite;
}

.cs-line:nth-child(1) { top: 30%; width: 100%; }
.cs-line:nth-child(2) { top: 55%; width: 80%; left: 10%; animation-delay: -1.3s; }
.cs-line:nth-child(3) { top: 78%; width: 60%; left: 20%; animation-delay: -2.6s; }

@keyframes csLineSweep {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.15; }
}

.cs-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 24px;
}

.cs-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: pulse 2s infinite;
}

.cs-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cs-title .gradient-text { display: block; }

.cs-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cs-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cs-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.cs-feature:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cs-feature-icon { color: var(--accent-primary); display: flex; }

.cs-email-form { margin-bottom: 36px; }

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 12px;
}

.notify-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.notify-input-wrap svg {
  position: absolute;
  left: 16px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.notify-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.notify-input-wrap input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.notify-note {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-align: center;
}

.cs-progress {
  max-width: 400px;
  margin: 0 auto;
}

.cs-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cs-progress-value {
  font-weight: 700;
  color: var(--accent-primary);
}

.cs-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cs-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  animation: progressGrow 2s ease-out 0.5s forwards;
  position: relative;
}

.cs-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite 2.5s;
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent-gradient);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* ===== ARTICLE PAGE STYLES ===== */
.article-header-section {
  padding: 140px 0 40px;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumbs a {
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.article-breadcrumbs a:hover {
  color: var(--accent-indigo);
}

.article-meta-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-indigo-subtle);
  color: var(--accent-indigo);
  font-size: var(--font-xs);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-main-title {
  font-size: var(--font-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 900px;
}

.article-author-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-indigo-subtle);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  display: block;
  font-weight: 600;
  font-size: var(--font-sm);
  color: var(--text-primary);
}

.article-pub-date {
  display: block;
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ===== ARTICLE BODY ===== */
.article-main-content {
  padding: 40px 0 80px;
}

.article-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;

}

.article-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  line-height: 1.25 !important;
  margin: 54px 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--border-color) !important;
  letter-spacing: -0.02em !important;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  line-height: 1.35 !important;
  margin: 36px 0 14px 0 !important;
  letter-spacing: -0.01em !important;
}

.article-body h4 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 24px 0 10px 0 !important;
}

.article-body p {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: var(--text-secondary) !important;
  margin: 0 0 22px 0 !important;
  font-weight: 400 !important;
}

.article-body ul, .article-body ol {
  margin: 0 0 26px 0 !important;
  padding-left: 28px !important;
}

.article-body li {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 10px !important;
}

.article-body strong {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

/* Featured & Inline Blog Images (Google Images & Local) */
.article-featured-image-wrap {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 36px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.article-featured-image {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin: 28px 0;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.article-figure {
  margin: 32px 0;
  text-align: center;
}

.article-figure img {
  margin: 0 auto 10px auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.article-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: 8px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-lead {
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 32px;
}

/* Callout Boxes */
.callout-box {
  padding: 24px;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.callout-info {
  border-left: 4px solid var(--accent-indigo);
  background: rgba(99, 102, 241, 0.05);
}

.callout-warning {
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-md);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* Scenario Card */
.scenario-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.scenario-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: white;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.scenario-text {
  font-size: var(--font-md);
  font-style: italic;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

/* Quiz Box */
.quiz-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 32px 0;
}

.quiz-question {
  font-size: var(--font-md);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-option {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quiz-option:hover {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo-subtle);
}

.quiz-option.selected {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo-subtle);
  font-weight: 600;
}

.quiz-explanation summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-indigo);
  user-select: none;
}

.explanation-content {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.sidebar-card h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.sidebar-card p {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-category-list li {
  margin-bottom: 10px;
}

.sidebar-category-list a {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.sidebar-category-list a:hover {
  color: var(--accent-indigo);
  padding-left: 4px;
}

/* ===== PAGINATION STYLES ===== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-btn:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
}

.page-btn.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blog-search-bar {
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: var(--font-base);
  transition: var(--transition-fast);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .article-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-main-title {
    font-size: var(--font-2xl);
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .step-line {
    left: 24px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
  }

  .step-number span {
    font-size: 1.1rem;
  }

  .step {
    gap: 20px;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 300px;
  }

  .coming-soon-card {
    padding: 40px 20px;
  }

  .notify-form {
    flex-direction: column;
  }

  .cs-features {
    gap: 10px;
  }

  .cs-feature {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cs-title {
    font-size: 1.6rem;
  }
}

/* =========================================================
   RE-ARCHITECTED SEO BLOG FORMAT STYLES
   ========================================================= */

/* Article Lead / Hook Callout */
.article-lead-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-left: 4px solid var(--accent-indigo);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.article-lead-box p {
  margin: 0 0 10px 0;
}
.article-lead-box p:last-child {
  margin-bottom: 0;
}

/* Table of Contents */
.toc-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.toc-header svg {
  color: var(--accent-indigo);
}

.toc-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.toc-list li a:hover {
  color: var(--accent-indigo);
  transform: translateX(4px);
}

.toc-list li a::before {
  content: "→";
  color: var(--accent-indigo);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Step-by-Step Cards */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 32px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: var(--transition-fast);
}

.step-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-badge {
  background: var(--accent-indigo);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Process at a glance card */
.process-glance-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0 36px;
}

.process-glance-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-glance-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 24px 0 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th {
  background: rgba(99, 102, 241, 0.08);
  color: var(--text-primary);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

.table-tag-low {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}

.table-tag-high {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Common Mistakes Section */
.mistakes-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 36px;
}

.mistake-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.mistake-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.mistake-content h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mistake-content p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* FAQs Section */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 36px;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent-indigo);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 34px;
}

/* Next Step CTA Card */
.next-step-box {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin: 40px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.25);
}

.next-step-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.next-step-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.next-step-box .btn-white {
  background: #ffffff;
  color: #4f46e5;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.next-step-box .btn-white:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.next-step-box .btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.next-step-box .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* Textbook Snapshot Review List */
.snapshot-review-list {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-indigo);
  border-radius: var(--radius-lg);
  padding: 24px 24px 24px 44px !important;
  margin: 24px 0 36px 0 !important;
  list-style-type: square;
}

.snapshot-review-list li {
  margin-bottom: 12px !important;
  line-height: 1.75 !important;
  color: var(--text-primary) !important;
  font-size: 1rem !important;
}

/* =========================================================
   ARTICLE INTERLINKING & NAVIGATION SYSTEM
   ========================================================= */

/* In-Content Contextual Hyperlinks */
.article-body p a,
.article-body li a,
.article-lead-box a,
.callout-box a,
.snapshot-review-list a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(79, 70, 229, 0.4);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.article-body p a:hover,
.article-body li a:hover,
.article-lead-box a:hover,
.callout-box a:hover,
.snapshot-review-list a:hover {
  color: #3730a3;
  text-decoration-color: #4f46e5;
}

[data-theme="dark"] .article-body p a,
[data-theme="dark"] .article-body li a,
[data-theme="dark"] .article-lead-box a,
[data-theme="dark"] .callout-box a,
[data-theme="dark"] .snapshot-review-list a {
  color: #818cf8;
  text-decoration-color: rgba(129, 140, 248, 0.4);
}

[data-theme="dark"] .article-body p a:hover,
[data-theme="dark"] .article-body li a:hover,
[data-theme="dark"] .article-lead-box a:hover,
[data-theme="dark"] .callout-box a:hover,
[data-theme="dark"] .snapshot-review-list a:hover {
  color: #a5b4fc;
  text-decoration-color: #818cf8;
}

/* Previous / Next Article Navigation Pager */
.article-nav-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 36px;
  padding-top: 32px;
  border-top: 2px solid var(--border-color);
}

.nav-pager-card {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.nav-pager-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.nav-pager-card.next {
  text-align: right;
  align-items: flex-end;
}

.nav-pager-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.nav-pager-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.nav-pager-card:hover .nav-pager-title {
  color: var(--accent-primary);
}

@media (max-width: 640px) {
  .article-nav-pager {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nav-pager-card.next {
    text-align: left;
    align-items: flex-start;
  }
}

/* Related Real Estate Exam Guides Section */
.related-guides-section {
  margin: 52px 0 32px;
  padding-top: 36px;
  border-top: 2px solid var(--border-color);
}

.related-guides-header {
  margin-bottom: 24px;
}

.related-guides-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  margin: 0 0 6px 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.related-guides-header p {
  font-size: 0.95rem !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  text-decoration: none;
}

.related-guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.12);
}

.related-guide-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-guide-card:hover .related-guide-img {
  transform: scale(1.05);
}

.related-guide-img-wrap {
  overflow: hidden;
  position: relative;
}

.related-guide-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.related-guide-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.related-guide-time {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.related-guide-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  line-height: 1.4 !important;
  margin: 0 0 8px 0 !important;
  transition: color var(--transition-fast);
}

.related-guide-card:hover h4 {
  color: var(--accent-primary) !important;
}

.related-guide-card p {
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.55 !important;
  margin: 0 0 16px 0 !important;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-guide-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.related-guide-card:hover .related-guide-cta {
  gap: 10px;
}

@media (max-width: 900px) {
  .related-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .related-guides-grid {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Recommended Guides Card */
.sidebar-recommended-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-recommended-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.sidebar-recommended-item a svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
}

.sidebar-recommended-item a:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
}

.sidebar-recommended-item a:hover svg {
  transform: translateX(3px);
}



/* ===== Study guide components (Oct 2026) ===== */
.article-intro{font-size:1.15rem;line-height:1.8;color:var(--text-primary);margin-bottom:24px}
.practice-question{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:18px 20px;margin:16px 0}
.practice-question ul{list-style:none;padding-left:0;margin:8px 0}
.practice-question li{margin:4px 0}
.practice-question details summary{cursor:pointer;color:var(--accent-primary);font-weight:600;margin-top:8px}
.practice-question details p{margin-top:8px}
.see-also{font-size:.95rem;color:var(--text-secondary);border-left:3px solid var(--accent-primary);padding-left:12px;margin:16px 0}
.checklist{list-style:none;padding-left:0}
.cta-box{text-align:center}
.sources-box ul{margin-top:8px}
.sources-box li{font-size:.95rem}
.home-guide{padding:80px 0}
.home-guide-body{max-width:860px;margin:0 auto}
.all-guides{padding:60px 0 80px}
.all-guides-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;margin-top:28px}
.all-guides-group h3{font-size:1.1rem;margin-bottom:10px;color:var(--text-primary)}
.all-guides-group ul{list-style:none;padding:0;margin:0}
.all-guides-group li{margin:6px 0}
.all-guides-group a{color:var(--text-secondary);text-decoration:none}
.all-guides-group a:hover{color:var(--accent-primary)}
