/* ══════════════════════════════════════════
   DESIGN TOKENS — dark (default)
══════════════════════════════════════════ */
:root {
  --bg:           #000D1F;
  --bg-alt:       #00102A;
  --bg-section:   #00102A;
  --bg-card:      #00102A;
  --bg-nav:       rgba(0,13,31,0.85);

  --text:         #FFFFFF;
  --text-mid:     rgba(255,255,255,0.75);
  --text-soft:    rgba(255,255,255,0.5);

  --accent:       #00C8FF;
  --accent-dark:  #0066FF;
  --accent-bg:    rgba(0,200,255,0.10);
  --accent-bg2:   rgba(0,102,255,0.12);

  --border:       rgba(255,255,255,0.07);
  --border-accent:rgba(0,200,255,0.2);

  --btn-primary-bg:    var(--accent);
  --btn-primary-color: #000D1F;
  --btn-ghost-border:  rgba(255,255,255,0.3);
  --btn-ghost-color:   #fff;

  --shadow-sm:    none;
  --shadow-md:    none;
  --shadow-lg:    none;

  --stat-border:  rgba(255,255,255,0.07);

  --store-bg:     rgba(255,255,255,0.06);
  --store-border: rgba(255,255,255,0.1);

  --faq-border:   rgba(255,255,255,0.07);
  --faq-icon-border: rgba(255,255,255,0.2);

  --footer-cta-bg:    linear-gradient(135deg,rgba(0,26,61,0.9),rgba(0,13,31,0.95));
  --footer-cta-color: #fff;
  --footer-cta-sub:   rgba(255,255,255,0.65);
  --footer-cta-btn-bg:#fff;
  --footer-cta-btn-color: #000D1F;

  --footer-bg:    #000D1F;
  --footer-border:rgba(255,255,255,0.06);
  --footer-color: rgba(255,255,255,0.35);

  --phone-bg:     rgba(0,26,61,0.9);
  --phone-border: rgba(0,200,255,0.2);
  --phone-inner:  rgba(0,102,255,0.12);

  --toggle-track-dark:  #0A2244;
  --toggle-track-light: #C8DFFF;

  --transition: background .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease;
}

[data-theme="light"] {
  --bg:           #F4F8FF;
  --bg-alt:       #FFFFFF;
  --bg-section:   #EBF2FF;
  --bg-card:      #FFFFFF;
  --bg-nav:       rgba(255,255,255,0.92);

  --text:         #0A1628;
  --text-mid:     #3A4D6B;
  --text-soft:    #6B7E9C;

  --accent:       #0057E7;
  --accent-dark:  #0040B8;
  --accent-bg:    rgba(0,87,231,0.08);
  --accent-bg2:   rgba(0,87,231,0.05);

  --border:       rgba(0,87,231,0.12);
  --border-accent:rgba(0,87,231,0.3);

  --btn-primary-bg:    var(--accent);
  --btn-primary-color: #fff;
  --btn-ghost-border:  rgba(255,255,255,0.45);
  --btn-ghost-color:   #fff;

  --shadow-sm:    0 2px 12px rgba(0,57,180,0.08);
  --shadow-md:    0 8px 32px rgba(0,57,180,0.12);
  --shadow-lg:    0 20px 60px rgba(0,57,180,0.16);

  --stat-border:  rgba(0,87,231,0.1);

  --store-bg:     #fff;
  --store-border: rgba(0,87,231,0.15);

  --faq-border:   rgba(0,87,231,0.1);
  --faq-icon-border: rgba(0,87,231,0.25);

  --footer-cta-bg:    var(--accent);
  --footer-cta-color: #fff;
  --footer-cta-sub:   rgba(255,255,255,0.75);
  --footer-cta-btn-bg:#fff;
  --footer-cta-btn-color: var(--accent);

  --footer-bg:    #fff;
  --footer-border:rgba(0,87,231,0.1);
  --footer-color: #6B7E9C;

  --phone-bg:     #fff;
  --phone-border: rgba(0,87,231,0.15);
  --phone-inner:  #EBF2FF;
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geologica', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: var(--transition);
}

/* ══════════════════════════════════════════
   THEME SWITCHER
══════════════════════════════════════════ */
.theme-switcher {
  position: relative;
  width: 56px; height: 28px;
  flex-shrink: 0;
}
.theme-switcher input { display: none; }
.theme-track {
  position: absolute; inset: 0;
  border-radius: 50px;
  background: var(--toggle-track-dark);
  cursor: pointer;
  transition: background .4s ease;
  border: 1.5px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
[data-theme="light"] .theme-track {
  background: var(--toggle-track-light);
  border-color: rgba(0,87,231,0.2);
}

/* stars (dark) */
.theme-track::before {
  content:'';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 1px at 18% 35%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(circle 1px at 38% 60%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 72% 28%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(circle 1px at 85% 62%, rgba(255,255,255,0.6) 0%, transparent 100%);
  opacity: 1; transition: opacity .35s ease;
}
[data-theme="light"] .theme-track::before { opacity: 0; }

/* sun rays (light) */
.theme-track::after {
  content:'';
  position: absolute;
  top: 50%; right: 6px;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FDB813;
  /* box-shadow:
    0 0 0 2px rgba(253,184,19,0.25),
    0 -6px 0 -4px #FDB813,
    0 6px 0 -4px #FDB813,
    -6px 0 0 -4px #FDB813,
    6px 0 0 -4px #FDB813; */
  opacity: 0; transition: opacity .35s ease;
}
[data-theme="light"] .theme-track::after { opacity: 1; }

.theme-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #E8F0FF;
  transition: transform 2s cubic-bezier(.34,1.56,.64,1), background .4s ease;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 2;
}
[data-theme="light"] .theme-thumb {
  transform: translateX(28px);
  background: #fff;
}

/* moon icon */
.thumb-moon {
  width: 11px; height: 11px;
  position: relative;
  transition: opacity .3s ease;
}
.thumb-moon::before {
  content:'';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #0A2244;
  clip-path: circle(50% at 65% 50%);
}
[data-theme="light"] .thumb-moon { opacity: 0; }

/* sun icon (inside thumb, light) */
.thumb-sun {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
[data-theme="light"] .thumb-sun { opacity: 1; }
.thumb-sun svg { width: 12px; height: 12px; color: #FDB813; }


/* ══════════════════════════════════════════
   THEME RESET BUTTON (WITH ANIMATION)
══════════════════════════════════════════ */
.theme-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  cursor: pointer;
  
  /* Исходное скрытое состояние */
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
  pointer-events: none; /* Кнопка не кликабельна, пока скрыта */
  
  /* Плавный переход для всех состояний */
  transition: 
    opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 2s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 2s ease, color .45s ease, border-color .45s ease;
}

/* Состояние плавного появления */
.theme-reset-btn.visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto; /* Включаем кликабельность */
}

/* Эффект при наведении на видимую кнопку */
.theme-reset-btn.visible:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  transform: scale(1.05) rotate(-30deg);
}


/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
nav.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-left { display: flex; align-items: center; gap: 40px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.5px;
  text-decoration: none; color: #fff;
  transition: color .3s;
}
.nav-logo svg { width: 34px; height: 34px; transition: color .3s; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 400; letter-spacing: 0.01em;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

/* after scroll / light theme: links adapt */
nav.scrolled .nav-logo { color: var(--text); }
nav.scrolled .nav-links a { color: var(--text-soft); }
nav.scrolled .nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent); color: var(--btn-primary-color);
  border: none; padding: 10px 22px; border-radius: 50px;
  font-family: 'Geologica', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .4s, color .4s;
  text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,120,255,0.35); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; overflow: hidden; padding-bottom: 100px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay-dark {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,13,31,0.05) 0%,
    rgba(0,13,31,0) 35%,
    rgba(0,13,31,0.65) 78%,
    #000D1F 100%);
  transition: opacity .5s ease;
}
.hero-overlay-light {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,30,90,0.08) 0%,
    rgba(0,40,120,0) 35%,
    rgba(0,20,70,0.5) 78%,
    #F4F8FF 100%);
  opacity: 0;
  transition: opacity .5s ease;
}
[data-theme="light"] .hero-overlay-dark { opacity: 0; }
[data-theme="light"] .hero-overlay-light { opacity: 1; }

.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8); text-transform: uppercase;
  margin-bottom: 20px; opacity: 0;
  animation: fadeUp .8s .3s ease forwards;
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 24px; opacity: 0;
  animation: fadeUp .8s .5s ease forwards;
}
.hero-title span { color: #7FD4FF; }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px); font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.6;
  margin-bottom: 40px; opacity: 0;
  animation: fadeUp .8s .7s ease forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .9s ease forwards;
}
.btn-primary {
  background: #fff; color: #0057E7;
  padding: 16px 36px; border-radius: 50px; border: none;
  font-family: 'Geologica', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.btn-ghost {
  background: transparent; color: #fff;
  padding: 16px 36px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-family: 'Geologica', sans-serif; font-size: 15px; font-weight: 400;
  cursor: pointer; transition: border-color .2s, background .2s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.4s ease forwards;
}
.scroll-indicator span { font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,0.55); }
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)}
}

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: grid; grid-template-columns: repeat(4,1fr);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-item {
  text-align: center; padding: 36px 16px;
  border-right: 1px solid var(--stat-border);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px,4vw,44px); font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
  transition: color .4s;
}
.stat-label { font-size: 13px; color: var(--text-soft); font-weight: 300; transition: color .4s; }

/* ══════════════════════════════════════════
   COMMON
══════════════════════════════════════════ */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.25em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 16px; transition: color .4s;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px,4vw,48px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 60px; max-width: 560px;
  color: var(--text); transition: color .4s;
}
.btn-accent {
  background: var(--accent); color: var(--btn-primary-color);
  padding: 15px 34px; border-radius: 50px; border: none;
  font-family: 'Geologica', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .4s, color .4s;
  text-decoration: none; display: inline-block;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,120,255,0.35); }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { padding: 120px 48px; max-width: 1280px; margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  transition: var(--transition);
}
[data-theme="light"] .services-grid { gap: 16px; background: transparent; border: none; border-radius: 0; overflow: visible; }
.service-card {
  background: var(--bg-card); padding: 44px 32px;
  transition: background .3s, box-shadow .3s, transform .3s;
  cursor: default;
}
[data-theme="dark"] .service-card:hover { background: var(--accent-bg2); }
[data-theme="light"] .service-card {
  border: 1px solid var(--border); border-radius: 20px;
}
[data-theme="light"] .service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; margin-bottom: 28px;
  background: var(--accent-bg);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-accent);
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; color: var(--accent); transition: color .4s; }
.service-name {
  font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600;
  margin-bottom: 12px; color: var(--text); transition: color .4s;
}
.service-desc { font-size: 14px; color: var(--text-soft); line-height: 1.65; font-weight: 300; transition: color .4s; }

/* ══════════════════════════════════════════
   COVERAGE
══════════════════════════════════════════ */
#coverage {
  padding: 120px 48px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.coverage-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.coverage-map {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-accent);
  aspect-ratio: 1.4;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.coverage-map canvas { width: 100%; height: 100%; display: block; }
.coverage-text p {
  font-size: 16px; color: var(--text-mid); line-height: 1.7;
  font-weight: 300; margin-bottom: 32px; transition: color .4s;
}
.coverage-text .section-title { max-width: 100%; margin-bottom: 24px; }
.coverage-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.feature-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-mid); transition: color .4s; }
.feature-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; transition: background .4s; }

/* ══════════════════════════════════════════
   TARIFFS
══════════════════════════════════════════ */
#tariffs { padding: 120px 48px; max-width: 1280px; margin: 0 auto; }
.tariffs-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
}
.tariff-toggle {
  display: flex;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: 50px; padding: 4px; gap: 2px;
  transition: var(--transition);
}
.toggle-btn {
  padding: 10px 22px; border-radius: 50px; border: none;
  font-family: 'Geologica', sans-serif; font-size: 13px; cursor: pointer;
  background: transparent; color: var(--text-soft); transition: all .25s;
}
.toggle-btn.active { background: var(--accent); color: #fff; }
[data-theme="light"] .toggle-btn.active { color: #fff; }
.tariffs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tariff-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 20px; padding: 36px 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .4s;
  position: relative;
}
.tariff-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tariff-card.featured {
  border-color: var(--accent);
  background: var(--accent);
}
[data-theme="light"] .tariff-card.featured { background: var(--accent); }
.tariff-badge {
  position: absolute; top: 20px; right: 20px;
  background: #fff; color: var(--accent);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 50px;
}
.tariff-name {
  font-family: 'Unbounded', sans-serif; font-size: 17px; font-weight: 600;
  margin-bottom: 8px; color: var(--text); transition: color .4s;
}
.tariff-card.featured .tariff-name { color: #fff; }
.tariff-tagline { font-size: 12px; color: var(--text-soft); margin-bottom: 28px; transition: color .4s; }
.tariff-card.featured .tariff-tagline { color: rgba(255,255,255,0.7); }
.tariff-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.price-amount {
  font-family: 'Unbounded', sans-serif;
  font-size: 38px; font-weight: 700; color: var(--accent); transition: color .4s;
}
.tariff-card.featured .price-amount { color: #fff; }
.price-unit { font-size: 13px; color: var(--text-soft); transition: color .4s; }
.tariff-card.featured .price-unit { color: rgba(255,255,255,0.6); }
.tariff-features { list-style: none; margin-bottom: 32px; }
.tariff-features li {
  font-size: 13px; color: var(--text-mid);
  padding: 9px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; transition: color .4s, border-color .4s;
}
.tariff-card.featured .tariff-features li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.15); }
.tariff-features li:last-child { border-bottom: none; }
.tariff-features li::before {
  content:''; width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0; transition: background .4s;
}
.tariff-card.featured .tariff-features li::before { background: rgba(255,255,255,0.7); }
.btn-tariff {
  width: 100%; padding: 13px;
  border-radius: 50px; border: 1.5px solid var(--border-accent);
  background: transparent; color: var(--accent);
  font-family: 'Geologica', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background .2s, color .2s, border-color .4s;
}
.btn-tariff:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.tariff-card.featured .btn-tariff { background: #fff; color: var(--accent); border-color: #fff; }
.tariff-card.featured .btn-tariff:hover { background: rgba(255,255,255,0.85); }

/* ══════════════════════════════════════════
   FEATURE SECTION
══════════════════════════════════════════ */
.feature-section {
  position: relative; height: 80vh; min-height: 500px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.feature-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 65% at 72% 50%, var(--accent-bg2), transparent);
  pointer-events: none; transition: var(--transition);
}
.feature-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 48px; width: 100%;
}
.feature-inner-text { max-width: 520px; }
.feature-inner-text .section-title { margin-bottom: 24px; }
.feature-inner-text p {
  font-size: 18px; color: var(--text-mid); line-height: 1.7;
  font-weight: 300; margin-bottom: 40px; transition: color .4s;
}
.feature-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; pointer-events: none;
}
.feature-visual canvas { width: 100%; height: 100%; display: block; }

/* ══════════════════════════════════════════
   APP
══════════════════════════════════════════ */
#app {
  padding: 120px 48px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  transition: var(--transition);
}
.app-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.app-mockup { display: flex; gap: 16px; justify-content: center; }
.phone-frame {
  width: 180px; height: 360px;
  background: var(--phone-bg);
  border: 1.5px solid var(--phone-border);
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.phone-frame:first-child { margin-top: 40px; }
.phone-screen { padding: 16px 12px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.phone-bar { height: 6px; border-radius: 3px; background: var(--accent-bg); transition: var(--transition); }
.phone-bar.accent { background: var(--accent); width: 60%; }
.phone-card-mini {
  background: var(--phone-inner); border-radius: 10px;
  padding: 12px; border: 1px solid var(--border);
  transition: var(--transition);
}
.phone-dot { width: 28px; height: 28px; background: var(--accent-bg); border-radius: 50%; margin-bottom: 8px; transition: var(--transition); }
.phone-line { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 4px; transition: var(--transition); }
.phone-line.short { width: 50%; background: var(--accent); opacity: 0.45; }
.phone-balance {
  font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--accent); text-align: center; margin: 8px 0 4px; transition: color .4s;
}
.phone-balance-label { font-size: 9px; color: var(--text-soft); text-align: center; transition: color .4s; }
.app-text .section-title { margin-bottom: 24px; }
.app-text p {
  font-size: 16px; color: var(--text-mid); line-height: 1.7; font-weight: 300;
  margin-bottom: 40px; transition: color .4s;
}
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--store-bg); border: 1.5px solid var(--store-border);
  border-radius: 12px; padding: 12px 20px; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .4s;
  text-decoration: none; color: var(--text);
}
.store-badge:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.store-badge svg { color: var(--text-mid); transition: color .4s; }
.store-badge-sub { font-size: 9px; color: var(--text-soft); letter-spacing: 0.05em; transition: color .4s; }
.store-badge-name { font-size: 14px; font-weight: 500; color: var(--text); transition: color .4s; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
#faq { padding: 120px 48px; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--faq-border); transition: border-color .4s; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Geologica', sans-serif; font-size: 16px; font-weight: 400;
  text-align: left; padding: 24px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--faq-icon-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .35s;
}
.faq-icon svg path { stroke: var(--text-soft); transition: stroke .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent); }
.faq-item.open .faq-icon svg path { stroke: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: 14px; color: var(--text-mid); line-height: 1.7; font-weight: 300;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 24px; }

/* ══════════════════════════════════════════
   FOOTER CTA
══════════════════════════════════════════ */
.footer-cta {
  background: var(--footer-cta-bg);
  padding: 100px 48px; text-align: center;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.footer-cta::before {
  content:''; position: absolute;
  top:-80px; right:-80px; width:360px; height:360px; border-radius:50%;
  background: rgba(255,255,255,0.05); pointer-events:none;
}
.footer-cta::after {
  content:''; position: absolute;
  bottom:-100px; left:-60px; width:300px; height:300px; border-radius:50%;
  background: rgba(255,255,255,0.03); pointer-events:none;
}
.footer-cta h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px,4vw,52px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--footer-cta-color); margin-bottom: 16px;
  position: relative; z-index: 1; transition: color .4s;
}
.footer-cta p {
  font-size: 18px; color: var(--footer-cta-sub); margin-bottom: 40px;
  font-weight: 300; position: relative; z-index: 1; transition: color .4s;
}
.footer-cta .btn-cta {
  position: relative; z-index: 1;
  background: var(--footer-cta-btn-bg); color: var(--footer-cta-btn-color);
  padding: 16px 36px; border-radius: 50px; border: none;
  font-family: 'Geologica', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .4s, color .4s;
  text-decoration: none; display: inline-block;
}
.footer-cta .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 48px 48px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px; transition: var(--transition);
}
.footer-logo {
  font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text-soft); display: flex; align-items: center; gap: 10px;
  text-decoration: none; transition: color .4s;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--text-soft); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--footer-color); transition: color .4s; }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp {
  from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)}
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.reveal {
  opacity:0; transform:translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity:1; transform:none; }

/* ══════════════════════════════════════════
   MOBILE
══════════════════════════════════════════ */
@media(max-width:900px){
  nav { padding:14px 20px; }
  .nav-links { display:none; }
  .stats-strip { grid-template-columns:repeat(2,1fr); padding:0 20px; }
  .stat-item:nth-child(2){border-right:none;}
  #services,#tariffs,#faq,footer,.footer-cta{padding:80px 20px;}
  .services-grid{grid-template-columns:1fr;}
  [data-theme="light"] .services-grid{gap:12px;}
  .tariffs-grid{grid-template-columns:1fr 1fr;}
  .coverage-inner,.app-inner{grid-template-columns:1fr;gap:48px;}
  #coverage,#app{padding:80px 20px;}
  .feature-section{height:auto;padding:80px 20px;}
  .feature-inner{padding:0;}
  .feature-visual{display:none;}
  .tariffs-header{flex-direction:column;align-items:flex-start;gap:24px;}
  footer{flex-direction:column;align-items:flex-start;}
}
@media(max-width:600px){
  .tariffs-grid{grid-template-columns:1fr;}
  .hero-actions{flex-direction:column;align-items:center;}
}