:root {
  --bg: #070b14;
  --bg-card: #0f1629;
  --bg-card-hover: #141e38;
  --accent: #00e676;
  --accent-dim: #00c853;
  --accent-glow: rgba(0, 230, 118, 0.35);
  --gold: #ffd54f;
  --text: #f0f4fc;
  --text-muted: #8b9cb8;
  --border: rgba(255, 255, 255, 0.08);
  --tg: #29b6f6;
  --radius: 16px;
  --radius-sm: 10px;
  --pad-inline: 18px;
  --pad-block: 20px;
  --pad-card: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 230, 118, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 118, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
}

.bg-glow--bottom {
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, #2979ff 0%, transparent 70%);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.1); }
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--pad-block);
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes countPop {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-in {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
.delay-5 { animation-delay: 0.65s; }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.badge-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  padding: 5px 11px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.lang-btn.active {
  background: var(--accent);
  color: #041208;
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

/* Hero */
.hero {
  text-align: center;
  padding: 28px 0 32px;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255, 213, 79, 0.15), rgba(0, 230, 118, 0.15));
  border: 1px solid rgba(255, 213, 79, 0.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #69f0ae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 360px;
  margin: 0 auto 28px;
}

/* Stat block */
.stat-hero {
  background: linear-gradient(145deg, var(--bg-card) 0%, #0a1228 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px var(--pad-card);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.stat-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stat-number {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), #69f0ae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countPop 1s ease 0.5s forwards;
  opacity: 0;
}

.stat-number::after {
  content: '%';
  font-size: 2.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-bars {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  justify-content: center;
}

.stat-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 230, 118, 0.2);
  flex: 1;
  max-width: 48px;
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0;
  animation: barFill 1.2s ease forwards;
}

.stat-bar:nth-child(1) span { animation-delay: 0.8s; width: 85%; }
.stat-bar:nth-child(2) span { animation-delay: 0.9s; width: 72%; }
.stat-bar:nth-child(3) span { animation-delay: 1s; width: 91%; }
.stat-bar:nth-child(4) span { animation-delay: 1.1s; width: 78%; }
.stat-bar:nth-child(5) span { animation-delay: 1.2s; width: 88%; }

@keyframes barFill {
  from { width: 0; }
}

/* CTA Button */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #041208;
  box-shadow: 0 8px 32px var(--accent-glow);
  animation: pulse 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.btn-primary span { position: relative; z-index: 1; }

.btn-download {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #041208;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.install-hint {
  margin-top: 20px;
  padding: var(--pad-inline);
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-sm);
  text-align: left;
}

.install-hint__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.install-hint__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.install-hint__list li + li {
  margin-top: 6px;
}

.footer-apk a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-apk a:hover {
  text-decoration: underline;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.cta-note strong { color: var(--accent); }

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  margin: 32px calc(var(--pad-block) * -1);
  padding: 12px var(--pad-block);
  background: rgba(0, 230, 118, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: slideTicker 25s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ticker-item .win { color: var(--accent); }

/* Features */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  padding: 0 4px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding: 0 4px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--pad-card) var(--pad-inline);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 230, 118, 0.2);
  transform: translateX(4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-icon--ai { background: rgba(41, 182, 246, 0.15); }
.feature-icon--stat { background: rgba(0, 230, 118, 0.15); }
.feature-icon--fast { background: rgba(255, 213, 79, 0.15); }
.feature-icon--alert { background: rgba(255, 82, 82, 0.15); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px var(--pad-inline);
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px var(--pad-inline);
  margin: 0 calc(var(--pad-inline) * -1);
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(var(--pad-inline) + 19px);
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #041208;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Social proof */
.reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--pad-card) var(--pad-inline);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.review-author span {
  color: var(--text-muted);
  font-weight: 400;
}

/* Urgency */
.urgency {
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.12), rgba(255, 213, 79, 0.08));
  border: 1px solid rgba(255, 82, 82, 0.25);
  border-radius: var(--radius);
  padding: var(--pad-card) var(--pad-inline);
  text-align: center;
  margin-bottom: 24px;
}

.urgency-timer {
  font-size: 1.75rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #ff5252;
  margin: 8px 0;
}

.urgency p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px var(--pad-inline);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  padding: 18px 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  background: rgba(0, 230, 118, 0.08);
  border-radius: 8px;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(0, 230, 118, 0.15);
}

.faq-item p {
  padding: 0 4px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  max-width: 480px;
  margin: 0 auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 48px 0 120px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--tg);
  text-decoration: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 520px) {
  .container { max-width: 520px; }
}
