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

/* ===== THEMES ===== */
[data-theme="dark"] {
  --primary: #6b7280;
  --primary-dark: #4b5563;
  --primary-light: #9ca3af;
  --primary-soft: rgba(107, 114, 128, 0.1);
  --primary-glow: rgba(107, 114, 128, 0.2);
  --primary-gradient: linear-gradient(135deg, #6b7280 0%, #374151 100%);
  --accent-gradient: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  --surface: #0f0f13;
  --surface-alt: #16161c;
  --surface-card: rgba(22, 22, 28, 0.6);
  --glass-bg: rgba(22, 22, 28, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-light: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.5);
}

[data-theme="light"] {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --primary-soft: rgba(99, 102, 241, 0.08);
  --primary-glow: rgba(99, 102, 241, 0.15);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --accent-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  --surface: #f8fafc;
  --surface-alt: #ffffff;
  --surface-card: rgba(255, 255, 255, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-border-hover: rgba(0, 0, 0, 0.12);
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-light: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
}

:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --motion-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ===== ANIMATED BACKGROUND MESH ===== */
.bg-mesh {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}
.bg-mesh .orb:nth-child(1) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.bg-mesh .orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-dark), transparent);
  top: 40%; right: -15%;
  animation-delay: -5s;
}
.bg-mesh .orb:nth-child(3) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #374151, transparent);
  bottom: -10%; left: 30%;
  animation-delay: -10s;
}
.bg-mesh .orb:nth-child(4) {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--primary-light), transparent);
  bottom: 30%; left: -8%;
  animation-delay: -15s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.9); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s var(--motion-smooth);
}
nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo img, .logo .logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  transition: transform 0.3s var(--motion-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.logo:hover img, .logo:hover .logo-icon { transform: scale(1.1) rotate(-5deg); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-gradient);
  border-radius: 1px;
  transition: width 0.3s var(--motion-smooth);
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s var(--motion-spring) !important;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px) scale(1.02) !important; box-shadow: 0 8px 25px var(--primary-glow) !important; }

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--motion-spring);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: rotate(30deg);
}

/* Mobile Nav */
.nav-mobile-btn {
  display: none;
  background: none; border: none; color: var(--text-main);
  cursor: pointer; padding: 8px;
}
@media (max-width: 768px) {
  nav { padding: 0.75rem 1rem; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.3s var(--motion-smooth) forwards;
  }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--glass-border-hover);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s var(--motion-smooth) forwards;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s var(--motion-smooth) 0.1s both;
}
.hero h1 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.6s var(--motion-smooth) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--motion-smooth) 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.6s var(--motion-smooth) 0.4s both;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-minimal {
  min-height: auto;
  padding: 8rem 2rem 3rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--motion-spring);
  box-shadow: 0 8px 25px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px var(--primary-glow);
}
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--glass-border-hover);
  cursor: pointer;
  transition: all 0.3s var(--motion-spring);
}
.btn-secondary:hover {
  background: var(--surface-card);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== SECTIONS COMMON ===== */
section { position: relative; z-index: 1; }
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--glass-border-hover);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bento-cell {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--motion-spring);
  position: relative;
  overflow: hidden;
}
.bento-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.bento-cell:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.bento-cell:hover::before { opacity: 0.03; }
.bento-cell > * { position: relative; z-index: 1; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
  transition: all 0.3s var(--motion-spring);
}
.bento-cell:hover .bento-icon {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}
.bento-icon .lucide { width: 24px; height: 24px; }
.bento-cell h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bento-cell p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.bento-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.75rem;
  border: 1px solid var(--glass-border-hover);
}

/* ===== GLASS CARD (generic) ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--motion-spring);
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== FEATURES (fallback grid for simpler pages) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--motion-spring);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 0.03; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
  transition: all 0.3s var(--motion-spring);
}
.feature-card:hover .feature-icon {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}
.feature-icon .lucide { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.75rem;
  border: 1px solid var(--glass-border-hover);
}

/* ===== GLASS CONTAINER (for carousel, tables, etc) ===== */
.glass-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
  background: var(--surface-alt);
}
.glass-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--primary-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== PLATFORM CARDS (downloads) ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.platform-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--motion-spring);
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.platform-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary-light);
  transition: all 0.3s var(--motion-spring);
}
.platform-card:hover .platform-icon {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}
.platform-icon .lucide { width: 28px; height: 28px; }
.platform-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.platform-card p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.5rem; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--surface-card);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--motion-spring);
}
.platform-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-light);
  transform: translateY(-2px);
}
/* ===== REQUIREMENTS (glass card with accent border) ===== */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.requirement-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--motion-spring);
}
.requirement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 0 2px 2px 0;
}
.requirement-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px);
}
.requirement-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--primary-light); }
.requirement-card ul { list-style: none; }
.requirement-card li {
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.requirement-card li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 2rem;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== CAROUSEL ===== */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.carousel-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
}
.carousel-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.carousel-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  width: 30px;
  border-radius: 6px;
}
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  font-size: 1.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s;
  z-index: 10;
}
.carousel-button:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: var(--primary);
}
.carousel-button.prev { left: 1rem; }
.carousel-button.next { right: 1rem; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s var(--motion-spring);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary-gradient);
  opacity: 0.03;
}
.pricing-badge {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}
.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  text-align: left;
  margin: 1.5rem 0;
  list-style: none;
}
.pricing-features li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }

/* ===== USAGE CARDS ===== */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.usage-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s var(--motion-spring);
  position: relative;
  overflow: hidden;
}
.usage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 0 2px 2px 0;
}
.usage-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px);
}
.usage-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.usage-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ===== CONTENT SECTION (about, privacy, terms) ===== */
.content-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}
.content-heading {
  font-size: 2rem;
  font-weight: 800;
  margin: 2.5rem 0 1.5rem;
}
.content-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--motion-spring);
}
.content-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}
.content-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-light);
}
.content-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.content-card p:last-child { margin-bottom: 0; }
.content-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.content-card ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.content-card ul li:last-child { border-bottom: none; }
.content-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-gradient);
}
.warning-card {
  border-left: 4px solid var(--warning);
  background: rgba(245, 158, 11, 0.06);
}
.warning-card p { color: var(--warning); }
.warning-card p strong { color: var(--warning); }

/* ===== DOWNLOADS GRID ===== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.download-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--motion-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.download-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--motion-spring);
}
.download-card:hover .download-card-icon { transform: scale(1.15) rotate(-5deg); }
.download-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.download-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.version-badge {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.download-btn-card {
  margin-top: auto;
}

/* ===== REQ LIST (inside bento cells) ===== */
.req-list { list-style: none; margin-top: 1rem; }
.req-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== TABLE ===== */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
}
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
th:first-child { border-radius: var(--radius-lg) 0 0 0; }
th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
td {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--primary-soft); }
.check { color: var(--success); font-weight: bold; }
.cross { color: var(--danger); font-weight: bold; }

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--text-main); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--motion-spring);
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* ===== PREVIEW OVERLAY ===== */
.preview-overlay-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ===== TECH FEATURES (minagram style) ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.tech-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s var(--motion-spring);
}
.tech-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px);
  background: var(--surface-card);
}
.tech-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tech-dot.purple { background: var(--primary-gradient); }
.tech-dot.pink { background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); }
.tech-dot.green { background: var(--success); }
.tech-dot.amber { background: var(--warning); }
.tech-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.tech-item strong { color: var(--text-main); font-weight: 600; }

/* ===== SHOWCASE GRID ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--motion-spring);
  background: var(--surface-card);
  position: relative;
}
.showcase-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.showcase-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--motion-smooth);
}
.showcase-item:hover img { transform: scale(1.03); }
.showcase-item.large { grid-column: span 2; grid-row: span 1; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--motion-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== LUCIDE ICON UTILITY ===== */
.lucide { width: 1.1em; height: 1.1em; stroke: currentColor; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-item.large { grid-column: span 2; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 450px; }
}
@media (max-width: 768px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-value { font-size: 1.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item.large { grid-column: span 1; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat-number { font-size: 1.8rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .table-container { border-radius: var(--radius-md); }
  th:first-child, th:last-child { border-radius: 0; }
  .carousel-button { padding: 0.5rem 0.75rem; font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
}
