/* pandavpnofficial.com — style.css
   Design system: pandavpn-DESIGN.md */

:root {
  --green:        #47b96d;
  --green-dark:   #04a56a;
  --green-light:  #edf7f1;
  --red:          #f55f40;
  --bg:           #fafbfd;
  --bg-alt:       #f0f0f0;
  --white:        #ffffff;
  --text:         #262626;
  --text2:        #7f7f7f;
  --text3:        #4a5872;
  --border:       #e0e0e0;
  --shadow:       0px 6px 18px 0px rgba(15,23,42,0.04);
  --shadow-drop:  0px 12px 12px 0px rgba(0,0,0,0.15);
  --shadow-modal: 0px 4px 8px 0px rgba(0,0,0,0.30);
  --r-pill:  27px;
  --r-card:  20px;
  --r-lg:    32px;
  --r-md:    12px;
  --r-sm:     6px;
  --r-xs:     5px;
  --maxw: 1200px;
  --font: "Noto Sans", Inter, Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::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: 1.8;
  color: var(--text); background: var(--bg);
  -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; }
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; font-weight: 700; line-height: 54px; color: var(--text); }
.section-head p { color: var(--text2); margin-top: 10px; font-size: 16px; line-height: 28.8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: 0.32px;
  border: 0; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green); color: #fff;
  border-radius: var(--r-pill); padding: 14px 32px;
  box-shadow: 0 8px 24px rgba(71,185,109,0.32);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 12px 28px rgba(4,165,106,0.36); }
.btn-outline {
  background: var(--white); color: var(--text3);
  border: 1px solid var(--border); border-radius: var(--r-pill); padding: 14px 32px;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ── Header / Nav ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 14px; font-weight: 400; letter-spacing: 0.8px;
  color: var(--text2); line-height: 46px;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); font-weight: 700; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); background: var(--white);
  border-radius: var(--r-pill); padding: 7px 14px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  cursor: pointer; color: var(--text3);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-drop);
  min-width: 140px; padding: 6px; display: none; z-index: 1001;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; color: var(--text3);
}
.lang-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.lang-menu a.active { color: var(--green); background: var(--green-light); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; font-size: 26px; color: var(--text);
}

/* ── Mobile menu (full-width panel) ── */
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0;
  width: 100vw; background: var(--white); z-index: 999;
  flex-direction: column; align-items: center; gap: 6px;
  padding: 26px 20px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu .m-link {
  width: 100%; max-width: 420px; text-align: center; padding: 16px 0;
  font-size: 18px; font-weight: 700; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .m-link:hover, .mobile-menu .m-link.active { color: var(--green); }
.mobile-menu .m-lang { display: flex; gap: 10px; margin-top: 22px; }
.mobile-menu .m-lang a {
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 10px 22px; font-weight: 700; font-size: 15px; color: var(--text2);
}
.mobile-menu .m-lang a.active { background: var(--green); color: #fff; border-color: var(--green); }
.mobile-menu .btn-primary { margin-top: 22px; width: 100%; max-width: 420px; }

/* ── Announcement banner ── */
.banner {
  background: var(--red); color: #fff; font-size: 14px; line-height: 25.2px;
  text-align: center; padding: 10px 48px; position: relative;
}
.banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,0.8); cursor: pointer;
  font-size: 18px; font-weight: 700;
}
.banner.hidden { display: none; }

/* ── Hero ── */
.hero { padding: 70px 0 50px; background: var(--bg); }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  font-weight: 700; font-size: 14px; padding: 8px 16px;
  border-radius: var(--r-pill); margin-bottom: 20px;
}
.hero h1 {
  font-size: 36px; font-weight: 700; line-height: 60px;
  color: var(--text); letter-spacing: -0.01em;
}
.hero .lead {
  color: var(--text2); font-size: 16px; line-height: 28.8px; margin-top: 16px;
}
.hero .cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.hero .trust-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.hero .trust-item { text-align: center; }
.hero .trust-num { font-size: 24px; font-weight: 700; color: var(--green); line-height: 1.2; }
.hero .trust-label { font-size: 14px; color: var(--text2); margin-top: 2px; line-height: 25.2px; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; align-items: center; }
.phone {
  width: 270px; height: 550px; border-radius: 42px;
  background: linear-gradient(160deg, #1c2230, #0d1117);
  padding: 14px; box-shadow: 0 24px 60px rgba(15,23,42,0.22);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #080c12;
  border-radius: 0 0 14px 14px; z-index: 2;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 30px;
  background: linear-gradient(165deg, #edfaf2, #d4f2e2);
  display: flex; flex-direction: column; align-items: center;
  padding: 46px 14px 14px; overflow: hidden;
}
.phone .conn {
  width: 108px; height: 108px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 28px rgba(71,185,109,0.4); margin: 18px auto;
}
.phone .pill {
  width: 92%; background: var(--white); border-radius: var(--r-md);
  padding: 12px; margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.phone .pill .bar { height: 7px; border-radius: 4px; background: var(--border); margin: 5px 0; width: 80%; }
.phone .pill .bar.s { width: 52%; }

/* ── Stats strip ── */
.stats-strip { background: var(--green); color: #fff; padding: 50px 0; }
.stats-strip .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats-strip .s-num { font-size: 36px; font-weight: 700; line-height: 1.2; }
.stats-strip .s-label { font-size: 14px; opacity: 0.85; margin-top: 4px; line-height: 25.2px; }

/* ── Feature cards ── */
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,23,42,0.08); }
.feat-icon { width: 52px; height: 52px; margin: 0 auto 14px; }
.feat-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--text2); line-height: 25.2px; }

/* ── Highlight blocks ── */
.highlights-wrap { }
.hl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.hl:last-child { border-bottom: 0; }
.hl:nth-child(even) .hl-visual { order: -1; }
.hl .tag { color: var(--green); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.hl h3 { font-size: 30px; font-weight: 700; line-height: 54px; color: var(--text); }
.hl p { color: var(--text2); font-size: 16px; line-height: 28.8px; margin-top: 12px; }
.hl-visual {
  height: 280px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--green-light), #c8edd8);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.hl-visual.alt { background: linear-gradient(150deg, #eff3ff, #dce5ff); }
.hl-visual.v   { background: linear-gradient(150deg, #fff4ec, #ffe8d0); }
.hl-visual.g   { background: linear-gradient(150deg, #f5f0ff, #e8daff); }

/* ── Streaming platforms ── */
.stream-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 36px; }
.stream-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 20px 10px; text-align: center;
  font-weight: 700; font-size: 13px; color: var(--text3); line-height: 21px;
  box-shadow: var(--shadow); transition: transform 0.15s, background 0.15s;
}
.stream-item:hover { transform: translateY(-3px); background: var(--green-light); color: var(--green-dark); }
.stream-item .si-icon { font-size: 28px; margin-bottom: 8px; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.testi-stars { color: #f5a623; font-size: 18px; margin-bottom: 12px; }
.testi-text { font-size: 14px; color: var(--text3); line-height: 25.2px; }
.testi-author { margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--text); }
.testi-src { font-size: 12px; color: var(--text2); }

/* ── Pricing cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-card); padding: 36px 24px 32px;
  text-align: center; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border-color: var(--green); box-shadow: 0 0 0 4px rgba(71,185,109,0.15), var(--shadow); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: var(--r-pill); white-space: nowrap;
}
.price-plan { font-size: 14px; font-weight: 700; color: var(--text2); letter-spacing: 0.8px; text-transform: uppercase; }
.price-amount { margin: 16px 0 4px; }
.price-amount .cur { font-size: 18px; font-weight: 700; color: var(--text); vertical-align: top; margin-top: 8px; display: inline-block; }
.price-amount .num { font-size: 36px; font-weight: 700; color: var(--text); }
.price-amount .per { font-size: 14px; color: var(--text2); }
.price-orig { font-size: 13px; color: var(--text2); text-decoration: line-through; margin-bottom: 20px; }
.price-features { list-style: none; text-align: left; margin: 20px 0 28px; }
.price-features li {
  font-size: 14px; color: var(--text3); padding: 6px 0 6px 24px;
  position: relative; border-bottom: 1px solid var(--bg-alt);
  line-height: 25.2px;
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Platform cards ── */
.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.platform-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,23,42,0.09); }
.platform-icon { font-size: 40px; margin-bottom: 12px; }
.platform-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.platform-desc { font-size: 14px; color: var(--text2); line-height: 25.2px; margin-bottom: 20px; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, #0d2318, var(--green));
  color: #fff; text-align: center; padding: 80px 20px;
}
.cta-section h2 { font-size: 30px; font-weight: 700; line-height: 54px; }
.cta-section p { opacity: 0.9; margin: 12px 0 32px; font-size: 16px; }
.cta-section .btn-primary { background: #fff; color: var(--green); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-section .btn-primary:hover { background: var(--green-light); }

/* ── Footer ── */
.footer { background: #1a1f24; color: #c3cad1; padding: 60px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer .tagline { margin-top: 12px; font-size: 14px; color: #8b949e; max-width: 240px; line-height: 25.2px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer a { display: block; color: #9aa3ac; padding: 5px 0; font-size: 14px; }
.footer a:hover { color: var(--green); }
.footer .bottom {
  border-top: 1px solid #282f37; padding-top: 24px;
  text-align: center; font-size: 13px; color: #7b848d;
}

/* ── Inner pages ── */
.page-hero {
  background: linear-gradient(135deg, #0d2318, var(--green));
  color: #fff; text-align: center; padding: 70px 0;
}
.page-hero h1 { font-size: 36px; font-weight: 700; line-height: 60px; }
.page-hero p { opacity: 0.9; margin-top: 10px; font-size: 16px; }

.prose { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.prose h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
.prose p  { color: var(--text2); margin-bottom: 12px; font-size: 16px; line-height: 28.8px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.prose li { color: var(--text2); margin-bottom: 6px; font-size: 16px; line-height: 28.8px; }

/* Download page */
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.dl-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 36px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.15s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,23,42,0.09); }
.dl-card .dl-icon { font-size: 44px; margin-bottom: 16px; }
.dl-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dl-card p { font-size: 14px; color: var(--text2); margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feat-grid     { grid-template-columns: repeat(2,1fr); }
  .stream-grid   { grid-template-columns: repeat(3,1fr); }
  .footer .cols  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .container       { grid-template-columns: 1fr; text-align: center; }
  .hero .cta-group       { justify-content: center; }
  .hero .trust-row       { justify-content: center; }
  .phone-wrap            { display: none; }
  .hl                    { grid-template-columns: 1fr; gap: 28px; }
  .hl:nth-child(even) .hl-visual { order: 0; }
  .hl-visual             { height: 200px; }
  .pricing-grid          { grid-template-columns: 1fr; max-width: 400px; }
  .testi-grid            { grid-template-columns: 1fr; }
  .platform-grid         { grid-template-columns: 1fr 1fr; }
  .stats-strip .grid     { grid-template-columns: repeat(2,1fr); }
  .dl-grid               { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section               { padding: 50px 0; }
  .nav-right             { display: none; }
  .nav-toggle            { display: block; }
  .feat-grid             { grid-template-columns: repeat(2,1fr); }
  .stream-grid           { grid-template-columns: repeat(2,1fr); }
  .footer .cols          { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero h1               { font-size: 30px; line-height: 48px; }
  .feat-grid             { grid-template-columns: 1fr 1fr; }
  .stream-grid           { grid-template-columns: 1fr 1fr; }
  .footer .cols          { grid-template-columns: 1fr; }
  .platform-grid         { grid-template-columns: 1fr; }
  .stats-strip .grid     { grid-template-columns: repeat(2,1fr); }
  .dl-grid               { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .mobile-menu           { display: none !important; }
  .nav-toggle            { display: none; }
}
