/* supervpnofficial.com — style.css
   Design system: SuperVPN Blue Wave (supervpn.best-DESIGN.md) */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

:root {
  /* Colors — SuperVPN Blue Wave tokens */
  --hero-bg-blue:     #648cff;
  --brand-blue:       #007bff;
  --dark-navy-footer: #2e3149;
  --mid-navy:         #565b87;
  --soft-lavender:    #ececec;
  --dark-text:        #212529;
  --white:            #ffffff;
  --light-gray:       #c7c7c7;
  --muted-border:     #b5b5c8;

  /* Typography */
  --font: 'Montserrat', sans-serif;

  /* Radii */
  --pill:      30px;
  --hero-wave: 0 0 50% 50% / 4%;

  /* Spacing */
  --maxw: 1200px;
  --section-py: 70px;
}

*, *::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: 24px;
  font-weight: 400;
  color: var(--dark-text);
  background: var(--white);
  -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: 16px; font-weight: 600;
  border: 0; cursor: pointer; border-radius: var(--pill); padding: 14px 36px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary { background: var(--white); color: var(--brand-blue); }
.btn-primary:hover { background: var(--soft-lavender); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-blue { background: var(--brand-blue); color: var(--white); }
.btn-blue:hover { background: #0069d9; }

/* ── Header / Navbar ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--hero-bg-blue) 0%, var(--brand-blue) 100%);
  padding: 8px 16px;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.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: 14.5px; font-weight: 500; line-height: 21.75px;
  color: var(--white); transition: opacity 0.15s;
}
.nav-links a:hover, .nav-links a.active { opacity: 0.75; }
.nav-lang { display: flex; align-items: center; gap: 6px; }
.nav-lang a {
  font-size: 13px; font-weight: 600; color: var(--white);
  padding: 4px 8px; border-radius: 4px; opacity: 0.75;
}
.nav-lang a.active { opacity: 1; background: rgba(255,255,255,0.2); }
.nav-lang span { color: rgba(255,255,255,0.5); font-size: 11px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 26px; color: var(--white); width: 42px; height: 42px;
}

/* ── Mobile menu (full-width panel) ── */
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0 0;
  width: 100vw; z-index: 999;
  background: linear-gradient(135deg, var(--hero-bg-blue) 0%, var(--brand-blue) 100%);
  flex-direction: column; align-items: center; gap: 0;
  padding: 20px 0 30px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .m-link {
  width: 100%; text-align: center; padding: 16px 0;
  font-size: 18px; font-weight: 500; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu .m-link:hover, .mobile-menu .m-link.active { opacity: 0.75; }
.mobile-menu .m-lang { display: flex; gap: 12px; margin-top: 24px; }
.mobile-menu .m-lang a {
  border: 2px solid rgba(255,255,255,0.6); border-radius: var(--pill);
  padding: 10px 24px; font-weight: 600; font-size: 15px; color: var(--white);
}
.mobile-menu .m-lang a.active { background: rgba(255,255,255,0.25); border-color: var(--white); }
.mobile-menu .btn-primary { margin-top: 24px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--hero-bg-blue) 0%, var(--brand-blue) 100%);
  border-radius: var(--hero-wave);
  padding: 110px 0 140px;
  text-align: center;
  color: var(--white);
}
.hero h1 {
  font-size: 55px; font-weight: 300; line-height: 66px; letter-spacing: 2px;
  margin-bottom: 24px; color: var(--white);
}
.hero p.lead {
  font-size: 20px; font-weight: 400; line-height: 32px;
  max-width: 680px; margin: 0 auto 40px; color: rgba(255,255,255,0.9);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.hero-badge-img { height: 52px; width: auto; }

/* ── Hero stats strip ── */
.stats { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--soft-lavender); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--brand-blue); line-height: 1; }
.stat-label { font-size: 14px; color: var(--mid-navy); margin-top: 6px; }

/* ── Sections ── */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--soft-lavender); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: 42px; font-weight: 500; line-height: 50.4px; color: var(--dark-text);
}
.section-head p { font-size: 16px; color: var(--mid-navy); margin-top: 14px; line-height: 26px; }

/* ── Feature cards ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
  background: var(--white); border: 1px solid var(--soft-lavender);
  border-radius: 16px; padding: 40px 30px; text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,123,255,0.1); }
.feature-icon {
  font-size: 60px; line-height: 60px; color: var(--brand-blue); margin-bottom: 24px;
}
.feature-card h3 { font-size: 20px; font-weight: 600; line-height: 24px; color: var(--dark-text); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--mid-navy); line-height: 24px; }

/* ── Cybersecurity image section ── */
.security-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.security-visual img {
  width: 100%; border-radius: 16px; object-fit: cover;
  box-shadow: 0 16px 48px rgba(46,49,73,0.18);
}
.security-text h2 { font-size: 40px; font-weight: 500; line-height: 48px; margin-bottom: 20px; }
.security-text p { font-size: 16px; color: var(--mid-navy); line-height: 26px; margin-bottom: 16px; }
.check-list { margin-top: 24px; }
.check-list li {
  font-size: 15px; color: var(--dark-text); padding: 10px 0;
  border-bottom: 1px solid var(--soft-lavender);
  display: flex; align-items: center; gap: 12px;
}
.check-list li:last-child { border-bottom: 0; }
.check-icon { color: var(--brand-blue); font-size: 18px; flex-shrink: 0; }

/* ── How it works ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-bg-blue), var(--brand-blue));
  color: var(--white); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.steps-grid h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.steps-grid p { font-size: 15px; color: var(--mid-navy); line-height: 24px; }

/* ── Image gallery ── */
.img-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.img-section img { border-radius: 12px; object-fit: cover; height: 280px; width: 100%; }

/* ── CTA strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--hero-bg-blue) 0%, var(--brand-blue) 100%);
  padding: 80px 0; text-align: center; color: var(--white);
}
.cta-strip h2 { font-size: 38px; font-weight: 500; letter-spacing: 4px; margin-bottom: 20px; }
.cta-strip p { font-size: 16px; opacity: 0.9; margin-bottom: 36px; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--soft-lavender);
  border-radius: 16px; padding: 28px 24px;
}
.testimonial-stars { color: #ffc107; font-size: 18px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--dark-text); line-height: 24px; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--mid-navy); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--soft-lavender); padding: 24px 0; }
.faq-q {
  font-size: 18px; font-weight: 600; color: var(--dark-text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--brand-blue); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { font-size: 15px; color: var(--mid-navy); line-height: 24px; margin-top: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark-text); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 12px 16px;
  font-family: var(--font); font-size: 15px; color: var(--dark-text);
  margin-bottom: 18px; background: var(--white);
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--brand-blue); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-info h3 { font-size: 27px; font-weight: 500; letter-spacing: 1px; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--mid-navy); line-height: 26px; margin-bottom: 14px; }

/* ── Inner page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--hero-bg-blue) 0%, var(--brand-blue) 100%);
  padding: 80px 0;
  text-align: center; color: var(--white);
}
.page-hero h1 { font-size: 42px; font-weight: 500; line-height: 50.4px; }
.page-hero p { font-size: 16px; margin-top: 12px; opacity: 0.9; }

/* ── Prose (privacy/terms) ── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 40px 0 14px; color: var(--dark-text); }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 15px; line-height: 26px; color: var(--mid-navy); margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }

/* ── Download page ── */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 700px; margin: 0 auto; }
.download-card {
  background: var(--white); border: 1px solid var(--soft-lavender);
  border-radius: 16px; padding: 40px 30px; text-align: center;
}
.download-card .os-icon { font-size: 56px; margin-bottom: 20px; color: var(--brand-blue); }
.download-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.download-card p { font-size: 14px; color: var(--mid-navy); margin-bottom: 24px; }

/* ── Footer ── */
.footer {
  background: var(--dark-navy-footer);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--muted-border); line-height: 24px; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; color: var(--light-gray); text-transform: uppercase; }
.footer-col a {
  display: block; font-size: 14px; font-weight: 400; line-height: 50px;
  color: var(--muted-border); transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-divider { border: 0; border-top: 1px solid var(--mid-navy); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted-border); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--muted-border); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .security-visual { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .nav-right { display: none; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .img-section { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 80px 0 100px; }
  .hero h1 { font-size: 36px; line-height: 44px; letter-spacing: 1px; }
  .hero p.lead { font-size: 16px; }
  .section-head h2 { font-size: 28px; line-height: 38px; }
  .security-text h2 { font-size: 28px; line-height: 36px; }
  .cta-strip h2 { font-size: 26px; letter-spacing: 2px; }
}

@media (max-width: 575.98px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; align-items: center; }
}
