:root {
  --bg: #050507;
  --bg-2: #0a0e17;
  --surface: #0d1117;
  --surface-2: #121826;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #9aa3b2;
  --amber: #ffbb33;
  --cyan: #00e5ff;
  --green: #34d399;
  --amber-grad: linear-gradient(135deg, #ffbb33, #ff9a3d);
  --cyan-grad: linear-gradient(135deg, #00e5ff, #00a8ff);
  --radius: 18px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(255, 187, 51, 0.3); }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

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

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

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- animated background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 15% 10%, rgba(255, 187, 51, 0.08), transparent 60%),
    radial-gradient(55% 40% at 85% 20%, rgba(0, 229, 255, 0.07), transparent 60%),
    radial-gradient(70% 55% at 50% 110%, rgba(255, 187, 51, 0.05), transparent 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-1 { width: 420px; height: 420px; background: rgba(255, 187, 51, 0.14); top: -120px; left: -80px; }
.orb-2 { width: 380px; height: 380px; background: rgba(0, 229, 255, 0.12); top: 30%; right: -120px; animation-delay: -6s; }
.orb-3 { width: 460px; height: 460px; background: rgba(255, 154, 61, 0.10); bottom: -180px; left: 30%; animation-delay: -12s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.12); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--amber-grad);
  color: #1a1200;
  box-shadow: 0 8px 28px rgba(255, 187, 51, 0.35), 0 0 0 0 rgba(255, 187, 51, 0);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(255, 187, 51, 0.35); }
  50% { box-shadow: 0 8px 40px rgba(255, 187, 51, 0.55), 0 0 18px rgba(255, 187, 51, 0.35); }
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 42px rgba(255, 187, 51, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-xl { padding: 18px 38px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(255, 187, 51, 0.25);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-name em { font-style: normal; color: var(--amber); }

.nav-links { display: flex; gap: 30px; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 22px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.trust-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; }

.trust-row .dot { color: var(--amber); }

/* ---------- phone mock ---------- */
.hero-visual { position: relative; }

.phone-shell {
  width: 290px;
  margin: 0 auto;
  background: linear-gradient(160deg, #141a26, #0a0e17);
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 187, 51, 0.06);
  position: relative;
}

.phone-notch {
  width: 90px;
  height: 22px;
  background: #050507;
  border-radius: 999px;
  margin: 2px auto 10px;
}

.phone-screen {
  background: var(--bg-2);
  border-radius: 32px;
  padding: 18px 16px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-statusbar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.75rem; }

.ps-icons { display: flex; gap: 5px; align-items: center; }

.phone-hero-app { text-align: center; margin: 10px 0 6px; }

.phone-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(255, 187, 51, 0.35);
}

.phone-app-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-top: 8px; }

.dl-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.dl-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 0.72rem; margin-bottom: 8px; }

.dl-file { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dl-speed { color: var(--amber); font-weight: 700; white-space: nowrap; }

.dl-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.dl-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--amber-grad);
  box-shadow: 0 0 12px rgba(255, 187, 51, 0.5);
  animation: fillBar 1.6s ease forwards;
}

.dl-fill.cyan { background: var(--cyan-grad); box-shadow: 0 0 12px rgba(0, 229, 255, 0.5); animation-delay: 0.3s; }
.dl-fill.green { background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 0 12px rgba(52, 211, 153, 0.5); animation-delay: 0.6s; }

@keyframes fillBar { from { width: 0; } to { width: var(--w); } }

.dl-sub { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: 7px; }

.dl-pct { color: var(--amber); font-weight: 700; }
.dl-pct.ok { color: var(--green); }

.floating-card {
  position: absolute;
  background: rgba(18, 24, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  animation: float 5s ease-in-out infinite;
  font-size: 0.82rem;
}

.floating-card svg { color: var(--amber); }

.float-card-1 { top: 14%; left: -30px; }
.float-card-2 { bottom: 12%; right: -24px; color: var(--cyan); animation-delay: -2.5s; }
.float-card-2 svg { color: var(--cyan); }

.floating-card strong { display: block; font-family: var(--font-head); font-size: 0.95rem; }
.floating-card span { color: var(--muted); font-size: 0.72rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- logos ---------- */
.logos { padding: 30px 0 40px; }

.logos-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
}

.logos-row span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  cursor: default;
}

.logos-row span:hover { color: var(--amber); }

/* ---------- download section ---------- */
.download { padding: 60px 0; }

.download-card {
  background: linear-gradient(150deg, rgba(255, 187, 51, 0.08), rgba(0, 229, 255, 0.05)), var(--surface);
  border: 1px solid rgba(255, 187, 51, 0.18);
  border-radius: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 100% at 0% 50%, rgba(255, 187, 51, 0.12), transparent 60%);
  pointer-events: none;
}

.download-left { display: flex; align-items: center; gap: 22px; position: relative; }

.dl-big-icon {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(255, 187, 51, 0.35);
}

.download-left h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }

.ver {
  font-size: 0.7rem;
  background: rgba(255, 187, 51, 0.15);
  color: var(--amber);
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  font-weight: 600;
}

.counter-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

#downloadCount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.counter-label { color: var(--muted); font-size: 0.85rem; }

.download-right { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }

/* ---------- stats ---------- */
.stats { padding: 50px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.stat:hover { transform: translateY(-4px); border-color: rgba(255, 187, 51, 0.3); }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stat-label { color: var(--muted); margin-top: 6px; font-size: 0.92rem; }

/* ---------- sections head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 187, 51, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 187, 51, 0.06);
}

/* ---------- features ---------- */
.features { padding: 80px 0; }

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature:hover::after { transform: scaleX(1); }

.feature:hover { transform: translateY(-5px); border-color: rgba(255, 187, 51, 0.28); }

.f-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.f-icon.amber { background: rgba(255, 187, 51, 0.12); color: var(--amber); }
.f-icon.cyan { background: rgba(0, 229, 255, 0.10); color: var(--cyan); }

.feature h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }

.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- how ---------- */
.how { padding: 80px 0; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--cyan-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.step h3 { font-family: var(--font-head); font-size: 1rem; margin: 10px 0 8px; }

.step p { font-size: 0.9rem; }

/* ---------- faq ---------- */
.faq { padding: 80px 0; }

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

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
  transition: border-color 0.25s;
}

details[open] { border-color: rgba(255, 187, 51, 0.35); }

summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--amber);
  font-weight: 400;
  transition: transform 0.25s;
}

details[open] summary::after { transform: rotate(45deg); }

details p { color: var(--muted); padding: 0 0 18px; font-size: 0.95rem; }

/* ---------- cta ---------- */
.cta { padding: 40px 0 90px; }

.cta-card {
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 187, 51, 0.10), rgba(0, 229, 255, 0.06)), var(--surface);
  border: 1px solid rgba(255, 187, 51, 0.2);
  border-radius: 26px;
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 187, 51, 0.14), transparent 70%);
}

.cta-card h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.cta-card p { position: relative; margin-bottom: 28px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-logo { width: 32px; height: 32px; }
.footer-brand .brand-name { font-size: 1rem; }
.footer p { font-size: 0.85rem; }

.footer-links { display: flex; gap: 24px; }

.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .trust-row { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card-1 { left: 4px; }
  .float-card-2 { right: 4px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 7, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 20px 8%;
    gap: 18px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .download-card { flex-direction: column; text-align: center; padding: 26px 18px; }
  .download-left { flex-direction: column; }
  .floating-card { display: none; }
  .hero { padding-top: 50px; }
}
