/* =================================================================
   testrix.ai — responsive overrides
   Desktop-first: classes define the default (desktop) layout,
   media queries override for tablet and mobile.
   Inline styles do NOT set gridTemplateColumns — CSS owns that.
   ================================================================= */

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
img, iframe { max-width: 100%; }

/* ── NAV ──────────────────────────────────────────────────────── */
.nav-links     { display: flex; gap: 28px; }
.nav-cta       { display: flex; align-items: center; gap: 16px; }
.nav-hamburger { display: none; background: transparent; border: 1px solid #1A1E27; border-radius: 6px; width: 36px; height: 36px; cursor: pointer; align-items: center; justify-content: center; color: #D8DBE2; flex-shrink: 0; }
.nav-mobile-menu { display: none; flex-direction: column; gap: 0; background: #0B0D12; border-top: 1px solid #1A1E27; }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link { font-family: 'Geist Mono', monospace; font-size: 13px; color: #B5BAC4; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; padding: 14px 20px; border-bottom: 1px solid #1A1E27; display: block; }
.nav-mobile-cta  { margin: 12px 20px 16px; background: #C5F23B; color: #06080C; padding: 12px 16px; border-radius: 6px; font-family: 'Geist, sans-serif'; font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; display: block; }

@media (max-width: 900px) {
  .nav-links  { gap: 16px !important; }
  .nav-links a { font-size: 11px; }
}
@media (max-width: 720px) {
  .nav-links     { display: none !important; }
  .nav-cta       { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .nav-inner     { padding: 0 20px !important; }
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero-h1   { font-size: 76px; }
.hero-lede { font-size: 19px; }
.hero-ctas { flex-direction: row; }
.hero-transcript { max-width: 560px; }

@media (max-width: 1024px) {
  .hero-h1   { font-size: 52px; }
  .hero-lede { font-size: 17px; }
}
@media (max-width: 640px) {
  .hero-wrap       { padding: 56px 0 48px !important; }
  .hero-inner      { padding: 0 20px !important; }
  .hero-h1         { font-size: 36px !important; line-height: 1.02 !important; }
  .hero-lede       { font-size: 15px !important; max-width: 100% !important; margin-top: 18px !important; }
  .hero-ctas       { flex-direction: column !important; width: 100%; gap: 10px !important; margin-top: 28px !important; }
  .hero-ctas a     { text-align: center; width: 100%; box-sizing: border-box; padding: 13px 16px !important; }
  .hero-transcript {
    max-width: 100% !important;
    width: 100%;
    font-size: 10.5px !important;
    margin-top: 40px !important;
    padding: 14px 14px !important;
    overflow-x: auto;
    word-break: break-word;
  }
  .hero-transcript > span { white-space: normal; }
}

/* ── ANIMATION SECTION ────────────────────────────────────────── */
.anim-frame   { display: block; }
.anim-caption { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .anim-section { padding: 48px 0 48px !important; }
  .anim-inner   { padding: 0 20px !important; gap: 24px !important; }
  .anim-frame   { display: none !important; }
  .anim-h2      { font-size: 28px !important; line-height: 1.1 !important; }
  .anim-lede    { font-size: 14px !important; }
  .anim-caption { gap: 8px 10px; font-size: 10px !important; justify-content: flex-start !important; }
  .anim-caption .anim-sep { display: none; }
  .anim-caption > span { flex: 1 1 calc(50% - 10px); min-width: 0; }
}

/* ── FEATURES GRID ────────────────────────────────────────────── */
.features-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-wrap  { padding: 64px 0 !important; }
  .features-inner { padding: 0 20px !important; }
  .features-head  { margin-bottom: 36px !important; }
  .features-grid  { grid-template-columns: 1fr; gap: 12px !important; }
  .features-card  { padding: 20px !important; }
}

/* ── WHY TESTRIX ──────────────────────────────────────────────── */
.why-row   { grid-template-columns: 240px 32px 1fr; }
.why-arrow { display: block; }

@media (max-width: 900px) {
  .why-row { grid-template-columns: 180px 24px 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .why-wrap  { padding: 56px 0 !important; }
  .why-inner { padding: 0 20px !important; }
  .why-head  { margin-bottom: 28px !important; }
  .why-row   { grid-template-columns: 1fr !important; gap: 8px !important; padding: 18px 0 !important; }
  .why-arrow { display: none !important; }
  .why-them  { flex-direction: row !important; align-items: center; gap: 8px !important; }
  .why-them-name { font-size: 15px !important; }
  .why-diff  { font-size: 14px !important; }
}

/* ── SECURITY ─────────────────────────────────────────────────── */
.security-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 640px) {
  .security-wrap  { padding: 64px 0 !important; }
  .security-inner { padding: 0 20px !important; }
  .security-head  { margin-bottom: 32px !important; }
  .security-grid  { grid-template-columns: 1fr !important; gap: 0 !important; }
  .security-lede  { font-size: 15px !important; }
}

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-grid  { grid-template-columns: repeat(3, 1fr); }
.pricing-inner { padding: 0 32px; }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .pricing-wrap  { padding: 64px 0 !important; }
  .pricing-inner { padding: 0 20px !important; }
  .pricing-head  { margin-bottom: 36px !important; }
  .pricing-grid  { max-width: 100%; gap: 14px !important; }
  .pricing-card  { padding: 22px 20px !important; }
  .pricing-h2    { font-size: 30px !important; line-height: 1.1 !important; }
  .pricing-price { font-size: 34px !important; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-wrap  { padding: 64px 0 !important; }
  .faq-inner { padding: 0 20px !important; }
  .faq-head  { margin-bottom: 28px !important; }
  .faq-h2    { font-size: 26px !important; }
  .faq-q     { font-size: 15px !important; padding: 18px 2px !important; gap: 12px; }
  .faq-a     { font-size: 13.5px !important; padding: 0 2px 18px !important; }
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta-h    { font-size: 56px; }
.cta-btns { flex-direction: row; justify-content: center; }

@media (max-width: 640px) {
  .cta-wrap  { padding: 72px 0 !important; }
  .cta-inner { padding: 0 20px !important; }
  .cta-h     { font-size: 32px !important; line-height: 1.05 !important; }
  .cta-lede  { font-size: 15px !important; margin-top: 16px !important; }
  .cta-btns  { flex-direction: column !important; align-items: center; width: 100%; gap: 10px !important; margin-top: 24px !important; }
  .cta-btns a { text-align: center; width: 100%; box-sizing: border-box; padding: 13px 16px !important; }
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer-inner { grid-template-columns: 1fr 2fr; }
.footer-cols  { grid-template-columns: repeat(3, 1fr); }
.footer-copy  { display: flex; justify-content: space-between; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px !important; }
  .footer-cols  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer-wrap  { padding: 48px 0 24px !important; }
  .footer-inner { padding: 0 20px !important; gap: 28px !important; }
  .footer-cols  { grid-template-columns: 1fr 1fr; gap: 24px !important; }
  .footer-copy  { padding: 16px 20px 0 !important; flex-direction: column; gap: 6px !important; margin-top: 28px !important; }
}

/* ── SECTION HEADINGS ─────────────────────────────────────────── */
.section-h2 { font-size: 44px; }

@media (max-width: 1024px) { .section-h2 { font-size: 34px !important; } }
@media (max-width: 640px)  { .section-h2 { font-size: 26px !important; line-height: 1.1 !important; } }

/* ── LEGAL PAGES ──────────────────────────────────────────────── */
.legal-h1 { font-size: 56px; }

@media (max-width: 640px) {
  .legal-inner { padding: 0 20px !important; }
  .legal-h1    { font-size: 32px !important; }
}

/* =================================================================
   SECTION RHYTHM — alternate dark anchor / soft-dark lifted
   to give the page vertical breathing room.
   Anchor:  #0B0D12  (page ground, used for Hero / Features / Security / FAQ / Footer)
   Lifted:  #11141C  (slightly warmer + brighter; used for Anim / Why / Pricing / CTA)
   ================================================================= */
.anim-section,
.why-wrap,
.pricing-wrap {
  background-color: #11141C !important;
  border-top-color: #1F2431 !important;
}
.cta-wrap {
  background-color: #11141C !important;
  border-top-color: #1F2431 !important;
}
.features-wrap,
.security-wrap,
.faq-wrap,
.footer-wrap {
  border-top-color: #1F2431 !important;
}

/* Cards / surfaces — bump contrast so they read as elevated */
.features-card,
.pricing-card {
  background: #161A24 !important;
  border-color: #262C3A !important;
}
/* Hero transcript reads against the gridded hero bg */
.hero-transcript { background: rgba(22,26,36,0.72) !important; border-color: #262C3A !important; }

/* Slightly nudge muted body text up for legibility */
.hero-lede,
.anim-lede,
.security-lede,
.cta-lede,
.faq-a {
  color: #9CA3B2 !important;
}

/* === Slight global lift of primary text — #D8DBE2 → #E4E7EC === */
.hero-h1,
.section-h2,
.cta-h,
.faq-h2,
.pricing-h2,
.anim-h2,
.why-them-name,
.why-diff,
.features-card h3,
.pricing-card .pricing-price,
.faq-q {
  color: #E4E7EC !important;
}

