/* CSS Custom Properties - UI/UX Optimized Sage Green Palette */
:root {
  /* Core Brand Colors */
  --primary-color: #9CAF88;      /* Rich Sage Green (improved contrast) */
  --secondary-color: #CADCAE;    /* Soft Sage Green (user specified) */
  --tertiary-color: #E1E9C9;     /* Light Cream Green (user specified) */

  /* Enhanced Color Variations for UX */
  --primary-dark: #7A946E;       /* Darker sage for high contrast text */
  --primary-light: #D4E2C5;      /* Lighter sage for subtle accents */
  --secondary-light: #F0F4EB;    /* Very light cream for backgrounds */

  /* Interactive States */
  --primary-hover: #8BA077;      /* Hover state for primary */
  --primary-active: #6E8A5C;     /* Active state for primary */
  --border-light: #E8F0E3;       /* Very light sage for borders */

  /* Semantic Colors - UX Optimized */
  --success-color: #7A946E;      /* Deep sage for success (high contrast) */
  --warning-color: #B8A86E;      /* Warm amber for warnings */
  --error-color: #C66;           /* Accessible red */
  --info-color: #6B9AC4;         /* Accessible blue */

  /* Text Colors - WCAG AA Compliant */
  --text-primary: #1A2A1A;       /* Dark forest green (excellent contrast) */
  --text-secondary: #3A4A3A;     /* Medium forest green */
  --text-muted: #5A6A5A;         /* Light forest green */
  --text-accent: #7A946E;        /* Primary dark for accents */
  --text-on-primary: #FFFFFF;    /* White text on sage backgrounds */

  /* Background Colors - Subtle Layered System */
  --bg-primary: #FFFFFF;         /* Pure white for main content */
  --bg-secondary: #FEFEFC;       /* Off-white for subtle variation */
  --bg-tertiary: #F8F9F4;        /* Very light cream */
  --bg-surface: #FFFFFF;         /* Pure white for surfaces */
  --bg-overlay: rgba(255, 255, 255, 0.98);

  /* Section Backgrounds - Subtle Variations */
  --bg-hero: #FEFEFC;            /* Very subtle cream for hero */
  --bg-features: #F8F9F4;        /* Light cream for features */
  --bg-demo: #F0F4EB;            /* Light sage for demo */
  --bg-footer: #FEFEFC;          /* Subtle cream for footer */

  /* Glass Effects - Enhanced */
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-subtle: rgba(248, 249, 244, 0.8);

  /* Button Colors - UX Optimized */
  --btn-primary: #9CAF88;        /* Rich sage for primary buttons */
  --btn-primary-hover: #8BA077;  /* Slightly darker on hover */
  --btn-secondary: #FFFFFF;      /* White for secondary */
  --btn-secondary-border: #CADCAE; /* Sage border */

  /* Interactive States */
  --hover-bg: rgba(202, 220, 174, 0.08);
  --active-bg: rgba(202, 220, 174, 0.15);
  --focus-ring: rgba(154, 175, 136, 0.5);

  /* Border Colors */
  --border-color: rgba(154, 175, 136, 0.2);
  --border-hover: rgba(154, 175, 136, 0.4);

  --border-radius: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  background: var(--bg-primary);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Three.js Canvas */
canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.gradient-text {
  color: var(--primary-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(202, 220, 174, 0.2);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary-dark);
  background: rgba(202, 220, 174, 0.08);
}

.nav-cta .btn-primary {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--btn-primary);
  color: var(--text-on-primary);
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(154, 175, 136, 0.25);
  transform: translateY(0);
  position: relative;
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(154, 175, 136, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(154, 175, 136, 0.1);
}

.btn-primary:focus {
  outline: none;
  box-shadow:
    0 2px 8px rgba(154, 175, 136, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 0 0 3px var(--focus-ring);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--primary-active);
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.2) 60%,
    transparent 80%,
    transparent 100%
  );
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  opacity: 0;
}

.btn-primary:hover::before {
  left: 100%;
  opacity: 1;
}

.btn-primary.large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary.large:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Icon animations */
.btn-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover .btn-icon {
  transform: translateX(3px);
}

/* Attention-grabbing pulse for CTA button */
@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 2px 8px rgba(154, 175, 136, 0.25),
      0 1px 3px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.02);
    box-shadow:
      0 4px 16px rgba(154, 175, 136, 0.3),
      0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

.cta .btn-primary {
  animation: cta-pulse 4s ease-in-out infinite;
  animation-delay: 1s;
}

.cta .btn-primary:hover {
  animation-play-state: paused;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--btn-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--btn-secondary-border);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: var(--hover-bg);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(202, 220, 174, 0.2);
}

.btn-secondary:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 3px var(--focus-ring);
}

.btn-secondary:active {
  background: var(--active-bg);
  transform: translateY(0);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  background: var(--bg-hero);
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(202, 220, 174, 0.1);
  color: var(--primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(202, 220, 174, 0.3);
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--highlight-color);
  margin-bottom: 0.5rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 1s ease-out 1s both;
}

.floating-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.floating-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  border: 1px solid rgba(202, 220, 174, 0.2);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
}

.code-card .floating-card {
  animation-delay: 0s;
}

.result-card .floating-card {
  animation-delay: 1s;
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: rgba(202, 220, 174, 0.1);
  border-radius: var(--border-radius-xl);
  z-index: -1;
}

.code-preview {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.code-preview code {
  color: var(--accent-color);
}

.code-arrow {
  text-align: center;
  padding: 0.75rem 0;
  color: var(--primary-color);
}

.arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-0.5rem);
  }
  60% {
    transform: translateY(-0.25rem);
  }
}

.code-result {
  text-align: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.result-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fade-in-out 3s ease-in-out infinite;
  z-index: 10;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-mouse:hover {
  opacity: 1;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateX(-50%) translateY(8px);
    opacity: 0.5;
  }
  60% {
    transform: translateX(-50%) translateY(4px);
    opacity: 0.7;
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* Sections */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.features {
  background: var(--bg-features);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(154, 175, 136, 0.15);
  border-color: var(--border-hover);
  background: var(--hover-bg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-icon-svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
  stroke-width: 1.5;
}

.hero-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary-dark);
  margin-right: 0.5rem;
  stroke-width: 2;
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.5rem;
  stroke-width: 2;
}

.demo-icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary-color);
  margin-right: 0.75rem;
  stroke-width: 1.5;
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.feature-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(202, 220, 174, 0.1);
  color: var(--primary-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(202, 220, 174, 0.2);
}

/* Demo Section */
.demo {
  background: var(--bg-demo);
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.demo-text h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.demo-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-icon {
  font-size: 1.5rem;
}

.demo-visual {
  position: relative;
}

.demo-placeholder {
  border-radius: var(--border-radius-xl);
  padding: 1rem;
  text-align: center;
}

.demo-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: rgba(202, 220, 174, 0.05);
  border-radius: var(--border-radius-xl);
  z-index: -1;
}

.demo-gif {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Roadmap */
.roadmap {
  background: #ffffff;
}

.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
}

.roadmap-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.roadmap-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.roadmap-item:nth-child(even) .roadmap-content {
  margin-left: 0;
  margin-right: 2rem;
}

.roadmap-marker {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid;
  position: relative;
  z-index: 2;
}

.roadmap-item.completed .roadmap-marker {
  border-color: var(--success-color);
  background: rgba(16, 185, 129, 0.1);
}

.roadmap-item.in-progress .roadmap-marker {
  border-color: var(--warning-color);
  background: rgba(245, 158, 11, 0.1);
}

.roadmap-item.upcoming .roadmap-marker {
  border-color: var(--text-muted);
  background: rgba(148, 163, 184, 0.1);
}

.roadmap-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 2rem;
  flex: 1;
}

.roadmap-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.roadmap-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.roadmap-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* CTA Section */
.cta {
  background: var(--secondary-color);
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.footer-openvsx-logo,
.footer-github-logo {
  width: 1.2rem;
  height: 1.2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%);
  margin: 0 0.5rem;
}

.footer-links a:hover .footer-openvsx-logo,
.footer-links a:hover .footer-github-logo,
.openvsx-link:hover .footer-openvsx-logo,
.github-link:hover .footer-github-logo {
  opacity: 1;
  filter: grayscale(0%);
}

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

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

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

@keyframes glow {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.6;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Scroll-triggered animations */
.animate-in {
  animation: fadeInUp 1s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .floating-cards {
    gap: 0.75rem;
  }

  .floating-card {
    max-width: 350px;
  }

  .demo-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 6rem 1rem 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

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

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

  .section-container {
    padding: 4rem 1rem;
  }

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

  .roadmap-item {
    flex-direction: column;
    text-align: center;
  }

  .roadmap-item .roadmap-content {
    margin-left: 0;
    margin-top: 1rem;
  }

  .roadmap-timeline::before {
    left: 30px;
  }

  .roadmap-marker {
    align-self: flex-start;
    margin-left: 30px;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

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

  h1 {
    font-size: 2rem;
  }

  .floating-cards {
    gap: 0.5rem;
  }

  .floating-card {
    max-width: 280px;
    padding: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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