/* vivavpnofficial.com — style.css
   Design system: Viva VPN Orange Blaze (vivavpn.proDESIGN.md) */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors — Orange Blaze tokens */
  --brand-orange:    #f95509;
  --brand-orange-lt: rgba(249,85,9,0.75);  /* secondary button */
  --text-primary:   #ffffff;
  --text-secondary: #fdccb5;               /* warm-peach-muted */
  --card-bg:        rgba(255,255,255,0.10);
  --card-border:    rgba(249,85,9,0.10);
  --white:          #ffffff;
  --footer-bg:      rgba(0,0,0,0.25);
  --header-bg:      rgba(0,0,0,0.15);

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'system-ui', sans-serif;

  /* Radii */
  --r-card:   16px;
  --r-btn-p:  12px;
  --r-btn-s:  25px;
  --r-icon:   8px;

  /* Spacing */
  --sp-xs: 8px;  --sp-sm: 12px; --sp-md: 16px;  --sp-lg: 20px;
  --sp-xl: 24px; --sp-2xl:32px; --sp-3xl:40px;  --sp-4xl:48px;
  --sp-5xl:64px;

  /* Shadows */
  --shadow-btn:  0px 4px 15px 0px rgba(0,0,0,0.20);
  --shadow-card: 0px 4px 16px 0px rgba(0,0,0,0.30);

  /* Layout */
  --maxw: 1200px;
  --section-py: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 25.6px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--brand-orange);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 17.6px; font-weight: 600;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }

.btn-primary {
  background: var(--white); color: var(--brand-orange);
  border-radius: var(--r-btn-p);
  padding: 16px 32px;
  box-shadow: var(--shadow-btn);
  font-size: 17.6px; font-weight: 600;
}
.btn-secondary {
  background: var(--brand-orange-lt); color: var(--white);
  border-radius: var(--r-btn-s);
  padding: 12px 24px;
  font-size: 16px; font-weight: 500;
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--r-btn-s);
  padding: 12px 24px;
  font-size: 16px; font-weight: 500;
}

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0 20px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--white);
  opacity: 0.85; transition: opacity 0.15s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-lang { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.nav-lang a { opacity: 0.7; transition: opacity 0.15s; }
.nav-lang a:hover, .nav-lang a.active { opacity: 1; font-weight: 700; }
.nav-lang span { opacity: 0.4; }
.nav-toggle {
  display: none; background: none; border: 0; font-size: 28px;
  color: var(--white); cursor: pointer; padding: 4px;
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0;
  width: 100vw; background: var(--brand-orange);
  flex-direction: column; align-items: center;
  padding: 32px 20px; gap: 8px; z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .m-link {
  width: 100%; text-align: center; padding: 14px 0;
  font-size: 18px; font-weight: 500; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.mobile-menu .m-link.active { font-weight: 700; }
.m-lang { display: flex; gap: 12px; margin-top: 16px; font-size: 16px; font-weight: 500; }
.m-lang a { opacity: 0.75; }
.m-lang a.active { opacity: 1; font-weight: 700; }

/* ── Hero ── */
.hero {
  padding: var(--sp-5xl) 20px var(--sp-5xl);
  text-align: center;
}
.hero-inner { max-width: 740px; margin: 0 auto; }
.hero-pill {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 25px; padding: 6px 18px;
  font-size: 14.4px; font-weight: 500; margin-bottom: var(--sp-xl);
}
.hero h1 {
  font-size: 40px; font-weight: 700; line-height: 64px;
  color: var(--white); margin-bottom: var(--sp-lg);
}
.hero-sub {
  font-size: 20.8px; font-weight: 400; line-height: 33.28px;
  color: var(--text-secondary); margin-bottom: var(--sp-2xl);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-3xl); }
.hero-benefits {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--sp-3xl);
}
.hero-benefit {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.4px; font-weight: 500; color: var(--text-secondary);
}
.hero-benefit i { color: var(--white); font-size: 16px; }
.hero-img {
  max-width: 600px; margin: 0 auto; border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.hero-img img { width: 100%; }

/* ── Stats ── */
.stats { padding: var(--sp-5xl) 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--white); line-height: 1.2; }
.stat-label { font-size: 14.4px; color: var(--text-secondary); margin-top: 4px; }

/* ── Section shared ── */
.section { padding: var(--section-py) 0; }
.section-title {
  font-size: 32px; font-weight: 700; color: var(--white);
  text-align: center; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--text-secondary);
  text-align: center; max-width: 600px; margin: 0 auto var(--sp-3xl);
  line-height: 25.6px;
}
.section-cta { text-align: center; margin-top: var(--sp-3xl); }

/* ── Feature Cards Grid ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-card);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--r-icon);
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white); margin-bottom: var(--sp-lg);
}
.feature-card h3 {
  font-size: 20.8px; font-weight: 700; line-height: 33.28px;
  color: var(--white); margin-bottom: var(--sp-sm);
}
.feature-card p { font-size: 16px; color: var(--text-secondary); line-height: 25.6px; }

/* ── Image Sections ── */
.img-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.img-split.reverse .img-split-text { order: 2; }
.img-split.reverse .img-split-img  { order: 1; }
.img-split-img img { border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.img-split-text h2 {
  font-size: 32px; font-weight: 700; line-height: 1.25;
  color: var(--white); margin-bottom: var(--sp-lg);
}
.img-split-text p {
  font-size: 16px; color: var(--text-secondary); line-height: 25.6px;
  margin-bottom: var(--sp-xl);
}
.benefit-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--sp-xl); }
.benefit-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--white); line-height: 24px;
}
.benefit-item i { color: var(--white); margin-top: 2px; flex-shrink: 0; }

/* ── Global Servers Map ── */
.servers-section { position: relative; }
.servers-img { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.servers-img img { width: 100%; }
.server-list {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: var(--sp-2xl);
}
.server-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: 16px; text-align: center;
}
.server-item .flag { font-size: 28px; margin-bottom: 8px; }
.server-item .name { font-size: 14px; font-weight: 600; color: var(--white); }
.server-item .latency { font-size: 12px; color: var(--text-secondary); }

/* ── Testimonials ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.review-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: var(--sp-2xl);
  box-shadow: var(--shadow-card);
}
.review-stars { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.review-quote { font-size: 15px; color: var(--text-secondary); line-height: 25.6px; margin-bottom: 16px; }
.review-name { font-size: 14px; font-weight: 700; color: var(--white); }

/* ── Pricing ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.price-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: var(--sp-2xl);
  box-shadow: var(--shadow-card); position: relative; text-align: center;
}
.price-card.popular {
  border-color: var(--white); background: rgba(255,255,255,0.18);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--brand-orange);
  font-size: 12px; font-weight: 700; border-radius: 20px;
  padding: 4px 16px; white-space: nowrap;
}
.price-plan { font-size: 14.4px; color: var(--text-secondary); margin-bottom: 8px; }
.price-amount { font-size: 36px; font-weight: 700; color: var(--white); }
.price-per { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--sp-xl); }
.price-features { text-align: left; margin-bottom: var(--sp-xl); }
.price-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--white); padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.price-feature:last-child { border-bottom: 0; }
.price-feature i { color: var(--white); font-size: 13px; }

/* ── Risk Free ── */
.risk-free {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-card); padding: var(--sp-3xl);
  text-align: center; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.risk-free h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.risk-free p { font-size: 16px; color: var(--text-secondary); line-height: 25.6px; margin-bottom: var(--sp-xl); }
.risk-icon { font-size: 48px; margin-bottom: var(--sp-lg); }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.step-item { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--white);
  margin: 0 auto var(--sp-lg);
}
.step-item h3 { font-size: 20.8px; font-weight: 700; margin-bottom: var(--sp-sm); }
.step-item p { font-size: 16px; color: var(--text-secondary); line-height: 25.6px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--white);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-q i { transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--text-secondary); line-height: 25.6px; }
.faq-item.open .faq-a { display: block; }

/* ── Footer ── */
.footer {
  background: var(--footer-bg); border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-5xl) 0 var(--sp-2xl);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: var(--sp-3xl); }
.footer-brand img { height: 36px; margin-bottom: var(--sp-lg); }
.footer-brand p { font-size: 14.4px; color: var(--text-secondary); line-height: 23.04px; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col a {
  display: block; font-size: 14px; color: var(--text-secondary);
  margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-xl); text-align: center;
  font-size: 14.4px; color: var(--text-secondary);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: var(--sp-5xl) 20px var(--sp-3xl);
  text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.page-hero p { font-size: 20.8px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ── Download Cards ── */
.dl-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.dl-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: var(--sp-2xl); text-align: center;
}
.dl-icon { font-size: 48px; margin-bottom: 16px; }
.dl-card h3 { font-size: 20.8px; font-weight: 700; margin-bottom: 12px; }
.dl-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }

/* ── Contact Form ── */
.contact-form {
  max-width: 600px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: var(--sp-3xl);
}
.form-group { margin-bottom: var(--sp-xl); }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-icon);
  padding: 14px 16px; font-size: 15px; color: var(--white); font-family: var(--font);
  outline: none; transition: border-color 0.15s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group textarea:focus { border-color: rgba(255,255,255,0.6); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Prose (privacy/terms) ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; }
.prose p, .prose li { font-size: 15px; color: var(--text-secondary); line-height: 25.6px; margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--white); text-decoration: underline; }

/* ── Divider ── */
.divider { border: 0; height: 1px; background: rgba(255,255,255,0.1); margin: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-right { display: none; }
  .nav-toggle { display: block; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .dl-grid       { grid-template-columns: 1fr; }
  .server-list   { grid-template-columns: repeat(2,1fr); }
  .img-split     { grid-template-columns: 1fr; gap: 24px; }
  .img-split.reverse .img-split-text { order: 0; }
  .img-split.reverse .img-split-img  { order: 0; }

  .hero h1 { font-size: 28px; line-height: 40px; }
  .hero-sub { font-size: 17px; line-height: 28px; }
  .section-title { font-size: 24px; }
  .img-split-text h2 { font-size: 24px; }
  .page-hero h1 { font-size: 28px; }
  .hero { padding: var(--sp-3xl) 20px; }
  .section { padding: 48px 0; }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-benefits { flex-direction: column; align-items: center; }
}
