:root {
  /* Color Palette - Dark Mode (Default) */
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --secondary: #a855f7;
  --bg-body: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #1e293b;
  --bg-nav: rgba(15, 23, 42, 0.85);
  --bg-code: #020617;
  --bg-code-header: rgba(30, 41, 59, 0.5);
  --bg-snippet: #111827;
  --bg-footer: #020617;
  --bg-cta: linear-gradient(to bottom, #0f172a, #172554);
  --text-main: #f8fafc;
  --text-accent: #60a5fa;
  --border-active: #60a5fa;
  /* Spacing & Sizes */
  --container-width: 1440px;
  --header-height: 70px;
  --radius: 12px;
  /* One-Page Scrolling Example Styles */
  --nav-height: 70px;
  --hero-min-height: 100vh;
}
/* Light Mode */
[data-theme="light"] {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.3);
  --secondary: #9333ea;
  --bg-body: #ffffff;
  --bg-card: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --bg-code: #f8fafc;
  --bg-code-header: #e2e8f0;
  --bg-snippet: #f1f5f9;
  --bg-footer: #f8fafc;
  --bg-cta: linear-gradient(to bottom, #ffffff, #f0f9ff);
  --text-main: #0f172a;
  --text-accent: #2563eb;
  --border-active: #3b82f6;
}
/* Reset & Base */
body {
  font-family: 'Kodchasan', 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
/* Typography */
h1,
h2,
h3 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.text-gradient {
  background: linear-gradient(to right, var(--text-accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 5px;
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-link {
  border-radius: 9999px;
  border: none;
  background-color: transparent;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-link:focus {
  outline: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-icon:before {
  font-size: 2em;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-actions :before {
  font-size: 1.5rem;
}
.lang-switcher {
  position: relative;
  width: 4em;
  display: flex;
  justify-content: center;
}
#lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  z-index: 1000;
}
.lang-switcher:hover .lang-menu {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--text-primary);
  transition: background 0.2s;
}
.lang-option:hover {
  background-color: var(--bg-card-hover);
  color: currentColor
}
/* Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}
.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: 10%;
}
.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  top: 10%;
  right: 10%;
  animation-delay: 2s;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text {
  max-width: 600px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-accent);
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}
/* Features Section */
.section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.card-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-card-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}
.card-icon:before {
  font-size: 2em;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
}
/* Comparison Section */
.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benchmark-item {
  margin-bottom: 24px;
}
.benchmark-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.benchmark-label span::before {
  font-size: 1.2rem;
  margin-right: 5px;
}
.bar-bg {
  height: 12px;
  background: #334155;
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  position: relative;
}
.bar-fill.primary {
  background: var(--primary);
  width: 5%;
  box-shadow: 0 0 10px var(--primary);
}
.bar-fill.secondary {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  width: 30%;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}
.bar-fill.tertiary {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  width: 80%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
.scale-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}
.check-list {
  padding-left: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.check-icon {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
/* CTA Section */
.cta-section {
  background: var(--bg-cta);
  text-align: center;
  transition: background 0.3s ease;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
/* Footer */
.footer {
  background: var(--bg-footer);
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin-top: 15px;
  max-width: 300px;
}
.footer-links {
  display: flex;
  gap: 10px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  font-size: 1.4em;
}
.footer h4 {
  color: white;
  margin-bottom: 20px;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: var(--color-text-muted);
}
.footer ul a:hover {
  color: var(--text-accent);
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  color: #64748b;
}
.demo-section {
  border-radius: 1rem;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--color-surface);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #667eea;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.feature-card h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
}
.feature-card p {
  color: #666;
  line-height: 1.6;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.next-step-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.next-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}
.next-step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.next-step-card p {
  opacity: 0.9;
  margin: 0;
}
.section-groups {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 30px 0;
}
.section-groups section {
  padding: 30px;
  background-color: var(--color-surface);
  border-radius: 1rem;
}
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
/* Mobile Responsive */
@media (max-width: 968px) {
  h1 {
    font-size: 2.5rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-text {
    margin: 0 auto;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
    flex-direction: column;
  }
  .comparison-layout {
    grid-template-columns: 1fr;
  }
  #get_started {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .demo-section {
    padding: 1rem;
  }
}
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert-info {
  background-color: var(--color-info-bg, rgba(59, 130, 246, 0.1));
  border: 1px solid var(--color-info, #3b82f6);
  color: var(--color-info, #3b82f6);
}
.alert.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}
.alert-warning {
  background-color: var(--color-warning-bg, rgba(245, 158, 11, 0.1));
  border: 1px solid var(--color-warning, #f59e0b);
  color: var(--color-warning-dark, #b45309);
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}
.alert [class^="icon-"] {
  font-size: 1.25rem;
}
#theme-toggle {
  color: inherit;
}
/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 9999;
  transition: width 0.1s ease;
}
/* Fixed Navigation */
.one-page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}
.nav-brand [class^="icon-"] {
  font-size: 1.8rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: var(--space-2) var(--space-4);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover {
  background: var(--color-surface-light);
  color: var(--color-primary);
}
.nav-links a.active {
  color: var(--color-primary);
  background: var(--color-surface-light);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}
/* Hero Section */
.hero-section {
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: var(--space-8) var(--space-4);
  margin-top: var(--nav-height);
}
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: white;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: var(--space-4);
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: var(--space-6);
  opacity: 0.95;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  font-size: 2rem;
  color: white;
  opacity: 0.7;
}
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}
/* Section Styles */
section {
  padding: var(--space-8) var(--space-4);
  position: relative;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.section-title [class^="icon-"] {
  font-size: 0.9em;
  color: var(--color-primary);
}
.section-title.light {
  color: white;
}
.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle.light {
  color: rgba(255, 255, 255, 0.9);
}
/* Features Section */
.features-section {
  background: var(--color-surface);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.feature-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.feature-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}
/* Parallax Section */
.parallax-section {
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  overflow: hidden;
}
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.parallax-bg-1 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,208C960,192,1056,160,1152,154.7C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
}
.parallax-bg-2 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,128C96,160,192,224,288,224C384,224,480,160,576,128C672,96,768,96,864,117.3C960,139,1056,181,1152,181.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
}
.parallax-content {
  position: relative;
  z-index: 10;
}
.parallax-demo {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.parallax-card {
  width: 200px;
  height: 250px;
}
.parallax-card-inner {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}
.parallax-card-inner:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.parallax-card-inner h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}
/* Waypoints Section */
.waypoints-section {
  background: var(--color-surface);
}
.waypoints-demo {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.waypoint-item {
  background: white;
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  opacity: 0;
  transition: all 0.6s ease;
}
.waypoint-item.triggered {
  opacity: 1;
}
/* Waypoint Animations */
.waypoint-item.fade-in-up.triggered {
  animation: fadeInUp 0.8s ease forwards;
}
.waypoint-item.fade-in-left.triggered {
  animation: fadeInLeft 0.8s ease forwards;
}
.waypoint-item.fade-in-right.triggered {
  animation: fadeInRight 0.8s ease forwards;
}
.waypoint-item.scale-in.triggered {
  animation: scaleIn 0.8s ease forwards;
}
.waypoint-item.rotate-in.triggered {
  animation: rotateIn 0.8s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
.waypoint-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}
.waypoint-item h3 {
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.waypoint-item p {
  color: var(--color-text-muted);
  line-height: 1.7;
}
/* Sections Demo */
.sections-demo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.sections-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}
.info-card h3 {
  margin-bottom: var(--space-3);
  font-size: 1.5rem;
}
.info-card p {
  line-height: 1.7;
  opacity: 0.9;
}
.demo-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.control-group {
  background: white;
  padding: var(--space-5);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.control-group h3 {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.control-group .btn {
  width: 100%;
  margin-bottom: var(--space-2);
  justify-content: center;
}
.progress-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  background: var(--color-surface-light);
  border-radius: var(--border-radius);
}
.info-item label {
  font-weight: 600;
  color: var(--color-text-muted);
}
.info-item span {
  font-weight: 700;
  color: var(--color-primary);
}
.events-log {
  max-height: 200px;
  overflow-y: auto;
  background: var(--color-surface-light);
  border-radius: var(--border-radius);
  padding: var(--space-3);
}
.log-item {
  padding: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.log-item:last-child {
  border-bottom: none;
}
.log-item.new {
  animation: highlight 0.5s ease;
}
@keyframes highlight {
  0% {
    background: var(--color-primary-light);
  }
  100% {
    background: transparent;
  }
}
/* Code Section */
.code-section {
  background: var(--color-surface);
}
.code-tabs {
  margin-top: var(--space-6);
}
/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  text-align: center;
  padding: var(--space-10) var(--space-4);
}
.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-4);
}
.cta-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
  opacity: 0.95;
}
.cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: scale(1);
}
.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: scale(1.1);
}
/* Scroll Reveal */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive Design */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-toggle {
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .parallax-demo {
    flex-direction: column;
    align-items: center;
  }
  .waypoint-item {
    flex-direction: column;
    text-align: center;
  }
  .demo-controls {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }
  section {
    padding: var(--space-6) var(--space-3);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: var(--space-4);
    right: var(--space-4);
  }
}