/* ===== Hub4Apps Modern CSS - 2025 Design System ===== */

/* Subtle Light Tile Pattern Background */
body {
  background-color: #f5f3f0;
  background-image: url('images/subtle-pattern.png');
  background-repeat: repeat;
}

/* Root Variables - Modern Color System */
:root {
  /* Sunset Wisdom Color Palette - Muted & Sophisticated */
  --primary-hue: 25;
  --primary: #D35400;
  --primary-light: #E67E22;
  --primary-dark: #BA4A00;

  /* Sunset Gradients (Muted Orange/Gold) */
  --gradient-1: linear-gradient(135deg, #D35400 0%, #F39C12 100%);
  --gradient-2: linear-gradient(135deg, #E67E22 0%, #F1C40F 100%);
  --gradient-3: linear-gradient(135deg, #BA4A00 0%, #D35400 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);

  /* Additional brand colors */
  --gold: #F39C12;
  --gold-light: #F1C40F;
  --navy: #03071E;
  --navy-light: #370617;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Typography - DM Sans (NOT Inter - AI default) */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Caveat', cursive;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows - Modern Elevation System */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 50px rgba(211, 84, 0, 0.4);
  
  /* Animation */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 350ms;
  --duration-slower: 500ms;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --blur-md: blur(10px);
  --blur-lg: blur(20px);
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }
  
  body {
    background: var(--gray-900);
    color: var(--gray-100);
  }
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  overflow-x: hidden;
}

/* ===== Loading Screen ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.loading-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.loader {
  display: flex;
  gap: var(--space-sm);
}

.loader-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--gradient-1);
  animation: loader-bounce 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loader-bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ===== Glassmorphism Utility ===== */
.glass-morph {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1000;
  transition: all var(--duration-base) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--blur-lg);
  box-shadow: var(--shadow-lg);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  font-size: 1.8rem;
  animation: float 3s ease-in-out infinite;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover {
  color: var(--primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
}


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

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary); /* Sunset orange */
}

.logo-text {
    font-weight: 700;
    background: linear-gradient(90deg, #D35400, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .highlight {
    font-style: italic;
}


/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  padding: 100px var(--space-lg) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Disable heavy animations on blog pages for performance */
.blog-hero .gradient-orb {
  animation: none;
  opacity: 0.3;
}

/* Blog Hero - Side by side layout (text left, image right) */
.blog-hero .hero-content {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.blog-hero .hero-text {
  flex: 1;
  min-width: 0;
}

.blog-hero .hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.blog-hero .hero-media {
  flex: 0 0 45%;
  max-width: 550px;
}

.blog-hero .hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .blog-hero .hero-content {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .blog-hero .hero-media {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

.gradient-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient-1);
  top: -100px;
  right: -100px;
}

.gradient-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--gradient-2);
  bottom: -50px;
  left: -50px;
  animation-delay: 3s;
}

.gradient-orb-3 {
  width: 350px;
  height: 350px;
  background: var(--gradient-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(20px) rotate(240deg);
  }
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
}

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

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-item {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

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

.btn-small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(211, 84, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(211, 84, 0, 0.6);
  }
}

/* ===== Hero Visual ===== */
.hero-visual {
  position: relative;
}

.phone-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  border-radius: var(--radius-2xl);
  padding: var(--space-md);
  position: relative;
  animation: float-phone 4s ease-in-out infinite;
}

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

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.app-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: orbit 10s linear infinite;
  animation-delay: var(--delay);
}

.floating-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

/* ===== Apps Section ===== */
.apps-section {
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-badge {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.apps-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.app-card {
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-out);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

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

.app-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(211, 84, 0, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
}

.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.app-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.app-status {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-available {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-coming {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.status-beta {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
}

.status-development {
  background: rgba(156, 163, 175, 0.1);
  color: var(--gray-600);
}

.app-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.app-tagline {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.app-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.feature-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--gray-700);
}

/* Roadmap Upcoming Features Section */
.Roadmap-Upcoming-Features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border: 2px dashed rgba(20, 184, 166, 0.4);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.Roadmap-Upcoming-Features .feature-tag {
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #14b8a6;
  transition: all 0.2s ease;
}

.Roadmap-Upcoming-Features .feature-tag:hover {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.app-metrics {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.metric {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--gray-600);
  font-size: 0.875rem;
}

.metric i {
  color: var(--primary);
}

.app-platforms {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.app-platforms i {
  font-size: 1.5rem;
  color: var(--gray-400);
}

.app-launch-timer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--gray-600);
}

.app-progress {
  margin-bottom: var(--space-lg);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.progress-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--ease-out);
}

.progress-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.app-actions {
  display: flex;
  gap: var(--space-md);
}

/* ===== Animations ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}


.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-16);
    background: var(--color-secondary);
    color: var(--color-text-secondary);
    border-radius: var(--radius-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border: 1px solid var(--color-border);
}

.coming-soon-badge i {
    opacity: 0.6;
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeLeft 0.6s var(--ease-out) forwards;
  animation-delay: var(--delay, 0.2s);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeRight 0.6s var(--ease-out) forwards;
  animation-delay: var(--delay, 0.2s);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.6s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== About Section ===== */
.about-section {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.about-values {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.value-item {
  display: flex;
  gap: var(--space-md);
}

.value-item i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.value-item h4 {
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.value-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2,
.newsletter-signup h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--duration-base) var(--ease-out);
}

.contact-method:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.contact-method i {
  font-size: 1.25rem;
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md);
  border: none;
  background: var(--white);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-column a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--duration-base) var(--ease-out);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--gray-500);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: start;
    padding: var(--space-xl);
    transition: left var(--duration-base) var(--ease-out);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-content,
  .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    display: none;
  }
  
  .app-card.featured {
    grid-column: span 1;
  }
  
  .apps-showcase {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-stats {
    flex-direction: column;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}


/* Article media block - Hero Card Style */

.article-media-block {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.article-media-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0.7;
}

.article-video {
  margin: 0;
}

.blog-video {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-video figcaption,
.article-gallery figcaption {
  font-size: 0.85rem;
  color: var(--gray-200);
  margin-top: 0.6rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--primary);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.article-gallery figure {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.article-gallery img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}


/* Article Meta - Read time, Stack info */
.article-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.25) 0%, rgba(15, 23, 42, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-bottom: var(--space-lg);
}

.article-meta strong {
  color: var(--primary-light);
}

/* Optional hero inline image */
.hero-inline-image {
    margin-top: 1.5rem;
    max-width: 540px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

/* Responsive */
@media (max-width: 768px) {
    .article-media-block {
        margin-top: 1.25rem;
        padding: var(--space-lg);
    }

    .article-gallery {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ------------------------------
   BLOG GRID & CARD STYLES
   ------------------------------ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.blog-card {
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    background 0.22s ease-out;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* remove blue underline on card links */
.blog-card-link:link,
.blog-card-link:visited {
  color: inherit;
  text-decoration: none;
}

.blog-card-thumb {
  position: relative;
  overflow: hidden;
  max-height: 180px;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease-out;
}

.blog-card-body {
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.8;
}

.blog-card-meta .badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.blog-card-meta .date {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.blog-card-title {
  font-size: 1.02rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-200);
}

.blog-card-cta {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hover effects */
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background: radial-gradient(circle at top left,
    rgba(255, 255, 255, 0.24),
    rgba(148, 163, 184, 0.12));
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.06);
}

.blog-card:hover .blog-card-cta i {
  transform: translateX(2px);
  transition: transform 0.18s ease-out;
}

/* Small screens */
@media (max-width: 640px) {
  .blog-card-body {
    padding: 1.1rem 1.1rem 1rem;
  }

  .blog-card-thumb {
    max-height: 160px;
  }
}


/*
 * Gita App Screenshots
 *
 * The Gita Wisdom card on the homepage now displays three decorative
 * screenshots to help visitors visualize the experience. The following
 * styles lay out these images in a responsive row on larger screens and
 * stack them on smaller devices. Each screenshot is given subtle
 * rounding and shadow to match the app card aesthetic.
 */
.gita-screenshots {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md); 
 }
.gita-screenshots img {
  flex: 1 1 0;
  width: 33%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
@media (max-width: 768px) {
  .gita-screenshots {
    flex-direction: column;
  }

  .gita-screenshots img {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
}

/* === Fix: Feature banner should fit (not crop) === */
.gita-feature-banner {
  width: 30%;
  margin-top: var(--space-md);
}
.gita-feature-banner img {
  width: 30%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: #fafafa; /* subtle pad color around transparent edges */
}

/* === Fix: Team image should not break layout === */
.team-photo img {
  width: 100%;
  max-width: 80%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-md);
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  .about-visual {
    order: 2;
  }
  .about-text {
    order: 1;
  }
  .team-photo img {
    max-width: 90%;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* === Adjust existing screenshot trio so they don't crop aggressively === */
.gita-screenshots img {
  object-fit: cover;
}
@media (max-width: 768px) {
  .gita-screenshots img {
    width: 100%;
    object-fit: contain;
  }
}

/* ===== Blog Page Enhancements ===== */

/* Featured Article Card */
.featured-article {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.featured-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-content {
  max-width: 800px;
  margin: 0 auto;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.featured-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.featured-content p {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary-light);
  font-weight: 600;
  transition: gap var(--duration-base) var(--ease-out);
}

.featured-article:hover .featured-cta {
  gap: var(--space-md);
}

/* Code Snippets */
.code-snippet {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
}

.code-snippet pre {
  margin: 0;
}

.code-snippet code {
  font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  color: var(--gray-200);
  line-height: 1.6;
}

.code-snippet-small {
  background: rgba(211, 84, 0, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.code-snippet-small code {
  font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
  font-size: 0.8rem;
  color: var(--primary-light);
}

/* Ripped Paper Code Snippet Effect */
.code-snippet-ripped {
  position: relative;
  margin: var(--space-xl) calc(-1 * var(--space-xl));
  padding: 0;
  background: transparent;
  overflow: visible;
}

.code-snippet-ripped .ripped-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  padding: var(--space-xl) var(--space-2xl);
  position: relative;
  box-shadow:
    inset 0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 -8px 20px rgba(0, 0, 0, 0.4);
}

.code-snippet-ripped .ripped-content::before,
.code-snippet-ripped .ripped-content::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  pointer-events: none;
  z-index: 10;
}

.code-snippet-ripped .ripped-content::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 30' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='rough' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' result='noise'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='noise' scale='3' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0,30 L0,18 Q25,22 50,15 Q75,8 100,16 Q125,24 150,14 Q175,4 200,17 Q225,28 250,13 Q275,0 300,16 Q325,30 350,15 Q375,2 400,14 Q425,26 450,16 Q475,6 500,18 Q525,28 550,12 Q575,0 600,15 Q625,28 650,14 Q675,2 700,16 Q725,28 750,13 Q775,0 800,17 Q825,30 850,14 Q875,0 900,15 Q925,28 950,16 Q975,4 1000,14 Q1025,24 1050,17 Q1075,10 1100,15 Q1125,20 1150,13 Q1175,6 1200,18 L1200,30 Z' fill='%23ffffff' filter='url(%23rough)'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

.code-snippet-ripped .ripped-content::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 30' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='rough2' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' result='noise'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='noise' scale='3' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0,0 L0,12 Q25,8 50,15 Q75,22 100,14 Q125,6 150,16 Q175,26 200,13 Q225,2 250,17 Q275,30 300,14 Q325,0 350,15 Q375,28 400,16 Q425,4 450,14 Q475,24 500,12 Q525,2 550,18 Q575,30 600,15 Q625,2 650,16 Q675,28 700,14 Q725,2 750,17 Q775,30 800,13 Q825,0 850,16 Q875,30 900,15 Q925,2 950,14 Q975,26 1000,16 Q1025,6 1050,13 Q1075,20 1100,15 Q1125,10 1150,17 Q1175,24 1200,12 L1200,0 Z' fill='%23ffffff' filter='url(%23rough2)'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

/* Shadow effect for depth */
.code-snippet-ripped .ripped-shadow-top,
.code-snippet-ripped .ripped-shadow-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 15px;
  pointer-events: none;
}

.code-snippet-ripped .ripped-shadow-top {
  top: 28px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 100%);
}

.code-snippet-ripped .ripped-shadow-bottom {
  bottom: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 100%);
}

.code-snippet-ripped pre {
  margin: 0;
  padding: var(--space-md) 0;
  background: transparent;
  overflow-x: auto;
}

.code-snippet-ripped code {
  font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Syntax highlighting for ripped code */
.code-snippet-ripped .comment { color: #6b7280; font-style: italic; }
.code-snippet-ripped .keyword { color: #c792ea; }
.code-snippet-ripped .string { color: #c3e88d; }
.code-snippet-ripped .function { color: #82aaff; }
.code-snippet-ripped .number { color: #f78c6c; }
.code-snippet-ripped .operator { color: #89ddff; }
.code-snippet-ripped .wrong { color: #ff5370; text-decoration: line-through; }
.code-snippet-ripped .correct { color: #c3e88d; }

/* Key Insight Box */
.key-insight {
  background: rgba(211, 84, 0, 0.1);
  border-left: 3px solid var(--primary-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--gray-200);
}

/* Quick Reads Grid */
.quick-reads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.quick-read {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  position: relative;
}

.quick-read h4 {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.quick-read p {
  font-size: 0.9rem;
  color: var(--gray-200);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.quick-tag {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stats Grid for App Pages */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-200);
}

/* How It Works Grid */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.how-step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto var(--space-md);
}

.how-step h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.how-step p {
  font-size: 0.9rem;
  color: var(--gray-200);
  line-height: 1.6;
}

/* Tech Features Grid */
.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.tech-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.tech-card h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.tech-card h4 i {
  color: var(--primary);
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Info Grid for App Details */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.info-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.info-card h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.info-card h4 i {
  color: var(--primary-light);
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  font-size: 0.9rem;
  color: var(--gray-300);
  padding: var(--space-xs) 0;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray-200);
  line-height: 1.6;
}

/* CTA Card */
.cta-card {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--gradient-1);
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.cta-card p {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
}

/* Progress List for MindfulLiving */
.progress-list {
  max-width: 600px;
  margin: 0 auto;
}

.progress-item {
  display: grid;
  grid-template-columns: 1fr 200px 50px;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.progress-label {
  font-size: 0.95rem;
  color: var(--gray-300);
}

.progress-bar-wrapper {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-1);
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--ease-out);
}

.progress-percent {
  font-size: 0.9rem;
  color: var(--gray-200);
  text-align: right;
}

.progress-note {
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--gray-300);
}

/* Highlight Text Box */
.highlight-text {
  background: rgba(211, 84, 0, 0.1);
  border-left: 4px solid var(--primary-light);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.highlight-text h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.highlight-text p {
  color: var(--gray-300);
  line-height: 1.7;
}

/* Hero Tagline */
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .progress-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .progress-bar-wrapper {
    order: 2;
  }

  .progress-percent {
    order: 3;
    text-align: left;
  }

  .featured-content h3 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ===== Toast Notifications ===== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  max-width: 400px;
}

.toast-success .toast-content {
  border-left: 4px solid var(--success);
}

.toast-success .toast-content i {
  color: var(--success);
  font-size: 1.25rem;
}

.toast-info .toast-content {
  border-left: 4px solid var(--info);
}

.toast-info .toast-content i {
  color: var(--info);
  font-size: 1.25rem;
}

.toast-error .toast-content {
  border-left: 4px solid var(--error);
}

.toast-error .toast-content i {
  color: var(--error);
  font-size: 1.25rem;
}

.toast-content span {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .toast-notification {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }

  .toast-content {
    min-width: auto;
    max-width: none;
  }
}

/* ============================================
   MODERN BLOG COMPONENTS
   ============================================ */

/* Blog Section Card - Main container for each major section */
.blog-section-card {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--gray-900);
}

.blog-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-section-card:hover::before {
  opacity: 1;
}

/* Section Header with Icon */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.section-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--gradient-1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
}

.section-header-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.section-header-content .section-subtitle {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.5;
}

/* Numbered Steps */
.numbered-steps {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.step-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  counter-increment: step-counter;
  transition: all 0.3s ease;
  color: var(--gray-900);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(211, 84, 0, 0.3);
}

.step-card::before {
  content: counter(step-counter);
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
  margin-left: 48px;
}

.step-card p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-left: 48px;
}

/* Agent Cards Grid */
.agent-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.agent-card {
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}

.agent-card i {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-card h4 {
  font-size: 0.9rem;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.agent-card p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Key Insight Box - Enhanced */
.insight-box {
  background: linear-gradient(135deg, rgba(211, 84, 0, 0.15) 0%, rgba(243, 156, 18, 0.1) 100%);
  border-left: 4px solid var(--primary-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  position: relative;
}

.insight-box::before {
  content: '💡';
  position: absolute;
  top: -12px;
  left: var(--space-md);
  font-size: 1.5rem;
  background: var(--dark-200);
  padding: 0 var(--space-xs);
}

.insight-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
}

.insight-box p {
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Dual Lessons - Eng & Product */
.dual-lessons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.lesson-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.lesson-card.eng {
  border-left: 4px solid #14b8a6;
}

.lesson-card.product {
  border-left: 4px solid #0891b2;
}

.lesson-card .lesson-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.lesson-card .lesson-header i {
  font-size: 1.25rem;
}

.lesson-card.eng .lesson-header i {
  color: #14b8a6;
}

.lesson-card.product .lesson-header i {
  color: #0891b2;
}

.lesson-card .lesson-header h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.lesson-card.eng .lesson-header h4 {
  color: #0d9488;
}

.lesson-card.product .lesson-header h4 {
  color: #0e7490;
}

.lesson-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .dual-lessons {
    grid-template-columns: 1fr;
  }
}

/* Warning Box */
.warning-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border-left: 4px solid #ef4444;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  position: relative;
}

.warning-box::before {
  content: '⚠️';
  position: absolute;
  top: -12px;
  left: var(--space-md);
  font-size: 1.5rem;
  background: var(--dark-200);
  padding: 0 var(--space-xs);
}

.warning-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ef4444;
  margin-bottom: var(--space-sm);
}

.warning-box p {
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Success Box */
.success-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
  border-left: 4px solid #22c55e;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  position: relative;
}

.success-box::before {
  content: '✅';
  position: absolute;
  top: -12px;
  left: var(--space-md);
  font-size: 1.5rem;
  background: var(--dark-200);
  padding: 0 var(--space-xs);
}

.success-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #22c55e;
  margin-bottom: var(--space-sm);
}

.success-box p {
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Before/After Comparison */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr;
  }
}

.comparison-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.comparison-box.before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-box.after {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-label {
  position: absolute;
  top: -10px;
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-box.before .comparison-label {
  background: #ef4444;
  color: white;
}

.comparison-box.after .comparison-label {
  background: #22c55e;
  color: white;
}

/* Feature List with Icons */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-list li:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.feature-list li i {
  font-size: 1.25rem;
  color: var(--primary-light);
  min-width: 24px;
  margin-top: 2px;
}

.feature-list li span {
  color: var(--gray-700);
  line-height: 1.5;
}

.feature-list li strong {
  color: var(--gray-900);
}

/* Quote/Callout Block */
.quote-block {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  position: relative;
  text-align: center;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-family: Georgia, serif;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  line-height: 1;
}

.quote-block p {
  font-size: 1.25rem;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.quote-block cite {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: normal;
}

/* Metric Highlight */
.metric-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-sm);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-highlight .number {
  font-size: 2.5rem;
  font-weight: 800;
}

.metric-highlight .label {
  font-size: 1rem;
  font-weight: 500;
}

/* Metrics Row */
.metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
}

.metric-item {
  text-align: center;
  padding: var(--space-md);
}

.metric-item .value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.metric-item .label {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: var(--space-xs);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

.column-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.column-card h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.column-card h3 i {
  color: var(--primary-light);
}

.column-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.column-card ul li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.column-card ul li:last-child {
  border-bottom: none;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
  margin: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--secondary));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 4px);
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(211, 84, 0, 0.2);
}

.timeline-item h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Snake Road Game Board Style ===== */
.snake-road {
  position: relative;
  padding: var(--space-xl) 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* The winding road path */
.snake-road-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each row of the snake path */
.snake-row {
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-md) 0;
}

/* Alternating direction */
.snake-row:nth-child(odd) {
  flex-direction: row;
}

.snake-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* The road segment (horizontal part) */
.snake-road-segment {
  flex: 1;
  height: 24px;
  background: linear-gradient(90deg, #d35400, #f39c12, #d35400);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

/* Road texture/dashes */
.snake-road-segment::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0px,
    rgba(255, 255, 255, 0.5) 20px,
    transparent 20px,
    transparent 40px
  );
  transform: translateY(-50%);
}

/* Curved connectors between rows */
.snake-curve {
  width: 60px;
  height: 80px;
  position: relative;
  flex-shrink: 0;
}

.snake-curve::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 100%;
  background: linear-gradient(180deg, #d35400, #f39c12);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

.snake-row:nth-child(odd) .snake-curve::before {
  right: 0;
  border-radius: 0 12px 12px 0;
}

.snake-row:nth-child(even) .snake-curve::before {
  left: 0;
  border-radius: 12px 0 0 12px;
}

/* Milestone markers on the road */
.snake-milestone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.snake-milestone-dot {
  width: 64px;
  height: 64px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(211, 84, 0, 0.5), 0 0 0 5px rgba(255, 255, 255, 0.9), 0 0 0 8px rgba(211, 84, 0, 0.3);
  position: relative;
  z-index: 2;
}

.snake-milestone-dot i {
  font-size: 1.5rem;
}

/* Milestone number badge */
.snake-milestone-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.snake-milestone-content {
  background: var(--white);
  border: 2px solid rgba(211, 84, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-top: var(--space-sm);
  min-width: 200px;
  max-width: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.snake-milestone-content h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.snake-milestone-content .milestone-date {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.snake-milestone-content p {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 var(--space-sm) 0;
}

.snake-milestone-content .milestone-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.milestone-status.completed {
  background: #dcfce7;
  color: #16a34a;
}

.milestone-status.in-progress {
  background: #fef3c7;
  color: #d97706;
}

.milestone-status.planned {
  background: #e0e7ff;
  color: #6366f1;
}

/* ===== Roadmap Infographic Style ===== */
/* Left: Stacked colored cards | Right: Winding path with numbered circles */

.roadmap-infographic {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  align-items: stretch;
  min-height: 750px;
}

/* Left column: Stacked colored cards */
.roadmap-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-card {
  padding: var(--space-lg);
  color: white;
  position: relative;
}

.roadmap-card:first-child {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.roadmap-card:last-child {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.roadmap-card h5 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.roadmap-card .card-date {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.roadmap-card p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* Card colors matching reference */
.roadmap-card[data-color="pink"] { background: linear-gradient(135deg, #ec4899, #f472b6); }
.roadmap-card[data-color="yellow"] { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.roadmap-card[data-color="green"] { background: linear-gradient(135deg, #10b981, #34d399); }
.roadmap-card[data-color="blue"] { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.roadmap-card[data-color="purple"] { background: linear-gradient(135deg, #0891b2, #22d3d1); }
.roadmap-card[data-color="orange"] { background: linear-gradient(135deg, #e67e22, #f39c12); }

/* Right column: Winding path visualization */
.roadmap-path {
  position: relative;
  min-height: 750px;
  height: 100%;
}

/* SVG winding path */
.roadmap-path svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.roadmap-path svg .path-line {
  fill: none;
  stroke: url(#pathGradient);
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Numbered milestone circles on the path */
.path-milestone {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 4px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Position milestones along the winding path - using specific classes */
.path-milestone.milestone-1 {
  left: 30px;
  top: 35px;
  border-color: #ec4899;
  color: #ec4899;
}

.path-milestone.milestone-2 {
  right: 30px;
  top: 160px;
  border-color: #f59e0b;
  color: #f59e0b;
}

.path-milestone.milestone-3 {
  left: 30px;
  top: 290px;
  border-color: #10b981;
  color: #10b981;
}

.path-milestone.milestone-4 {
  right: 30px;
  top: 420px;
  border-color: #3b82f6;
  color: #3b82f6;
}

.path-milestone.milestone-5 {
  left: 30px;
  top: 550px;
  border-color: #0891b2;
  color: #0891b2;
}

.path-milestone.milestone-6 {
  right: 30px;
  top: 680px;
  border-color: #e67e22;
  color: #e67e22;
}

/* Small connector dots on the path */
.path-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid #d1d5db;
  z-index: 5;
}

/* Roadmap Responsive */
@media (max-width: 768px) {
  .roadmap-infographic {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .roadmap-path {
    display: none;
  }

  .roadmap-card:first-child {
    border-radius: var(--radius-lg);
  }

  .roadmap-card:last-child {
    border-radius: var(--radius-lg);
  }

  .roadmap-card {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
  }
}

/* ===== Rejection Journey Card ===== */
.rejection-journey-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 380px;
}

.journey-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-lg);
}

.journey-header i {
  font-size: 1.5rem;
  color: var(--white);
}

.journey-header span {
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
}

.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.journey-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
}

.journey-step:hover {
  transform: translateX(4px);
}

.journey-step .step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.journey-step.rejected .step-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.journey-step.approved .step-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.journey-step .step-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journey-step .step-date {
  font-size: 0.75rem;
  color: var(--gray-200);
  font-weight: 500;
}

.journey-step.rejected .step-label {
  color: #fca5a5;
  font-size: 0.875rem;
  font-weight: 500;
}

.journey-step.approved .step-label {
  color: #86efac;
  font-size: 0.875rem;
  font-weight: 600;
}

.journey-footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-stat {
  font-size: 0.8rem;
  color: var(--gray-200);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

/* Mobile responsive for journey card */
@media (max-width: 1024px) {
  .rejection-journey-card {
    max-width: 100%;
    margin-top: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .rejection-journey-card {
    padding: var(--space-md);
  }

  .journey-footer {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
}

/* Improved Ripped Paper Effect */
.code-snippet-ripped .ripped-content {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  padding: var(--space-xl) var(--space-2xl);
  position: relative;
  box-shadow:
    inset 0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 -10px 30px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.3);
}

/* CTA Box */
.cta-box {
  background: var(--gradient-1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
}

.cta-box .btn {
  background: white;
  color: var(--primary);
}

.cta-box .btn:hover {
  background: var(--gray-100);
}

/* Divider with Icon */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-divider i {
  color: var(--primary-light);
  font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-section-card {
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
  }

  .section-header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .section-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
  }

  .agent-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-row {
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .metric-item .value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .agent-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Fix code snippet ripped negative margin overflow on mobile */
  .code-snippet-ripped {
    margin-left: 0;
    margin-right: 0;
  }

  .code-snippet-ripped .ripped-content {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
  }

  .code-snippet-ripped pre {
    font-size: 0.8rem;
  }

  /* Comparison boxes stack on mobile */
  .comparison-container {
    flex-direction: column;
    gap: var(--space-md);
  }

  .comparison-box {
    width: 100%;
  }
}

/* ===== Blog Enhancement Styles ===== */

/* Founder Intro Section */
.founder-card {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl);
  text-align: center;
  border-left: 4px solid var(--primary);
}

.founder-quote {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.founder-name {
  font-weight: 600;
  color: var(--gray-900);
}

.founder-context {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Who This Is For Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.audience-card {
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.audience-card:hover {
  transform: translateY(-4px);
}

.audience-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  display: block;
}

.audience-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.audience-card p {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Failure Stories Section */
.failure-card {
  border-left: 4px solid var(--warning);
}

.badge-failure {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: white !important;
}

.failure-lesson {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.failure-lesson strong {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--warning);
}

.key-insight strong {
  font-family: var(--font-accent);
  font-size: 1.2rem;
}

/* Social Proof Section */
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.proof-card {
  padding: var(--space-xl);
  text-align: center;
}

.proof-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.proof-rating i {
  color: #fbbf24;
  font-size: 1.25rem;
}

.proof-rating span {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-left: var(--space-sm);
}

.proof-stat {
  margin-bottom: var(--space-md);
}

.proof-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.proof-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.proof-source {
  font-size: 0.8125rem;
  color: var(--gray-200);
  font-style: italic;
}

/* CTA Buttons Row */
.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .audience-grid,
  .social-proof-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    padding: var(--space-lg);
  }

  .founder-quote {
    font-size: 1.125rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Section Transitions */
.section-transition {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-600);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: var(--space-2xl);
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar i {
  font-size: 4rem;
  color: var(--primary);
}

.author-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.author-info p {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.author-links {
  display: flex;
  gap: var(--space-lg);
}

.author-links a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color 0.2s ease;
}

.author-links a:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }
}

/* ===== FEATURE CARDS (App Pages) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Info Grid (What to Expect sections) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.info-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.info-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.info-card h4 i {
  color: var(--primary);
}

.info-card p {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 0.9rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card li {
  color: var(--gray-800);
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  line-height: 1.5;
}

.info-card ul li {
  color: var(--gray-800);
}

/* How It Works Grid */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: var(--space-xl);
}

.how-step {
  text-align: center;
  padding: 0 var(--space-lg);
  border-right: 1px solid var(--gray-200);
}

.how-step:last-child {
  border-right: none;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.how-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.how-step p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA Card */
.cta-card {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #b45309 0%, #92400e 50%, #78350f 100%);
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.cta-card .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-card .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-card .stat-label {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
  display: block;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .how-it-works-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .how-step {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: var(--space-lg);
  }

  .how-step:nth-child(2),
  .how-step:nth-child(4) {
    border-right: none;
  }

  .how-step:nth-child(3),
  .how-step:nth-child(4) {
    border-bottom: none;
  }

  .cta-card {
    padding: var(--space-xl);
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .author-links {
    justify-content: center;
  }
}

/* ===== Paint Splash Effects for Family Color Fun ===== */
.paint-splash {
  position: relative;
  overflow: visible;
}

.paint-splash::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50% 40% 60% 30%;
  opacity: 0.8;
  z-index: 0;
  transition: transform 0.3s ease;
}

.paint-splash::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 40px;
  height: 40px;
  border-radius: 30% 60% 40% 50%;
  opacity: 0.6;
  z-index: 0;
  transition: transform 0.3s ease;
}

.paint-splash:hover::before {
  transform: scale(1.2) rotate(10deg);
}

.paint-splash:hover::after {
  transform: scale(1.15) rotate(-5deg);
}

/* Color variants - Primary splash */
.paint-splash-pink::before { background: linear-gradient(135deg, #fa709a, #fee140); }
.paint-splash-cyan::before { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.paint-splash-purple::before { background: linear-gradient(135deg, #a855f7, #ec4899); }
.paint-splash-green::before { background: linear-gradient(135deg, #10b981, #6ee7b7); }
.paint-splash-orange::before { background: linear-gradient(135deg, #f97316, #fbbf24); }
.paint-splash-yellow::before { background: linear-gradient(135deg, #fbbf24, #fee140); }

/* Color variants - Secondary splash (complementary colors) */
.paint-splash-pink::after { background: linear-gradient(135deg, #fee140, #fa709a); }
.paint-splash-cyan::after { background: linear-gradient(135deg, #00f2fe, #4facfe); }
.paint-splash-purple::after { background: linear-gradient(135deg, #ec4899, #a855f7); }
.paint-splash-green::after { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.paint-splash-orange::after { background: linear-gradient(135deg, #fbbf24, #f97316); }
.paint-splash-yellow::after { background: linear-gradient(135deg, #fee140, #fbbf24); }

/* Position variations for random splash placement */
.splash-pos-1::before { top: -10px; right: -10px; left: auto; bottom: auto; }
.splash-pos-1::after { bottom: -8px; left: -8px; top: auto; right: auto; }

.splash-pos-2::before { top: -10px; left: -10px; right: auto; bottom: auto; }
.splash-pos-2::after { bottom: -8px; right: -8px; top: auto; left: auto; }

.splash-pos-3::before { bottom: -10px; right: -10px; top: auto; left: auto; }
.splash-pos-3::after { top: -8px; left: -8px; bottom: auto; right: auto; }

.splash-pos-4::before { bottom: -10px; left: -10px; top: auto; right: auto; }
.splash-pos-4::after { top: -8px; right: -8px; bottom: auto; left: auto; }

.splash-pos-5::before { top: 50%; right: -15px; transform: translateY(-50%); left: auto; bottom: auto; }
.splash-pos-5::after { top: -8px; left: 50%; transform: translateX(-50%); bottom: auto; right: auto; }

.splash-pos-6::before { top: 50%; left: -15px; transform: translateY(-50%); right: auto; bottom: auto; }
.splash-pos-6::after { bottom: -8px; left: 50%; transform: translateX(-50%); top: auto; right: auto; }

/* ===== Gradient Accent Effects for Gospel Wisdom ===== */
/* Pink-coral spiritual theme */
.gospel-accent {
  position: relative;
  overflow: visible;
}

.gospel-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0891b2, #22c55e);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.9;
}

.gospel-accent:hover::before {
  height: 5px;
  opacity: 1;
}

/* Alternate gospel accent - bottom glow */
.gospel-accent-glow {
  position: relative;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.15);
  transition: box-shadow 0.3s ease;
}

.gospel-accent-glow:hover {
  box-shadow: 0 8px 30px rgba(8, 145, 178, 0.25);
}

/* ===== Gradient Accent Effects for MindfulLiving ===== */
/* Teal-cyan wellness theme */
.mindful-accent {
  position: relative;
  overflow: visible;
}

.mindful-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00b4db, #0083b0);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.9;
}

.mindful-accent:hover::before {
  height: 5px;
  opacity: 1;
}

/* Alternate mindful accent - bottom glow */
.mindful-accent-glow {
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 180, 219, 0.15);
  transition: box-shadow 0.3s ease;
}

.mindful-accent-glow:hover {
  box-shadow: 0 8px 30px rgba(0, 180, 219, 0.25);
}

/* ============================================
   MEDIUM-STYLE BLOG DESIGN SYSTEM
   ============================================ */

/* Medium Color Palette */
:root {
  /* Medium's color system */
  --medium-bg: #ffffff;
  --medium-bg-secondary: #f9f9f9;
  --medium-text: #242424;
  --medium-text-secondary: #6b6b6b;
  --medium-text-light: #757575;
  --medium-accent: #1a8917;
  --medium-accent-hover: #0f730c;
  --medium-border: rgba(0, 0, 0, 0.08);
  --medium-border-light: rgba(0, 0, 0, 0.05);

  /* Typography - Medium uses serif for body */
  --medium-font-serif: 'Georgia', 'Cambria', 'Times New Roman', Times, serif;
  --medium-font-sans: 'sohne', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --medium-font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;

  /* Medium spacing */
  --medium-content-width: 680px;
  --medium-wide-width: 1000px;
}

/* Medium Blog Container */
.medium-blog {
  background-color: var(--medium-bg);
  min-height: 100vh;
}

/* Medium-style Navigation */
.medium-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: var(--medium-bg);
  border-bottom: 1px solid var(--medium-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.medium-nav-container {
  max-width: 1192px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.medium-nav-logo {
  font-family: var(--medium-font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--medium-text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.medium-nav-link {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.medium-nav-link:hover {
  color: var(--medium-text);
}

.medium-nav-link.active {
  color: var(--medium-text);
}

/* Medium Blog Hero */
.medium-hero {
  padding: 100px 24px 60px;
  background: var(--medium-bg);
  border-bottom: 1px solid var(--medium-border);
}

.medium-hero-content {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  text-align: center;
}

.medium-hero h1 {
  font-family: var(--medium-font-serif);
  font-size: 46px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.medium-hero .subtitle {
  font-family: var(--medium-font-serif);
  font-size: 22px;
  color: var(--medium-text-secondary);
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto;
}

/* Medium Blog Feed */
.medium-feed {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* Medium Article Card */
.medium-article-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  margin-bottom: 24px;
}

.medium-article-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.medium-article-card:first-child {
  margin-top: 0;
}

.medium-article-content {
  flex: 1;
  min-width: 0;
}

.medium-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.medium-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D35400, #F39C12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.medium-author-name {
  font-family: var(--medium-font-sans);
  font-size: 13px;
  color: var(--medium-text);
  font-weight: 500;
}

.medium-article-card h2 {
  font-family: var(--medium-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.medium-article-card p {
  font-family: var(--medium-font-serif);
  font-size: 16px;
  color: var(--medium-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.curiosity-bullets {
  font-family: var(--medium-font-serif);
  font-size: 15px;
  color: var(--medium-text-secondary);
  line-height: 1.6;
  margin: 0 0 12px 0;
  padding-left: 18px;
  list-style: none;
}

.curiosity-bullets li {
  position: relative;
  margin-bottom: 6px;
}

.curiosity-bullets li::before {
  content: "→";
  position: absolute;
  left: -18px;
  color: #0891b2;
  font-weight: 600;
}

.medium-article-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.medium-article-date {
  font-family: var(--medium-font-sans);
  font-size: 13px;
  color: var(--medium-text-light);
}

.medium-article-tag {
  font-family: var(--medium-font-sans);
  font-size: 12px;
  color: var(--medium-text-secondary);
  background: var(--medium-bg-secondary);
  padding: 4px 10px;
  border-radius: 100px;
}

.medium-article-read-time {
  font-family: var(--medium-font-sans);
  font-size: 13px;
  color: var(--medium-text-light);
}

.medium-article-thumb {
  width: 200px;
  height: 134px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--medium-bg-secondary);
}

.medium-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Medium Featured Article */
.medium-featured {
  border-bottom: 1px solid var(--medium-border);
  margin-bottom: 0;
}

.medium-featured-inner {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.medium-featured-content h2 {
  font-family: var(--medium-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.medium-featured-content p {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  color: var(--medium-text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.medium-featured-image {
  aspect-ratio: 3/2;
  border-radius: 4px;
  overflow: hidden;
  background: var(--medium-bg-secondary);
}

.medium-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Medium Section Divider */
.medium-section-title {
  font-family: var(--medium-font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #0891b2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border-left: 4px solid #0891b2;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  margin-top: 48px;
}

.medium-section-title:first-of-type {
  margin-top: 0;
}

.section-note {
  font-family: var(--medium-font-serif);
  font-size: 15px;
  color: var(--medium-text-secondary);
  margin: -16px 0 24px 0;
  font-style: italic;
}

/* ===== MEDIUM ARTICLE PAGE ===== */

.medium-article-page {
  background-color: var(--medium-bg);
  padding-top: 65px;
}

/* Article Header */
.medium-article-header {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.medium-article-header h1 {
  font-family: var(--medium-font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.medium-article-header .subtitle {
  font-family: var(--medium-font-serif);
  font-size: 22px;
  color: var(--medium-text-secondary);
  line-height: 1.45;
  margin-bottom: 32px;
}

/* Author Info Bar */
.medium-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--medium-border-light);
}

.medium-author-bar .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D35400, #F39C12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.medium-author-bar .author-info {
  flex: 1;
}

.medium-author-bar .author-name {
  font-family: var(--medium-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--medium-text);
  margin-bottom: 2px;
}

.medium-author-bar .author-meta {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-light);
}

.medium-follow-btn {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--medium-accent);
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.medium-follow-btn:hover {
  background: var(--medium-accent-hover);
}

/* Hero Image */
.medium-hero-image {
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.medium-hero-image img {
  width: 100%;
  border-radius: 4px;
}

.medium-hero-image figcaption {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-light);
  text-align: center;
  margin-top: 12px;
}

/* Article Body */
.medium-article-body {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.medium-article-body p {
  font-family: var(--medium-font-serif);
  font-size: 21px;
  color: var(--medium-text);
  line-height: 1.58;
  margin-bottom: 32px;
  letter-spacing: -0.003em;
}

.medium-article-body h2 {
  font-family: var(--medium-font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.25;
  margin: 56px 0 24px;
  letter-spacing: -0.5px;
}

.medium-article-body h3 {
  font-family: var(--medium-font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--medium-text);
  line-height: 1.3;
  margin: 48px 0 16px;
}

.medium-article-body h4 {
  font-family: var(--medium-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--medium-text);
  line-height: 1.4;
  margin: 40px 0 12px;
}

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

.medium-article-body a {
  color: var(--medium-accent);
  text-decoration: underline;
}

.medium-article-body a:hover {
  color: var(--medium-accent-hover);
}

.medium-article-body ul,
.medium-article-body ol {
  font-family: var(--medium-font-serif);
  font-size: 21px;
  color: var(--medium-text);
  line-height: 1.58;
  margin: 0 0 32px 24px;
  padding-left: 20px;
}

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

.medium-article-body li::marker {
  color: var(--medium-text-light);
}

/* Medium Blockquote */
.medium-article-body blockquote {
  font-family: var(--medium-font-serif);
  font-size: 24px;
  font-style: italic;
  color: var(--medium-text);
  line-height: 1.48;
  border-left: 3px solid var(--medium-text);
  margin: 48px 0 48px -24px;
  padding-left: 24px;
}

/* Medium Code Block */
.medium-code-block {
  background: #1e1e1e;
  border-radius: 6px;
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.medium-code-block pre {
  margin: 0;
  font-family: var(--medium-font-mono);
  font-size: 15px;
  line-height: 1.65;
  color: #d4d4d4;
}

.medium-code-block code {
  font-family: inherit;
}

/* Inline code */
.medium-article-body code:not(pre code) {
  font-family: var(--medium-font-mono);
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--medium-text);
}

/* Medium Callout */
.medium-callout {
  background: var(--medium-bg-secondary);
  border-left: 3px solid var(--medium-accent);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}

.medium-callout p {
  font-size: 18px;
  margin: 0;
}

.medium-callout strong {
  color: var(--medium-accent);
}

/* Medium Image */
.medium-article-body figure {
  margin: 48px 0;
}

.medium-article-body figure img {
  width: 100%;
  border-radius: 4px;
}

.medium-article-body figcaption {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-light);
  text-align: center;
  margin-top: 12px;
}

/* Wide image */
.medium-article-body figure.wide {
  margin-left: -100px;
  margin-right: -100px;
  max-width: calc(100% + 200px);
}

/* Medium Divider */
.medium-divider {
  text-align: center;
  margin: 56px 0;
  color: var(--medium-text-light);
  font-size: 24px;
  letter-spacing: 8px;
}

/* Article Tags */
.medium-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0;
  padding-top: 32px;
  border-top: 1px solid var(--medium-border-light);
}

.medium-article-tags a {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-secondary);
  background: var(--medium-bg-secondary);
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.medium-article-tags a:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Article Actions */
.medium-article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--medium-border-light);
  border-bottom: 1px solid var(--medium-border-light);
  margin-bottom: 48px;
}

.medium-clap-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.medium-clap-btn:hover {
  color: var(--medium-text);
}

.medium-clap-btn svg {
  width: 24px;
  height: 24px;
}

.medium-share-btns {
  display: flex;
  gap: 16px;
}

.medium-share-btn {
  color: var(--medium-text-light);
  transition: color 0.15s ease;
}

.medium-share-btn:hover {
  color: var(--medium-text);
}

/* Author Card */
.medium-author-card {
  display: flex;
  gap: 16px;
  padding: 32px;
  background: var(--medium-bg-secondary);
  border-radius: 8px;
  margin: 48px 0;
}

.medium-author-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D35400, #F39C12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 600;
  flex-shrink: 0;
}

.medium-author-card .info h4 {
  font-family: var(--medium-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--medium-text);
  margin-bottom: 8px;
}

.medium-author-card .info p {
  font-family: var(--medium-font-serif);
  font-size: 16px;
  color: var(--medium-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* More Articles */
.medium-more-articles {
  border-top: 1px solid var(--medium-border);
  padding: 48px 24px;
  background: var(--medium-bg);
}

.medium-more-articles-inner {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
}

.medium-more-articles h3 {
  font-family: var(--medium-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--medium-text);
  margin-bottom: 24px;
}

.medium-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.medium-more-card {
  text-decoration: none;
}

.medium-more-card h4 {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.medium-more-card p {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text-light);
}

/* Medium Footer */
.medium-footer {
  background: var(--medium-text);
  color: white;
  padding: 48px 24px;
}

.medium-footer-content {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.medium-footer-logo {
  font-family: var(--medium-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.medium-footer-links {
  display: flex;
  gap: 24px;
}

.medium-footer-links a {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.medium-footer-links a:hover {
  color: white;
}

/* Privacy Badge - No Cookies Banner (Footer) */
.privacy-badge {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-badge span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--medium-font-sans);
}

.privacy-badge i {
  font-size: 14px;
  color: #10b981;
}

/* Header Privacy Badge - Top right under nav */
.header-privacy-badge {
  position: fixed;
  top: 70px;
  right: 20px;
  display: flex;
  gap: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 999;
  backdrop-filter: blur(10px);
}

.header-privacy-badge span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gray-500);
  font-family: var(--medium-font-sans);
  white-space: nowrap;
}

.header-privacy-badge i {
  font-size: 11px;
  color: #10b981;
}

@media (max-width: 768px) {
  .header-privacy-badge {
    top: unset;
    bottom: 80px;
    right: 10px;
    left: 10px;
    justify-content: center;
    padding: 6px 12px;
    gap: 12px;
  }

  .header-privacy-badge span {
    font-size: 10px;
  }
}

/* Medium Responsive */
@media (max-width: 904px) {
  .medium-featured-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .medium-featured-image {
    order: -1;
  }

  .medium-more-grid {
    grid-template-columns: 1fr 1fr;
  }

  .medium-article-body figure.wide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 728px) {
  .medium-nav {
    padding: 0 16px;
  }

  .medium-hero {
    padding: 80px 16px 40px;
  }

  .medium-hero h1 {
    font-size: 32px;
  }

  .medium-hero .subtitle {
    font-size: 18px;
  }

  .medium-article-card {
    flex-direction: column-reverse;
    gap: 16px;
    padding: 20px;
  }

  .medium-article-thumb {
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }

  .medium-article-card h2 {
    font-size: 18px;
  }

  .medium-section-title {
    font-size: 12px;
    padding: 10px 16px;
  }

  .medium-article-header h1 {
    font-size: 28px;
  }

  .medium-article-header .subtitle {
    font-size: 18px;
  }

  .medium-article-body p,
  .medium-article-body ul,
  .medium-article-body ol {
    font-size: 18px;
  }

  .medium-article-body h2 {
    font-size: 22px;
  }

  .medium-article-body blockquote {
    font-size: 20px;
    margin-left: 0;
    padding-left: 20px;
  }

  .medium-more-grid {
    grid-template-columns: 1fr;
  }

  .medium-footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .medium-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .privacy-badge {
    flex-wrap: wrap;
    gap: 16px;
  }

  .privacy-badge span {
    font-size: 12px;
  }
}

@media (max-width: 551px) {
  .medium-nav-links {
    display: none;
  }

  .medium-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--medium-bg);
    border-bottom: 1px solid var(--medium-border);
    padding: 16px 24px;
    gap: 16px;
  }
}

/* Mobile menu toggle for Medium nav */
.medium-nav .nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.medium-nav .nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--medium-text);
  transition: all 0.3s ease;
}

@media (max-width: 551px) {
  .medium-nav .nav-toggle {
    display: flex;
  }
}

/* ===== Quick Reads Medium Style ===== */
.medium-quick-reads {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--medium-border);
}

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

.medium-quick-card {
  background: var(--medium-bg-secondary);
  padding: 24px;
  border-radius: 4px;
}

.medium-quick-card h4 {
  font-family: var(--medium-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--medium-text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.medium-quick-card p {
  font-family: var(--medium-font-serif);
  font-size: 15px;
  color: var(--medium-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.medium-quick-card .tag {
  font-family: var(--medium-font-sans);
  font-size: 12px;
  color: var(--medium-accent);
  font-weight: 500;
}

@media (max-width: 768px) {
  .medium-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Founder Section Medium Style ===== */
.medium-founder-section {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.medium-founder-quote {
  font-family: var(--medium-font-serif);
  font-size: 24px;
  font-style: italic;
  color: var(--medium-text);
  line-height: 1.5;
  margin-bottom: 24px;
}

.medium-founder-meta {
  font-family: var(--medium-font-sans);
  font-size: 15px;
  color: var(--medium-text-secondary);
}

/* ===== CTA Section Medium Style ===== */
.medium-cta-section {
  background: var(--medium-bg-secondary);
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--medium-border);
}

.medium-cta-content {
  max-width: 520px;
  margin: 0 auto;
}

.medium-cta-content h2 {
  font-family: var(--medium-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--medium-text);
  margin-bottom: 12px;
}

.medium-cta-content p {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  color: var(--medium-text-secondary);
  margin-bottom: 24px;
}

.medium-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--medium-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: white;
  background: var(--medium-accent);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.medium-cta-btn:hover {
  background: var(--medium-accent-hover);
}

/* ===== Failure Cards Medium Style ===== */
.medium-failure-section {
  background: var(--medium-bg-secondary);
  padding: 64px 24px;
  border-top: 1px solid var(--medium-border);
}

.medium-failure-inner {
  max-width: var(--medium-wide-width);
  margin: 0 auto;
}

.medium-failure-header {
  text-align: center;
  margin-bottom: 40px;
}

.medium-failure-header h2 {
  font-family: var(--medium-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--medium-text);
  margin-bottom: 8px;
}

.medium-failure-header p {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  color: var(--medium-text-secondary);
}

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

.medium-failure-card {
  background: white;
  padding: 28px;
  border-radius: 4px;
  border: 1px solid var(--medium-border);
}

.medium-failure-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--medium-font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 16px;
}

.medium-failure-card h3 {
  font-family: var(--medium-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--medium-text);
  margin-bottom: 12px;
  line-height: 1.35;
}

.medium-failure-card p {
  font-family: var(--medium-font-serif);
  font-size: 16px;
  color: var(--medium-text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.medium-failure-card .lesson {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  color: var(--medium-text);
  padding: 12px;
  background: var(--medium-bg-secondary);
  border-radius: 4px;
}

.medium-failure-card .lesson strong {
  color: var(--medium-accent);
}

@media (max-width: 904px) {
  .medium-failure-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .medium-failure-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MEDIUM-STYLE LEGAL PAGES ===== */

.medium-legal-page {
  background: var(--medium-bg);
  padding-top: 65px;
  min-height: 100vh;
}

.medium-legal-header {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  border-bottom: 1px solid var(--medium-border-light);
}

.medium-legal-header h1 {
  font-family: var(--medium-font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.medium-legal-header .effective-date {
  font-family: var(--medium-font-sans);
  font-size: 15px;
  color: var(--medium-text-light);
}

.medium-legal-body {
  max-width: var(--medium-content-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.medium-legal-body p {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  color: var(--medium-text);
  line-height: 1.58;
  margin-bottom: 24px;
}

.medium-legal-body h2 {
  font-family: var(--medium-font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--medium-text);
  line-height: 1.25;
  margin: 48px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--medium-border-light);
}

.medium-legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.medium-legal-body h3 {
  font-family: var(--medium-font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--medium-text);
  line-height: 1.3;
  margin: 32px 0 16px;
}

.medium-legal-body h4 {
  font-family: var(--medium-font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--medium-text);
  line-height: 1.4;
  margin: 24px 0 12px;
}

.medium-legal-body strong {
  font-weight: 700;
  color: var(--medium-text);
}

.medium-legal-body a {
  color: var(--medium-accent);
  text-decoration: underline;
}

.medium-legal-body a:hover {
  color: var(--medium-accent-hover);
}

.medium-legal-body ul,
.medium-legal-body ol {
  font-family: var(--medium-font-serif);
  font-size: 18px;
  color: var(--medium-text);
  line-height: 1.58;
  margin: 0 0 24px 0;
  padding-left: 28px;
}

.medium-legal-body li {
  margin-bottom: 12px;
}

.medium-legal-body li ul,
.medium-legal-body li ol {
  margin-top: 12px;
  margin-bottom: 0;
}

.medium-legal-body li::marker {
  color: var(--medium-text-light);
}

/* Legal callout box */
.medium-legal-callout {
  background: var(--medium-bg-secondary);
  border-left: 3px solid var(--medium-accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.medium-legal-callout p {
  font-size: 16px;
  margin: 0;
}

/* Legal warning box */
.medium-legal-warning {
  background: #fff3cd;
  border-left: 3px solid #856404;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.medium-legal-warning p {
  font-size: 16px;
  margin: 0;
  color: #856404;
}

/* Legal important box */
.medium-legal-important {
  background: #f8f9fa;
  border: 1px solid var(--medium-border);
  padding: 24px;
  margin: 24px 0;
  border-radius: 4px;
}

.medium-legal-important p {
  font-size: 16px;
  margin: 0;
}

/* Legal table */
.medium-legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--medium-font-sans);
  font-size: 14px;
}

.medium-legal-body table th,
.medium-legal-body table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--medium-border);
}

.medium-legal-body table th {
  background: var(--medium-bg-secondary);
  font-weight: 600;
  color: var(--medium-text);
}

.medium-legal-body table td {
  color: var(--medium-text-secondary);
}

/* TOC for legal pages */
.medium-legal-toc {
  background: var(--medium-bg-secondary);
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 48px;
}

.medium-legal-toc h3 {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--medium-text);
  margin: 0 0 16px 0;
}

.medium-legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.medium-legal-toc a {
  font-family: var(--medium-font-sans);
  font-size: 15px;
  color: var(--medium-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.medium-legal-toc a:hover {
  color: var(--medium-accent);
}

/* ===== HOP-SCOTCH DUAL PERSPECTIVE LAYOUT ===== */

/* Container for dual perspective sections */
.hopscotch-section {
  margin: 48px 0;
}

.hopscotch-section-title {
  font-family: var(--medium-font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--medium-text-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--medium-border-light);
}

/* The dual perspective grid */
.hopscotch-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--medium-border);
  align-items: stretch; /* Equal height boxes */
}

/* Individual perspective boxes */
.hopscotch-perspective {
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px; /* Minimum consistent height */
}

.hopscotch-perspective.engineering {
  background: white;
  border-right: 1px solid var(--medium-border);
}

.hopscotch-perspective.product {
  background: white;
}

/* Perspective headers */
.hopscotch-perspective-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hopscotch-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hopscotch-perspective.engineering .hopscotch-icon {
  background: #0ea5e9;
  color: white;
}

.hopscotch-perspective.product .hopscotch-icon {
  background: #f59e0b;
  color: white;
}

.hopscotch-perspective-label {
  font-family: var(--medium-font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hopscotch-perspective.engineering .hopscotch-perspective-label {
  color: #0369a1;
}

.hopscotch-perspective.product .hopscotch-perspective-label {
  color: #b45309;
}

/* Content inside perspectives */
.hopscotch-perspective h4 {
  font-family: var(--medium-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--medium-text);
  margin-bottom: 12px;
  line-height: 1.35;
}

.hopscotch-perspective p {
  font-family: var(--medium-font-serif);
  font-size: 16px;
  color: var(--medium-text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.hopscotch-perspective p:last-child {
  margin-bottom: 0;
}

.hopscotch-perspective ul {
  font-family: var(--medium-font-serif);
  font-size: 15px;
  color: var(--medium-text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-left: 20px;
}

.hopscotch-perspective li {
  margin-bottom: 8px;
}

/* The "vs" connector between perspectives */
.hopscotch-vs {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: white;
  border: 2px solid var(--medium-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--medium-font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--medium-text-light);
  z-index: 10;
}

/* Decision outcome box */
.hopscotch-outcome {
  background: var(--medium-bg-secondary);
  border: 1px solid var(--medium-border);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.hopscotch-outcome-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hopscotch-outcome-header span {
  font-family: var(--medium-font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--medium-accent);
}

.hopscotch-outcome p {
  font-family: var(--medium-font-serif);
  font-size: 17px;
  color: var(--medium-text);
  line-height: 1.55;
  margin: 0;
}

/* Engineering always left, Product always right - consistent layout */
/* (Removed flip classes for uniform appearance) */

/* Single unified section (no dual perspective) */
.hopscotch-unified {
  background: white;
  border: 1px solid var(--medium-border);
  border-radius: 8px;
  padding: 28px;
  margin: 32px 0;
}

.hopscotch-unified h4 {
  font-family: var(--medium-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--medium-text);
  margin-bottom: 12px;
}

.hopscotch-unified p {
  font-family: var(--medium-font-serif);
  font-size: 17px;
  color: var(--medium-text);
  line-height: 1.58;
  margin-bottom: 16px;
}

/* Code block inside hopscotch */
.hopscotch-code {
  background: #1e1e1e;
  border-radius: 6px;
  padding: 16px;
  margin: 16px 0;
  overflow-x: auto;
}

.hopscotch-code pre {
  margin: 0;
  font-family: var(--medium-font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #d4d4d4;
}

/* Metrics comparison */
.hopscotch-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.hopscotch-metric {
  text-align: center;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--medium-border);
}

.hopscotch-metric-value {
  font-family: var(--medium-font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--medium-accent);
  display: block;
}

.hopscotch-metric-label {
  font-family: var(--medium-font-sans);
  font-size: 12px;
  color: var(--medium-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .hopscotch-dual {
    grid-template-columns: 1fr;
  }

  .hopscotch-perspective.engineering {
    border-right: none;
    border-bottom: 1px solid var(--medium-border);
  }

  .hopscotch-vs {
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: -18px;
  }

  .hopscotch-perspective.engineering {
    padding-bottom: 36px;
  }

  .hopscotch-perspective.product {
    padding-top: 36px;
  }

  .hopscotch-metrics {
    grid-template-columns: 1fr;
  }
}

/* Legal page responsive */
@media (max-width: 728px) {
  .medium-legal-header h1 {
    font-size: 32px;
  }

  .medium-legal-body p,
  .medium-legal-body ul,
  .medium-legal-body ol {
    font-size: 16px;
  }

  .medium-legal-body h2 {
    font-size: 22px;
  }

  .medium-legal-body h3 {
    font-size: 18px;
  }

  .medium-legal-body table {
    font-size: 12px;
  }

  .medium-legal-body table th,
  .medium-legal-body table td {
    padding: 8px 10px;
  }
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: transparent;
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  border-radius: var(--radius-lg);
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide.fade-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
}

.carousel-slide.fade-in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-carousel {
    max-width: 300px;
  }

  .carousel-slides {
    aspect-ratio: 1/1;
  }
}

/* ===== Locked Blog Cards ===== */
/* Locked cards - show content normally, just add lock badge */
.medium-article-card.locked,
.blog-preview-card.locked {
  position: relative;
  cursor: pointer;
}

.medium-article-card.locked:hover,
.blog-preview-card.locked:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Lock badge on preview cards */
.lock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.lock-badge i {
  color: white;
  font-size: 14px;
}

/* Locked Blog Modal */
.locked-blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.locked-blog-modal.show {
  opacity: 1;
  visibility: visible;
}

.locked-blog-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.locked-blog-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.locked-blog-modal.show .locked-blog-modal-content {
  transform: scale(1);
}

.locked-blog-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s;
}

.locked-blog-modal-close:hover {
  color: var(--gray-700);
}

.locked-blog-modal-content > i.fa-lock {
  font-size: 3rem;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.locked-blog-modal-content h3 {
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.locked-blog-modal-content .unlock-date {
  color: var(--gray-600);
  margin-bottom: 8px;
}

.locked-blog-modal-content .notify-text {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.locked-blog-modal-content .notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.locked-blog-modal-content .notify-form input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
}

.locked-blog-modal-content .notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

.locked-blog-modal-content .notify-form button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #D35400 0%, #F39C12 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.locked-blog-modal-content .notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

.locked-blog-modal-content .notify-form.hidden {
  display: none;
}

.locked-blog-modal-content .notify-success {
  display: none;
  color: #16a34a;
  font-weight: 600;
  padding: 16px;
}

.locked-blog-modal-content .notify-success.show {
  display: block;
}

.locked-blog-modal-content .notify-success i {
  margin-right: 8px;
}

/* Waitlist Modal (for app pages) */
.waitlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.waitlist-modal.show {
  opacity: 1;
  visibility: visible;
}

.waitlist-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.waitlist-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.waitlist-modal.show .waitlist-modal-content {
  transform: scale(1);
}

.waitlist-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s;
}

.waitlist-modal-close:hover {
  color: var(--gray-700);
}

.waitlist-modal-content > i.fa-bell {
  font-size: 3rem;
  color: #0891b2;
  margin-bottom: 16px;
}

.waitlist-modal-content h3 {
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.waitlist-modal-content .waitlist-text {
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.5;
}

.waitlist-modal-content .waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-modal-content .waitlist-form input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
}

.waitlist-modal-content .waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.waitlist-modal-content .waitlist-form button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #0891b2 0%, #22c55e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.waitlist-modal-content .waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.waitlist-modal-content .waitlist-form.hidden {
  display: none;
}

.waitlist-modal-content .waitlist-success {
  display: none;
  color: #16a34a;
  font-weight: 600;
  padding: 16px;
}

.waitlist-modal-content .waitlist-success.show {
  display: block;
}

.waitlist-modal-content .waitlist-success i {
  margin-right: 8px;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: inherit;
  z-index: 10;
  padding: 24px;
  text-align: center;
}

.lock-overlay i.fa-lock {
  font-size: 2rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.lock-overlay .coming-soon {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.lock-overlay .unlock-date {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* Email notification form on locked cards */
.lock-overlay .notify-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

.lock-overlay .notify-form input[type="email"] {
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.2s;
}

.lock-overlay .notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

.lock-overlay .notify-form button {
  padding: 10px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.lock-overlay .notify-form button:hover {
  background: var(--primary-dark);
}

.lock-overlay .notify-form button:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
}

.lock-overlay .notify-success {
  color: var(--success);
  font-size: 0.9rem;
  display: none;
}

.lock-overlay .notify-success.show {
  display: block;
}

.lock-overlay .notify-form.hidden {
  display: none;
}

@media (max-width: 768px) {
  .lock-overlay {
    padding: 16px;
  }

  .lock-overlay i.fa-lock {
    font-size: 1.5rem;
  }

  .lock-overlay .coming-soon {
    font-size: 1rem;
  }

  .lock-overlay .notify-form {
    max-width: 100%;
  }
}

/* ===== Insight Carousel (Product Insights & Engineering Tips) ===== */
.insight-carousel {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.insight-carousel-track {
  display: flex;
  transition: none;
}

.insight-carousel-slide {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  min-width: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.insight-carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* Carousel Navigation Dots */
.insight-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.insight-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.insight-carousel-dot:hover {
  background: #9ca3af;
}

.insight-carousel-dot.active {
  background: #0891b2;
  transform: scale(1.2);
}

/* Carousel Arrow Controls */
.insight-carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.insight-carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 14px;
}

.insight-carousel-arrow:hover {
  background: #f3f4f6;
  color: #0891b2;
  border-color: #0891b2;
}

/* Responsive: 3 cards per slide on tablet */
@media (max-width: 1024px) {
  .insight-carousel-slide {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive: 2 cards per slide on mobile */
@media (max-width: 768px) {
  .insight-carousel-slide {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-carousel {
    min-height: 200px;
  }
}

/* Responsive: 1 card per slide on small mobile */
@media (max-width: 480px) {
  .insight-carousel-slide {
    grid-template-columns: 1fr;
  }

  .insight-carousel {
    min-height: 160px;
  }
}
