/* ═══════════════════════════════════════════════════════════════════
   DL-Light website — shared stylesheet
   Covers: reset, tokens, layout, nav, buttons, badges, footer,
           reveal animation. Page-specific styles live in <style>
   blocks within each page file.
═══════════════════════════════════════════════════════════════════ */

/* ── Reset & box model ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ──────────────────────────────────────────────── */
:root {
  --blue:       #1d6fc4;
  --blue-dark:  #0f4e9e;
  --navy:       #0a1f3c;
  --accent:     #f59e0b;
  --green:      #059669;
  --green-bg:   #ecfdf5;

  --gray-50:    #f8f9fb;
  --gray-100:   #f1f3f6;
  --gray-200:   #e2e6ed;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --white:      #ffffff;

  --radius:     10px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.08);
  --t:          .22s ease;
  --transition: .25s ease; /* alias */
}

/* ── Base ───────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout helpers ─────────────────────────────────────────────── */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 6rem 0; }
.section-sm  { padding: 4rem 0; }
.text-center { text-align: center; }

/* ── Typography helpers ─────────────────────────────────────────── */
h2.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
p.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-badge {
  display: inline-block;
  background: rgba(29,111,196,.1);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ── Pill badges ────────────────────────────────────────────────── */
.badge-pill {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-blue  { background: rgba(29,111,196,.1); color: var(--blue); }
.badge-green { background: var(--green-bg);     color: var(--green); }
.badge-amber { background: #fffbeb;             color: #92400e; }
.badge-gray  { background: var(--gray-100);     color: var(--gray-700); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t),
    transform var(--t),
    box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }

.btn-lg { font-size: 1rem; padding: .85rem 2rem; border-radius: 10px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(29,111,196,.4);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--white);
  background: transparent;
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  text-shadow: none;
}

/* Outline button for light/white backgrounds */
.btn-outline-dark {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
}

/* Nav context: visible on white background */
#nav.scrolled .btn-outline {
  color: var(--blue);
  text-shadow: none;
}
#nav.scrolled .btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-outline-white {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--gray-100); }

.btn-accent {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #e08f00;
  border-color: #e08f00;
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}

/* ── Nav ────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--t), box-shadow var(--t);
}
#nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--gray-200);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-brand img  { height: 36px; }
.nav-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  transition: color var(--t);
}
#nav.scrolled .nav-brand span { color: var(--navy); }

/* Override: pages that always have scrolled nav use .nav-brand-dark */
.nav-brand-dark span { color: var(--navy) !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--t);
}
.nav-links a:hover       { color: var(--white); }
.nav-links a.active      { color: var(--white); font-weight: 700; }
#nav.scrolled .nav-links a        { color: var(--gray-700); }
#nav.scrolled .nav-links a:hover  { color: var(--blue); }
#nav.scrolled .nav-links a.active { color: var(--blue); font-weight: 700; }

/* Language toggle pill */
.nav-links a[data-lang-prefix] {
  border: 1px solid rgba(255,255,255,.4);
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .875rem;
  min-width: 3rem;
  text-align: center;
}
#nav.scrolled .nav-links a[data-lang-prefix] {
  border-color: var(--gray-300);
}
#nav.scrolled .nav-links a[data-lang-prefix]:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-ctas { display: flex; align-items: center; gap: .75rem; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: background var(--t);
}
#nav.scrolled .nav-hamburger span { background: var(--navy); }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  padding: 3rem 0 2rem;
  color: var(--gray-500);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 36px;
  margin-bottom: .75rem;
}
.footer-brand p {
  font-size: .875rem;
  color: var(--gray-500);
  max-width: 220px;
}
.footer-links h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .75rem;
}
.footer-links ul    { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a     { text-decoration: none; font-size: .875rem; color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-lang a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  transition: all var(--t);
}
.footer-lang a.active { background: rgba(255,255,255,.1); color: var(--white); }
.footer-lang a:hover  { color: var(--white); }

/* ── Section badge (also aliased as .badge for legacy) ─────────── */
.badge {
  display: inline-block;
  background: rgba(29,111,196,.1);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ── Scroll reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Release Notes Page ─────────────────────────────────────────── */
.hero-release {
  background: linear-gradient(135deg, #1d6fc4 0%, #0f4a8c 100%);
  padding: 120px 20px 60px;
}

.release-content {
  background: var(--white);
  padding: 3rem 20px;
}

.version-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.version-item {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.version-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.version-header {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f1fa 100%);
  padding: 1.5rem;
  border-bottom: 1px solid #e5e9f0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.version-header h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.version-badge {
  background: var(--blue);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.version-date {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.major-badge {
  display: inline-block;
  margin-left: 0.4rem;
  background: var(--orange, #ff8c1a);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.version-toggle {
  color: var(--blue);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.version-item.expanded .version-toggle {
  transform: rotate(180deg);
}

.version-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.version-item.expanded .version-details {
  max-height: 3000px;
}

.version-body {
  padding: 1.5rem;
}

.change-category {
  margin-bottom: 1.5rem;
}

.change-category h4 {
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.change-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.change-list li {
  color: #555;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.change-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

.current-version {
  background: linear-gradient(135deg, #f0fff4 0%, #e8fdf0 100%);
  border-left: 4px solid #16a34a;
}

.current-version .version-header {
  background: linear-gradient(135deg, #f0fff4 0%, #e8fdf0 100%);
  border-bottom: 1px solid #d1e8e4;
}

.current-version .version-badge {
  background: #16a34a;
}

/* ── Validation (CIE) Page ──────────────────────────────────────── */
.hero-validation {
  background: linear-gradient(135deg, #1d6fc4 0%, #0f4a8c 100%);
  padding: 120px 20px 60px;
}

.badge-section {
  background: var(--white);
  padding: 2rem 20px;
  border-bottom: 1px solid #e5e9f0;
}

.badge-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.validation-badge {
  background: #f0f7ff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  min-width: 200px;
}

.validation-badge .badge-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.validation-badge h4 {
  color: var(--blue);
  font-weight: 600;
  margin: 0.5rem 0;
}

.validation-badge p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.validation-content {
  background: var(--white);
  padding: 3rem 20px;
}

.validation-card {
  background: #f9fafc;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.validation-card h3 {
  color: var(--blue);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

.validation-card p {
  color: #555;
  line-height: 1.8;
  margin: 0.75rem 0;
}

.validation-details {
  background: var(--white);
  padding: 1rem;
  border-left: 4px solid var(--blue);
  margin: 1rem 0;
  border-radius: 4px;
}

.validation-details h5 {
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.validation-details p {
  color: #666;
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.test-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.test-result-card {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.test-result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

.test-result-label {
  color: #666;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.download-report {
  background: #f0f7ff;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.download-report h4 {
  color: var(--blue);
  margin: 0 0 1rem;
}

.download-report p {
  color: #555;
  margin: 0.5rem 0;
}

.report-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s;
}

.report-link:hover {
  background: var(--blue-dark);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.standard-badge {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.standard-badge h5 {
  color: var(--blue);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.standard-badge p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.methodology {
  background: #f9fafc;
  padding: 2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.methodology h4 {
  color: var(--blue);
  margin: 0 0 1rem;
}

.methodology ol {
  color: #666;
  padding-left: 2rem;
}

.methodology li {
  margin: 0.75rem 0;
  line-height: 1.6;
}

/* ── Utility Classes ────────────────────────────────────────────── */
.subtitle-text { color: var(--gray-500); margin-bottom: 2rem; }
p.small-text { color: var(--gray-500); margin: 0; }
.section-light-bg { background: #f5f7fa; padding: 3rem 20px; }
.section-white-top-border { background: var(--white); padding: 3rem 20px; border-top: 1px solid #e5e9f0; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card-left-border { background: var(--white); padding: 1.5rem; border-radius: 6px; border-left: 4px solid var(--blue); }
.heading-blue { color: var(--blue); margin: 0 0 1rem; }
.list-gray { color: var(--gray-500); padding-left: 1.5rem; margin: 0; }
.btn-inline-block { display: inline-block; margin-top: 0.5rem; }
.mt-3rem { margin-top: 3rem; }
.mt-2rem { margin-top: 2rem; }
.mt-2-5rem { margin-top: 2.5rem; }
.mb-3rem { margin-bottom: 3rem; }
.mb-2rem { margin-bottom: 2rem; }
.text-center-mb { text-align: center; margin-bottom: 2rem; }
.text-center-p { text-align: center; padding: 1rem; }
.btn-mt { display: inline-block; margin-top: 1rem; }
.heading-blue-lg { font-size: 1.1rem; color: var(--blue); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cta-btns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 600px; margin: 0 auto; }
.cta-btns-grid .btn { text-align: center; justify-content: center; }
.cta-btns-grid.three { max-width: 900px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .cta-btns-grid.three { grid-template-columns: 1fr; } }
.cta-section { background: #f5f7fa; padding: 3rem 20px; text-align: center; }
.cta-section h2 { margin-bottom: 1.5rem; }
.list-styled { color: #666; margin: 0.5rem 0 0; padding-left: 1.5rem; }
.ol-styled { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.bg-gray-50 { background: var(--gray-50); }
.hidden { display: none; }
.w-12 { width: 12%; }
.w-14 { width: 14%; }
.w-16 { width: 16%; }
.p-small-white { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-top: 0.25rem; }
.section-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.5rem; }
.btn-link-blue { background: none; border: none; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; }
.p-meta { margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray-500); }
.p-meta-light { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.4); }
.link-light-underline { color: rgba(255, 255, 255, 0.5); text-decoration: underline; }

/* ── Hero/Testimonial Section Specific Styles ────────────────────– */
.btn-outline-white-custom {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.hero-heading {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-subtitle-light {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
}

.hero-link-light {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ── Footer Grid ────────────────────────────────────────────────── */
.footer { background: var(--gray-900); padding: 3rem 0 2rem; color: var(--gray-500); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { text-decoration: none; font-size: 0.875rem; color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; }

/* ══════════════════════════════════════════════════════════════════
   INDEX (LANDING) PAGE
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #0a2a5e 0%, #1d6fc4 60%, #2b93e0 100%),
    url("../en/images/df-cs-north-results-custom-with-palette-en-2000x863-texte-anglais-2000x863.png") center/cover no-repeat;
  background-blend-mode: multiply;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 65% at 50% 42%, rgba(0,10,40,.32) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.75rem;
}
.hero-eyebrow span.dot {
  width: 6px; height: 6px; background: #6ee7b7; border-radius: 50%;
}
h1.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 800;
  line-height: 1.1; color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
h1.hero-title em { font-style: normal; color: #93c5fd; }
p.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 2.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 130px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: #fff; font-size: .9rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.8), 0 0 20px rgba(0,0,0,.6);
  white-space: nowrap;
  opacity: 1; transition: opacity .4s ease;
  animation: bounce 2s infinite;
}
.hero-scroll.hidden {
  opacity: 0; pointer-events: none;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 36px;
  background: rgba(255,255,255,.8);
  margin-top: .25rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Trust bar ─────────────────────────────────────────────────── */
#trust { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1.5rem 0; }
.trust-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; }
.trust-label { font-size: .75rem; font-weight: 600; color: var(--gray-500); letter-spacing: .08em; text-transform: uppercase; }
.trust-divider { width: 1px; height: 20px; background: var(--gray-200); }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--gray-700); }
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── Feature grid ──────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  transition: box-shadow var(--t), transform var(--t);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
a.feature-card { text-decoration: none; color: inherit; display: block; }
.feature-icon {
  width: 48px; height: 48px; background: rgba(29,111,196,.1);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.25rem;
  color: var(--blue); font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.feature-card p  { font-size: .95rem; color: var(--gray-500); }

/* ── Metrics showcase ──────────────────────────────────────────── */
#metrics { background: var(--gray-50); }
.metrics-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.metric-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow var(--t), transform var(--t), opacity var(--t);
}
.metric-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.metric-card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.metric-card-body { padding: 1.5rem; }
.metric-card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.metric-card-body ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.metric-card-body li { font-size: .9rem; color: var(--gray-500); display: flex; align-items: center; gap: .5rem; }
.metric-card-body li::before { content: "→"; color: var(--blue); font-weight: 700; }

/* ── Results showcase ──────────────────────────────────────────── */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; margin-top: 1rem; }
.result-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow var(--t), transform var(--t);
}
.result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.result-card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.result-card-body { padding: 1.5rem; }
.result-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.result-card-body p  { font-size: .9rem; color: var(--gray-500); }

/* ── Testimonials ──────────────────────────────────────────────── */
#testimonials { background: var(--navy); }
#testimonials .badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
#testimonials h2.section-title { color: var(--white); }
#testimonials p.section-sub    { color: rgba(255,255,255,.6); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testi-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.testi-stars  { color: var(--accent); font-size: 1rem; }
.testi-quote  { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.7; flex: 1; }
.testi-author { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.testi-name   { font-size: .9rem; font-weight: 700; color: var(--white); }
.testi-org    { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── Validation section ────────────────────────────────────────── */
#validation { background: var(--gray-50); }
.validation-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.validation-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.validation-img img { width: 100%; display: block; }
.validation-text h2 { margin-bottom: 1rem; }
.validation-text p  { color: var(--gray-500); font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }
/* Inline badge variant used inside the landing page validation section */
#validation .validation-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: .75rem 1.25rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 1.75rem;
  min-width: unset; text-align: left;
}

/* ── CTA split section ─────────────────────────────────────────── */
#cta { background: linear-gradient(135deg, #0f2040 0%, #1d4e8f 100%); padding: 6rem 0; }
.cta-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background var(--t);
}
.cta-card:hover { background: rgba(255,255,255,.11); }
.cta-card-icon { font-size: 2.5rem; line-height: 1; }
.cta-card h3   { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.cta-card p    { font-size: .95rem; color: rgba(255,255,255,.65); flex: 1; }
.cta-card .btn { align-self: flex-start; margin-top: .5rem; }

/* ══════════════════════════════════════════════════════════════════
   DOWNLOAD PAGE
   ══════════════════════════════════════════════════════════════════ */
.hero-download { background: linear-gradient(135deg, #1d6fc4 0%, #0f4a8c 100%); padding: 120px 20px 60px; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin: 3rem 0; }
.download-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: transform .3s, box-shadow .3s;
}
.download-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.download-card img  { width: 100%; height: 200px; object-fit: cover; }
.download-card-content { padding: 2rem; }
.download-card h3  { font-size: 1.5rem; font-weight: 600; margin: 0 0 1rem; color: #1a1a1a; }
.download-card p   { color: #666; margin: .5rem 0; font-size: .95rem; }
.system-req { background: #f5f7fa; border-left: 4px solid var(--blue); padding: 1rem; margin: 1rem 0; border-radius: 4px; font-size: .9rem; }
.download-buttons { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.download-btn {
  display: inline-block; padding: .75rem 1.5rem;
  background: var(--blue); color: var(--white); text-decoration: none;
  border-radius: 4px; font-weight: 500; text-align: center;
  transition: background .3s; font-size: .95rem;
}
.download-btn:hover { background: var(--blue-dark); }
.features-section { background: var(--white); padding: 4rem 20px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 2rem 0; }
.info-card { padding: 1.5rem; background: #f9fafc; border-radius: 6px; border: 1px solid var(--gray-200); }
.info-card h4 { color: var(--blue); font-weight: 600; margin: 0 0 .75rem; }
.info-card p  { color: #555; font-size: .95rem; line-height: 1.6; }
.licensing-section { background: #f0f4f8; padding: 3rem 20px; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); margin: 1.5rem 0; border-radius: 6px; overflow: hidden; }
.comparison-table th { background: var(--blue); color: var(--white); padding: 1rem; text-align: left; font-weight: 600; }
.comparison-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); }
.comparison-table tr:last-child td { border-bottom: none; }
.check { color: var(--green); font-weight: 700; }
.cross { color: #dc2626; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   METRICS PAGE
   ══════════════════════════════════════════════════════════════════ */
body.page-metrics .section { padding: 5rem 0; }

/* ── Page header ────────────────────────────────────────────────── */
#page-header { background: linear-gradient(135deg, #0a2a5e 0%, #1d6fc4 100%); padding: 110px 0 60px; }
.page-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.page-header-text h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: .75rem; }
.page-header-text p  { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 500px; }
.page-header-stat    { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.stat-item  { text-align: center; }
.stat-num   { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }
.page-header-cta { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }

/* ── Situation cards ────────────────────────────────────────────── */
#situations { background: var(--gray-50); padding: 3rem 0; }
.situations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.sit-card {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  display: flex; align-items: flex-start; gap: 1rem;
}
.sit-card:hover  { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sit-card.active { border-color: var(--blue); background: rgba(29,111,196,.04); }
.sit-icon       { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }
.sit-card h3    { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.sit-card p     { font-size: .8rem; color: var(--gray-500); }

/* ── Filter bar ─────────────────────────────────────────────────── */
#filter-bar { position: sticky; top: 64px; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: .75rem 0; }
.filter-inner { display: flex; align-items: center; gap: .5rem; overflow-x: auto; padding-bottom: 2px; }
.filter-tab {
  flex-shrink: 0; background: var(--gray-100); color: var(--gray-700);
  border: none; cursor: pointer; font-size: .8rem; font-weight: 600;
  letter-spacing: .03em; padding: .5rem 1.1rem; border-radius: 100px;
  transition: background var(--t), color var(--t); white-space: nowrap;
}
.filter-tab:hover  { background: var(--gray-200); }
.filter-tab.active { background: var(--blue); color: var(--white); }
.filter-count { font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.12); border-radius: 100px; padding: .1rem .45rem; margin-left: .3rem; }
.filter-tab.active .filter-count { background: rgba(255,255,255,.25); }

/* ── Metrics grid ───────────────────────────────────────────────── */
#metrics-section { padding: 3rem 0 5rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.metric-card.hidden  { display: none; }
.metric-card.fading  { opacity: 0; transform: translateY(6px); }
.mc-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.mc-img a { display: block; width: 100%; height: 100%; }
.mc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.metric-card:hover .mc-img img { transform: scale(1.04); }
.mc-cat-tag {
  position: absolute; top: .6rem; left: .6rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(10,31,60,.75); color: var(--white);
  padding: .25rem .6rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.mc-body   { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .75rem; }
.mc-header { display: flex; flex-direction: column; gap: .3rem; }
.mc-title  { font-size: 1rem; font-weight: 700; color: var(--navy); }
.mc-desc   { font-size: .875rem; color: var(--gray-500); line-height: 1.55; flex: 1; }
.mc-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.mc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--gray-100); }
.mc-when   { font-size: .75rem; color: var(--gray-500); font-style: italic; }
.mc-link   { text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .3rem; transition: color var(--t); }
.mc-link:hover  { color: var(--blue-dark); }
.mc-link::after { content: "→"; }
.no-results     { grid-column: 1/-1; text-align: center; padding: 4rem 0; color: var(--gray-500); }

/* ── Compliance matrix ──────────────────────────────────────────── */
#compliance { background: var(--gray-50); }
.matrix-intro      { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.matrix-table-wrap { overflow-x: auto; }
.matrix-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.matrix-table th, .matrix-table td { padding: .875rem 1.125rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.matrix-table thead th {
  background: var(--navy); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  position: sticky; top: 0;
}
.matrix-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.matrix-table thead th:last-child  { border-radius: 0 var(--radius) 0 0; }
.matrix-table tbody tr:last-child td  { border-bottom: none; }
.matrix-table tbody tr:hover td       { background: rgba(29,111,196,.04) !important; }
.matrix-table tbody tr:nth-child(odd)  td { background: var(--white); }
.matrix-table tbody tr:nth-child(even) td { background: var(--gray-50); }
.matrix-table td.std-name    { font-weight: 700; color: var(--navy); white-space: nowrap; }
.matrix-table td.metrics-list { color: var(--gray-700); }
.matrix-table td.metrics-list .m-tag {
  display: inline-block; background: var(--gray-100); color: var(--gray-700);
  font-size: .7rem; font-weight: 600; padding: .15rem .5rem; border-radius: 4px;
  margin: .15rem .15rem .15rem 0;
}
a.m-tag { text-decoration: none; transition: background .2s, color .2s; }
a.m-tag:hover { background: var(--blue); color: #fff; }
.matrix-table td.status { white-space: nowrap; }

/* ── Results page ───────────────────────────────────────────────── */
.results-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.video-wrapper iframe,
.video-wrapper .video-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-wrapper .video-thumb { display: block; aspect-ratio: auto; }
.video-wrapper .video-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact page ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: .2rem; }
.contact-detail-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.contact-detail-item a { font-size: .9rem; color: var(--gray-500); text-decoration: none; transition: color var(--t); }
.contact-detail-item a:hover { color: var(--navy); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form .form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.contact-form .form-required { color: var(--accent); }
.contact-form input,
.contact-form textarea { width: 100%; padding: .65rem 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-family: inherit; font-size: .95rem; color: var(--gray-900); background: var(--gray-50); transition: border-color var(--t), box-shadow var(--t); box-sizing: border-box; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,143,.12); background: var(--white); }
.contact-form textarea { resize: vertical; }

/* ── Metric detail pages ────────────────────────────────────────── */
.metric-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.metric-detail-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.metric-detail-text .section-badge { margin-bottom: 1rem; display: inline-block; }
.metric-detail-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.metric-detail-text p { color: var(--gray-500); font-size: 1rem; line-height: 1.75; margin-bottom: 1.25rem; }
.metric-standards { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.metric-feature-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; }
.metric-feature-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--gray-600); line-height: 1.5; }
.metric-feature-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.metric-screenshots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.screenshot-item img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.screenshot-item p { font-size: .8rem; color: var(--gray-400); margin-top: .5rem; text-align: center; }
.metric-back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--blue); text-decoration: none; margin-bottom: 1.5rem; transition: color var(--t); }
.metric-back-link:hover { color: var(--navy); }

/* ── Metrics CTA ────────────────────────────────────────────────── */
#cta-metrics { background: linear-gradient(135deg, #0f2040 0%, #1d4e8f 100%); padding: 5rem 0; }
.cta-inner   { text-align: center; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.cta-inner p  { color: rgba(255,255,255,.65); font-size: 1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; max-width: 320px; margin-left: auto; margin-right: auto; }
.cta-btns .btn { width: 100%; justify-content: center; text-align: center; white-space: nowrap; }

/* ── Metric FAQ section ─────────────────────────────────────────── */
.metric-faq { padding: 4rem 0; background: var(--gray-100); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-inner h2 { margin-bottom: 2rem; text-align: center; color: var(--navy); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.faq-item summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-top: 0.75rem; color: var(--gray-700); line-height: 1.6; }
.faq-answer p { margin: 0.5rem 0; }

/* ── Shared nav JS snippet ──────────────────────────────────────── */
/* Mobile nav open state — toggled by JS */
@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-ctas .btn-outline-white { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 999;
  }
  .nav-links.open a { color: var(--gray-700); font-size: 1rem; }

  .hero-release { padding: 80px 20px 40px; }
  .version-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .version-toggle { position: absolute; right: 1.5rem; top: 1.5rem; }
  .grid-auto { grid-template-columns: 1fr; }

  .hero-validation { padding: 80px 20px 40px; }
  .badge-container { flex-direction: column; align-items: center; }
  .validation-badge { width: 100%; max-width: 300px; }
  .test-results { grid-template-columns: repeat(2, 1fr); }

  /* Index page */
  .metrics-showcase, .validation-inner, .cta-grid { grid-template-columns: 1fr; }
  .validation-img { order: -1; }
  #hero { padding: 80px 0 60px; }

  /* Download page */
  .hero-download { padding: 80px 20px 40px; }
  .download-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: .9rem; }
  .comparison-table th, .comparison-table td { padding: .75rem; }

  /* Metrics page */
  .page-header-inner { flex-direction: column; }
  .metrics-grid { grid-template-columns: 1fr; }

  /* Results page */
  .results-video-grid { grid-template-columns: 1fr; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  /* Metric detail pages */
  .metric-detail-grid { grid-template-columns: 1fr; }
}

/* Privacy page list */
.privacy-list { list-style: disc; padding-left: 1.5rem; max-width: 760px; margin: 0 auto; }
.privacy-list li { margin-bottom: 0.6rem; line-height: 1.55; }

/* Videos page */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.video-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; background: rgba(0,0,0,0.7); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background 0.18s ease; }
.video-thumb:hover .play-icon { background: #cc0000; }
.video-thumb .play-icon::before { content: ''; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.video-card-body h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.video-card-body p { margin: 0; color: var(--gray-700); line-height: 1.5; }
.video-cookie-notice { max-width: 900px; margin: 0 auto 2rem; padding: 1rem 1.25rem; background: #fff8e1; border-left: 4px solid #f0b400; border-radius: 6px; color: #5a4500; line-height: 1.5; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }

/* Pricing page */
.pricing-intro { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; color: var(--gray-700); line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-bottom: 2.5rem; }
.pricing-card { background: #fff; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 14px; padding: 2rem 1.75rem; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(0,0,0,0.04); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: var(--accent, #f0b400); box-shadow: 0 10px 30px rgba(240,180,0,0.18); }
.pricing-card .tier-badge { display: inline-block; align-self: flex-start; padding: 0.25rem 0.7rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; background: var(--gray-100, #f3f4f6); color: var(--gray-700, #374151); margin-bottom: 1rem; }
.pricing-card.featured .tier-badge { background: var(--accent, #f0b400); color: #1a1300; }
.pricing-card h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.pricing-card .product-tag { color: var(--gray-700); font-size: 0.95rem; margin: 0 0 1.25rem; line-height: 1.45; }
.pricing-card .price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.25rem; }
.pricing-card .price .amount { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.pricing-card .price .currency { font-size: 1.1rem; font-weight: 500; }
.pricing-card .price-meta { font-size: 0.85rem; color: var(--gray-500, #6b7280); margin: 0 0 1.5rem; }
.pricing-card ul.features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card ul.features li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; line-height: 1.45; color: var(--gray-700); }
.pricing-card ul.features li::before { content: '✓'; position: absolute; left: 0; top: 0.35rem; color: #16a34a; font-weight: 700; }
.pricing-card .buy-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.25rem; border-radius: 10px; background: #111; color: #fff; text-decoration: none; font-weight: 600; transition: background 0.18s ease; }
.pricing-card .buy-btn:hover { background: #000; }
.pricing-card.featured .buy-btn { background: var(--accent, #f0b400); color: #1a1300; }
.pricing-card.featured .buy-btn:hover { background: #d99c00; }
.pricing-note { max-width: 820px; margin: 0 auto; padding: 1rem 1.25rem; background: #f8fafc; border-left: 4px solid #94a3b8; border-radius: 6px; color: var(--gray-700); line-height: 1.5; font-size: 0.95rem; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pricing-grid { grid-template-columns: 1fr; } }
