/* HMA VPN Mirror Site — style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #0059A5;
  --primary-dark: #004080;
  --cta-bg: #FECB2F;
  --cta-text: #522E00;
  --cta-bg-hover: #FFD84D;
  --text: #132434;
  --text-muted: #5A7080;
  --bg: #FFFFFF;
  --surface: #E5F1FF;
  --surface-2: #D0E8F5;
  --header-bg: #FFFFFF;
  --footer-bg: #132434;
  --dark-card: #10294D;
  --accent-red: #EA152B;
  --border: #D0E4F7;
  --green: #1AAE5B;
  --red: #EA152B;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 48px;
  --shadow-card: 0 2px 12px rgba(0,89,165,.10), 0 1px 3px rgba(0,89,165,.06);
  --shadow-lg: 0 8px 32px rgba(0,89,165,.14);
  --transition: 0.2s ease;
  --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: 'Montserrat', Helvetica, Arial, Verdana, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.6; 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; font-weight: 700; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,89,165,.08);
}
.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: 28px; width: auto; max-width: 120px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: var(--text); font-size: 14px; font-weight: 400;
  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: var(--surface); 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 (cn-generic has no switcher) */
.mobile-lang { display: none; }

/* ─── DROPDOWN / LANGUAGE SWITCHER ─── */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; left: 0;
  margin-top: 0; padding-top: 8px;
  display: none; min-width: 160px; z-index: 1000;
}
.dropdown-panel::before {
  content: ''; display: block; height: 8px; /* bridge: cursor path from trigger to panel */
}
.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; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: var(--cta-bg); color: var(--cta-text);
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-size: 13.8px; font-weight: 700;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap; display: inline-block;
}
.btn-cta:hover { background: var(--cta-bg-hover); text-decoration: none; box-shadow: 0 4px 12px rgba(254,203,47,.5); transform: translateY(-1px); }
.btn-cta.btn-lg {
  padding: 16px 40px; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 700; display: inline-block;
}
.btn-cta-lg {
  background: var(--cta-bg); color: var(--cta-text);
  padding: 16px 40px; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 700; display: inline-block;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-cta-lg:hover { background: var(--cta-bg-hover); text-decoration: none; box-shadow: 0 4px 16px rgba(254,203,47,.5); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--cta-bg); color: var(--cta-text);
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; display: inline-block;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--cta-bg); text-decoration: none; }

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 22px; padding: 6px;
  order: 99;
}

/* ─── HERO — HMA radial gradient redesign ─── */
.hero {
  background-color: #0059A5;
  background-image: radial-gradient(circle at 69% 83%, rgb(82,156,220), rgb(0,82,152) 46%);
  color: #fff;
  position: relative; overflow: hidden;
}
.hero .container {
  max-width: 1200px; margin: 0 auto;
  padding: 52px 26px;
}
/* split: text left, mascot right */
.hero-content {
  display: flex; flex-direction: row; align-items: center;
  gap: var(--space-lg);
}
.hero-text {
  flex: 1 1 55%; min-width: 0;
  margin-bottom: 26px;
}
.hero-img {
  flex: 0 1 45%; text-align: right;
  position: relative;
  padding: 26px 52px;
}
.hero-img img { max-width: 100%; display: inline-block; }

/* hero typography */
.hero .title {
  display: block;
  font-family: 'Montserrat', Helvetica, Arial, Verdana, sans-serif;
  color: #fff; font-size: 3.125rem; line-height: 3.75rem;
  font-weight: 700; margin-bottom: 13px;
}
.hero .sup-title {
  display: block; font-weight: 300; color: #fff;
  font-size: 1.25rem; line-height: 2rem; margin-bottom: 6.5px;
}
.hero .sub-title {
  display: block; font-weight: 300; color: #fff;
  font-size: 1.25rem; line-height: 1.625rem; margin-bottom: 26px;
}
.hero h1 { margin-bottom: 52px; }
.hero h1 > :last-child { margin-bottom: 0; }

/* ─── COUNTDOWN ─── */
#countdown {
  display: flex; flex-direction: row; align-items: flex-start;
  font-family: 'Montserrat', Helvetica, Arial, Verdana, sans-serif;
  margin-bottom: 13px; gap: 0;
}
.counter-box {
  display: flex; flex-direction: column; align-items: center;
  min-width: 56px;
}
.counter-num {
  font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1;
}
.counter-label {
  font-size: 11px; color: rgba(255,255,255,.8); text-transform: uppercase;
  letter-spacing: .5px; margin-top: 10px;
}
.counter-separator {
  font-size: 2rem; font-weight: 700; color: rgba(255,255,255,.7);
  line-height: 1; padding: 0 6px; align-self: flex-start; margin-top: 2px;
}

/* ─── BUTTON HOLDER + STICKER (red discount badge) ─── */
.wrap-buttons {
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start;
  gap: 0;
}
.button-holder {
  position: relative; padding-left: 0; margin-top: 20px;
}
.button-sticker {
  position: absolute; top: -13px; left: 50%; z-index: 1;
  transform: translateX(-50%);
  padding: 2px 16px;
  background-color: #EA152B; color: #fff; font-weight: 700;
  border-radius: 20px; font-size: 14px; white-space: nowrap;
}
.button-sticker + .btn-cta,
.button-sticker + .btn-cta.btn-lg {
  padding-top: 24px;
}
.hero-text-below-button {
  font-weight: 700; margin-top: 10px; margin-left: 4px;
  font-size: 13px; color: rgba(255,255,255,.85);
}
.hero-text-below-button a { color: #fff; text-decoration: none; }
.hero-text-below-button a:hover { text-decoration: underline; }

/* sticker badge (money-back) on hero-img */
.hero-img .sticker {
  position: absolute; top: 65px; right: 91px;
}
.hero-img .sticker img { width: 80px; height: auto; }

/* ─── FEATURE STRIPE (below hero) ─── */
.feature-stripe-group {
  background: #E5F1FF; width: 100%;
  margin: 0 0 var(--space-lg) 0;
}
.feature-stripe-group .wrap {
  display: flex; margin: 0 auto; width: 100%; max-width: 1200px;
  padding: 1rem 26px; flex-wrap: nowrap; align-items: stretch;
}
.feature-stripe-group .feat {
  border-left: 1px solid #fff;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.44; flex-grow: 1;
  margin: 1rem 0; padding: 6.5px 26px;
}
.feature-stripe-group .feat:last-child { border-right: 1px solid #fff; }
.feature-stripe-group .feat:first-child { border-left: none; }
.feature-stripe-group .feat .feat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--primary); margin-right: 10px; flex-shrink: 0;
}
.feature-stripe-group .feat .feat-text {
  color: #132434; text-transform: uppercase; font-size: 15px; font-weight: 600;
}
@media (max-width: 767px) { .feature-stripe-group { display: none; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .feature-stripe-group .wrap { flex-wrap: wrap; }
  .feature-stripe-group .feat { width: 50%; }
}

/* ─── TRUST BAR (kept for inner pages) ─── */
.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: 700; 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: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: var(--space-xs); }
.section-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; margin-bottom: var(--space-sm); color: var(--text); text-align: center; }
.section-sub { font-size: 16px; 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; }
.split-content .section-title, .split-content .section-sub { text-align: left; margin-left: 0; margin-right: 0; }

/* ─── FIGURE ROWS (streaming / privacy / servers — matching HMA layout) ─── */
.figure-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center;
}
.figure-row.reverse { }
.figure-row .col-img { }
.figure-row .col-text { }
.figure-row .col-img img { width: 100%; border-radius: var(--radius-lg); }
.figure-row .figure-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; margin-bottom: var(--space-md); }
.figure-row .wrap-features { display: flex; flex-wrap: wrap; margin-bottom: 24px; }
.figure-row .feature-holder {
  flex-basis: calc(100%/3); text-align: center; padding: 0 8px;
}
.figure-row .feature-top { font-size: 1.87rem; margin-bottom: 1rem; font-weight: 700; color: var(--primary); }
.figure-row .feature-bottom {
  font-size: 15px; font-weight: 700; display: flex; align-items: center;
  justify-content: center; text-transform: uppercase; word-break: break-word;
}

/* ─── PLATFORM BUTTONS ─── */
.platform-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.platform-buttons li {
  width: calc(100% / 4); margin: 0 0 20px 0;
  text-align: center; display: flex; align-items: center; justify-content: center;
}
.platform-buttons li a { display: flex; flex-direction: column; align-items: center; color: var(--text); text-decoration: none; gap: 8px; padding: 12px; }
.platform-buttons li a:hover { color: var(--primary); text-decoration: none; }
.platform-buttons li img { width: 56px; height: 56px; }
.platform-buttons li span { font-size: 13px; font-weight: 600; }
@media (max-width: 1023px) {
  .platform-buttons li { width: 25%; }
  .platform-buttons li img { width: 44px; height: 44px; }
}
@media (max-width: 767px) {
  .platform-buttons li { width: calc(100%/2); }
  .platform-buttons li img { width: 52px; height: 52px; }
}

/* ─── 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); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--space-sm); color: var(--primary);
}
.feature-card h3 { font-size: 16px; 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, 2.5vw, 32px); }
.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; }

/* ─── STATS / NUMBERS BAR ─── */
.stats-bar { background: var(--dark-card); color: #fff; padding: var(--space-lg) var(--space-sm); }
.stats-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: var(--space-xl); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--cta-bg); display: block; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; display: block; text-transform: uppercase; letter-spacing: .5px; }

/* ─── 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,89,165,.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: 13px; 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: 700; color: var(--text); line-height: 1; }
.pricing-price sup { font-size: 20px; 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-pill);
  font-size: 15px; font-weight: 700; cursor: pointer;
  margin-top: var(--space-sm); display: block; text-align: center;
  transition: all var(--transition);
  background: var(--cta-bg); color: var(--cta-text); border: none;
}
.pricing-cta:hover { background: var(--cta-bg-hover); text-decoration: none; }

/* ─── GUARANTEE BADGE ─── */
.guarantee-row { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-top: var(--space-md); padding: var(--space-sm); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.guarantee-icon { font-size: 32px; color: var(--green); }
.guarantee-text { font-size: 14px; }
.guarantee-text strong { font-weight: 700; display: block; }

/* ─── 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; }

/* ─── 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); font-family: inherit; }
.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: var(--footer-bg); color: rgba(255,255,255,.7); 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: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; 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: rgba(255,255,255,.65); font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); 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; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--primary);
  background-image: radial-gradient(circle at 69% 83%, rgb(82,156,220), rgb(0,82,152) 46%);
  color: #fff; text-align: center;
  padding: 72px var(--space-sm) var(--space-xl);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 700; margin-bottom: var(--space-sm); color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-md); }

/* ─── DEVICE / DOWNLOAD CARDS ─── */
.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-lg); padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; text-align: left; }
.device-card:hover { box-shadow: var(--shadow-card); }
.device-icon { font-size: 36px; color: var(--primary); }
.device-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.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; }

/* ─── PAYMENT METHODS ─── */
.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; font-size: 14px; }

/* ─── COMPARE TABLE ─── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--border); padding: 12px 14px; text-align: left; font-size: 14px; }
.compare-table th { background: var(--surface); font-weight: 700; }
.compare-table .highlight { background: rgba(0,89,165,.06); font-weight: 700; color: var(--primary); }

/* ─── BULLETS & PROSE ─── */
.bullets { padding-left: 20px; list-style: disc; }
.bullets li { margin: 8px 0; color: var(--text-muted); }
.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); }

/* ─── GUARANTEE BANNER ─── */
.guarantee-banner { background: var(--dark-card); 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, 3.5vw, 34px); margin-bottom: var(--space-sm); color: #fff; }
.guarantee-banner p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: var(--space-md); max-width: 540px; margin-left: auto; margin-right: auto; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 16px; }  /* M7 edge gap */
  .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,.12);
    padding: 12px 0; z-index: 999; border-top: 1px solid var(--border);
  }
  .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: 16px; color: var(--text); }

  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }

  /* hero mobile: column-reverse (image top, text bottom) per HMA original */
  .hero-content { flex-direction: column-reverse; }
  .hero-img { text-align: center; padding: 0; margin-bottom: 13px; }
  .hero-img img { max-width: 200px; display: inline-block; }
  .hero-img .sticker { top: 13px; right: 0; }
  .hero-text { padding: 16px 39px 0; }
  .hero-text h1 { margin-bottom: 39px; }
  .hero .title { font-size: 1.7rem; line-height: 2.1875rem; }
  .hero .sub-title { font-size: 1rem; }
  #countdown { justify-content: center; }
  .counter-box { width: auto; }
  .counter-label { margin-top: 10.4px; }
  .counter-separator { visibility: hidden; padding: 0 8.8px; }
  .wrap-buttons .button-holder { margin-bottom: 26px; }
  .wrap-buttons .button-holder:last-child { margin-bottom: 0; }
  .wrap-buttons .button-holder .btn-cta { font-size: 15px; width: 100%; max-width: 310px; padding: 24px 16px 8px; }

  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .figure-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .stats-inner { gap: var(--space-md); }

  .btn-cta-lg, .hero-cta-group a, .btn-cta, .btn-cta.btn-lg {
    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; justify-content: center; }
  .device-card .btn-cta { align-self: center; }
  .wrap-buttons { justify-content: center; }
  .col-text .btn-cta, .col-text .btn-cta.btn-lg { margin: var(--space-md) auto 0; }
  .hero-text-below-button { text-align: center; margin-left: 0; }
  .pricing-cta .btn-cta { margin: 0 auto; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { padding-top: 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }  /* M21 two footer columns */
  .device-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; }
}

/* ─── UTILITY ─── */
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.tag { display: inline-block; background: var(--surface); 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: 13px; opacity: .75; }
.hero time.updated { color: rgba(255,255,255,.8); }
.page-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: hover 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: var(--text); font-size: 14px; font-weight: 400; padding: 8px 12px;
}
.dropdown-toggle::after { content: " ▾"; font-size: .8em; }
/* footer headings are not h-tags (keeps M17 heading order intact) */
.footer-heading { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }

@media (max-width: 768px) {
  .nav-links .dropdown { width: 100%; text-align: center; }
  .nav-links .dropdown-toggle { width: 100%; padding: 14px 0; font-size: 16px; color: var(--text); }
  .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); text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }  /* M21 two footer columns */
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }  /* M21 stays two columns */
}

/* ─── DOWNLOAD PAGE ─── */
.dl-hero {
  background-color: #0059A5;
  background-image: radial-gradient(circle at 69% 83%, rgb(82,156,220), rgb(0,82,152) 46%);
  color: #fff; padding-bottom: 52px;
}
.platform-tabs {
  background: rgba(0,0,0,.18); padding: 0 0 0;
}
.platform-tabs .container {
  display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-sm);
}
.tab-btn {
  background: none; border: none; cursor: pointer; font: 14px/1 'Montserrat', sans-serif;
  color: rgba(255,255,255,.75); font-weight: 600; padding: 14px 20px;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.tab-btn:hover { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.tab-btn-active { color: #fff; border-bottom-color: var(--cta-bg); }
.tab-panel { display: none; }
.tab-panel-active { display: block; }
.dl-hero-content {
  display: flex; align-items: flex-start; gap: var(--space-lg); padding-top: 32px;
}
.dl-hero-text { flex: 1 1 55%; min-width: 0; }
.dl-hero-text h1,
.dl-hero-text h2 { color: #fff; font-size: 2.8rem; line-height: 1.2; margin-bottom: 16px; }
.dl-platform-name { color: var(--cta-bg); }
.dl-sys-req { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.dl-sys-req i { color: #44cc88; margin-right: 6px; }
.dl-cta-row { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: 0; }
.dl-guarantee-text { color: rgba(255,255,255,.9); font-size: 13px; margin: 10px 0 18px 2px; line-height: 1.6; }
.dl-guarantee-text strong { font-weight: 700; display: block; color: #fff; }
.dl-guarantee-text span { opacity: 0.8; }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.8); color: #fff; padding: 15px 28px;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 700;
  transition: background .2s, border-color .2s; white-space: nowrap; display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; text-decoration: none; }
.dl-guarantee { font-size: 13px; color: rgba(255,255,255,.8); margin: 0; }
.dl-guarantee i { color: #44cc88; margin-right: 6px; }
.dl-hero-img { flex: 0 1 45%; text-align: right; }
.dl-hero-img img { max-width: 100%; display: inline-block; }

/* ─── TESTIMONIALS ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-md); }
.testimonial-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md); box-shadow: var(--shadow-card);
}
.testimonial-stars { color: #FECB2F; font-size: 18px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 12px; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* ─── STEPS ─── */
.steps-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-md); }
.step-item { display: flex; align-items: flex-start; gap: var(--space-md); }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; line-height: 1;
}
.step-body h3 { margin-bottom: 6px; color: var(--text); font-size: 1.05rem; }
.step-body p { color: var(--text-muted); margin: 0; }

/* ─── NEWS CARDS ─── */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.news-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.news-card-img-wrap { display: block; overflow: hidden; background: var(--surface); height: 180px; display: flex; align-items: center; justify-content: center; }
.news-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.news-card-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.news-card-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.news-card-title { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--primary); text-decoration: none; }
.news-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.news-card-link { font-size: 14px; font-weight: 700; color: var(--primary); }
.news-card-link:hover { text-decoration: underline; }

/* ─── PRICING HERO (full-width blue) ─── */
.pricing-hero {
  background-color: #0059A5;
  background-image: radial-gradient(circle at 50% 100%, rgb(82,156,220), rgb(0,82,152) 55%);
  color: #fff; padding: 52px 0 64px;
}
.pricing-hero .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-sm); }
.pricing-hero h1 { color: #fff; font-size: 2.4rem; text-align: center; margin-bottom: 8px; }
.pricing-hero time.updated { display: block; text-align: center; color: rgba(255,255,255,.75); }
.pricing-hero-sub { text-align: center; color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 24px; }
.pricing-features-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  margin-bottom: 36px;
}
.pf-item { font-size: 14px; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 7px; }
.pf-item i { color: var(--cta-bg); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); align-items: start; }
.plan-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px 24px;
  color: var(--text); position: relative; box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.plan-card-featured {
  background: #fff; border: 3px solid var(--cta-bg);
  transform: scale(1.03); box-shadow: 0 8px 36px rgba(0,0,0,.22);
}
.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; padding: 3px 12px; border-radius: 4px; margin-bottom: 14px;
}
.plan-badge-regular { background: var(--surface); color: var(--primary); }
.plan-badge-featured { background: var(--cta-bg); color: var(--cta-text); }
.plan-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--text); }
.plan-per { font-size: 14px; color: var(--text-muted); }
.plan-total { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.plan-cta { display: block; text-align: center; margin-bottom: 20px; }
.plan-features { margin-top: 0; }
.plan-features li { font-size: 13px; color: var(--text-muted); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.plan-features i { color: var(--green); }
.plan-guarantee { width: 72px; margin-top: 16px; opacity: .8; }
.pricing-contact {
  text-align: center; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.8);
}
.pricing-contact a { color: var(--cta-bg); font-weight: 600; }
.pricing-contact i { margin-right: 6px; }

@media (max-width: 1023px) {
  .dl-hero-content { flex-direction: column-reverse; }
  .dl-hero-img { text-align: center; }
  .dl-hero-img img { max-width: 280px; }
  .dl-hero-text h1, .dl-hero-text h2 { font-size: 1.8rem; }
  .plans-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .plan-card-featured { transform: none; }
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .dl-cta-row { flex-direction: column; align-items: stretch; }
  .dl-cta-row .button-holder, .btn-outline-white { text-align: center; width: 100%; }
  .btn-outline-white { margin-left: auto; margin-right: auto; display: block; }
  .pricing-hero h1 { font-size: 1.7rem; }
  .platform-tabs .container { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { padding: 12px 14px; font-size: 13px; }
}
