:root {
  --bg: #060608;
  --bg-elevated: #0e0e12;
  --surface: #15151a;
  --surface-hover: #1c1c22;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #f0f0f5;
  --text-secondary: #8b8b9e;
  --text-tertiary: #5c5c70;
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-muted: rgba(139, 92, 246, 0.15);
  --primary-glow: rgba(139, 92, 246, 0.25);
  --accent: #10b981;
  --accent-muted: rgba(16, 185, 129, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
}
.glow--hero {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: var(--primary-glow);
}
.glow--features {
  width: 500px;
  height: 500px;
  top: 50%;
  left: -150px;
  transform: translateY(-50%);
  background: rgba(16, 185, 129, 0.08);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  display: flex;
}
.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.header__nav a:hover { color: var(--text); }
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition);
}
.header__nav a:hover::after { width: 100%; }

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}
.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header__menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
  min-height: 100vh;
}
.hero__content { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: var(--primary-muted);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition), color var(--transition);
}
.pill:hover { border-color: var(--border-hover); color: var(--text); }
.pill__icon { font-size: 0.9rem; }

.store-buttons { display: flex; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.store-buttons--center { justify-content: center; }
.store-link { display: block; transition: transform var(--transition), opacity var(--transition); }
.store-link:hover { transform: translateY(-2px); opacity: 0.9; }
.store-img { height: 44px; }

.stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 600px;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0.25rem 0.5rem;
}
.stat__icon {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--text) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.8rem; color: var(--text-secondary); }
.stat__divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 280px;
  background: #1a1a22;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 25px 50px -12px rgba(0,0,0,0.6),
    0 0 100px rgba(139, 92, 246, 0.1);
  position: relative;
  z-index: 2;
}
.phone__notch {
  width: 100px;
  height: 24px;
  background: #1a1a22;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.phone__screen {
  background: #0c0c10;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 12px;
}
.phone__status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 20px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.phone__status-icons { display: flex; gap: 4px; align-items: center; }
.phone__header {
  padding: 8px 16px 12px;
}
.phone__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.phone__subtitle {
  font-size: 12px;
  color: var(--text-tertiary);
}
.phone__map {
  margin: 0 8px;
  height: 220px;
  background: #111118;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-bg { position: absolute; inset: 0; }
.map-road {
  position: absolute;
  background: rgba(255,255,255,0.03);
}
.map-road--h1 { top: 35%; left: 0; right: 0; height: 2px; }
.map-road--h2 { top: 65%; left: 0; right: 0; height: 2px; }
.map-road--v1 { left: 30%; top: 0; bottom: 0; width: 2px; }
.map-road--v2 { left: 70%; top: 0; bottom: 0; width: 2px; }
.map-block {
  position: absolute;
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
}
.map-block--1 { top: 10%; left: 8%; width: 18%; height: 20%; }
.map-block--2 { top: 42%; left: 38%; width: 25%; height: 18%; }
.map-block--3 { bottom: 10%; right: 8%; width: 20%; height: 22%; }

.map-pin {
  position: absolute;
  color: var(--primary);
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
  animation: pin-float 3s ease-in-out infinite;
}
.map-pin--1 { top: 18%; left: 22%; animation-delay: 0s; }
.map-pin--2 { top: 40%; left: 55%; animation-delay: 0.8s; }
.map-pin--3 { top: 60%; left: 18%; animation-delay: 1.6s; }
.map-pin--4 { top: 28%; left: 72%; animation-delay: 0.4s; color: var(--accent); filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4)); }
.map-pin__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-glow);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}
@keyframes pin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.phone__card {
  margin: 12px 8px 0;
  padding: 10px;
  display: flex;
  gap: 10px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.phone__card-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-muted), var(--accent-muted));
  flex-shrink: 0;
}
.phone__card-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.phone__card-info strong { font-size: 13px; font-weight: 700; }
.phone__card-info span { font-size: 11px; color: var(--text-tertiary); }
.phone__card-rating { color: #fbbf24 !important; }

.floating-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: tag-float 4s ease-in-out infinite;
}
.floating-tag__icon { font-size: 1rem; }
.floating-tag--1 {
  top: 10%;
  right: -10%;
  background: var(--primary);
  color: #fff;
  animation-delay: 0s;
}
.floating-tag--2 {
  bottom: 25%;
  right: -5%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  animation-delay: 1.5s;
}
.floating-tag--3 {
  top: 35%;
  left: -5%;
  background: var(--accent);
  color: #fff;
  animation-delay: 3s;
}
@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem;
}
.section--features { overflow: hidden; }

.section__header { text-align: center; margin-bottom: 4rem; }
.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 700px;
  margin: 0 auto;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-elevated);
  transition: background var(--transition);
}
.step:hover { background: var(--surface); }
.step__num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-muted);
  border-radius: 12px;
  flex-shrink: 0;
}
.step__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.step__content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  padding: 2rem;
  background: var(--bg-elevated);
  transition: all var(--transition);
}
.feature:hover { background: var(--surface); }
.feature__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq:hover { border-color: var(--border-hover); }
.faq[open] { border-color: rgba(139, 92, 246, 0.2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-light); }
.faq__chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform var(--transition);
}
.faq[open] .faq__chevron { transform: rotate(180deg); color: var(--primary); }
.faq p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta-section {
  padding: 2rem;
}
.cta-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary-muted), var(--accent-muted));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}
.footer__brand .brand { margin-bottom: 0.75rem; }
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
.footer__links {
  display: flex;
  gap: 5rem;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.footer__col a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.15s; }

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
    min-height: auto;
    gap: 3rem;
  }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { text-align: center; }
  .stats { justify-content: center; }
  .pills { justify-content: center; }
  .store-buttons { justify-content: center; }
  .hero__visual { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .floating-tag--3 { left: 5%; }
  .floating-tag--1 { right: 0; }
}

@media (max-width: 768px) {
  .header__menu-btn { display: flex; }
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .header__nav.open {
    opacity: 1;
    visibility: visible;
  }
  .header__nav a { font-size: 1.5rem; font-weight: 600; }

  .hero { padding: 7rem 1.25rem 3rem; }
  h1 { font-size: 2.5rem; }
  .stats { flex-direction: column; gap: 1rem; align-items: center; }

  .section { padding: 4rem 1.25rem; }
  .features { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; gap: 2rem; }
  .footer__links { gap: 2rem; flex-wrap: wrap; }

  .floating-tag--3 { display: none; }
}

@media (max-width: 480px) {
  .phone { width: 240px; }
  .phone__map { height: 180px; }
  h1 { font-size: 2rem; }
  .section h2 { font-size: 1.75rem; }
  .step { padding: 1.25rem; gap: 1rem; }
  .feature { padding: 1.5rem; }
}
