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

:root {
  --bg: #0a0a14;
  --bg-light: #10101e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --accent-1: #4facfe;
  --accent-2: #00f2fe;
  --gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-text: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === Container === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--white); }

@media (min-width: 768px) {
  .header-nav { display: flex; }
}

/* Stats */
.stats {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gradient);
  color: #0a0a14;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.header-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, rgba(0, 242, 254, 0.03) 30%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--white-50);
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(32px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--white-50);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--gradient);
  color: #0a0a14;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(79, 172, 254, 0.35);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(3px);
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--white-30);
}

/* === Section shared === */
section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--white-50);
  max-width: 540px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 60px;
}

/* === Features === */
.features {
  background: var(--bg);
}

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

.feature-card {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.feature-card:hover {
  border-color: rgba(79, 172, 254, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(79, 172, 254, 0.08);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 14px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0a0a14;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--white-50);
  line-height: 1.65;
}

/* === Pricing === */
.pricing {
  background: var(--bg-light);
}

.pricing-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pricing-toggle-btn {
  padding: 10px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: transparent;
  color: var(--white-50);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.pricing-toggle-btn.active {
  background: var(--gradient);
  color: #0a0a14;
  border-color: transparent;
  font-weight: 600;
}

.pricing-toggle-btn:hover:not(.active) {
  border-color: rgba(79, 172, 254, 0.3);
  color: var(--white);
}

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

.pricing-card {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pricing-card:hover {
  border-color: rgba(79, 172, 254, 0.15);
  transform: translateY(-2px);
}

.pricing-card.popular {
  border-color: rgba(79, 172, 254, 0.3);
  background: rgba(79, 172, 254, 0.06);
  box-shadow: 0 0 40px rgba(79, 172, 254, 0.06);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 5px 16px;
  background: var(--gradient);
  color: #0a0a14;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-devices {
  font-size: 14px;
  color: var(--white-30);
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2px;
}

.pricing-amount .star {
  font-size: 32px;
}

.pricing-rub {
  font-size: 15px;
  color: var(--white-30);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--white-30);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white-70);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-features li svg.check {
  stroke: var(--accent-1);
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.pricing-cta-primary {
  background: var(--gradient);
  color: #0a0a14;
}

.pricing-cta-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 24px rgba(79, 172, 254, 0.3);
}

.pricing-cta-secondary {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.pricing-cta-secondary:hover {
  background: var(--glass-hover);
  border-color: rgba(79, 172, 254, 0.2);
}

.pricing-bonus {
  text-align: center;
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--glass);
  border: 1px solid rgba(79, 172, 254, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pricing-bonus p {
  font-size: 16px;
  color: var(--white-70);
}

.pricing-bonus strong {
  color: var(--white);
}

.pricing-bonus .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* === How it works === */
.how-it-works {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-card {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(79, 172, 254, 0.15);
  transform: translateY(-2px);
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #0a0a14;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 15px;
  color: var(--white-50);
  line-height: 1.65;
}

.step-card a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.faq-item:hover {
  border-color: rgba(79, 172, 254, 0.15);
}

.faq-item.open {
  border-color: rgba(79, 172, 254, 0.2);
  background: rgba(79, 172, 254, 0.04);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent-1);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--white-50);
  line-height: 1.7;
}

/* === Footer === */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
}

.footer-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--white-50);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--white-30);
}

/* === Responsive === */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 639px) {
  section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 72px;
  }

  .pricing-amount {
    font-size: 34px;
  }

  .pricing-amount .star {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .pricing-toggle {
    gap: 6px;
  }

  .pricing-toggle-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}
