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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #18181f;
  --card: #16161e;
  --card2: #1e1e28;
  --border: rgba(255,255,255,0.07);
  --accent: #7c3aed;
  --accent2: #4f46e5;
  --accent3: #06b6d4;
  --grad: linear-gradient(135deg, #7c3aed, #4f46e5);
  --grad2: linear-gradient(135deg, #4f46e5, #06b6d4);
  --text: #f1f1f5;
  --text2: #9090a8;
  --text3: #5a5a72;
  --radius: 16px;
  --radius2: 12px;
  --shadow: 0 4px 40px rgba(124,58,237,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad); color: #fff; border: none; padding: 0.55rem 1.4rem;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(79,70,229,0.1) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(124,58,237,0.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(124,58,237,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 50px; padding: 6px 18px; font-size: 0.85rem; color: #a78bfa;
  margin-bottom: 2rem; font-weight: 500;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: #7c3aed; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 1.5rem;
}
.hero h1 span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text2); max-width: 560px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--grad); color: #fff; padding: 0.85rem 2.2rem;
  border-radius: 50px; font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 30px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,58,237,0.5); }
.btn-secondary {
  background: transparent; color: var(--text); padding: 0.85rem 2.2rem;
  border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border); transition: border-color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.05); }

/* ── STATS ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat {
  background: var(--bg); padding: 2.5rem 2rem; text-align: center;
  transition: background .2s;
}
.stat:hover { background: var(--bg2); }
.stat-num {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -1px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.stat-label { font-size: 0.9rem; color: var(--text2); margin-top: 0.3rem; }

/* ── SECTION ── */
section { padding: 100px 5%; }
.section-label { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; }
.section-sub { color: var(--text2); font-size: 1.05rem; max-width: 540px; }
.section-head { margin-bottom: 4rem; }

/* ── TARIFFS ── */
.tariffs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.tariff-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; position: relative; transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.tariff-card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.4); box-shadow: var(--shadow); }
.tariff-card.popular {
  border-color: rgba(124,58,237,0.5);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(79,70,229,0.04));
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 50px; letter-spacing: 0.5px; white-space: nowrap;
}
.tariff-period { font-size: 0.85rem; color: var(--text2); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.tariff-price { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 0.25rem; }
.tariff-price span { font-size: 1.1rem; font-weight: 500; color: var(--text2); }
.tariff-economy { font-size: 0.82rem; color: #4ade80; font-weight: 600; margin-bottom: 1.5rem; min-height: 1.2rem; }
.tariff-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.tariff-features li { padding: 0.45rem 0; font-size: 0.9rem; color: var(--text2); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.tariff-features li:last-child { border: none; }
.tariff-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.tariff-btn {
  display: block; text-align: center; background: var(--grad); color: #fff;
  padding: 0.75rem; border-radius: var(--radius2); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: opacity .2s, transform .2s;
}
.tariff-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.tariff-btn.outline {
  background: transparent; border: 1px solid var(--border); color: var(--text2);
}
.tariff-btn.outline:hover { border-color: var(--accent); color: var(--text); }
.tariff-trial {
  background: var(--bg2); border: 1px dashed rgba(124,58,237,0.35); border-radius: var(--radius);
  padding: 2rem; display: flex; align-items: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap;
}
.trial-text h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.trial-text p { font-size: 0.9rem; color: var(--text2); }
.trial-price { font-size: 2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; }
.trial-btn {
  background: transparent; border: 1px solid rgba(124,58,237,0.5); color: var(--accent);
  padding: 0.6rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all .2s; white-space: nowrap; margin-left: auto;
}
.trial-btn:hover { background: rgba(124,58,237,0.1); border-color: var(--accent); }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s, border-color .25s;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.3); }
.feat-icon {
  width: 52px; height: 52px; border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(79,70,229,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.2rem; border: 1px solid rgba(124,58,237,0.2);
}
.feat-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feat-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 34px; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem);
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent3));
  opacity: 0.25; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: var(--card); border: 2px solid rgba(124,58,237,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--accent);
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.875rem; color: var(--text2); }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .25s;
}
.review-card:hover { transform: translateY(-4px); }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 0.95rem; }
.reviewer-sub { font-size: 0.8rem; color: var(--text3); }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,70,229,0.08));
  border: 1px solid rgba(124,58,237,0.25); border-radius: 24px;
  padding: 4rem 3rem; text-align: center; margin: 0 5% 100px;
}
.cta-block h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-block p { color: var(--text2); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text2); font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text2); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: var(--text3);
}
.footer-bottom a { color: var(--text3); text-decoration: none; }
.footer-bottom a:hover { color: var(--text2); }

/* ── GUIDES PAGE ── */
.device-tabs { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn {
  padding: 0.55rem 1.2rem; border-radius: 50px; border: 1px solid var(--border);
  background: transparent; color: var(--text2); cursor: pointer; font-size: 0.9rem; font-weight: 600;
  transition: all .2s; display: flex; align-items: center; gap: 8px;
}
.tab-btn:hover { border-color: var(--accent); color: var(--text); }
.tab-btn.active { background: var(--grad); border-color: transparent; color: #fff; }
.app-tabs { display: flex; gap: 0.75rem; margin-bottom: 3rem; }
.app-tab {
  flex: 1; padding: 1rem; border-radius: var(--radius2); border: 1px solid var(--border);
  background: var(--card); cursor: pointer; text-align: center; transition: all .2s;
}
.app-tab:hover { border-color: var(--accent); }
.app-tab.active { border-color: var(--accent); background: rgba(124,58,237,0.08); }
.app-tab-name { font-weight: 700; margin-top: 0.3rem; font-size: 0.95rem; }
.app-tab-sub { font-size: 0.8rem; color: var(--text2); }
.guide-step {
  display: flex; gap: 2rem; align-items: flex-start; padding: 2rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 1rem; transition: border-color .2s;
}
.guide-step:hover { border-color: rgba(124,58,237,0.3); }
.guide-step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-weight: 900;
  font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.guide-step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.guide-step-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.7; }
.guide-content { display: none; }
.guide-content.active { display: block; }

/* ── FAQ PAGE ── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  text-align: left; padding: 1.4rem 0; font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 0.95rem; color: var(--text2); line-height: 1.8; padding-bottom: 1.4rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── PAGE HERO ── */
.page-hero { padding: 140px 5% 70px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text2); font-size: 1.05rem; }

/* ── MOBILE MENU ── */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: rgba(10,10,15,0.97); backdrop-filter: blur(20px); padding: 1.5rem 5%; gap: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tariffs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tariffs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 2.5rem 1.5rem; }
  .trial-btn { margin-left: 0; }
}

/* ── HERO REDESIGN (sputtnik style) ── */
.hero {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: 7% !important;
  padding-right: 7% !important;
}
.hero-content {
  max-width: 820px !important;
  margin: 0 !important;
}
.hero-badge {
  background: transparent !important;
  border: 1px solid rgba(6,182,212,0.5) !important;
  color: var(--accent3) !important;
  font-size: 0.78rem !important;
  letter-spacing: 2.5px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 6px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem) !important;
  font-weight: 900 !important;
  line-height: 1.0 !important;
  letter-spacing: -3px !important;
  margin-bottom: 1.5rem !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}
.hero h1 span.dot {
  color: #06b6d4 !important;
  -webkit-text-fill-color: #06b6d4 !important;
  background: none !important;
}
.hero p {
  font-size: 1.05rem !important;
  color: var(--text2) !important;
  max-width: 480px !important;
  margin: 0 0 2.5rem !important;
  text-align: left !important;
  line-height: 1.65 !important;
}
.hero-btns {
  justify-content: flex-start !important;
}
.btn-primary {
  background: #06b6d4 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  padding: 0.9rem 2rem !important;
}
.btn-primary:hover {
  background: #0891b2 !important;
  box-shadow: 0 8px 30px rgba(6,182,212,0.3) !important;
}
.btn-secondary {
  border-radius: 12px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  padding: 0.9rem 2rem !important;
  font-size: 1rem !important;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
}
