/* PioneerVPN Mirror Site — style.css */
/* Design tokens measured from pioneeraaa.com — §5 typography/colour/shadow/motion */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  /* Brand colours — primary: #FB543F (orange-red), gradient: 127deg E0412D→FF9F68 */
  --primary: #FB543F;
  --primary-dark: #E0412D;
  --gradient: linear-gradient(127deg, #E0412D 0%, #FB5840 22.72%, #FF8F4F 80.21%, #FF9F68 100%);
  /* Layout neutrals */
  --dark: #1B1312;
  --header-bg: #FFFFFF;        /* white header (source: white nav bg) */
  --bg: #FFFFFF;
  --surface: #F4F4F4;          /* alternating section bg */
  --surface-2: #f1f8ff;        /* light blue tint */
  /* Text */
  --text: #505050;             /* body text */
  --text-muted: #4B4B55;
  --text-dark: #161B2D;        /* headings */
  /* Semantic */
  --green: #1AAE5B;
  --red: #E03C31;
  --border: #E4E4E4;
  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 50px;           /* pill buttons — matches source 50px border-radius */
  /* Shadows — measured: subtle card shadow */
  --shadow-card: 0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(251,84,63,.18);
  /* Motion — source: all 0.3s linear 0s */
  --transition: 0.3s linear;
  --ease: linear;
  --dur-fast: 0.15s;
  --dur-md: 0.3s;
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; } /* clip, NOT hidden: hidden breaks the sticky header (M9) */
body { font-family: "Microsoft YaHei", "微软雅黑", "Plus Jakarta Sans", Arial, sans-serif; font-size: 16px; line-height: 1.875; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.25; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--space-sm);
  height: 64px; gap: var(--space-sm);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 64px; width: auto; max-width: 200px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: var(--text-dark); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--primary); background: rgba(251,84,63,.06); text-decoration: none; }

.nav-right {
  display: flex; align-items: center; gap: var(--space-sm);
  flex-shrink: 0; margin-left: auto;
}

/* mobile-only language row inside the menu; hidden on desktop */
.mobile-lang { display: none; }

/* ─── DROPDOWN / LANGUAGE SWITCHER ─── */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; right: 0;
  margin-top: 0; padding-top: 8px;
  display: none; min-width: 160px; z-index: 1000;
}
.dropdown-panel-inner {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 10px 16px;
  color: var(--text); font-size: 14px;
  transition: background var(--transition);
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--surface); text-decoration: none; }

.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85); padding: 6px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; display: flex; align-items: center; gap: 6px;
  transition: border-color var(--transition);
}
.lang-btn:hover { border-color: rgba(255,255,255,.7); }
.lang-btn i { font-size: 11px; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; display: inline-block;
}
.btn-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }

.btn-cta-lg {
  background: var(--primary); color: #fff;
  padding: 16px 36px; border-radius: var(--radius-md);
  font-size: 18px; font-weight: 700;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-lg:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; display: inline-block;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text-dark, #333); font-size: 22px; padding: 6px;
  order: 99;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #12122a 0%, #1e2a5e 60%, #0d3b82 100%);
  color: #fff; text-align: center;
  padding: var(--space-xl) var(--space-sm);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,199,44,.15); border: 1px solid rgba(255,199,44,.4);
  color: var(--primary); padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: var(--space-md);
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); color: rgba(255,255,255,.82); margin-bottom: var(--space-lg); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }
.hero-price { margin-top: var(--space-md); font-size: 14px; color: rgba(255,255,255,.6); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-sm);
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num {
  font-size: 28px; font-weight: 800; color: var(--primary);
  display: block; line-height: 1;
}
.trust-label {
  font-size: 12px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .5px; margin-top: 6px; display: block;
}
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── SECTIONS ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--surface); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--primary); margin-bottom: var(--space-xs);
}
.section-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: var(--space-sm); text-align: center; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; margin-bottom: var(--space-lg); text-align: center; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--space-sm); color: var(--primary);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── SPLIT ROW ─── */
.split-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg); align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 320px; object-fit: cover; }
.split-content .section-title { font-size: clamp(22px, 3vw, 34px); text-align: left; }
.check-list { margin: var(--space-sm) 0 var(--space-md); }
.check-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.pricing-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  position: relative; transition: box-shadow var(--transition);
}
.pricing-card.popular {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 0 0 4px rgba(0,111,207,.08);
}
.pricing-card:hover { box-shadow: var(--shadow-card); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: var(--space-xs); }
.pricing-price { font-size: 42px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-sm); margin-top: 6px; }
.pricing-divider { height: 1px; background: var(--border); margin: var(--space-sm) 0; }
.pricing-features li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: '\2715'; color: var(--border); }
.pricing-cta { width: 100%; padding: 13px; border-radius: var(--radius-md); font-size: 15px; font-weight: 700; cursor: pointer; margin-top: var(--space-sm); display: block; text-align: center; transition: all var(--transition); background: var(--primary); color: #fff; border: none; }
.pricing-cta:hover { background: var(--primary-dark); text-decoration: none; }
.pricing-card.popular .pricing-cta { background: var(--primary); }

/* ─── IMAGE STRIP ─── */
.image-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
}
.image-strip-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.image-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── AWARDS ─── */
.awards-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.award-item { text-align: center; }
.award-icon { font-size: 40px; color: var(--primary); margin-bottom: 8px; }
.award-title { font-size: 14px; font-weight: 700; }
.award-sub { font-size: 12px; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: var(--space-sm) 0; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-q i { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 var(--space-sm); font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── FOOTER ─── */
.site-footer {
  background: #f4f4f4; color: #505050;
  padding: var(--space-xl) var(--space-sm) var(--space-md);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg); margin-bottom: var(--space-xl);
}
.footer-brand .logo-footer { height: 64px; width: auto; filter: none; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; color: #505050; }
.footer-col h4 { color: #1B1312; font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #505050; font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: #FB543F; text-decoration: none; }
.footer-dl-icons { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.footer-dl-icons a { display: block; }
.footer-dl-icons img { height: 18px; width: auto; display: block; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid #ddd; padding-top: var(--space-sm);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; margin: 0; }
.social-links { display: flex; gap: 12px; }
.social-links a { color: #505050; font-size: 18px; transition: color var(--transition); }
.social-links a:hover { color: #FB543F; text-decoration: none; }

/* ─── PLATFORM ICONS ─── */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm); text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.platform-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.platform-card i { font-size: 36px; color: var(--primary); margin-bottom: var(--space-sm); }
.platform-card span { font-size: 14px; font-weight: 600; display: block; }

/* ─── GUARANTEE BANNER ─── */
.guarantee-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; text-align: center;
  padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-xl);
  margin: var(--space-lg) 0;
}
.guarantee-banner h2 { font-size: clamp(22px, 4vw, 36px); margin-bottom: var(--space-sm); color: #fff; }
.guarantee-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #12122a 0%, #1e2a5e 100%);
  color: #fff; text-align: center;
  padding: 72px var(--space-sm) var(--space-xl);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 15px; font-family: inherit; background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  padding: 14px 32px; border-radius: var(--radius-md); font-size: 16px; font-weight: 700;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--primary-dark); }

/* ─── PROSE (privacy/terms) ─── */
.prose { max-width: 800px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { font-size: 17px; margin-top: 28px; }
.prose p { margin-bottom: 16px; color: var(--text-muted); }
.prose ul { margin: 12px 0 16px 24px; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: 6px; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 8px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    height: auto; max-height: none;
    overflow: visible;
    background: var(--header-bg);
    box-shadow: 0 8px 16px rgba(0,0,0,.24);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links > li > a { display: block; width: 100%; padding: 14px 0; font-size: 17px; }

  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }

  /* Lang switcher INSIDE mobile menu */
  .mobile-lang {
    display: flex; justify-content: center; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--border);
    width: 100%;
  }
  .nav-links li.mobile-lang a {
    display: inline-block;
    width: auto;
    padding: 4px 10px;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
    color: var(--text-muted);
  }
  .nav-links li.mobile-lang a.active { color: var(--primary); font-weight: 700; }

  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .btn-cta-lg, .btn-cta, .hero-cta-group a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .hero-cta-group { flex-direction: column; align-items: center; }

  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .awards-row { flex-direction: column; gap: var(--space-md); }
}

/* ─── UTILITY ─── */
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.tag {
  display: inline-block; background: var(--surface-2); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ─── CN mode: visible update date under the H1 (cn.bing freshness signal, §18) ─── */
time.updated { display: inline-block; margin: 0 0 var(--space-sm); font-size: 14px; opacity: .75; }
.hero time.updated { color: rgba(255,255,255,.8); }

/* ═══ COMMON-MISTAKE RULES (website-quality-standards.md §26, checked by qa_mistakes.py) ═══ */
/* M9 sticky header everywhere */
.site-header { position: sticky; top: 0; z-index: 1000; }
/* M3/M4/M8 nav dropdown (device/product pages grouped): hover-intent on desktop, tap-toggle on mobile */
.dropdown.open > .dropdown-panel { display: block; }
.nav-links .dropdown-panel { left: 0; right: auto; }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer; font: inherit;
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; padding: 8px 12px;
}
.dropdown-toggle::after { content: " ▾"; font-size: .8em; }
/* footer column titles are not headings (keeps H1→H2→H3 order intact, M17) */
.footer-heading { color: #1B1312; font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
/* M14 device/product cards on the download hub */
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-md); }
.device-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.device-card .device-icon { font-size: 36px; width: 40px; height: 40px; line-height: 40px; color: var(--primary); } /* M22 one size */
.device-card h3 { margin: 0; font-size: 20px; }
.device-card h3 a { color: inherit; }
.device-card ul { margin: 0; padding-left: 18px; list-style: disc; }
.device-card li { font-size: 14px; color: var(--text-muted); margin: 2px 0; }
.device-card .btn-cta { margin-top: auto; align-self: flex-start; }
/* M13 payment methods, M24 comparison table, M19 bullet lists */
.payment-methods { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--space-md); }
.payment-methods li { list-style: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 600; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.compare-table .highlight { background: var(--surface); font-weight: 700; }
.bullets { padding-left: 20px; list-style: disc; }
.bullets li { margin: 6px 0; }
.section-sub { max-width: 720px; margin: 0 auto var(--space-md); text-align: center; color: var(--text-muted); }

/* ─── NEWS PAGE: CHANGELOG ─── */
.changelog-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.changelog-item {
  display: flex; align-items: flex-start; gap: var(--space-md);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px var(--space-md);
}
.changelog-badge {
  flex-shrink: 0; background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700; border-radius: var(--radius-sm);
  padding: 4px 10px; letter-spacing: .5px; white-space: nowrap; align-self: flex-start; margin-top: 2px;
}
.changelog-body { flex: 1; }
.changelog-date { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 4px; }
.changelog-body p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ─── NEWS PAGE: INFRA CARDS ─── */
.news-infra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }
.news-infra-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md); text-align: center;
}
.news-infra-card i { font-size: 36px; color: var(--primary); margin-bottom: 12px; display: block; }
.news-infra-card h3 { font-size: 17px; margin: 0 0 6px; color: var(--text-dark); }
.news-infra-card .infra-stat { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 10px; line-height: 1; }
.news-infra-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── NEWS PAGE: TIPS CARDS ─── */
.news-tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.news-tip-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md); text-align: left;
}
.news-tip-card i { font-size: 28px; color: var(--primary); margin-bottom: 12px; display: block; }
.news-tip-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--text-dark); }
.news-tip-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

@media (max-width: 768px) {
  .nav { padding: 0 16px; }                                  /* M7 not flush to the edges */
  .nav-links .dropdown { width: 100%; text-align: center; }
  .nav-links .dropdown-toggle { width: 100%; padding: 14px 0; font-size: 17px; }
  .nav-links .dropdown-panel { position: static; padding-top: 0; min-width: 0; }
  .nav-links .dropdown:hover > .dropdown-panel,
  .nav-links .dropdown:focus-within > .dropdown-panel { display: none; }
  .nav-links .dropdown.open > .dropdown-panel { display: block; }     /* M4 open / M8 close on tap */
  .nav-links .dropdown-panel-inner { background: var(--surface); border: 0; box-shadow: none; }
  .nav-links .dropdown-panel a { color: var(--text-dark); text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }            /* M21 two footer columns */
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }            /* M21 stays two columns on phones */
}

/* ═══ PIONEER-BRAND SECTIONS — 1:1 design match with pioneeraaa.com ═══ */

/* Pill CTA button (original has border-radius: 50px) */
.btn-pill {
  border-radius: var(--radius-xl) !important;
  padding: 14px 36px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: var(--gradient) !important;
}
.btn-pill:hover {
  opacity: .88;
  transform: translateY(-2px);
  background: var(--gradient) !important;
}

/* Gradient text highlight (used in H1) */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero (white bg, 50/50 split) ── */
.pioneer-hero {
  background: #fff;
  padding: 65px 0;
}
.pioneer-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}
.pioneer-hero-text h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 400;
  color: #1B1312;
  line-height: 1.2;
  margin-bottom: 16px;
}
.pioneer-hero-text > p {
  font-size: 16px;
  color: #505050;
  line-height: 1.875;
  margin-bottom: 28px;
}
.pioneer-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pioneer-hero-image img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
}
.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E4E4E4;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #505050;
  transition: border-color var(--transition), color var(--transition);
}
a.platform-badge { text-decoration: none; }
a.platform-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ── Features (light-blue bg, 3-col grid) ── */
.pioneer-features {
  background: var(--surface-2);
  padding: 80px 0;
  text-align: center;
}
.pioneer-features .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-sm); }
.features-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}
.pioneer-features h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.pioneer-features .features-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}
.features-grid-pioneer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-pioneer-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-pioneer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.feature-pioneer-card img.feat-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  object-fit: contain;
}
.feature-pioneer-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-pioneer-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Exclusive App (dark bg, split) ── */
.pioneer-exclusive {
  background: #1B1312;
  padding: 80px 0;
  color: #fff;
}
.pioneer-exclusive .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-sm); }
.pioneer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pioneer-exclusive h2 {
  color: #fff;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  margin-bottom: 16px;
}
.pioneer-exclusive .excl-sub {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.pioneer-exclusive .platform-badges { margin-bottom: 28px; }
.pioneer-exclusive .platform-badge {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
}
.pioneer-exclusive a.platform-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pioneer-split-image img {
  border-radius: 12px;
  max-width: 100%;
  display: block;
}

/* ── Browse Freely (white bg, split) ── */
.pioneer-browse {
  background: #fff;
  padding: 80px 0;
}
.pioneer-browse .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-sm); }
.pioneer-browse h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.pioneer-browse .browse-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Secure Identity (surface bg, 3-icon row) ── */
.pioneer-identity {
  background: var(--surface);
  padding: 80px 0;
  text-align: center;
}
.pioneer-identity .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-sm); }
.pioneer-identity h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.pioneer-identity .identity-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}
.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.identity-item { text-align: center; }
.identity-item img {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.identity-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.identity-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ── Download Hub (dark navy bg) ── */
.pioneer-download {
  background: #000a2d;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.pioneer-download .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-sm); }
.pioneer-download h2 {
  color: #fff;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.pioneer-download .dl-sub {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  margin-bottom: 40px;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none !important;
}
.store-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  text-decoration: none !important;
  color: #fff !important;
}

/* ── Responsive overrides for pioneer sections ── */
@media (max-width: 768px) {
  .pioneer-hero { padding: 40px 0; }
  .pioneer-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .pioneer-hero-image { order: -1; }
  .pioneer-hero-image img { max-height: 300px; }
  .platform-badges { justify-content: center; }
  .features-grid-pioneer { grid-template-columns: 1fr; }
  .pioneer-split { grid-template-columns: 1fr; gap: 32px; }
  .pioneer-browse .pioneer-split-image { order: -1; }
  .identity-grid { grid-template-columns: 1fr; gap: 32px; }
  .store-buttons { gap: 12px; }
  .pioneer-exclusive,
  .pioneer-browse,
  .pioneer-identity,
  .pioneer-download { padding: 48px 0; }
  .pioneer-features { padding: 48px 0; }
}

/* ═══ PIONEER CORRECTIONS — override previous pioneer section rules ═══ */

/* 1. H1: 64px, capitalize, span is solid orange (not gradient) */
.pioneer-hero-text h1 {
  font-size: clamp(40px, 5vw, 64px) !important;
  font-weight: 400 !important;
  text-transform: capitalize !important;
  line-height: 1.3 !important;
}
/* span highlight: solid orange, semi-bold — NOT gradient */
.brand-highlight {
  color: #FB543F;
  font-weight: 600;
}
/* kill the gradient-text approach on h1 */
.pioneer-hero-text h1 .gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #FB543F !important;
  background-clip: unset !important;
  color: #FB543F !important;
  font-weight: 600 !important;
}

/* 2. Platform icons: large icon-above, text-below — matching original brand-wrap */
.pioneer-hero .platform-badges {
  gap: 32px !important;
  margin-top: 32px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
}
a.platform-badge.icon-style,
.platform-badge.icon-style {
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: #505050 !important;
  background: none !important;
  min-width: 52px !important;
  text-align: center !important;
}
a.platform-badge.icon-style:hover {
  color: #FB543F !important;
  border: none !important;
  text-decoration: none !important;
}
.platform-badge.icon-style .brand-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}
.platform-badge.icon-style i {
  font-size: 36px;
  color: #FB543F;
  display: block;
  margin-bottom: 6px;
}
.platform-badge.icon-style span {
  font-size: 13px;
  color: #505050;
  white-space: nowrap;
}

/* 3. Features section: white background (NOT light-blue) */
.pioneer-features {
  background: #fff !important;
}

/* 4. Feature cards: no border, no shadow, no radius — plain white */
.feature-pioneer-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 16px 40px !important;
}
.feature-pioneer-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.feature-pioneer-card img.feat-icon {
  width: 60px !important;
  height: 60px !important;
  margin-bottom: 20px !important;
}
.feature-pioneer-card h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  color: #161B2D !important;
}
.feature-pioneer-card p {
  font-size: 15px !important;
  color: #505050 !important;
  line-height: 1.7 !important;
}

/* 5. Exclusive App section: WHITE background, dark text */
.pioneer-exclusive {
  background: #fff !important;
  color: #505050 !important;
}
.pioneer-exclusive h2 {
  color: #161B2D !important;
  font-size: clamp(22px, 3.5vw, 36px) !important;
}
.pioneer-exclusive .excl-sub {
  color: #505050 !important;
}
.pioneer-exclusive .platform-badge {
  border-color: #E4E4E4 !important;
  color: #505050 !important;
}
.pioneer-exclusive a.platform-badge:hover {
  border-color: #FB543F !important;
  color: #FB543F !important;
}

/* 5b. Exclusive App section badge label "Exclusive App" */
.excl-badge {
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  color: #FB543F;
  margin-bottom: 16px;
  display: block;
}

/* 6. Secure Identity: white background */
.pioneer-identity {
  background: #fff !important;
}
.pioneer-identity h2 {
  color: #161B2D !important;
}
.pioneer-identity .identity-sub {
  color: #505050 !important;
}
.identity-item p {
  color: #505050 !important;
}

/* 7. Download Hub: primary orange/red background (#FB543F) NOT dark navy */
.pioneer-download {
  background: #FB543F !important;
}
.pioneer-download .dl-sub {
  color: rgba(255,255,255,.9) !important;
}
/* Store buttons on orange bg */
.store-btn {
  background: rgba(255,255,255,.2) !important;
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
}
.store-btn:hover {
  background: rgba(255,255,255,.35) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* 8. Responsive fixes for icon badges */
@media (max-width: 768px) {
  .pioneer-hero .platform-badges {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  .pioneer-hero-text h1 {
    font-size: clamp(32px, 8vw, 48px) !important;
  }
}

/* Download section label */
.pioneer-download .dl-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Feature card headings: match original H4 size (21px/600) */
.feature-pioneer-card h3 {
  font-size: 21px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #161B2D !important;
}

/* ═══ PIONEER TYPOGRAPHY — exact match with pioneeraaa.com measurements ═══ */

/* H1: color #1B1312, margin-bottom 40px */
.pioneer-hero-text h1 {
  color: #1B1312 !important;
  margin-bottom: 40px !important;
}

/* All section H2s: 42px/700/line-height 1.6/color #1B1312 */
.pioneer-features h2,
.pioneer-exclusive h2,
.pioneer-browse h2,
.pioneer-identity h2 {
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: #1B1312 !important;
}

/* Download H2: specifically 32px (different from other sections) */
.pioneer-download h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

/* Download P label: 18px/500/letter-spacing 4.5px */
.pioneer-download .dl-label {
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 4.5px !important;
  margin-bottom: 16px !important;
  color: #fff !important;
  text-transform: uppercase;
}

/* Feature card headings: 21px/600/line-height 1.4 — match original H4 */
.feature-pioneer-card h3 {
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1B1312 !important;
  margin-bottom: 0 !important;
}

/* Feature card body text: 16px/400 */
.feature-pioneer-card p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #383131 !important;
}

/* Secure/Identity section H3s: 21px/600/line-height 1.4 */
.identity-item h3 {
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1B1312 !important;
}

/* Responsive H2: scale down on mobile */
@media (max-width: 768px) {
  .pioneer-features h2,
  .pioneer-exclusive h2,
  .pioneer-browse h2,
  .pioneer-identity h2 {
    font-size: clamp(26px, 6vw, 42px) !important;
  }
  .pioneer-download h2 {
    font-size: clamp(22px, 5vw, 32px) !important;
  }
}

/* ═══ PIONEER ICON & BUTTON CORRECTIONS ═══ */

/* 1. Feature card: orange circle icon wrapper (80x80, like original .features-icon) */
.feat-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FB543F;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feat-icon-circle img {
  width: 41px;
  height: 41px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* 2. Secure/identity icons: large PNG illustrations */
.identity-item .secure-icon {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
.identity-item {
  text-align: center;
}

/* 3. Download buttons: white card, column layout, matching original exactly */
.store-btn {
  background: #fff !important;
  color: #1B1312 !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 24px 30px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 130px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.store-btn:hover {
  background: #f5f5f5 !important;
  color: #1B1312 !important;
  transform: translateY(-2px);
}
.store-btn .store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.store-btn .store-icon i {
  font-size: 21px;
  color: #1B1312;
}
.store-btn span {
  font-size: 14px;
  font-weight: 500;
  color: #1B1312;
  white-space: nowrap;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* ═══ DOWNLOAD SECTION BACKGROUND SHAPES ═══ */
.pioneer-download {
  position: relative;
  overflow: hidden;
}
.dl-shape-1 {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.dl-shape-1 img {
  height: 100%;
  width: auto;
  display: block;
  filter: none !important;
}
.dl-shape-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.dl-shape-2 img {
  display: block;
  filter: none !important;
}
/* Content sits above the shapes */
.pioneer-download .container {
  position: relative;
  z-index: 1;
}
