/* ==========================================================================
   Stratboost Landing Styles
   Version: 5.3 (2025-08-31)
   Notes:
   - Deduped repeated selectors (Leo tile, media-card, split utilities).
   - Kept CLS-friendly image sizing, consistent split layouts, and button guards.
   ========================================================================== */

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

/* Global font + smoothing (use --font-sans from :root) */
html, body {
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: #F9F9FA; color: #131628; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

/* Accessible focus */
:where(a, button, [role="button"]):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: .5rem;
}

/* Screen-reader utilities */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* Skip link */
.skip-link {
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus {
  position:fixed; left:1rem; top:1rem; width:auto; height:auto; padding:.5rem .75rem;
  background:#003366; color:#fff; z-index:1000; border-radius:.5rem;
}

/*----------------------------------
  Root Variables
----------------------------------*/
:root {
  --color-primary: #6F00FF;
  --color-primary-dark: #5A00E0;
  --color-bg: #F9F9FA;
  --color-white: #FFFFFF;
  --color-black: #131628;
  --color-gray-100: #FAFAFA;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #E2E8F0;
  --color-gray-400: #94A3B8;
  --radius-pill: 999px;
  --gap: 1.5rem;
  --max-w: 1200px;

  /* Global font stack */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
               Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/*----------------------------------
  Container Utility
----------------------------------*/
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/*----------------------------------
  Top Announcement Banner
----------------------------------*/
.top-banner {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 0;
}
.top-banner .new-pill {
  background: var(--color-white);
  color: var(--color-black);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 0.5rem;
}

/*----------------------------------
  Header / Nav (Premium SaaS Style)
----------------------------------*/
header {
  background: #ffffff; /* clean white for SaaS */
  position: relative;
  border-bottom: 1px solid #f0f0f0; /* subtle separation */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* premium soft shadow */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--gap) 0;
  flex-wrap: nowrap;
}

/* Logo image */
.logo img {
  max-height: 36px;   /* refined size for premium look */
  width: auto;
}

/* Hamburger (mobile only) */
.hamburger-menu {
  display: block;
  background: none;
  border: none;
  color: var(--color-dark); /* switch to dark icon */
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 1001;
}

/* Nav Menu (mobile dropdown) */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}
.nav-menu[hidden] { display: none; }
.nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  align-items: center;
  white-space: nowrap;
}

/* Links */
.nav-menu a {
  color: #333333;
  font-weight: 500;
  display: block;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: var(--color-primary);
}

/* Login button (call to action) */
.nav-menu .login-button {
  padding: 0.4rem 1rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-primary);
  background: #ffffff;
  transition: all 0.25s ease;
}
.nav-menu .login-button:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Desktop nav */
@media (min-width: 768px) {
  .hamburger-menu { display: none; }
  .nav-menu {
    position: static;
    display: block !important;
    background: none;
    width: auto;
    box-shadow: none;
    border: none;
  }
  .nav-menu[hidden] { display: block; }
  .nav-menu ul {
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: flex-end;
  }
}

/* Optional: scroll lock when mobile nav is open */
.nav-open { overflow: hidden; }

/*----------------------------------
  Nav: Solutions dropdown (submenu)
----------------------------------*/

/* Parent item indicates it has a submenu */
.nav-menu .has-submenu {
  position: relative;
}

/* Base submenu styling (hidden by default) */
.nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 0.5rem 0;
  display: none;
  z-index: 1002;
  text-align: left;
}

/* Ensure browser default [hidden] doesn't keep it invisible when we want it shown */
.nav-menu .submenu[hidden] { display: none; }
.nav-menu .has-submenu:hover .submenu[hidden],
.nav-menu .has-submenu:focus-within .submenu[hidden] {
  display: block !important;
}

/* Links inside submenu */
.nav-menu .submenu a {
  display: block;
  padding: 0.625rem 1rem;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu .submenu a:hover {
  background: #f7f9fc;
  color: var(--color-primary);
}

/* Desktop: show submenu on hover/focus */
@media (min-width: 768px) {
  .nav-menu .has-submenu:hover > a,
  .nav-menu .has-submenu:focus-within > a {
    color: var(--color-primary);
  }
  .nav-menu .has-submenu:hover .submenu,
  .nav-menu .has-submenu:focus-within .submenu {
    display: block;
  }
}

/* Mobile: make submenu inline, full-width under parent */
@media (max-width: 767px) {
  .nav-menu .submenu {
    position: static;
    min-width: auto;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0.25rem 0 0.75rem;
    display: none; /* stays hidden until opened */
  }

  /* Optional: always show submenu on mobile (simple) */
  /* .nav-menu .has-submenu .submenu { display: block; } */

  /* Or: show on focus-within (tap parent link) */
  .nav-menu .has-submenu:focus-within .submenu,
  .nav-menu .has-submenu:hover .submenu {
    display: block !important;
  }

  /* Slight indent for submenu items on mobile */
  .nav-menu .submenu a { padding-left: 1.25rem; }
}

/*----------------------------------
  Section Utility
----------------------------------*/
.section { padding: calc(var(--gap) * 2) 0; background: var(--color-white); }
.section-alt { background: var(--color-gray-100); }
.text-center { text-align: center; }

/*----------------------------------
  Hero
----------------------------------*/
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 1rem 2.5rem;
}

/* Fluid, slightly smaller on mobile; larger on desktop */
.hero-text h1 {
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
.hero-text p {
  font-size: clamp(0.95rem, 1.1vw + 0.5rem, 1.1rem);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: center;
}
.hero-ctas {
  display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem;
}
.hero-ctas a { display: inline-block; margin: 0.2rem; padding: 0.9rem 1.75rem; font-weight: 600; width: auto; text-align: center; }

.hero-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Desktop: switch hero to 2-column layout */
@media (min-width: 1024px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding: 4.5rem 1rem 3rem;
  }
  .hero-text { text-align: left; }
  .hero-text h1, .hero-text p, .trust-bar { text-align: left; }
  .hero-ctas { justify-content: flex-start; }
  .hero-img img { max-width: 640px; }
}

/* Micro trust */
.micro-trust { font-size: 0.85rem; opacity: 0.75; margin-top: -0.3rem; }

/* Desktop: lift hero image ~3cm (≈114px) */
@media (min-width: 1024px) {
  .hero-img {
    margin-top: -114px;       /* layout-safe */
  }
  /* If margin is overridden elsewhere, use transform instead: */
  /* .hero-img { transform: translateY(-114px); } */
}

/*----------------------------------
  Buttons
----------------------------------*/
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  line-height: 1.2;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: var(--color-white); }

/* Make outline buttons always visible (guards against 3rd-party CSS) */
body .btn-secondary,
body .btn.btn-secondary {
  background: transparent !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}
body .btn-secondary:hover,
body .btn.btn-secondary:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}
body .btn-secondary:visited { color: var(--color-primary) !important; }
.btn.strong { font-weight: 800; letter-spacing: .01em; }
body .btn-secondary[disabled],
body .btn[aria-disabled="true"] { opacity: .65; pointer-events: none; }

/*----------------------------------
  Trust Bar
----------------------------------*/
.trust-bar {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #888;
  font-weight: 500;
  opacity: 0.85;
  text-align: center;
}
.trust-bar .icon {
  color: #f9b322; margin-right: 0.25rem; font-size: 0.9rem; position: relative; top: -1px;
}

/*----------------------------------
  Split sections (Botly, Ella, Leo, Mira)
  HTML uses:
  <section id="botly" class="split-ready">...</section>
  <section id="ella"  class="split-ready">...</section>
  <section id="leo"   class="split-ready">...</section>
  <section id="mira"  class="split-ready">...</section>
----------------------------------*/
.split-grid { display: grid; gap: 2rem; }
.col-text, .col-media { min-width: 0; }

/* Headline spacing (fix the tall line gaps on mobile) */
.split-ready .offer-heading {
  margin-bottom: .35rem;
  line-height: 1.18;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.split-ready .section-subtext {
  margin-top: .25rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

/* (Legacy) checklist under description */
.checklist {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  margin: .5rem 0 1.25rem;
}
.checklist li {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #2b2f3c; font-size: .975rem;
}

/* Media card / skeleton (placeholder until real screenshots) */
.media-card{
  min-height: clamp(300px, 32vw, 380px);
  border-radius: 16px;
  background:
    radial-gradient(120% 120% at 10% -20%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.35) 40%, rgba(0,0,0,0.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(245,245,255,0.7) 40%, rgba(230,230,255,0.6) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
  margin-top: 0;
}
.media-skeleton{
  width:100%; height:100%;
  background:linear-gradient(100deg, rgba(255,255,255,.15) 20%, rgba(255,255,255,.35) 40%, rgba(255,255,255,.15) 60%);
  background-size:200% 100%;
  animation:shimmer 1.6s infinite;
}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* Desktop split layout (top-aligned so placeholders sit flush) */
@media (min-width: 1100px) {
  .split-ready .split-grid {
    grid-template-columns: minmax(440px, 560px) 1fr;
    align-items: start;
    gap: 3rem;
  }
  .split-ready .col-media { align-self: start; }

  .split-ready .offer-heading,
  .split-ready .section-subtext { text-align: left; }
  .split-ready .hero-ctas { justify-content: flex-start; }

  /* Alternating layouts */
  #ella .col-media { order: 1; }
  #ella .col-text  { order: 2; }

  #mira .split-grid { align-items: start !important; }
  #mira .col-media  { order: 1; align-self: start; margin-top: 0; }
  #mira .col-text   { order: 2; }
}

/* Alternating split layout helper */
@media (min-width:1100px){
  .split-ready .split-grid.reverse .col-text { grid-column: 2; order: 2; }
  .split-ready .split-grid.reverse .col-media { grid-column: 1; order: 1; }
}

/* If a media column is empty, collapse it gracefully */
.col-media:empty { display: none; }

/* Mobile tightening */
@media (max-width: 600px) {
  .split-grid { gap: 1.25rem; }
  .split-ready .offer-heading { line-height: 1.12; margin-bottom: .3rem; }
  .split-ready .section-subtext { margin-bottom: .85rem; }
}
@media (max-width: 420px) {
  .split-ready .offer-heading { line-height: 1.1; }
}

/* Leo/media tiles (shared style applied to Botly/Ella/Leo/Mira) */
#leo .col-media .leo-tile,
#botly .col-media .leo-tile,
#ella  .col-media .leo-tile,
#mira  .col-media .leo-tile {
  margin: 0;
  background: transparent !important;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
#leo .col-media .leo-tile img,
#botly .col-media .leo-tile img,
#ella  .col-media .leo-tile img,
#mira  .col-media .leo-tile img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 45%;
  transform:scale(1.04);
}
#leo .col-media .leo-tile figcaption,
#botly .col-media .leo-tile figcaption,
#ella  .col-media .leo-tile figcaption,
#mira  .col-media .leo-tile figcaption { display:none; }

/* Desktop size constraint for split-section media */
@media (min-width:1100px){
  #botly .col-media .leo-tile,
  #ella  .col-media .leo-tile,
  #leo   .col-media .leo-tile,
  #mira  .col-media .leo-tile{
    max-width: clamp(320px, 36vw, 460px);
    width: 100%;
    margin-inline: auto;
  }
}

/*----------------------------------
  Unified Offer & AI Team Section
----------------------------------*/
#offer { padding-top: calc(var(--gap) * 2); }

#offer .offer-heading {
  font-size: 2.5rem; font-weight: 800; text-align: center;
  margin: 0 auto var(--gap); display: inline-block; position: relative;
}
#offer .offer-underline {
  display: block; width: 40%; max-width: 200px; height: 2px; margin: 0.5rem auto 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(128,128,128,0.6) 20%, rgba(192,192,192,0.8) 50%, rgba(128,128,128,0.6) 80%, rgba(0,0,0,0) 100%);
  border-radius: 1px;
}
#offer .section-subtext { font-size: 1rem; color: var(--color-gray-400); margin-bottom: var(--gap); opacity: 0.9; }

/* Grid layout for cards */
#offer .ai-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap); margin-top: var(--gap);
}

/* Individual card styling */
#offer .ai-card {
  position: relative; background: var(--color-white); border-radius: 0.75rem;
  padding: var(--gap); padding-bottom: calc(var(--gap) * 6);
  text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#offer .ai-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,0.1); }

/* Accent line */
#offer .ai-card::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 60px; height: 4px;
  background: var(--color-primary); border-radius: 2px; transform: translateX(-50%);
}

/* Character image */
#offer .ai-card img { width: 100%; max-width: 180px; border-radius: 50%; margin-bottom: 1rem; }

/* Character details */
#offer .character-role {
  font-size: 0.85rem; font-weight: 600; color: #777; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.25rem; opacity: 0.95;
}
#offer .character-name { font-size: 1.5rem; font-weight: 800; color: var(--color-black); margin-bottom: 0.75rem; }
#offer .ai-card p { font-size: 1rem; line-height: 1.5; margin-bottom: 1.25rem; color: var(--color-black); }

/* Value tag */
#offer .value-tag {
  position: absolute; bottom: calc(var(--gap) * 3.5); left: 50%; transform: translateX(-50%);
  background: #f0f0f0; color: var(--color-primary);
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.85rem; z-index: 1; white-space: nowrap;
}

/* CTA Button inside card */
#offer .ai-card a.btn {
  position: absolute; bottom: var(--gap); left: 50%; transform: translateX(-50%);
  padding: 0.5rem 1.5rem; font-size: 0.875rem; z-index: 2; white-space: nowrap; min-width: 120px;
}

/* Total value text */
#offer .total-value {
  margin: calc(var(--gap) * 1.5) 0 0.5rem; font-size: 1.125rem; font-weight: 700;
  text-align: center; color: var(--color-black); margin-bottom: calc(var(--gap) * 1.5);
}

/* Primary CTA below cards */
#offer > .btn-primary { display: inline-block; margin: var(--gap) auto 0; }

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #offer .ai-grid { grid-template-columns: repeat(2, 1fr); }
  #offer .ai-card { padding-bottom: calc(var(--gap) * 7); }
  #offer .value-tag { bottom: calc(var(--gap) * 2.8); font-size: 0.75rem; padding: 0.35rem 0.7rem; }
  #offer .ai-card a.btn { bottom: 1rem; font-size: 0.75rem; padding: 0.4rem 1.2rem; min-width: 100px; }
}
@media (max-width: 500px) {
  #offer .ai-grid { grid-template-columns: 1fr; }
}

/* Make “100% Free” (and any .highlight) purple */
#offer .highlight, .highlight { color: var(--color-primary); }

/*----------------------------------
  Personas Section
----------------------------------*/
#personas { padding: var(--gap) 0; }
#personas .offer-heading { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; text-align: center; }
#personas .section-subtext { font-size: 1rem; color: var(--color-gray-400); max-width: 700px; margin: 0 auto 1rem; text-align: center; }
#personas .persona-subtext { font-size: 0.95rem; font-style: italic; color: #666; margin-bottom: 2rem; text-align: center; }

.persona-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-bottom: 2.5rem;
}
.persona-card {
  background: #fff; padding: 2rem 1.5rem; border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease; text-align: center;
}
.persona-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.persona-card img {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 2px solid var(--color-primary);
}
.persona-card h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.persona-card p { font-size: 0.95rem; color: #444; line-height: 1.5; }

/* CTA Button */
#personas .cta-below { margin-top: 1rem; text-align: center; }
#personas .cta-below .btn-primary { padding: 0.75rem 1.75rem; font-size: 1rem; }

/* Responsive */
@media (max-width: 768px) { #personas .offer-heading { font-size: 1.75rem; } }

/*----------------------------------
  Testimonials Section
----------------------------------*/
.testimonials.section-alt { background-color: #f9f9f9; padding: 4rem 1rem; }
.offer-heading { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; text-align: center; }
.section-subtext { font-size: 1.1rem; color: #666; margin-bottom: 2.5rem; text-align: center; }

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 340px;
  width: 100%;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s ease;
}
.testimonial-item:hover { transform: translateY(-4px); }

.stars { font-size: 1.2rem; color: #f9b322; margin-bottom: 1rem; letter-spacing: 2px; }
.quote { font-size: 1rem; font-style: italic; color: #333; margin-bottom: 1.5rem; line-height: 1.5; }

.review-footer { display: flex; align-items: center; gap: 0.75rem; }
.review-footer .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #eee; }
.review-footer div { font-size: 0.9rem; color: #444; line-height: 1.4; }
.review-footer strong { color: #111; font-weight: 600; }

.tool-tag {
  background-color: #e6f4ff;
  color: #0077cc;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.25rem;
  display: inline-block;
}

.cta-below-reviews { margin-top: 3rem; text-align: center; }
.cta-below-reviews .btn-primary {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hidden { display: none; }
.show-more-btn { margin-top: 2rem; font-size: 1rem; padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: 600; }

/* Mobile/tablet: stack */
@media (max-width: 768px) {
  .testimonial-grid { flex-direction: column; align-items: center; }
}

/* Desktop: show 6 cards initially (reveal items 5 & 6 even if they have .hidden) */
@media (min-width: 1024px) {
  #testimonials .testimonial-grid .testimonial-item.hidden:nth-of-type(5),
  #testimonials .testimonial-grid .testimonial-item.hidden:nth-of-type(6) {
    display: block;
  }
}

/*----------------------------------
  FAQ Accordion (details/summary)
----------------------------------*/
.faq .faq-list { max-width: 700px; margin: var(--gap) auto 0; }

details.faq-item {
  background: var(--color-white);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
}
details.faq-item > summary {
  list-style: none; cursor: pointer; padding: 1rem;
  font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px dashed var(--color-gray-300); outline: none;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item:last-child > summary { border-bottom: none; }

/* Arrow indicator */
details.faq-item > summary::after {
  content: '\f107';
  font-family: "Font Awesome 6 Free";
  font-weight: 900; font-size: 0.875rem; color: var(--color-primary);
  transition: transform 0.3s ease; margin-left: 1rem;
}
details.faq-item[open] > summary::after { transform: rotate(180deg); }

/* Answer */
details.faq-item .answer { padding: 0 1rem 1rem; font-weight: 400; font-size: 0.95rem; line-height: 1.5; }

details.faq-item > summary:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent);
  border-radius: 0.5rem;
}

/*----------------------------------
  Demo GIF Section
----------------------------------*/
#demo-gif .demo-gif {
  max-width: 100%; width: 480px; border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05); margin-top: var(--gap);
}

/*----------------------------------
  Stratmind Section
----------------------------------*/
#stratmind { padding: calc(var(--gap) * 2) 0; background: var(--color-white); }
.stratmind-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: var(--gap); margin-top: var(--gap);
}
.stratmind-feature {
  background: var(--color-gray-100);
  padding: var(--gap);
  border-radius: 0.75rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stratmind-feature:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.stratmind-feature h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.stratmind-feature p { font-size: 0.95rem; line-height: 1.4; color: #444; }

/*----------------------------------
  Offer underline accent (shared)
----------------------------------*/
.offer-heading { display: inline-block; position: relative; margin-bottom: var(--gap); text-align: center; }
.offer-underline {
  display: block; width: 40%; height: 2px; margin: 0.5rem auto 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(128,128,128,0.6) 20%, rgba(192,192,192,0.8) 50%, rgba(128,128,128,0.6) 80%, rgba(0,0,0,0) 100%);
  border-radius: 1px; position: relative;
}
.offer-underline::after {
  content: ""; position: absolute; right: calc(50% - 20px); top: -1px;
  width: 8px; height: 4px; background: var(--color-primary); border-radius: 1px; opacity: 0.9;
}

/*----------------------------------
  Subscribe Section
----------------------------------*/
.subscribe.section-alt {
  background-color: #f9f9f9;
  padding: calc(var(--gap) * 1.5) 1rem;
}
.subscribe-form {
  max-width: 500px;
  margin: 1.5rem auto 1rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 0.75rem 1rem;
  border: 1px solid #ccc; border-radius: 999px; font-size: 1rem;
}
.subscribe-form button {
  border-radius: 999px; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.fine-print { font-size: 0.9rem; color: #666; margin-top: 1rem; }

@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; gap: 0.75rem; }
  .subscribe-form input, .subscribe-form button { width: 100%; }
}

/*----------------------------------
  Final CTA Section
----------------------------------*/
.final-cta {
  padding: calc(var(--gap) * 2) 0;
  background: var(--color-gray-100);
}
.final-cta .trust-stamp {
  display: block; font-size: 1rem; font-weight: 700; color: var(--color-primary); margin-bottom: var(--gap);
}
.final-cta h2 { font-size: 2rem; font-weight: 800; margin: 0 0 var(--gap); line-height: 1.3; text-align: center; }
.final-cta p { font-size: 1rem; color: var(--color-black); margin: 0 0 calc(var(--gap) * 1.5); text-align: center; }
.final-cta a.btn-primary { display: inline-block; margin: 0 0 var(--gap); }
.final-cta .fine-print { font-size: 0.875rem; color: #666; margin-top: 0.5rem; }

/*----------------------------------
  Footer
----------------------------------*/
.footer {
  background: #f5f5f5;
  color: #333;
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Generic nav rows */
.footer-nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-nav a,
.social-links a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s ease;
  white-space: nowrap; /* prevents ugly mid-word wraps */
}

.footer-nav a:hover,
.social-links a:hover {
  color: var(--color-primary);
}

.social-links i {
  font-size: 1.25rem;
}

/* Solutions quick-links row (always grid so it wraps nicely) */
.footer-nav--solutions {
  margin-top: 0.25rem;
  opacity: 0.95;
  gap: 0.5rem 1rem;
}

/* Mobile: 2 columns */
@media (max-width: 640px) {
  .footer-nav--solutions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}

/* Tablet: 3 columns */
@media (min-width: 641px) and (max-width: 899px) {
  .footer-nav--solutions {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }
}

/* Desktop: 5 columns (one per solution) */
@media (min-width: 900px) {
  .footer-nav--solutions {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
  }
}

.footer p {
  margin-top: 0.75rem;
  color: #3d3d3d;
  text-align: center;
  font-size: 0.85rem;
}

/* Stack the primary nav + socials on very small screens */
@media (max-width: 600px) {
  .footer-nav,
  .social-links {
    flex-direction: column;
  }
}

/*----------------------------------
  Responsive Breakpoints & Button Sizing
----------------------------------*/
@media (max-width: 900px) {
  .hero-ctas { flex-direction: column; gap: 0.5rem; }
  .hero-ctas a { width: auto !important; display: inline-block; }
  .subscribe-form { flex-direction: column; }
  #offer .ai-card a.btn { font-size: 0.875rem; padding: 0.5rem 1rem; }
}

/* Full-width buttons on very small screens */
@media (max-width: 480px) {
  .btn { width: 100%; display: block; text-align: center; }
}

/*----------------------------------
  Reduced Motion Preference
----------------------------------*/
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/*----------------------------------
  Legacy Leo image gallery (if used elsewhere)
----------------------------------*/
.leo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 1rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.leo-tile {
  background: #0b0f14;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.leo-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.leo-tile figcaption {
  text-align: center;
  font-size: .85rem;
  padding: .5rem .75rem;
  opacity: .8;
}

/*----------------------------------
  Header: Mobile logo sizing
----------------------------------*/
@media (max-width: 480px) {
  header .logo img {
    height: 28px !important;
    width: auto;
  }
  header .container { padding: 0.75rem 0; }
}
@media (max-width: 360px) {
  header .logo img { height: 24px !important; }
}

/* ===== Feature pills + split utilities ===== */

/* Premium icon feature list */
:is(.section, .section-alt) .feature-list {
  list-style: none;
  margin: .6rem 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
:is(.section, .section-alt) .feature-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .75rem;
  border: 1px solid #ECEAF6;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(17,12,46,.06);
  color: #2b2f3c;
  font-size: .98rem;
  line-height: 1.3;
}
:is(.section, .section-alt) .feature-list .icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg,#7c3afe 0%, #6F00FF 55%, #5A00E0 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(111,0,255,.22);
  flex: 0 0 26px;
}
:is(.section, .section-alt) .feature-list i { font-size: .9rem; line-height: 1; }

@media (max-width: 520px){
  :is(.section, .section-alt) .feature-list li { width: 100%; }
}

/* Tighten CTA spacing inside split sections */
.split-grid .hero-ctas { margin-top: .25rem; }
.split-grid .micro-note { margin-top: .75rem; color: #666; }

/* Premium hero title styling */
.hero-title{
  /* Override the global hero heading caps so it reads naturally */
  text-transform: none !important;

  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
  overflow: visible;

  /* Luxe ink→brand gradient + gentle glow */
  background: linear-gradient(180deg, #0f1225 0%, #0f1225 48%, #6F00FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Soft highlight + brand glow for depth (keeps good contrast) */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 18px 42px rgba(111,0,255,0.18);
}

/* Responsive size if you want it a touch larger than your default clamp */
@media (min-width: 1024px){
  .hero-title{ font-size: clamp(2rem, 4.6vw, 3.5rem); }
}
@media (max-width: 480px){
  .hero-title{ font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* ===========================
   Premium Summary (glass)
   =========================== */
   .sb-summary-luxe{
    --ink:#7366ff;
    --ink-2:#22d3ee;
    --text:#0f172a;
    --muted:#475569;
    padding: clamp(56px, 6.5vw, 88px) 0;
    position: relative; overflow: hidden; isolation:isolate;
    background:
      radial-gradient(900px 480px at 50% -20%, rgba(115,102,255,.14), transparent 70%),
      #fafbff;
  }
  .sb-summary-luxe::before{
    content:""; position:absolute; inset:0; z-index:-1; opacity:.35;
    background:
      linear-gradient(transparent 31px, rgba(26,32,44,.06) 32px),
      linear-gradient(90deg, transparent 31px, rgba(26,32,44,.06) 32px);
    background-size:32px 32px;
    mask-image: radial-gradient(70% 70% at 50% 0, #000 40%, transparent 100%);
  }
  .sb-summary-luxe .wrap{ max-width:1000px; margin-inline:auto; padding:0 1.25rem; }
  .sb-summary-luxe .panel{
    margin:0 auto; max-width:820px;
    padding: clamp(18px, 2.6vw, 30px);
    border-radius:18px;
    background: rgba(255,255,255,.72);
    box-shadow:0 10px 40px rgba(15,23,42,.08);
    backdrop-filter: blur(6px);
    position:relative;
  }
  .sb-summary-luxe .panel::before{
    content:""; position:absolute; inset:-1px; border-radius:20px; padding:1px;
    background: linear-gradient(135deg, rgba(115,102,255,.8), rgba(34,211,238,.8));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; opacity:.8;
  }
  
  .sb-summary-luxe .kicker{
    text-align:center; margin:0 0 .6rem;
    font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    color:var(--muted);
  }
  .sb-summary-luxe .title{
    margin:0; text-align:center; font-weight:800; letter-spacing:.005em;
    line-height:1.24;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color:var(--text);
  }
  .sb-summary-luxe .title .grad{
    background: linear-gradient(90deg, var(--ink), var(--ink-2));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .sb-summary-luxe .punch{
    text-align:center; max-width:700px;
    margin:.6rem auto 0;
    color:var(--muted); font-weight:700;
    font-size: clamp(0.98rem, 1.7vw, 1.12rem);
    line-height:1.5;
  }
  .sb-summary-luxe .orb{ position:absolute; border-radius:999px; filter:blur(32px); opacity:.45; z-index:-1; }
  .sb-summary-luxe .orb.one{ width:220px; height:220px; left:8%; top:-40px; background: radial-gradient(circle at 30% 30%, #a78bfa, transparent 60%); }
  .sb-summary-luxe .orb.two{ width:240px; height:240px; right:6%; bottom:-60px; background: radial-gradient(circle at 70% 70%, #60a5fa, transparent 60%); }
  
  @media (max-width:520px){
    .sb-summary-luxe .panel{ padding:18px; border-radius:16px; }
    .sb-summary-luxe .panel::before{ border-radius:18px; }
  }
  
/* ===========================
   Premium Title (reusable)
   =========================== */
   .sb-title-premium .kicker{
    text-transform:uppercase; letter-spacing:.08em; font-weight:700;
    font-size:.88rem; color:#475569; margin:0 0 .5rem;
  }
  .sb-title-premium .offer-heading{
    position:relative; margin:0 0 .6rem; font-weight:800; line-height:1.22;
    letter-spacing:.005em; text-wrap:balance;
    font-size:clamp(1.7rem,3.2vw,2.3rem);
  }
  .sb-title-premium .offer-heading .grad{
    background:linear-gradient(90deg,#7366ff 0%,#22d3ee 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .sb-title-premium .offer-heading .rule{
    display:block; width:clamp(120px,22vw,240px); height:2px; margin:.7rem auto 0;
    background:linear-gradient(90deg,rgba(115,102,255,.95),rgba(34,211,238,.95));
    border-radius:2px; box-shadow:0 0 18px rgba(115,102,255,.25);
  }
  .sb-title-premium .section-subtext{
    max-width:760px; margin:.25rem auto 1rem; color:#475569;
  }
  
  /* ===========================
     Sections & Grid
     =========================== */
  .section,
  .section-alt {
    padding-block: clamp(2rem, 4vw, 4rem);
  }
  
  /* Mobile: stack text → image (consistent everywhere) */
  .split-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  /* Helpful labels/captions for media */
  .figure-tag {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    opacity: 0.7;
    margin: 0 0 0.25rem 0;
  }
  .leo-tile { margin: 0; }
  .leo-tile figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
  }
  
  /* Desktop: two columns + alternate by section type */
  @media (min-width: 960px) {
    .split-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: clamp(2rem, 4vw, 4rem);
    }
    /* Default order (text left, image right) */
    .split-grid .col-text { order: 1; }
    .split-grid .col-media { order: 2; }
    /* Alternate for .section-alt (image left, text right) */
    .section-alt .split-grid .col-text { order: 2; }
    .section-alt .split-grid .col-media { order: 1; }
    /* Subtle grouping */
    .split-grid .col-media { margin-top: 0.25rem; }
    .split-grid .col-text  { margin-bottom: 0.25rem; }
  }
  
  /* Optional: clear boundary between stacked sections */
  .section + .section,
  .section-alt + .section,
  .section + .section-alt,
  .section-alt + .section-alt {
    border-top: 1px solid color-mix(in oklab, currentColor 15%, transparent);
  }
  
  /* ===========================
     NOVA — single poster (no video yet)
     =========================== */
  
  /* Using a single image poster (no horizontal reel needed right now) */
  .nova-reel { display: block; padding: 0; }
  
  /* Center the figure and cap size without cropping */
  .nova-reel--single {
    display: flex;
    justify-content: center;
    margin-inline: auto;
    padding: 0;
  }
  
  /* Smaller card on desktop; responsive scale */
  #nova .reel-item {
    width: clamp(200px, 22vw, 300px);  /* reduced ~2/6 as requested */
    margin: 0;
  }
  
  /* IMPORTANT: no cropping — shrink proportionally */
  #nova .reel-poster {
    display: block;
    width: 100%;
    height: auto;          /* preserves native 16:9 */
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
  }
  
  /* Caption */
  #nova .reel-item figcaption {
    margin-top: .4rem;
    font-size: .8rem;
    opacity: .8;
    line-height: 1.3;
  }
  
  /* On small phones, let it go wider so it doesn’t feel tiny */
  @media (max-width: 480px) {
    #nova .reel-item { width: 85vw; }
  }
  
  /* ===== When videos are back (R2/CDN ready), you can re-enable a reel:
  .nova-reel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88vw;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: .25rem 0 .5rem;
  }
  .reel-item { scroll-snap-align: start; scroll-snap-stop: always; }
  .reel-video {
    display:block; width:100%; height:auto; border-radius:14px;
    background:#000; box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  @media (min-width:960px){ .nova-reel{ grid-auto-columns:min(560px,46vw);} }
  ===== */
  
  /* Default: center */
.about-page .ai-card img{
  width: clamp(240px, 90%, 360px);
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: 50% var(--focal-y, 50%); /* use --focal-y if set */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  margin: 0 auto .75rem;
  display: block;
}

/* Quick helpers if you prefer classes instead of inline custom props */
.poster--top    { --focal-y: 0%;   }
.poster--upper  { --focal-y: 20%;  }
.poster--middle { --focal-y: 50%;  } /* default */
.poster--lower  { --focal-y: 70%;  }
.poster--third { --focal-y: 33%; }

