: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-muted: #94a3b8;
  --text-accent: #60a5fa;
  --color-border: #334155;
  --border-active: #60a5fa;
  /* Spacing & Sizes */
  --container-width: 1440px;
  --header-height: 70px;
  --radius: 12px;
}
/* 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-muted: #475569;
  --text-accent: #2563eb;
  --color-border: #e2e8f0;
  --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;
}
h2 .text-gradient {
  padding: 0 10px;
}
/* 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(--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;
    text-align: center;
  }
  .hero-text {
    margin: 0 auto;
  }
  .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;
  }
}