:root {
  --bg: #010306;
  --bg-elevated: #0a0d10;
  --surface: #040f13;
  --surface-card: #11161d;
  --border: #10191f;
  --border-card: #1f2733;
  --primary: #00ffc2;
  --primary-light: #00e5a9;
  --primary-dark: #00926b;
  --on-primary: #00120e;
  --ai: #8b5cff;
  --ai-light: #a07dff;
  --text: #f5f7fa;
  --text-secondary: #a5acb8;
  --text-tertiary: #737b86;
  --gradient-brand: linear-gradient(135deg, #00ffc2 0%, #00926b 100%);
  --gradient-ai: linear-gradient(135deg, #a07dff 0%, #6e3dff 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --max-width: 1120px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "SF Pro Text", "Noto Sans SC", -apple-system,
    BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(1, 3, 6, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 39, 51, 0.6);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 16px;
  background: rgba(1, 3, 6, 0.96);
  border-bottom: 1px solid var(--border-card);
}

.nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile a {
  padding: 12px 8px;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary-light);
  font-weight: 500;
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
}

.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: -8%;
  width: min(78%, 640px);
  height: 100%;
  opacity: 0.14;
  object-fit: cover;
  object-position: center right;
  mask-image: radial-gradient(
    ellipse 70% 60% at 72% 38%,
    black 20%,
    transparent 72%
  );
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 55% 45% at 78% 28%,
      rgba(0, 255, 194, 0.1),
      transparent 62%
    ),
    radial-gradient(
      ellipse 40% 35% at 62% 52%,
      rgba(139, 92, 255, 0.08),
      transparent 68%
    ),
    linear-gradient(180deg, transparent 35%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 400px;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 229, 169, 0.18);
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.1);
  border: 1px solid rgba(139, 92, 255, 0.24);
  color: var(--ai-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: rgba(245, 247, 250, 0.94);
  white-space: nowrap;
}

.hero-title-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 340px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-actions .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.hero-note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 39, 51, 0.65);
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 540px);
}

.hero-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 39, 51, 0.9);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(0, 255, 194, 0.08);
  background: #040f13;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Sections ── */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

/* ── Features ── */
.features-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.feature-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-chip {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(11, 34, 38, 0.9);
  border: 0.5px solid #04312d;
  color: #16ccad;
  font-size: 10px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(245, 247, 250, 0.55);
  max-width: 220px;
}

.feature-card ul {
  margin: auto 0 0;
  padding: 16px 0 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-card--ai .feature-chip {
  color: var(--ai-light);
  border-color: rgba(139, 92, 255, 0.35);
  background: rgba(22, 23, 61, 0.9);
}

.feature-card--ai li::before {
  background: var(--ai-light);
}

.feature-card--profile {
  background: linear-gradient(160deg, #11161d, #040f13);
}

.feature-card--profile .feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 255, 194, 0.1);
  border: 1px solid rgba(0, 229, 169, 0.25);
  font-size: 22px;
}

/* ── Steps ── */
.steps {
  display: grid;
  gap: 20px;
}

.step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--gradient-brand);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ── Scenarios ── */
.scenarios-grid {
  display: grid;
  gap: 16px;
}

.scenario {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.scenario h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.scenario p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ── Download CTA ── */
.download-section {
  padding: 80px 0;
}

.download-card {
  position: relative;
  padding: 48px 24px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(160deg, #0b2226 0%, #040f13 50%, #16173d 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 255, 194, 0.12), transparent 60%);
  pointer-events: none;
}

.download-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 36px);
}

.download-card p {
  position: relative;
  margin: 0 auto 28px;
  max-width: 480px;
  color: var(--text-secondary);
}

.download-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-card);
  transition: border-color 0.2s, transform 0.15s;
}

.store-badge:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge small {
  display: block;
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: left;
}

.store-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

/* ── Footer ── */
.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-card);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 280px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links h4 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links a:hover {
  color: var(--text);
}

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

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-copy {
    padding-left: 14px;
  }

  .hero-title {
    white-space: nowrap;
    font-size: clamp(18px, 5.2vw, 26px);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .hero-visual {
    justify-self: end;
    width: min(100%, 540px);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .scenarios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 96px;
  }
}
