/* FITROAI — matched CSS + JS, all screens, two responsive cards, no nested scrolling. */
/* ================================================================
   FITROAI INTELLIGENCE — COMPLETE STYLESHEET
   Brand: steel blue / ice blue / slate / navy
   Left: Three.js robot | Right: FitroAI content
   Sticky robot zoom -> full-screen reveal -> next section
   Replace the previous fitroAI.css; do not append it.
================================================================ */

.fitro-ai-section {
  --scan-accent: #4268A5;
  --scan-ice: #A9DDFC;
  --scan-muted: #64748B;
  --ai-navy: #0B1A30;
  --ai-ink: #162A45;
  --ai-surface: #F5F9FD;
  --ai-line: #DCE8F3;
  --ai-white: #FFFFFF;
  position: relative;
  width: 100%;
  height: 320vh;
  padding: 0;
  isolation: isolate;
  background: var(--ai-surface);
  color: var(--ai-ink);
  overflow: clip;
  font-family: "Inter", Arial, sans-serif;
}
.fitro-ai-section *, .fitro-ai-section *::before, .fitro-ai-section *::after { box-sizing: border-box; }
.fitro-ai-section button, .fitro-ai-section a { -webkit-tap-highlight-color: transparent; }

/* Pinned scene occupies only this chapter of the page */

.fitro-ai-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;

    background-image: url("../images/fitro/features/FitroAiBG.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
/*.fitro-ai-sticky::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  z-index: 0;*/
/*  opacity: .42;*/
/*  pointer-events: none;*/
/*  background-image: linear-gradient(rgba(66,104,165,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(66,104,165,.045) 1px,transparent 1px);*/
/*  background-size: 76px 76px;*/
/*  mask-image: linear-gradient(90deg,#000,transparent 85%);*/
/*}*/
/*.fitro-ai-ambient {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  z-index: 0;*/
/*  pointer-events: none;*/
/*  background: radial-gradient(ellipse 45% 60% at 27% 47%,rgba(169,221,252,.44),transparent 78%),radial-gradient(ellipse 32% 52% at 93% 25%,rgba(66,104,165,.065),transparent 80%);*/
/*}*/

/* The actual WebGL canvas is viewport-sized during the sticky animation. */
.fitro-ai-section .fitro-ai-robot-scene,
.fitro-ai-section #fitroAiRobotCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  touch-action: auto;
}
.fitro-ai-section .fitro-ai-robot-scene canvas,
.fitro-ai-section #fitroAiRobotCanvas canvas { display: block; width: 100% !important; height: 100% !important; }
.fitro-ai-section .fitro-ai-robot-visual {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 1px;
}
.fitro-ai-robot-glow {
  position: absolute;
  z-index: 0;
  inset: 14% 5%;
  background: radial-gradient(ellipse,rgba(169,221,252,.45),transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}
.fitro-ai-robot-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; color: var(--scan-accent); font-size: 22px; text-align: center; }
.fitro-ai-section.is-fallback .fitro-ai-robot-fallback,
.fitro-ai-robot-visual.is-fallback .fitro-ai-robot-fallback { display: flex; }
.fitro-ai-robot-status {
  position: absolute;
  bottom: 44px;
  left: 21%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--scan-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
  pointer-events: none;
}
.fitro-ai-robot-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--scan-accent);
  box-shadow: 0 0 0 5px rgba(66,104,165,.11);
  animation: fitroAiPulse 2.4s ease-in-out infinite;
}
@keyframes fitroAiPulse { 50% { opacity: .52; transform: scale(.83); } }

/* Foreground editorial two-column layout */
.fitro-ai-section .fitro-ai-container {
  position: relative;
  padding-top:70px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  align-items: center;
  gap: 0;
  width: min(1340px,calc(100% - 100px));
  max-width: 1340px;
  height: 100%;
  margin: 0 auto;
  pointer-events: none;
}
.fitro-ai-section .fitro-ai-model-space { grid-column: 1; grid-row: 1; min-height: 1px; }
.fitro-ai-section .fitro-ai-copy {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 560px;
  pointer-events: auto;
  will-change: opacity, transform;
}
.fitro-ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--scan-accent);
  font: 700 11px/1.3 "Inter",Arial,sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.fitro-ai-eyebrow::before, .fitro-ai-pulse {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--scan-accent);
  box-shadow: 0 0 0 5px rgba(66,104,165,.11);
}
/* Avoid a duplicated dot if the Blade already includes .fitro-ai-pulse */
.fitro-ai-eyebrow:has(.fitro-ai-pulse)::before { display: none; }
.fitro-ai-copy h2 {
  margin: 0 0 24px;
  color: var(--ai-ink);
  font-family: "Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-size: clamp(60px,5.35vw,91px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.046em;
}
.fitro-ai-copy h2 em { color: var(--scan-accent); font-style: normal; }
.fitro-ai-description {
  max-width: 490px;
  margin: 0;
  color: var(--scan-muted);
  font: 400 15px/1.85 "Inter",Arial,sans-serif;
}

/* Functional feature tabs */
.fitro-ai-selector { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.fitro-ai-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #C9D9E9;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #48617D;
  font: 600 12px/1.2 "Inter",Arial,sans-serif;
  cursor: pointer;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.fitro-ai-tab:hover { transform: translateY(-2px); border-color: var(--scan-accent); }
.fitro-ai-tab.active, .fitro-ai-tab[aria-pressed="true"] {
  background: var(--scan-accent);
  border-color: var(--scan-accent);
  color: #fff;
  box-shadow: 0 9px 22px rgba(66,104,165,.15);
}
.fitro-ai-tab:focus-visible, .fitro-ai-cta:focus-visible, .fitro-ai-reveal-cta:focus-visible { outline: 3px solid var(--scan-accent); outline-offset: 4px; }

/* Compact, editorial insight with a brand-rule instead of a floating card */
.fitro-ai-insight {
  min-height: 133px;
  margin-top: 27px;
  padding: 3px 0 3px 20px;
  border-left: 2px solid var(--scan-ice);
}
.fitro-ai-insight-label { display: block; color: var(--scan-accent); font: 700 10px/1.5 "Inter",Arial,sans-serif; letter-spacing: .17em; }
.fitro-ai-insight h3 { margin: 9px 0 7px; color: #1B3454; font: 600 clamp(18px,1.65vw,23px)/1.3 "Inter",Arial,sans-serif; letter-spacing: -.025em; }
.fitro-ai-insight p { max-width: 470px; margin: 0; color: var(--scan-muted); font: 400 13px/1.75 "Inter",Arial,sans-serif; }
.fitro-ai-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  min-height: 50px;
  margin-top: 25px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--scan-accent);
  color: #fff !important;
  font: 650 12px/1 "Inter",Arial,sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(66,104,165,.19);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.fitro-ai-cta:hover { transform: translateY(-2px); background: #31568F; box-shadow: 0 16px 30px rgba(66,104,165,.23); }
.fitro-ai-scroll-cue {
  position: absolute;
  bottom: 23px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #607B99;
  font: 700 10px/1.2 "Inter",Arial,sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.fitro-ai-scroll-cue span { font-size: 18px; font-weight: 400; }

/* Full-screen scene revealed once the robot display fills the viewport */
.fitro-ai-reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  background: radial-gradient(ellipse 55% 60% at 50% 35%,#163354 0%,#0B1A30 82%);
  color: #fff;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
}
.fitro-ai-reveal.is-active { visibility: visible; pointer-events: auto; }
.fitro-ai-reveal-inner { width: min(760px,100%); transform: translateY(32px); will-change: transform; }
.fitro-ai-reveal-label { display: block; color: var(--scan-ice); font: 700 11px/1.4 "Inter",Arial,sans-serif; letter-spacing: .23em; text-transform: uppercase; }
.fitro-ai-reveal h2 { margin: 20px 0 18px; color: #fff; font: 600 clamp(52px,6.4vw,99px)/.98 "Cormorant Garamond",Georgia,serif; letter-spacing: -.045em; }
.fitro-ai-reveal h2 em { color: var(--scan-ice); font-style: normal; }
.fitro-ai-reveal p { max-width: 590px; margin: 0 auto 29px; color: #BDCBDB; font: 400 clamp(14px,1.2vw,17px)/1.85 "Inter",Arial,sans-serif; }
.fitro-ai-reveal-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 51px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--scan-ice);
  color: #13304F !important;
  font: 700 12px/1 "Inter",Arial,sans-serif;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.fitro-ai-reveal-cta:hover { background: #D4ECFC; transform: translateY(-2px); }

/* The next normal-flow section after the pinned sequence */
.fitro-ai-next {
  position: relative;
  z-index: 1;
  padding: clamp(85px,9vw,135px) max(24px,5vw) clamp(95px,10vw,145px);
  background: #0B1A30;
  color: #fff;
  font-family: "Inter",Arial,sans-serif;
}
.fitro-ai-next-inner { width: min(1220px,100%); margin: 0 auto; }
.fitro-ai-next h2 { max-width: 800px; margin: 16px 0 47px; color: #fff; font: 600 clamp(49px,5vw,76px)/1.02 "Cormorant Garamond",Georgia,serif; letter-spacing: -.035em; }
.fitro-ai-next-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.fitro-ai-next-grid > div {
  min-width: 0;
  padding: clamp(24px,3vw,34px);
  border: 1px solid rgba(169,221,252,.17);
  border-radius: 19px;
  background: linear-gradient(145deg,rgba(169,221,252,.075),rgba(255,255,255,.025));
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.fitro-ai-next-grid > div:hover { transform: translateY(-5px); border-color: rgba(169,221,252,.37); background: rgba(169,221,252,.09); }
.fitro-ai-next-grid span { color: var(--scan-ice, #A9DDFC); font: 700 10px/1.4 "Inter",Arial,sans-serif; letter-spacing: .16em; }
.fitro-ai-next-grid h3 { margin: 23px 0 12px; color: #F2F7FD; font: 600 21px/1.25 "Inter",Arial,sans-serif; }
.fitro-ai-next-grid p { margin: 0; color: #AEBFD1; font: 400 14px/1.8 "Inter",Arial,sans-serif; }



/* =====================================================
   FITROAI — FLOATING AI INSIGHT CARD
   Above the 3D robot
===================================================== */

.fitro-ai-floating-card {
    position: absolute;
    z-index: 3;
    top: clamp(90px, 12vh, 135px);
    left: 28%;
    width: min(305px, 30vw);
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 20px;
    background: rgba(245, 250, 255, .82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 42px rgba(42,76,130,.15), inset 0 1px 0 rgba(255,255,255,.8);
    pointer-events: none;
    animation: fitroAiCardFloat 5s ease-in-out infinite;
}

.fitro-ai-float-header {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fitro-ai-float-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #4268A5;
    color: #fff;

    font-size: 23px;
}

.fitro-ai-float-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.fitro-ai-float-heading strong {
    color: #19304D;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.fitro-ai-float-heading small {
    color: #72849C;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
}

.fitro-ai-float-live {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    margin-left: auto;

    border-radius: 50%;

    background: #4268A5;
    box-shadow: 0 0 0 5px rgba(66,104,165,.10);
}

.fitro-ai-float-divider {
    height: 1px;
    margin: 17px 0;
    background: rgba(66,104,165,.12);
}

.fitro-ai-floating-card p {
    margin: 0;
    color: #64748B;
    font-size: 12px;
    line-height: 1.7;
}

.fitro-ai-floating-card p strong {
    color: #263F62;
    font-weight: 700;
}

.fitro-ai-float-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;

    color: #4268A5;
    font-size: 10px;
    font-weight: 700;
}

.fitro-ai-float-check {
    display: grid;
    place-items: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    background: #E2EFFB;
    color: #4268A5;
}

.fitro-ai-float-sparkle {
    margin-left: auto;
    font-size: 20px;
    color: #4268A5;
}

/* Gentle floating movement */

@keyframes fitroAiCardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* TABLET */



/* MOBILE */



/* SHORT MOBILE SCREENS */



/* REDUCED MOTION */



/* =====================================================
   FITROAI — SECOND FLOATING CARD
   Bottom of robot area
===================================================== */

.fitro-ai-bottom-card {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: clamp(0px, 6vh, 30px);
    width: min(300px, 29vw);
    padding: 19px 21px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 20px;
    background: rgb(190 209 239 / 34%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(66, 104, 165, .11), inset 0 1px 0 rgba(255, 255, 255, .85);
    pointer-events: none;
    animation: fitroAiBottomFloat 5.5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.fitro-ai-bottom-card-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fitro-ai-bottom-icon {
    width: 37px;
    height: 37px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;
    background: #4268A5;
    color: #fff;
    font-size: 20px;
}

.fitro-ai-bottom-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.fitro-ai-bottom-heading strong {
    color: #19304D;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.fitro-ai-bottom-heading small {
    color: #72849C;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
}

.fitro-ai-bottom-indicator {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    margin-left: auto;

    border-radius: 50%;
    background: #4268A5;
    box-shadow: 0 0 0 5px rgba(66,104,165,.10);
}

.fitro-ai-bottom-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;

    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid rgba(66,104,165,.12);
}

.fitro-ai-bottom-label {
    display: block;
    margin-bottom: 8px;
    color: #6480A5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.fitro-ai-bottom-card-body h3 {
    margin: 0 0 7px;
    color: #243E60;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.fitro-ai-bottom-card-body p {
    margin: 0;
    max-width: 180px;
    color: #64748B;
    font-size: 11px;
    line-height: 1.6;
}

/* Decorative waveform */

.fitro-ai-bottom-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 36px;
    flex-shrink: 0;
}

.fitro-ai-bottom-wave i {
    width: 3px;
    height: 35%;
    border-radius: 4px;
    background: #4268A5;
    animation: fitroAiWave 1.4s ease-in-out infinite alternate;
}

.fitro-ai-bottom-wave i:nth-child(3n) {
    height: 80%;
    animation-delay: .2s;
}

.fitro-ai-bottom-wave i:nth-child(4n) {
    height: 55%;
    animation-delay: .5s;
}

.fitro-ai-bottom-wave i:nth-child(5n) {
    height: 95%;
    animation-delay: .7s;
}

@keyframes fitroAiWave {
    to {
        transform: scaleY(.45);
        opacity: .65;
    }
}

@keyframes fitroAiBottomFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* Tablet */



/* Mobile — compact card below robot */



/* Short screens — avoid overlap */



/* Reduced motion */

/* ====================================================================
   FITROAI — RESPONSIVE LAYOUT FINAL
   Single viewport: no nested scrolling; 2 floating cards on every size.
   The JS sizes its 3D robot from the first grid cell and copy bounds.
   ==================================================================== */
.fitro-ai-section { overflow: clip; }
.fitro-ai-sticky {
  background: #f4f9ff url("../images/fitro/features/FitroAiBG.png") center/cover no-repeat;
}
.fitro-ai-sticky::before { display: none; }
.fitro-ai-ambient { pointer-events: none; }
.fitro-ai-section .fitro-ai-container {
  width: min(1380px, calc(100% - 100px));
  height: 100%;
  padding: clamp(60px, 9svh, 90px) 0 24px;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  gap: 0;
  align-items: center;
  z-index: 2;
}
.fitro-ai-section .fitro-ai-copy {
  width: 100%;
  max-width: 565px;
  min-width: 0;
  min-height: 0;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  padding-left: clamp(6px, 1vw, 18px);
  transform-origin: left center;
  will-change: opacity, filter, transform;
}
.fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(56px, 5.2vw, 90px); line-height: .94; }
.fitro-ai-section .fitro-ai-insight { min-height: 0; }
.fitro-ai-section .fitro-ai-tab { white-space: nowrap; }
.fitro-ai-section .fitro-ai-floating-card,
.fitro-ai-section .fitro-ai-bottom-card {
  z-index: 3;
  width: clamp(230px, 20vw, 294px);
  border: 1px solid rgba(255,255,255,.92);
  background: rgba(246,251,255,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(39,71,120,.14);
}
.fitro-ai-section .fitro-ai-floating-card {
  top: clamp(90px, 12svh, 138px);
  left: clamp(240px, 27vw, 470px);
  padding: 15px 18px;
}
.fitro-ai-section .fitro-ai-bottom-card {
  left: clamp(36px, 7vw, 135px);
  bottom: clamp(25px, 4.5svh, 58px);
  padding: 15px 18px;
}
.fitro-ai-section .fitro-ai-robot-scene,
.fitro-ai-section #fitroAiRobotCanvas { z-index: 1; }
.fitro-ai-section.fitro-ai-is-zooming .fitro-ai-robot-scene,
.fitro-ai-section.fitro-ai-is-zooming #fitroAiRobotCanvas { z-index: 4; }
.fitro-ai-section .fitro-ai-reveal { z-index: 5; }

/* Laptop / compact desktop */
@media (max-width: 1200px) {
  .fitro-ai-section .fitro-ai-container {
    width: calc(100% - 68px);
    grid-template-columns: minmax(0,48%) minmax(0,52%);
  }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(48px, 5.25vw, 72px); }
  .fitro-ai-section .fitro-ai-description { font-size: 14px; line-height: 1.7; }
  .fitro-ai-section .fitro-ai-selector { margin-top: 22px; }
  .fitro-ai-section .fitro-ai-insight { margin-top: 20px; }
  .fitro-ai-section .fitro-ai-cta { margin-top: 19px; }
  .fitro-ai-section .fitro-ai-floating-card { left: 19%; width: 240px; top: 91px; padding: 12px 14px; }
  .fitro-ai-section .fitro-ai-bottom-card { left: 4%; bottom: 24px; width: 238px; padding: 13px 14px; }
}

/* Tablets: readable text, small but useful floating cards */
@media (min-width: 701px) and (max-width: 900px) {
  .fitro-ai-section .fitro-ai-container {
    width: calc(100% - 38px);
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    padding-top: 58px;
  }
  .fitro-ai-section .fitro-ai-copy { padding-left: 4px; }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(39px, 5.5vw, 56px); margin-bottom: 15px; }
  .fitro-ai-section .fitro-ai-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .fitro-ai-section .fitro-ai-description { font-size: 12px; line-height: 1.55; }
  .fitro-ai-section .fitro-ai-selector { margin-top: 14px; gap: 6px; }
  .fitro-ai-section .fitro-ai-tab { min-height: 35px; font-size: 10px; padding: 0 11px; }
  .fitro-ai-section .fitro-ai-insight { margin-top: 15px; padding-left: 12px; }
  .fitro-ai-section .fitro-ai-insight h3 { font-size: 17px; }
  .fitro-ai-section .fitro-ai-insight p { font-size: 11px; }
  .fitro-ai-section .fitro-ai-cta { margin-top: 13px; min-height: 43px; }
  .fitro-ai-section .fitro-ai-floating-card { left: 4%; top: 83px; width: 190px; padding: 10px; }
  .fitro-ai-section .fitro-ai-bottom-card { left: 4%; bottom: 25px; width: 190px; padding: 10px; }
  .fitro-ai-section .fitro-ai-floating-card p,
  .fitro-ai-section .fitro-ai-float-divider,
  .fitro-ai-section .fitro-ai-bottom-card-body p,
  .fitro-ai-section .fitro-ai-bottom-wave { display: none; }
  .fitro-ai-section .fitro-ai-float-footer { margin-top: 9px; }
  .fitro-ai-section .fitro-ai-bottom-card-body { padding-top: 8px; margin-top: 8px; }
}

/* Mobile: two mini floating cards at the top, robot in the middle,
   and one coherent, NON-SCROLLABLE content area below it. */
@media (max-width: 700px) {
  .fitro-ai-section { height: 300svh; }
  .fitro-ai-sticky { height: 100svh; min-height: 0; background-position: 37% center; }
  .fitro-ai-section .fitro-ai-container {
    width: calc(100% - 32px);
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(0, 38%) minmax(0, 62%);
    align-items: stretch;
    padding: clamp(12px, 2svh, 20px) 0 clamp(14px, 2.3svh, 22px);
    gap: 0;
  }
  .fitro-ai-section .fitro-ai-model-space {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
  }
  .fitro-ai-section .fitro-ai-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    width: 100%;
    max-width: 520px;
    max-height: none;
    overflow: visible;
    margin: 0 auto;
    padding: 0 2px;
  }
  .fitro-ai-section .fitro-ai-eyebrow { margin: 0 0 7px; font-size: 9px; letter-spacing: .13em; }
  .fitro-ai-section .fitro-ai-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(33px, 9vw, 51px);
    line-height: .9;
    letter-spacing: -.045em;
  }
  .fitro-ai-section .fitro-ai-description { max-width: 480px; font-size: clamp(11px, 2.9vw, 13px); line-height: 1.5; }
  .fitro-ai-section .fitro-ai-selector { margin-top: 12px; gap: 6px; }
  .fitro-ai-section .fitro-ai-tab { min-height: 34px; padding: 6px 11px; font-size: 10px; }
  .fitro-ai-section .fitro-ai-insight { min-height: 0; margin-top: 12px; padding: 2px 0 2px 12px; }
  .fitro-ai-section .fitro-ai-insight-label { font-size: 9px; }
  .fitro-ai-section .fitro-ai-insight h3 { margin: 5px 0; font-size: clamp(15px, 4vw, 19px); }
  .fitro-ai-section .fitro-ai-insight p { font-size: 11px; line-height: 1.45; }
  .fitro-ai-section .fitro-ai-cta { min-height: 40px; margin-top: 12px; padding: 0 18px; gap: 16px; font-size: 11px; }
  .fitro-ai-scroll-cue, .fitro-ai-robot-status { display: none; }
  .fitro-ai-reveal { padding: 24px 18px; }
  .fitro-ai-reveal h2 { font-size: clamp(41px, 11vw, 70px); }
  .fitro-ai-reveal p { font-size: 13px; line-height: 1.6; }
  .fitro-ai-next { padding: 70px 20px 90px; }
  .fitro-ai-next-grid { grid-template-columns: 1fr; gap: 12px; }
  .fitro-ai-next h2 { font-size: clamp(40px, 9vw, 59px); }
  .fitro-ai-next-grid > div { padding: 23px; }
  .fitro-ai-section .fitro-ai-floating-card,
  .fitro-ai-section .fitro-ai-bottom-card {
    display: block;
    animation: none;
    top: clamp(59px, 8svh, 83px);
    bottom: auto;
    width: calc((100% - 44px) / 2);
    max-width: 184px;
    min-height: 48px;
    padding: 9px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(32,69,120,.11);
  }
  .fitro-ai-section .fitro-ai-floating-card { left: 14px; right: auto; transform: none; }
  .fitro-ai-section .fitro-ai-bottom-card { right: 14px; left: auto; transform: none; }
  .fitro-ai-float-header, .fitro-ai-bottom-card-top { gap: 6px; }
  .fitro-ai-float-icon, .fitro-ai-bottom-icon { width: 27px; height: 27px; border-radius: 8px; font-size: 15px; }
  .fitro-ai-float-heading strong, .fitro-ai-bottom-heading strong { font-size: 10px; line-height: 1.22; }
  .fitro-ai-float-heading small, .fitro-ai-bottom-heading small { font-size: 7px; line-height: 1.2; letter-spacing: 0; }
  .fitro-ai-float-live, .fitro-ai-bottom-indicator { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(66,104,165,.1); }
  .fitro-ai-floating-card p,
  .fitro-ai-float-divider,
  .fitro-ai-float-footer,
  .fitro-ai-bottom-card-body,
  .fitro-ai-bottom-wave { display: none; }
}

@media (max-width: 380px) {
  .fitro-ai-section .fitro-ai-container {
    width: calc(100% - 24px);
    grid-template-rows: minmax(0, 34%) minmax(0, 66%);
  }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(29px, 9vw, 36px); }
  .fitro-ai-section .fitro-ai-description { font-size: 11px; }
  .fitro-ai-section .fitro-ai-tab { padding: 5px 8px; min-height: 31px; }
  .fitro-ai-section .fitro-ai-insight p { font-size: 10px; }
  .fitro-ai-section .fitro-ai-floating-card { left: 9px; }
  .fitro-ai-section .fitro-ai-bottom-card { right: 9px; }
  .fitro-ai-section .fitro-ai-floating-card,
  .fitro-ai-section .fitro-ai-bottom-card { width: calc((100% - 27px)/2); }
}

/* Short mobile viewports: scale type/spacing, never add internal scrollbars. */
@media (max-width: 700px) and (max-height: 690px) {
  .fitro-ai-section .fitro-ai-container { grid-template-rows: minmax(0,28%) minmax(0,72%); padding: 10px 0 10px; }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(27px, 7.9vw, 40px); margin-bottom: 6px; }
  .fitro-ai-section .fitro-ai-eyebrow { margin-bottom: 5px; }
  .fitro-ai-section .fitro-ai-description { font-size: 10.5px; line-height: 1.38; }
  .fitro-ai-section .fitro-ai-selector { margin-top: 8px; }
  .fitro-ai-section .fitro-ai-tab { min-height: 29px; padding: 4px 9px; }
  .fitro-ai-section .fitro-ai-insight { margin-top: 8px; }
  .fitro-ai-section .fitro-ai-insight h3 { margin: 3px 0; font-size: 15px; }
  .fitro-ai-section .fitro-ai-insight p { font-size: 10px; line-height: 1.35; }
  .fitro-ai-section .fitro-ai-cta { min-height: 36px; margin-top: 8px; }
  .fitro-ai-section .fitro-ai-floating-card,
  .fitro-ai-section .fitro-ai-bottom-card { top: 41px; }
}

/* Very short phone in landscape: keep page scroll, keep content intact. */
@media (max-width: 700px) and (max-height: 480px) {
  .fitro-ai-section .fitro-ai-container { grid-template-rows: minmax(0,16%) minmax(0,84%); }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(23px, 6vw, 31px); }
  .fitro-ai-section .fitro-ai-description { font-size: 10px; }
  .fitro-ai-section .fitro-ai-floating-card,
  .fitro-ai-section .fitro-ai-bottom-card { top: 16px; padding: 5px 7px; min-height: 34px; }
  .fitro-ai-float-heading small, .fitro-ai-bottom-heading small { display: none; }
}

@media (min-width: 701px) and (max-height: 650px) {
  .fitro-ai-section .fitro-ai-container { padding-top: 45px; padding-bottom: 12px; }
  .fitro-ai-section .fitro-ai-copy h2 { font-size: clamp(38px, 4.4vw, 62px); margin-bottom: 12px; }
  .fitro-ai-section .fitro-ai-eyebrow { margin-bottom: 9px; }
  .fitro-ai-section .fitro-ai-selector,
  .fitro-ai-section .fitro-ai-insight,
  .fitro-ai-section .fitro-ai-cta { margin-top: 12px; }
  .fitro-ai-section .fitro-ai-floating-card { top: 57px; }
  .fitro-ai-section .fitro-ai-bottom-card { bottom: 11px; }
}

/* Reduced motion: give the copy its natural flow instead of a pinned page. */
@media (prefers-reduced-motion: reduce) {
  .fitro-ai-section { height: auto; overflow: visible; }
  .fitro-ai-sticky { position: relative; height: auto; min-height: 800px; }
  .fitro-ai-section .fitro-ai-container { min-height: 800px; }
  .fitro-ai-floating-card, .fitro-ai-bottom-card,
  .fitro-ai-bottom-wave i { animation: none !important; }
  .fitro-ai-reveal, .fitro-ai-scroll-cue { display: none; }
  .fitro-ai-section *, .fitro-ai-next * { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .fitro-ai-sticky, .fitro-ai-section .fitro-ai-container { min-height: 790px; }
  .fitro-ai-section .fitro-ai-copy { overflow: visible; }
}
