/* ============================================================
   Radmin VPN — style.css
   Design source: radmin-vpn.com
   Mode C (service) — VPN/ВПН allowed
   Colors: #3498DB primary, #1C71AB heading, #222 text,
           #EDF2F4 light bg, #34495E mid gray, #1B1D1F dark
   Font: Open Sans 300/400/600/700
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:     #3498DB;
  --primary-dk:  #1C71AB;
  --primary-lt:  #5DADE2;
  --text:        #222222;
  --text-muted:  #5A6A7A;
  --bg-white:    #FFFFFF;
  --bg-light:    #EDF2F4;
  --bg-mid:      #34495E;
  --bg-dark:     #1B1D1F;
  --border:      #D5DDE5;
  --green:       #27AE60;
  --green-hover: #2ECC71;
  --radius:      24px;
  --radius-sm:   12px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul { list-style: none; }

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

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 40px;
  border-radius: 43px;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-lt); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg-light); }
.btn-lg { padding: 18px 48px; font-size: 18px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
  font-size: 22px;
  flex-shrink: 0;
}
.logo img { height: 32px; width: auto; }
.logo .brand-radmin { color: var(--primary); }
.logo .brand-vpn { color: #fff; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 400;
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: url('hero-bg.jpg') center center / cover no-repeat;
  padding: 100px 0 90px;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.3));
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,152,219,.2);
  color: var(--primary-lt);
  border: 1px solid rgba(52,152,219,.35);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 .accent { color: var(--primary-lt); }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-bottom: 36px;
}
.hero-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
}
.hero-check::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4L16 6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trial {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.hero-trial strong { color: var(--primary-lt); }

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-light);
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Section helpers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-label {
  display: inline-block;
  background: rgba(52,152,219,.1);
  color: var(--primary);
  border-radius: 40px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── Servers grid ─────────────────────────────────────────── */
.servers {
  background: var(--bg-white);
  padding: 72px 0;
}
.servers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.server-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.server-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(52,152,219,.12);
}
.server-flag { font-size: 32px; flex-shrink: 0; line-height: 1; }
.server-info { flex: 1; min-width: 0; }
.server-name { font-size: 14px; font-weight: 600; color: var(--heading); display: block; }
.server-ping { font-size: 12px; color: var(--text-muted); }
.server-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,.4);
}

/* ── Features / Propositions ──────────────────────────────── */
.features {
  background: var(--bg-light);
  padding: 72px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feat-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.feat-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dk);
}
.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Security block ───────────────────────────────────────── */
.sec-block {
  padding: 64px 0;
  background: var(--bg-light);
}
.sec-block .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 400; text-align: center; margin: 0 0 12px; }
.sec-p { text-align: center; margin: 0 0 40px; color: var(--text-muted); }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.sec-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px; }
.sec-item-h { font-size: 17px; font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: var(--primary-dk); }
.sec-item-p { margin: 0; line-height: 1.6; color: var(--text-muted); }

/* ── Service advantages ───────────────────────────────────── */
.service-adv {
  background: var(--bg-white);
  padding: 72px 0;
}
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.svc-block:last-child { margin-bottom: 0; }
.svc-block.reverse .svc-img { order: -1; }
.svc-text h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-dk);
  margin-bottom: 16px;
}
.svc-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.svc-checks { display: flex; flex-direction: column; gap: 10px; }
.svc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}
.svc-check::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4L16 6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.svc-img {
  background: var(--bg-mid);
  border-radius: var(--radius);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.svc-img-inner { text-align: center; padding: 40px; }
.svc-img-icon { font-size: 64px; display: block; margin-bottom: 12px; }
.svc-img-label { color: rgba(255,255,255,.5); font-size: 14px; font-weight: 600; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing {
  background: var(--bg-light);
  padding: 72px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 40px auto 0;
}
.price-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
  background: #fff;
}
.price-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(52,152,219,.15);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 28px rgba(52,152,219,.18);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  border-radius: 40px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 52px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.price-amount sup { font-size: 22px; vertical-align: super; }
.price-saving {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 24px;
}
.price-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  border-radius: 43px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
  text-decoration: none;
}
.price-btn:hover { background: var(--primary-lt); }
.trial-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.trial-note strong { color: var(--text); }

/* ── Referral ─────────────────────────────────────────────── */
.referral {
  background: var(--bg-white);
  padding: 72px 0;
}
.referral-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.referral-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.referral-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text strong { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.step-text span { font-size: 13px; color: var(--text-muted); }
.referral-bonus {
  background: var(--bg-mid);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  color: #fff;
  min-width: 220px;
}
.bonus-emoji { font-size: 40px; margin-bottom: 12px; }
.bonus-title { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.bonus-highlight {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-lt);
  line-height: 1.1;
  margin-bottom: 12px;
}
.bonus-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }

/* ── Download ─────────────────────────────────────────────── */
.download {
  background: var(--bg-mid);
  padding: 72px 0;
  color: #fff;
}
.download-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.download-intro h3 { font-size: 24px; font-weight: 400; color: #fff; }
.download-intro p { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.dl-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s, border-color .2s;
}
.dl-card:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--primary);
}
.dl-icon { width: 40px; height: 40px; margin: 0 auto 10px; display: block; }
.dl-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.dl-version { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.dl-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  border-radius: 43px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
  text-decoration: none;
}
.dl-btn:hover { background: var(--primary-lt); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  background: var(--bg-white);
  padding: 72px 0;
}
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,3,.4,1);
}
.faq-item:hover { transform: scale(1.01); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 24px 28px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-q.open::after { transform: rotate(-135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 28px;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-a.open {
  max-height: 200px;
  padding: 0 28px 24px;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: var(--bg-dark);
  padding: 72px 0;
  text-align: center;
}
.cta-section .section-title { color: #fff; font-weight: 400; }
.cta-section .section-sub { color: rgba(255,255,255,.65); }
.cta-section .btn-primary { margin-top: 32px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 32px;
  color: rgba(255,255,255,.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 16px;
}
.footer-logo-wrap img { height: 28px; }
.footer-logo-wrap .brand-radmin { color: var(--primary); }
.footer-logo-wrap .brand-vpn { color: #fff; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
  line-height: 1.4;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }

/* ── SEO Block ────────────────────────────────────────────── */
.seo-block { padding: 40px 20px; border-top: 1px solid rgba(128,128,128,0.15); }
.seo-block-wrap { max-width: 960px; margin: 0 auto; }
.seo-block-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #888; margin: 0 0 14px; }
.seo-block-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.seo-block-links li a { font-size: 13px; line-height: 1.9; color: var(--primary); text-decoration: none; }
.seo-block-links li a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .download-grid { grid-template-columns: repeat(3, 1fr); }
  .servers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-checks { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block.reverse .svc-img { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 320px; }
  .referral-box { grid-template-columns: 1fr; }
  .download-intro { flex-direction: column; align-items: flex-start; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .servers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .servers-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
