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

:root {
  --brand: #6c47ff;
  --brand-dark: #4f2fe0;
  --brand-light: #ede9ff;
  --accent: #ff6b35;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8f7ff;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(108,71,255,0.10);
  --shadow-lg: 0 12px 48px rgba(108,71,255,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.logo-icon { font-size: 1.4rem; }
.logo .by { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.btn-nav {
  background: var(--brand);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--brand-dark) !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0ebff 0%, #fff 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--brand);
  transition: background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: var(--brand-light); text-decoration: none; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.hero-bg-shape {
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,71,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 48px;
  max-width: 640px;
}

/* ===== VISION ===== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.vision-text p { color: var(--text-muted); margin-bottom: 16px; }
.vision-text strong { color: var(--text); }
.vision-card {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.vision-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}
.vision-author { font-size: 0.85rem; font-weight: 600; opacity: 0.8; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
}
.step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); }
.step-divider {
  width: 60px;
  height: 2px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
  margin: 0 8px;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== PRIVACY ===== */
.privacy-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  margin-top: -24px;
}
.privacy-blocks { display: flex; flex-direction: column; gap: 32px; max-width: 800px; }
.privacy-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.privacy-block p, .privacy-block li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.privacy-block ul { padding-left: 20px; }
.privacy-block li { margin-bottom: 4px; }
.privacy-block a { color: var(--brand); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-inner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1rem; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand);
}
.cta-banner .btn-primary:hover { background: #f0ebff; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer .logo-text { color: #fff; }
.footer .by { color: rgba(255,255,255,0.5); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
}
.footer-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: 0.78rem; max-width: 600px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .vision-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step-divider { width: 2px; height: 32px; margin: 0; align-self: flex-start; margin-left: 20px; }
  .hero { padding: 72px 0 60px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
}
