/* ===== FONTS ===== */
@font-face {
  font-family: 'Malik';
  src: url('fonts/Malik-Bold.woff2') format('woff2'),
       url('fonts/Malik-Bold.woff') format('woff');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Malik';
  src: url('fonts/MalikTrial-Regular.woff2') format('woff2'),
       url('fonts/MalikTrial-Regular.woff') format('woff');
  font-weight: 400; font-display: swap;
}

/* ===== TOKENS ===== */
:root {
  --bg:      #060e1a;
  --bg2:     #0a1828;
  --border:  rgba(255,255,255,0.08);
  --bhi:     rgba(255,255,255,0.14);
  --ink:     #ffffff;
  --muted:   rgba(255,255,255,0.46);
  --hi:      rgba(255,255,255,0.68);
  --primary: #ffba39;
  --pdk:     #ff9a00;
  --pglow:   rgba(255,186,57,0.24);
  --accent:  #ff6d45;
  --adk:     #e85a35;
  --aglow:   rgba(255,109,69,0.22);
  --green:   #4caf50;
  --font:    'Malik', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--pdk); }

/* ===== AURORA — очень мягкая ===== */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora > div { position: absolute; border-radius: 50%; filter: blur(120px); animation: drift 25s ease-in-out infinite alternate; }
.a1 { width: 600px; height: 600px; background: var(--primary); opacity: .07; top: -200px; left: -100px; }
.a2 { width: 500px; height: 500px; background: var(--accent);  opacity: .06; bottom: 0; right: -120px; animation-delay: -10s; }
@keyframes drift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(30px, 40px); }
}

#starfield { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ===== LAYOUT ===== */
.wrap {
  position: relative; z-index: 2;
  width: min(720px, 92vw);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  display: flex; flex-direction: column; gap: 5rem;
}

/* ===== HERO — открытый, без карточки ===== */
.hero {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 0;
}

.hero-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  margin-bottom: 1.75rem;
  animation: fadeUp .6s ease both;
  filter: drop-shadow(0 0 20px rgba(255,186,57,.35));
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,186,57,.09);
  border: 1px solid rgba(255,186,57,.22);
  border-radius: 999px;
  padding: .28rem .9rem;
  font-size: .68rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .6s ease both .1s;
}
.badge-dot {
  width: 5px; height: 5px;
  background: var(--primary); border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 8px var(--primary);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -.03em;
  margin-bottom: 1.1rem;
  animation: fadeUp .65s ease both .15s;
}
.grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dim { color: rgba(255,255,255,.52); }

.hero-sub {
  font-size: .97rem; color: var(--hi); line-height: 1.7;
  max-width: 400px; margin-bottom: 2.25rem;
  animation: fadeUp .65s ease both .2s;
}

.hero-actions {
  display: flex; gap: .65rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .65s ease both .25s;
}

.proxy-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px; padding: .45rem .9rem;
  margin-top: 1.5rem; font-size: .71rem; color: var(--muted);
  animation: fadeUp .65s ease both .3s;
}
.chip-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px rgba(76,175,80,.7); }
.proxy-chip code { font-family: 'SFMono-Regular', Consolas, monospace; color: var(--hi); font-size: .70rem; }
.chip-sep { width: 1px; height: 11px; background: var(--bhi); flex-shrink: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; height: 50px; padding: 0 1.5rem;
  border-radius: 13px;
  font-family: var(--font); font-size: .88rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--pdk));
  color: #0c0c0c;
  box-shadow: 0 0 24px var(--pglow), 0 3px 12px rgba(0,0,0,.28);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
  animation: shine 3.5s ease-in-out infinite 1.2s;
}
@keyframes shine { 0%{left:-100%} 40%{left:140%} 100%{left:140%} }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 38px var(--pglow), 0 6px 20px rgba(0,0,0,.34); color: #0c0c0c; }

.btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--hi); border-color: var(--bhi);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); color: var(--ink); transform: translateY(-1px); }
.btn-ghost.copy-ok { border-color: var(--green); color: var(--green); background: rgba(76,175,80,.09); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--adk));
  color: #fff; flex-shrink: 0;
  box-shadow: 0 0 24px var(--aglow), 0 3px 12px rgba(0,0,0,.28);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 0 38px var(--aglow), 0 6px 20px rgba(0,0,0,.34); color: #fff; }

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .20em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .6rem;
}
.tag-accent { color: var(--accent); }

/* ===== STEP SLIDER ===== */
.steps-section { display: flex; flex-direction: column; gap: 1.25rem; }
.section-label h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-top: .1rem; }

.slider-wrap { overflow: hidden; border-radius: 18px; }
.slider-track {
  display: flex;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  touch-action: pan-y;
}
.slide {
  min-width: 100%;
  padding: clamp(2rem,5vw,2.75rem);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: .9rem;
  user-select: none;
}
.slide-num {
  font-size: 3.2rem; font-weight: 700; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slide h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.slide p  { font-size: .875rem; color: var(--hi); line-height: 1.72; max-width: 460px; }

.slider-dots {
  display: flex; justify-content: center; gap: .55rem; padding-top: 1.1rem;
}
.dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--border); border: none; cursor: pointer; padding: 0;
  transition: background .2s, width .3s;
}
.dot.active { background: var(--primary); width: 22px; box-shadow: 0 0 8px var(--pglow); }

/* ===== INFO GRID ===== */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  padding: clamp(1.5rem,3vw,1.75rem);
  background: var(--bg2);
  border: 1px solid var(--border); border-radius: 18px;
  transition: border-color .2s, transform .2s;
}
.info-card:hover { border-color: var(--bhi); transform: translateY(-2px); }
.info-card h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .7rem; }
.info-card p  { font-size: .86rem; color: var(--muted); line-height: 1.76; }

/* ===== VPN BLOCK ===== */
.vpn-block {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(1.75rem,4vw,2.5rem);
  background: var(--bg2);
  border: 1px solid var(--bhi); border-radius: 20px;
}
.vpn-block h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; margin: .3rem 0 .6rem; }
.vpn-block > div > p { font-size: .875rem; color: var(--muted); line-height: 1.72; max-width: 380px; }
.vpn-list {
  list-style: none; margin-top: .85rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.vpn-list li {
  font-size: .825rem; color: var(--hi);
  display: flex; align-items: center; gap: 9px;
}
.vpn-list li::before {
  content: ''; display: block; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-section h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5rem; }
details.fq  { border-top: 1px solid var(--border); }
details.fq:last-child { border-bottom: 1px solid var(--border); }
summary.fq-s {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; font-size: .88rem; font-weight: 700;
  cursor: pointer; list-style: none; gap: 1rem; user-select: none;
  color: var(--hi); transition: color .15s;
}
summary.fq-s:hover { color: var(--ink); }
summary.fq-s::-webkit-details-marker { display: none; }
details[open] summary.fq-s { color: var(--ink); }
.fq-icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--primary); transition: transform .26s cubic-bezier(.34,1.56,.64,1); }
details[open] .fq-icon { transform: rotate(45deg); }
.fq-body {
  font-size: .86rem; color: var(--muted); line-height: 1.76;
  padding-bottom: 1rem; padding-right: 2rem;
  animation: fqIn .2s ease both;
}
.fq-body a { color: var(--primary); }
@keyframes fqIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }

/* ===== FOOTER ===== */
.footer {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: .74rem;
}
.footer-logo { width: 20px; height: 20px; object-fit: contain; opacity: .7; }
.footer-brand { font-weight: 700; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; }
.footer-sep   { width: 1px; height: 13px; background: var(--bhi); }
.footer a     { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer-year  { color: var(--muted); opacity: .45; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .wrap { gap: 3.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; height: 54px; }
  .proxy-chip { flex-wrap: wrap; gap: 7px; }
  .chip-sep { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .vpn-block { flex-direction: column; align-items: flex-start; }
  .vpn-block .btn-accent { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2rem; }
}
