/* ========================================
   SOVA Monitoring Landing Page — Custom CSS
   Dark theme, mobile-first, Montserrat
   ======================================== */

:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --bg-card-hover: #1c2a4a;
  --accent: #faa74a;
  --accent-hover: #f59520;
  --accent-light: rgba(250, 167, 74, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #b0b8c8;
  --text-muted: #6c7a8d;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1200px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--text-primary);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--accent-hover);
  color: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(250, 167, 74, 0.4);
}

.header__phone {
  display: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 30px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .header__cta {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
  font-size: 16px;
  padding: 14px 28px;
}

.mobile-menu__phone {
  margin-top: 20px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
}

.mobile-menu__phone a {
  border-bottom: none;
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  padding: 8px 0;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 167, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(250, 167, 74, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #1a1a2e;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 167, 74, 0.4);
}

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-primary--large {
  padding: 18px 40px;
  font-size: 17px;
}

/* ── Section CTA (промежуточные кнопки) ── */
.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* ── Hero Social Proof ── */
.hero__social-proof {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero__quote {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

.hero__quote-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
}

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

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 167, 74, 0.08) 0%, rgba(100, 120, 255, 0.04) 30%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* ── iPhone 15 Pro Mockup ─────────────── */
.iphone {
  position: relative;
  z-index: 2;
}

.iphone__frame {
  position: relative;
  width: 320px;
  padding: 10px;
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 30%, #2c2c2e 50%, #1c1c1e 70%, #3a3a3c 100%);
  border-radius: 48px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Titanium side buttons */
.iphone__frame::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 120px;
  width: 4px;
  height: 42px;
  background: linear-gradient(180deg, #555 0%, #3a3a3c 50%, #555 100%);
  border-radius: 0 3px 3px 0;
}

.iphone__frame::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 100px;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #555 0%, #3a3a3c 50%, #555 100%);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 40px 0 0 #3a3a3c, 0 40px 0 0 #3a3a3c;
}

.iphone__screen {
  position: relative;
  width: 100%;
  background: #F2F2F7;
  border-radius: 38px;
  overflow: hidden;
  height: 600px;
}

/* iOS Status Bar */
.ios-statusbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 48px;
  background: #F2F2F7;
  z-index: 20;
}

.ios-statusbar__time {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1e;
  letter-spacing: 0.02em;
  width: 44px;
  position: relative;
  top: -2px;
}

.ios-dynamic-island {
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.ios-statusbar__right {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  top: -2px;
}

.ios-battery {
  display: flex;
  align-items: center;
  gap: 1px;
}

.ios-battery__body {
  width: 22px;
  height: 11px;
  border: 1.5px solid #1c1c1e;
  border-radius: 3px;
  padding: 1.5px;
}

.ios-battery__fill {
  width: 80%;
  height: 100%;
  background: #1c1c1e;
  border-radius: 1px;
}

.ios-battery__cap {
  width: 2px;
  height: 5px;
  background: #1c1c1e;
  border-radius: 0 1px 1px 0;
  opacity: 0.4;
}

/* iOS Home Indicator */
.ios-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #1c1c1e;
  border-radius: 4px;
  opacity: 0.2;
  z-index: 20;
}

/* ── Phone Screens ────────────────────── */
.phone-screen {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  bottom: 0;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.phone-screen::-webkit-scrollbar { display: none; }

.phone-screen.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ── iOS Navigation Bar ───────────────── */
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 8px;
  background: #F2F2F7;
}

.app-nav__title {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c1e;
  letter-spacing: -0.01em;
}

/* ── iOS Segmented Control ────────────── */
.app-segmented {
  display: flex;
  margin: 0 16px 10px;
  background: rgba(118, 118, 128, 0.12);
  border-radius: 8px;
  padding: 2px;
}

.app-seg {
  flex: 1;
  text-align: center;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1c1c1e;
  border-radius: 7px;
  transition: all 0.2s;
}

.app-seg.active {
  background: #3478F6;
  color: #fff;
  box-shadow: 0 1px 4px rgba(52, 120, 246, 0.3);
}

/* ── Home Dashboard Screen ────────────── */
.app-home {
  padding: 0 16px 60px;
  position: relative;
}

.home-income {
  background: linear-gradient(135deg, #3366FF 0%, #4D7CFF 100%);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.home-income__label {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 4px;
}

.home-income__value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-income-today {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11.5px;
  color: #1c1c1e;
  margin-bottom: 10px;
}

.home-income-today__val {
  text-decoration: underline;
  font-weight: 600;
}

.home-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.home-stat {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
}

.home-stat__label {
  font-size: 8.5px;
  color: #8e8e93;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.2;
}

.home-stat__value {
  font-size: 15px;
  font-weight: 700;
  color: #1c1c1e;
  letter-spacing: -0.02em;
}

.home-farms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: #1c1c1e;
  margin-bottom: 8px;
  padding: 0 2px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}

.home-badge.blue {
  background: #3478F6;
  color: #fff;
}

.home-farms {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-farm {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

.home-farm__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3478F6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-farm__info {
  flex: 1;
}

.home-farm__name {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1e;
}

.home-farm__id {
  font-size: 10.5px;
  color: #8e8e93;
}

.home-fab {
  position: absolute;
  bottom: -30px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1c1c1e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ── Miners List (iOS style) ──────────── */
.app-list {
  padding: 0 16px;
}

.app-row {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 9px 12px;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.1);
}

.app-row:first-child {
  border-radius: 10px 10px 0 0;
}

.app-row:last-child,
.app-row.last-partial {
  border-radius: 0 0 10px 10px;
  border-bottom: none;
}

.app-row__content {
  flex: 1;
  min-width: 0;
}

.app-row__name {
  font-size: 10.5px;
  color: #1c1c1e;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1px;
}

.app-row__name b {
  font-weight: 600;
}

.app-row__sub {
  font-size: 9.5px;
  color: #8e8e93;
  font-weight: 400;
}

.app-row__meta {
  font-size: 9px;
  color: #8e8e93;
  line-height: 1.3;
}

.meta-bolt { color: #FF9500; }
.meta-temp { color: #007AFF; }
.meta-fan { color: #8e8e93; font-size: 8.5px; }

.app-row__status {
  font-size: 8.5px;
  color: #34C759;
  font-weight: 500;
  margin-top: 1px;
}

.app-row__chevron {
  flex-shrink: 0;
  margin-left: 8px;
  opacity: 0.3;
}

.app-row.last-partial {
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

/* ── Miner Detail Screen ──────────────── */
.app-miner-detail {
  padding: 0 16px 24px;
}

.miner-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.miner-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.08);
}

.miner-table__row:last-child {
  border-bottom: none;
}

.miner-table__label {
  font-size: 11px;
  color: #1c1c1e;
  font-weight: 400;
}

.miner-table__value {
  font-size: 11px;
  color: #1c1c1e;
  font-weight: 500;
  text-align: right;
}

.miner-pool {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  gap: 8px;
}

.miner-pool__info {
  flex: 1;
  min-width: 0;
}

.miner-pool__label {
  font-size: 9px;
  color: #8e8e93;
  margin-bottom: 2px;
}

.miner-pool__value {
  font-size: 9.5px;
  color: #1c1c1e;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.3;
}

.miner-pool__edit {
  font-size: 10px;
  color: #8e8e93;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 12px;
}

.miner-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #1c1c1e;
}

.miner-mode b {
  font-weight: 600;
  font-style: italic;
}

.miner-reboot-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: #FF3B30;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

/* ── Screen Dots ──────────────────────── */
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.phone-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(250, 167, 74, 0.5);
  transform: scale(1.15);
}

/* ========================================
   PROBLEM / PAIN POINTS
   ======================================== */
.problem {
  background: var(--bg-secondary);
}

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

.problem__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.problem__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problem__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.problem__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.problem__card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   SOLUTION / FEATURES
   ======================================== */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.solution__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.solution__item:hover {
  border-color: rgba(250, 167, 74, 0.3);
  background: var(--bg-card);
}

.solution__check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.solution__item-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.solution__item-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========================================
   DEVICE SHOWCASE — 3D Product
   ======================================== */
.device-showcase {
  padding: 80px 0;
  overflow: hidden;
}

.device-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.device-showcase__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

/* ── 3D Device ── */
.device-3d {
  position: relative;
  width: 300px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-3d__face {
  width: 260px;
  height: 260px;
  background: linear-gradient(
    145deg,
    #2e2e40 0%,
    #222234 25%,
    #1a1a2c 50%,
    #1e1e30 75%,
    #282840 100%
  );
  border-radius: 40px;
  position: relative;
  transform: perspective(1000px) rotateX(8deg) rotateY(-18deg);
  box-shadow:
    -2px 2px 0 0 #1a1a2e,
    -4px 4px 0 0 #18182c,
    -6px 6px 0 0 #16162a,
    -8px 8px 0 0 #141428,
    -10px 10px 0 0 #121226,
    -12px 12px 0 0 #101024,
    -14px 14px 0 0 #0e0e22,
    -16px 16px 0 0 #0c0c20,
    -18px 18px 0 0 #0a0a1e,
    -20px 20px 0 0 #08081c,
    /* Ambient glow */
    -30px 40px 60px rgba(0, 0, 0, 0.6),
    -12px 18px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: device-float 5s ease-in-out infinite;
}

/* Light reflection on surface */
.device-3d__reflection {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 90%;
  height: 90%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

/* Owl logo on device face */
.device-3d__owl {
  width: 110px;
  height: auto;
  opacity: 0.85;
  filter: brightness(0.9) saturate(0.8);
  position: relative;
  z-index: 1;
  transition: opacity 0.3s, filter 0.3s;
}

.device-3d__face:hover .device-3d__owl {
  opacity: 1;
  filter: brightness(1) saturate(1);
}

/* LED indicator */
.device-3d__led {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  animation: led-blink 3s ease-in-out infinite;
  z-index: 2;
}

/* Glow under device */
.device-3d__glow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-58%);
  width: 180px;
  height: 20px;
  background: radial-gradient(
    ellipse,
    rgba(250, 167, 74, 0.2) 0%,
    rgba(250, 167, 74, 0.05) 50%,
    transparent 80%
  );
  filter: blur(14px);
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes device-float {
  0%, 100% { transform: perspective(1000px) rotateX(8deg) rotateY(-18deg) translateY(0); }
  50% { transform: perspective(1000px) rotateX(8deg) rotateY(-18deg) translateY(-10px); }
}

@keyframes led-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
  50% { opacity: 0.4; box-shadow: 0 0 3px rgba(74, 222, 128, 0.3); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Device Info ── */
.device-showcase__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.device-showcase__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-showcase__specs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.4;
}

.device-showcase__spec-icon {
  font-size: 18px;
  min-width: 28px;
  text-align: center;
}

.device-showcase__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.device-showcase__price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.device-showcase__price-bonus {
  font-size: 15px;
  color: #4ade80;
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .device-showcase__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .device-showcase__info .section-title {
    text-align: center !important;
  }

  .device-showcase__specs {
    align-items: center;
  }

  .device-showcase__price {
    justify-content: center;
  }

  .device-showcase__info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .device-3d__face {
    width: 220px;
    height: 220px;
    border-radius: 32px;
  }

  .device-3d__owl {
    width: 90px;
  }

  .device-3d__led {
    bottom: 16px;
    right: 20px;
    width: 5px;
    height: 5px;
  }

  .device-showcase__desc {
    font-size: 15px;
  }

  .device-showcase__price-value {
    font-size: 30px;
  }
}

/* ========================================
   ALLOWS — Capabilities
   ======================================== */
.allows {
  padding: 60px 0;
}

.allows__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.allows__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 28px;
}

.allows__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-primary);
}

.allows__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(250, 167, 74, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.allows__demo {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

.allows__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.allows__link:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .allows__card {
    padding: 24px 20px;
  }

  .allows__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .allows__item {
    font-size: 15px;
  }

  .allows__demo {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ========================================
   DEVICE SCHEME — Connection flow under device
   ======================================== */
.device-showcase__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-scheme {
  margin-top: 20px;
  padding: 14px 10px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
}

.scheme-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

/* Each item: icon + label stacked */
.scheme-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
}

.scheme-item--highlight .scheme-icon {
  box-shadow: 0 0 12px rgba(250, 167, 74, 0.3);
}

/* Icon circles */
.scheme-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}

.scheme-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.scheme-icon--yellow  { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.scheme-icon--orange  { color: var(--accent); border-color: rgba(250, 167, 74, 0.5); }
.scheme-icon--blue    { color: #3b82f6; border-color: rgba(59, 130, 246, 0.4); }
.scheme-icon--green   { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.scheme-icon--lightblue { color: #60a5fa; border-color: rgba(96, 165, 250, 0.4); }
.scheme-icon--purple  { color: #a78bfa; border-color: rgba(167, 139, 250, 0.4); }

.scheme-icon--sm {
  width: 28px;
  height: 28px;
}

/* Labels */
.scheme-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.scheme-item--highlight .scheme-label {
  color: var(--accent);
  font-weight: 700;
}

.scheme-label--sm {
  font-size: 9px;
}

/* Arrows between items */
.scheme-arrow {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 2px;
  margin-bottom: 16px; /* align with icon center, above label */
}

.scheme-arrow span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--border-light);
  position: relative;
}

.scheme-arrow span::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid rgba(255,255,255,0.2);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* Animated pulse on arrows */
.scheme-arrow span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -3px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(250, 167, 74, 0.5);
  animation: schemePulseMove 2s ease-in-out infinite;
  opacity: 0;
}

.device-showcase__visual.visible .scheme-arrow span::before {
  opacity: 1;
  animation: schemePulseMove 2s ease-in-out infinite;
}

.scheme-item--highlight + .scheme-arrow span::before { animation-delay: 0.3s; }
.scheme-item--tower + .scheme-arrow span::before { animation-delay: 0.9s; }

/* Bidirectional arrow (СОВА ↔ Роутер) */
.scheme-arrow--bidi span::after {
  /* right arrowhead stays */
}

.scheme-arrow--bidi span::before {
  /* forward pulse (right) — keep default */
  background: var(--accent);
  box-shadow: 0 0 6px rgba(250, 167, 74, 0.5);
}

.scheme-arrow--bidi {
  position: relative;
}

/* Second arrowhead on left side */
.scheme-arrow--bidi::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 5px solid rgba(255,255,255,0.2);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  z-index: 1;
}

/* Return pulse (left) */
.scheme-arrow--bidi::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
  opacity: 0;
}

.device-showcase__visual.visible .scheme-arrow--bidi::after {
  animation: schemePulseMoveBack 2s ease-in-out infinite;
  animation-delay: 1.3s;
}

@keyframes schemePulseMoveBack {
  0%   { right: -3px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { right: calc(100% - 3px); opacity: 0; }
}

@keyframes schemePulseMove {
  0%   { left: -3px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

/* Router + ASIC tower (ASIC above Router in normal flow) */
.scheme-item--tower {
  gap: 3px;
}

.scheme-branch-line {
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.3), rgba(59, 130, 246, 0.3));
  position: relative;
}

/* Pulse down (Router → ASIC) */
.scheme-branch-line::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  opacity: 0;
}

/* Pulse up (ASIC → Router) */
.scheme-branch-line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
  opacity: 0;
}

.device-showcase__visual.visible .scheme-branch-line::before {
  animation: branchPulseDown 1.8s ease-in-out infinite;
  animation-delay: 0.5s;
}

.device-showcase__visual.visible .scheme-branch-line::after {
  animation: branchPulseUp 1.8s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes branchPulseDown {
  0%   { bottom: calc(100% - 3px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { bottom: -3px; opacity: 0; }
}

@keyframes branchPulseUp {
  0%   { top: calc(100% - 3px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: -3px; opacity: 0; }
}

/* ========================================
   HOW IT WORKS — Steps
   ======================================== */
.steps {
  background: var(--bg-secondary);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps__grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(250, 167, 74, 0.3);
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   COMPATIBILITY
   ======================================== */
.compat__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.compat__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 150px;
  height: 80px;
  transition: all var(--transition);
}

.compat__logo:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.compat__logo-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.compat__logo:hover .compat__logo-name {
  color: var(--text-primary);
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
  background: var(--bg-secondary);
}

.pricing__device {
  text-align: center;
  margin-bottom: 48px;
}

.pricing__device-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing__device-label {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing__gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 50px;
  color: #81c784;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

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

.pricing__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing__card--popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(250, 167, 74, 0.08), var(--bg-card));
}

.pricing__popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #1a1a2e;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
}

.pricing__period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing__amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing__per-month {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing__save {
  font-size: 13px;
  color: #81c784;
  font-weight: 600;
}

.pricing__cta {
  text-align: center;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.review:hover {
  border-color: rgba(250, 167, 74, 0.2);
}

.review--featured {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(250, 167, 74, 0.05), var(--bg-secondary));
}

.review__stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.review__name {
  font-weight: 600;
  font-size: 15px;
}

.review__source {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  background: var(--bg-secondary);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  gap: 16px;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.faq__item.active .faq__icon {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer-text {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   DOWNLOAD APP
   ======================================== */
.download {
  text-align: center;
}

.download__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.download__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.download__btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.download__btn-icon {
  font-size: 24px;
}

.download__btn-text small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.download__btn-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.download__marketplaces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.download__marketplace {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.download__marketplace:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.download__marketplace img {
  height: 24px;
  width: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__col-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer__contacts p,
.footer__contacts a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer__contacts a:hover {
  color: var(--accent);
}

.footer__phone {
  font-size: 18px !important;
  font-weight: 600;
  color: var(--text-primary) !important;
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 18px;
}

.footer__social-link:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer__bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__bottom-links a:hover {
  color: var(--accent);
}

/* ========================================
   CHAT WIDGET LABEL
   ======================================== */
.chat-label {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  z-index: 99999;
  box-shadow: var(--shadow);
  max-width: 220px;
  line-height: 1.4;
  opacity: 0;
  animation: chatLabelFadeIn 0.5s ease 3s forwards;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}

.chat-label:hover {
  background: rgba(40, 40, 70, 0.95);
  color: var(--text-primary);
}

@keyframes chatLabelFadeIn {
  to {
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE — Tablet (768px)
   ======================================== */
@media screen and (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: 0;
  }

  .iphone__frame {
    width: 220px;
    padding: 7px;
    border-radius: 38px;
  }

  .iphone__screen {
    height: 440px;
    border-radius: 31px;
  }

  .ios-dynamic-island {
    width: 90px;
    height: 26px;
  }

  .ios-statusbar {
    height: 42px;
    padding: 0 18px 4px;
  }

  .phone-screen { top: 42px; }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution__grid {
    grid-template-columns: 1fr;
  }

  .scheme-icon {
    width: 34px;
    height: 34px;
  }

  .scheme-arrow span {
    width: 14px;
  }

  .scheme-label {
    font-size: 9px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps__grid::before {
    display: none;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .review--featured {
    grid-column: 1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* ========================================
   RESPONSIVE — Mobile (480px)
   ======================================== */
@media screen and (max-width: 480px) {
  .hero {
    padding: 110px 0 60px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__inner {
    gap: 24px;
  }

  .iphone__frame {
    width: 85vw;
    max-width: 320px;
    padding: 7px;
    border-radius: 42px;
  }

  .iphone__screen {
    height: 540px;
    border-radius: 35px;
  }

  .ios-dynamic-island {
    width: 90px;
    height: 26px;
  }

  .ios-statusbar {
    padding: 0 18px 4px;
    height: 44px;
  }

  .ios-statusbar__time { font-size: 13px; }

  .phone-screen { top: 44px; }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pricing__amount {
    font-size: 28px;
  }

  .pricing__device-price {
    font-size: 36px;
  }

  .compat__logos {
    gap: 12px;
  }

  .compat__logo {
    min-width: 120px;
    padding: 14px 20px;
    height: 60px;
  }

  .compat__logo-name {
    font-size: 14px;
  }

  .download__buttons {
    flex-direction: column;
  }

  .download__btn {
    width: 100%;
    justify-content: center;
  }

  .download__marketplaces {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .device-scheme {
    transform: scale(0.75);
    transform-origin: center top;
  }

  .device-scheme {
    margin-top: 16px;
    padding: 10px 6px;
  }

  .scheme-icon {
    width: 30px;
    height: 30px;
  }

  .scheme-icon svg {
    width: 14px;
    height: 14px;
  }

  .scheme-icon img {
    width: 16px;
    height: 16px;
  }

  .scheme-icon--sm {
    width: 22px;
    height: 22px;
  }

  .scheme-arrow span {
    width: 10px;
  }

  .scheme-arrow {
    padding: 0;
  }

  .scheme-label {
    font-size: 8px;
  }

  .scheme-label--sm {
    font-size: 7px;
  }

  .scheme-row {
    gap: 3px;
  }

  .scheme-branch-line {
    height: 10px;
  }

  .chat-label {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    font-size: 13px;
    padding: 10px 16px;
    text-align: center;
    border: none;
    border-top: 1px solid var(--border);
  }
}

@media screen and (max-width: 320px) {
  .hero__title {
    font-size: 24px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }
}
