/* ═══════════════════════════════════════════════════
   FKey VPN — Dark Gaming Theme (клон fkey.win)
   Цвета: #63fbfb (cyan), #0f4b82 (dark blue), #09090f (bg)
   ═══════════════════════════════════════════════════ */

:root {
  --cyan: #63fbfb;
  --cyan-dim: rgba(99, 251, 251, 0.15);
  --cyan-glow: rgba(99, 251, 251, 0.3);
  --blue: #0f4b82;
  --blue-deep: #0e3e6b;
  --bg: #09090f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(99, 251, 251, 0.2);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-semi: rgba(255, 255, 255, 0.6);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-accent {
  background: var(--cyan);
  color: var(--blue);
}
.btn-accent:hover {
  background: #8cfdfd;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.btn-outline {
  background: var(--bg-card);
  color: var(--cyan);
  border: 1.4px solid var(--border-cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-sm); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
}
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-desktop {
  display: flex;
  gap: 32px;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-semi);
  transition: var(--transition);
}
.nav-desktop a:hover { color: var(--cyan); }
.nav-mobile { display: none; }
.burger { display: none; }
.burger {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-semi);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(15, 75, 130, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(99, 251, 251, 0.1) 0%, transparent 50%),
    url('world-map.jpg') center 40% / cover no-repeat,
    var(--bg);
  z-index: 0;
  opacity: 0.7;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cyan);
  max-width: 600px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--text); }
.hero-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  max-width: 600px;
}
.stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}
.stat-block--cyan {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: var(--border-cyan);
}
.stat-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
}
.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* ═══════════ SECTION COMMON ═══════════ */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ═══════════ FEATURES ═══════════ */
.features {
  padding: 100px 0;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.feat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateY(-4px);
}
.feat-card--accent {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: var(--border-cyan);
}
.feat-card--accent:hover {
  background: linear-gradient(135deg, var(--blue), #1260a0);
}
.feat-icon {
  margin-bottom: 20px;
}
.feat-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
}
.feat-card--accent h3 { color: var(--text); }
.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.feat-card--accent p { color: var(--text-semi); }

/* ═══════════ SERVERS ═══════════ */
.servers {
  padding: 80px 0;
}
.servers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.server-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-semi);
  transition: var(--transition);
}
.server-item:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}
.flag { font-size: 18px; }

/* ═══════════ PRICING ═══════════ */
.pricing {
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.price-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
}
.price-card.featured {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: var(--border-cyan);
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(99, 251, 251, 0.1);
}
.price-card.featured:hover { transform: scale(1.06); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.price-val {
  font-size: 40px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 24px;
}
.price-list {
  list-style: none;
  margin-bottom: 28px;
}
.price-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-semi);
  border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border: none; }
.price-card .btn { width: 100%; }

/* ═══════════ DOWNLOAD ═══════════ */
.download {
  padding: 100px 0;
}
.dl-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.dl-step {
  text-align: center;
  padding: 24px 16px;
}
.dl-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 12px;
}
.dl-step p {
  font-size: 14px;
  color: var(--text-muted);
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  transition: var(--transition);
  color: var(--cyan);
}
.dl-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.dl-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-icon svg { fill: var(--cyan); }
.dl-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-semi);
}

/* ═══════════ REFERRAL ═══════════ */
.referral {
  padding: 80px 0;
}
.referral-box {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border: 2px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.referral-info .section-title {
  text-align: left;
}
.referral-info > p {
  color: var(--text-semi);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 480px;
}
.ref-steps {
  display: flex;
  gap: 24px;
}
.ref-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ref-num {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.ref-step p {
  font-size: 13px;
  color: var(--text-muted);
}
.referral-bonus {
  background: rgba(99, 251, 251, 0.1);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  min-width: 220px;
}
.bonus-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
}
.bonus-lbl {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ═══════════ FAQ ═══════════ */
.faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-cyan); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.faq-arrow {
  color: var(--cyan);
  font-size: 14px;
  transition: var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════ CTA ═══════════ */
.cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(99, 251, 251, 0.06) 0%, transparent 70%);
}
.cta h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
}
.cta p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
}
.footer-logo { width: 28px; height: 28px; border-radius: 6px; }
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-semi);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .servers-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .header-inner .btn { display: none; }
  .burger { display: flex; }
  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 9, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  body.menu-open .nav-mobile { display: flex; }
  .nav-mobile a {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-semi);
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile .btn { margin-top: 12px; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }

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

  .feat-grid { grid-template-columns: 1fr; }
  .servers-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }

  .dl-steps { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid .dl-card:last-child { grid-column: span 2; }

  .referral-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .ref-steps { flex-direction: column; gap: 16px; }

  .cta h2 { font-size: 28px; }

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

@media (max-width: 480px) {
  .servers-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-steps { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-grid .dl-card:last-child { grid-column: span 1; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
