/* ===================== TOKENS ===================== */
:root {
  --cyan:        #00D4FF;
  --cyan-dim:    #00a8cc;
  --cyan-glow:   rgba(0, 212, 255, 0.18);
  --cyan-glow2:  rgba(0, 212, 255, 0.35);
  --discord:     #5865F2;
  --discord-dim: #4752c4;
  --discord-glow: rgba(88, 101, 242, 0.3);
  --bg:          #050508;
  --bg2:         #080b12;
  --bg-card:     #0b0f1a;
  --bg-card2:    #0e1320;
  --text:        #e8f0fe;
  --text-muted:  #9aa5b8;
  --border:      rgba(0, 212, 255, 0.12);
  --border-h:    rgba(0, 212, 255, 0.4);
  --font-main:   'Inter', 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
}

/* Light mode variables */
[data-theme="light"] {
  --cyan:        #0088cc;
  --cyan-dim:    #006699;
  --cyan-glow:   rgba(0, 136, 204, 0.15);
  --cyan-glow2:  rgba(0, 136, 204, 0.3);
  --discord:     #5865F2;
  --discord-dim: #4752c4;
  --discord-glow: rgba(88, 101, 242, 0.25);
  --bg:          #f8f9fa;
  --bg2:         #e9ecef;
  --bg-card:     #ffffff;
  --bg-card2:    #f1f3f5;
  --text:        #212529;
  --text-muted:  #5a6268;
  --border:      rgba(0, 136, 204, 0.2);
  --border-h:    rgba(0, 136, 204, 0.5);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===================== CANVAS BG ===================== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ===================== NAVBAR ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.9);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px var(--cyan));
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem !important;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--cyan-glow) !important;
  box-shadow: 0 0 16px var(--cyan-glow2) !important;
  color: var(--cyan) !important;
}

/* Theme toggle button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: 16px;
}
.theme-toggle:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--cyan);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-menu-toggle:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s;
  }
  
  .nav-links a:hover {
    background: var(--cyan-glow);
  }
}

/* ===================== SECTIONS WRAPPER ===================== */
main { position: relative; z-index: 1; }
section { position: relative; }

/* ===================== HERO ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,212,255,0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
  font-family: var(--font-mono);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.7); }
}
.hero-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 40px rgba(0,212,255,0.6));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-title .sac { color: var(--text); }
.hero-title .bot { color: var(--cyan); text-shadow: 0 0 30px rgba(0,212,255,0.5); }
.hero-subtitle-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-desc {
  max-width: 580px;
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 44px;
  opacity: 0.9;
}
.hero-desc em { color: var(--cyan); font-style: normal; }
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: var(--discord);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 0 24px rgba(88,101,242,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--discord-dim);
  box-shadow: 0 0 40px rgba(88,101,242,0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border-h);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: var(--cyan-glow);
}

/* ===================== STATS ===================== */
#stats {
  padding: 80px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.stat-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  font-family: var(--font-mono);
  text-shadow: 0 0 20px rgba(0,212,255,0.4);
  display: block;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

/* Enhanced counter animation styles */
.stat-card.counting {
  animation: cardPulse 0.5s ease-in-out;
}

.stat-card.counted .stat-num {
  animation: numberPop 0.3s ease-out;
}

@keyframes cardPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(0,212,255,0.2); }
}

@keyframes numberPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Enhanced hover effects for stat cards */
.stat-card:hover .stat-num {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(0,212,255,0.6);
}

.stat-card:active .stat-num {
  transform: scale(0.95);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  opacity: 0.85;
}

/* ===================== SECTION HEADER ===================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-title span { color: var(--cyan); }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===================== WHY ===================== */
#why {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

#why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-card {
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.why-card:hover {
  border-color: var(--border-h);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,212,255,0.15), 0 0 0 1px rgba(0,212,255,0.1);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover::after {
  opacity: 1;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cyan-glow);
  border: 2px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(0,212,255,0.4);
  border-color: var(--cyan);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
  transition: all 0.4s ease;
}

.why-card:hover .why-icon svg {
  filter: drop-shadow(0 0 16px rgba(0,212,255,0.8));
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.why-card:hover .why-title {
  color: var(--cyan);
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.why-card:hover .why-desc {
  color: var(--text);
  transform: translateY(2px);
}

/* ===================== FEATURES ===================== */
#features {
  padding: 100px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  padding: 28px 24px;
  border-radius: 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--cyan-glow);
  border: 1px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  opacity: 0.85;
}

.feature-card:hover .feature-desc {
  opacity: 1;
  color: var(--text);
}

/* ===================== GETTING STARTED ===================== */
#getting-started {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 35px;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--cyan-dim), transparent);
  opacity: 0.5;
  transform-origin: top;
  transform: scaleY(0);
}
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 24px;
  position: relative;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--cyan-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
  pointer-events: none;
}
.step-card:hover::before {
  opacity: 1;
}
.step-card:hover {
  transform: translateX(8px);
  background: var(--bg-card);
  box-shadow: 0 8px 32px rgba(0,212,255,0.1);
}
.step-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 3px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}
.step-card:hover .step-num {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 50px rgba(0,212,255,0.5);
  border-color: var(--cyan);
}
.step-card:hover .step-num::after {
  opacity: 0.2;
  transform: scale(1.2);
}
.step-content {
  flex: 1;
  padding-top: 12px;
  position: relative;
  z-index: 2;
}
.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
}
.step-card:hover .step-title {
  color: var(--cyan);
}
.step-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}
.step-card:hover .step-title::after {
  width: 100%;
}
.step-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color 0.3s ease, transform 0.3s ease;
  opacity: 0.9;
}
.step-card:hover .step-desc {
  color: var(--text);
  transform: translateX(4px);
}

/* Scroll-based animation styles */
.step-content {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.step-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Vertical connector line enhancement */
.steps-grid::before {
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

/* Active state for step cards */
.step-card.active {
  background: var(--bg-card);
  box-shadow: 0 8px 32px rgba(0,212,255,0.15);
  border: 1px solid var(--border-h);
}

/* Clicked state for step cards */
.step-card.clicked {
  animation: clickPulse 0.3s ease-out;
}

@keyframes clickPulse {
  0% { transform: translateX(8px) scale(1); }
  50% { transform: translateX(12px) scale(1.02); }
  100% { transform: translateX(8px) scale(1); }
}

/* Enhanced scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
  pointer-events: none;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
}

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

/* ===================== BACKUP BOT ===================== */
#backup {
  padding: 80px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.backup-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.backup-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.backup-icon {
  font-size: 4rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(0,212,255,0.5));
}
.backup-content { flex: 1; }
.backup-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.backup-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.backup-title span { color: var(--cyan); }
.backup-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* ===================== FAQ ===================== */
#faq {
  padding: 120px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.08);
}

.faq-question {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--cyan-glow);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-question:hover h3 {
  color: var(--cyan);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  transition: transform 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cyan-glow);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--cyan);
  color: var(--bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

.faq-item.active .faq-answer p {
  opacity: 1;
}

/* ===================== FOOTER ===================== */
footer {
  padding: 60px 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-logo img {
  width: 32px; height: 32px;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px var(--cyan));
}
.footer-logo span { color: var(--cyan); }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.footer-links-section h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.footer-links-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-section a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links-section a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.footer-copy span { color: var(--cyan); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--cyan); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { 
    max-width: 600px;
    gap: 45px;
  }
  .step-num {
    width: 64px;
    height: 64px;
    font-size: 1.3rem;
  }
  .step-title {
    font-size: 1.3rem;
  }
  .step-desc {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-logo { font-size: 1rem; }
  .nav-logo img { width: 32px; height: 32px; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 16px;
    z-index: 99;
  }
  
  #hero { padding: 100px 20px 60px; }
  .hero-logo { width: 120px; height: 120px; }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { font-size: 1rem; }
  
  #stats, #why, #features, #getting-started, #backup { padding: 60px 20px; }
  
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { 
    max-width: 100%;
    gap: 40px;
  }
  .steps-grid::before {
    left: 28px;
  }
  .step-card {
    padding: 20px;
    gap: 24px;
  }
  .step-card:hover {
    transform: translateX(4px);
  }
  .step-num {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }
  .step-card:hover .step-num {
    transform: scale(1.05) rotate(3deg);
  }
  .step-title {
    font-size: 1.2rem;
  }
  .step-desc {
    font-size: 0.95rem;
  }
  .step-card:hover .step-desc {
    transform: translateX(2px);
  }
  
  .backup-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .backup-icon { font-size: 3rem; }
  
  .steps-grid::before { display: none; }
  
  footer { padding: 48px 20px 24px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-brand { max-width: 100%; }
  
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; height: 60px; }
  .theme-toggle { width: 36px; height: 36px; }
  
  #hero { padding: 80px 16px 50px; }
  .hero-logo { width: 100px; height: 100px; }
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  
  #stats, #why, #features, #getting-started, #backup { padding: 50px 16px; }
  
  .stat-card { padding: 24px 16px; }
  .stat-num { font-size: 2rem; }
  
  /* Mobile-specific counter animation adjustments */
  .stat-card.counting {
    animation: cardPulseMobile 0.4s ease-in-out;
  }
  
  @keyframes cardPulseMobile {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
  }
  
  .stat-card.counted .stat-num {
    animation: numberPopMobile 0.25s ease-out;
  }
  
  @keyframes numberPopMobile {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  .why-card { 
    padding: 32px 24px; 
  }
  
  .why-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .why-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .why-title {
    font-size: 1.15rem;
  }
  
  .why-desc {
    font-size: 0.9rem;
  }
  
  .why-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .feature-card { padding: 24px 20px; }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-question {
    padding: 20px 24px;
  }
  
  .faq-question h3 {
    font-size: 0.95rem;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
  }
  
  .step-card { 
    gap: 20px;
  }
  .step-num { 
    width: 52px; 
    height: 52px; 
    font-size: 1.1rem;
    border-width: 2px;
  }
  .step-title {
    font-size: 1.15rem;
  }
  .step-desc {
    font-size: 0.9rem;
  }
  .steps-grid::before {
    left: 26px;
    width: 2px;
  }
  
  .backup-card { padding: 24px 16px; }
  .backup-title { font-size: 1.3rem; }
  
  footer { padding: 40px 16px 20px; }
  .footer-links-section { margin-bottom: 20px; }
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-logo { animation: none; }
  .badge-dot { animation: none; }
}

/* ===================== SCROLL BAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }

/* ===================== CUSTOM ICONS ===================== */
.custom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===================== ENHANCED STYLING ===================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before {
  left: 100%;
}

/* Glowing effect for main elements */
.hero-logo, .step-num {
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.3));
  transition: filter 0.3s;
}
.hero-logo:hover, .step-num:hover {
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.5));
}

/* Subtle gradient text for headings */
.section-title span, .backup-title span {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Improved card hover effects */
.stat-card, .why-card, .feature-card {
  position: relative;
  overflow: hidden;
}
.stat-card::after, .why-card::after, .feature-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  pointer-events: none;
}
.stat-card:hover::after, .why-card:hover::after, .feature-card:hover::after {
  width: 300px;
  height: 300px;
}

/* Better gradient backgrounds */
.hero-title .bot {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism effects */
.stat-card, .why-card, .feature-card, .backup-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Enhanced shadows */
.nav {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
[data-theme="light"] .nav {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stat-card, .why-card, .feature-card {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
[data-theme="light"] .stat-card, 
[data-theme="light"] .why-card, 
[data-theme="light"] .feature-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Improved navigation */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Smooth scroll behavior improvements */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Enhanced focus states for accessibility */
a:focus, button:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Better loading states */
img {
  loading: lazy;
}

/* Enhanced typography */
.section-tag, .backup-tag, .hero-subtitle-tag {
  font-weight: 500;
}

/* Better button styling */
.btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-secondary:hover::before {
  opacity: 0.1;
}



/* Better hover states for interactive elements */
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary:active {
  transform: translateY(0);
}

/* Improved spacing and layout */
section {
  position: relative;
}

/* Enhanced background for sections with different backgrounds */
#stats, #features, #backup {
  position: relative;
}
#stats::before, #features::before, #backup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

/* Better form and input styling (for future use) */
input, textarea, select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

/* Better footer links */
.footer-links-section a {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s;
}
.footer-links-section a:hover {
  padding-left: 8px;
}

/* Enhanced badge and tag styling */
.hero-badge, .section-tag, .backup-tag {
  border-width: 1.5px;
}

/* Improved icon sizing */
.custom-icon {
  flex-shrink: 0;
}

/* Better card content spacing */
.why-desc, .feature-desc, .step-desc {
  margin-top: 12px;
}

/* Enhanced CTA buttons */
.nav-cta {
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  opacity: 0;
}
.nav-cta:hover::before {
  width: 200px;
  height: 200px;
  opacity: 0.1;
}

/* Improved stats section */
#stats {
  position: relative;
}
#stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0.1;
}

/* Enhanced hero section */
#hero {
  position: relative;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* Better step description visibility */
.step-desc {
  opacity: 0.8;
  transition: opacity 0.3s;
}
.step-card:hover .step-desc {
  opacity: 1;
}

/* Improved card title styling */
.why-title, .feature-title, .step-title, .backup-title {
  line-height: 1.4;
}

/* Enhanced feature icon container */
.feature-icon {
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--cyan-glow2);
}

/* Better backup card layout */
.backup-content {
  position: relative;
  z-index: 1;
}

/* Enhanced footer styling */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.2;
}

/* Better scroll animations */
.step-content {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enhanced navbar logo animation */
.nav-logo img {
  transition: transform 0.3s;
}
.nav-logo:hover img {
  transform: rotate(5deg) scale(1.1);
}

/* Improved hero buttons container */
.hero-btns {
  position: relative;
  z-index: 2;
}

/* Better section spacing */
.section-header {
  position: relative;
  z-index: 2;
}

/* Enhanced card layouts */
.stats-grid, .why-grid, .features-grid, .steps-grid {
  position: relative;
  z-index: 2;
}

/* Improved backup section background */
#backup {
  position: relative;
}
#backup::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg2), transparent);
  pointer-events: none;
}

/* Better text selection */
::selection {
  background: var(--cyan);
  color: var(--bg);
}

/* Enhanced scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Better focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
  }
  
  .nav-links a:hover {
    background: var(--cyan-glow);
  }
  
  .nav-cta {
    margin-top: 8px;
  }
}