:root {
  --primary: #6c5ce7;
  --primary-rgb: 108,92,231;
  --primary-light: rgba(108,92,231,0.08);
  --secondary: #a29bfe;
  --accent: #00cec9;
  --success: #00b894;
  --error: #ff7675;
  --warning: #fdcb6e;
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #2d3436;
  --muted: #636e72;
  --border: #dfe6e9;
  --nav-h: 60px;
}
body.dark {
  --bg: #0d0d18;
  --card: #1a1a2e;
  --text: #e2e2f0;
  --muted: #8080aa;
  --border: #2d2d44;
  --primary-light: rgba(162,155,254,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s;
  border: 1.5px solid transparent;
  background: none;
  cursor: pointer;
}
.nav-link:hover { 
  color: var(--primary); 
  background: var(--primary-light);
  border-color: var(--border);
}
.nav-link.filled {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.nav-link.filled:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}
.theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.theme-btn:hover { 
  color: var(--primary); 
  border-color: var(--primary);
  background: var(--primary-light); 
}

/* ── HERO ── */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 184, 148, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}
.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

.hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ── SECTIONS ── */
.features-section,
.faq-section {
  padding: 80px 24px;
}
.features-inner,
.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ── FAQ ── */
.faq-section {
  background: var(--card);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-question i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.3s, color 0.2s;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer p {
  padding: 0 24px 20px 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--card);
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { 
  color: var(--primary); 
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  footer { padding: 24px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hero { padding: 120px 20px 60px; }
  .features-section, .faq-section { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .nav-link:not(.filled) { display: none; }
  .hero-title { font-size: 2rem; }
  .faq-question { padding: 16px 20px; }
  .faq-answer p { padding: 0 20px 16px 20px; }
}