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

:root {
  --bg: #0a0a14;
  --bg-alt: #111122;
  --surface: #1a1a2e;
  --surface-2: #252540;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5fa;
  --text-dim: #a0a0b8;
  --primary: #a855f7;
  --primary-2: #ec4899;
  --accent: #06b6d4;
  --gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  --gradient-soft: linear-gradient(135deg, rgba(168,85,247,0.15) 0%, rgba(236,72,153,0.15) 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(168,85,247,0.15);
  --container: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-cta { padding: 80px 0; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--text-dim); font-size: 18px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 24px rgba(168,85,247,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(168,85,247,0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-download {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 28px;
  color: var(--text);
  min-width: 220px;
  transition: all 0.25s ease;
}
.btn-download:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--primary); }
.btn-download div { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn-download small { font-size: 12px; color: var(--text-dim); }
.btn-download strong { font-size: 17px; font-weight: 700; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,20,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.logo img { width: 32px; height: 32px; }

.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: 7px;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--gradient); color: white; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.2s;
}

/* ===== Hero ===== */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(168,85,247,0.25) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta span { font-size: 13px; color: var(--text-dim); }

.hero-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: var(--surface);
}
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }

/* ===== Cards / Features ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.4); }
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 15px; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Steps ===== */
.steps .step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-dim); }

/* ===== CTA Box ===== */
.cta-box {
  background: var(--gradient-soft);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
}
.cta-box h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-box > p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; }
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.download-note { font-size: 13px; color: var(--text-dim); }

/* ===== Requirements ===== */
.req-card h3 { font-size: 20px; margin-bottom: 16px; }
.req-card ul li {
  padding: 10px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.req-card ul li:last-child { border: none; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(168,85,247,0.4); }
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--text-dim); }

/* ===== Footer ===== */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-dim); margin-top: 12px; max-width: 300px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links h4 { font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links a {
  display: block;
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .hero-meta strong { font-size: 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 48px 20px; }
  .btn-download { min-width: 0; width: 100%; }
}
