/* ============================================================
   index-5.html — MOBILE RESPONSIVE OVERRIDES
   Loads AFTER Animation.css / slider.css / WhatChanges.css
   Breakpoints: 1180 (large tablet) · 860 (mobile-large) · 600 (mobile-small)
============================================================ */


/* ============================================================
   MOBILE MENU — hamburger button + slide-down drawer
   Burger hidden on desktop, shown ≤860. Drawer is full-screen
   below the nav. Lenis is paused while open.
============================================================ */
.nav-burger {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid #ffffff40;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background .25s ease, border-color .25s ease;
}
.nav-burger:hover { background: rgba(255, 255, 255, .2) }
.nav-burger span {
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .25s ease, background .25s ease;
  display: block;
}
nav.scrolled .nav-burger {
  background: rgba(15, 17, 24, .04);
  border-color: rgba(15, 17, 24, .12);
}
nav.scrolled .nav-burger:hover {
  background: rgba(15, 17, 24, .08);
  border-color: rgba(15, 17, 24, .22);
}
nav.scrolled .nav-burger span { background: #0f1118 }

.nav-burger.open span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}



/* drawer panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #0a0c14;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 28px 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s cubic-bezier(.22,.61,.36,1),
              transform .35s cubic-bezier(.22,.61,.36,1),
              visibility 0s linear .35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(13,110,253,.18), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(200,245,63,.10), transparent 70%);
  pointer-events: none;
  opacity: .8;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s cubic-bezier(.22,.61,.36,1),
              transform .35s cubic-bezier(.22,.61,.36,1),
              visibility 0s linear 0s;
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.mobile-menu__links li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.mobile-menu__links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -.015em;
  color: #fff;
  text-decoration: none;
  transition: color .25s ease, padding-left .35s cubic-bezier(.22,.61,.36,1);
  transform: translateY(20px);
  opacity: 0;
}
.mobile-menu.open .mobile-menu__links li a {
  transform: translateY(0);
  opacity: 1;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .55s ease, color .25s ease, padding-left .35s cubic-bezier(.22,.61,.36,1);
}
.mobile-menu.open .mobile-menu__links li:nth-child(1) a { transition-delay: .08s }
.mobile-menu.open .mobile-menu__links li:nth-child(2) a { transition-delay: .14s }
.mobile-menu.open .mobile-menu__links li:nth-child(3) a { transition-delay: .20s }
.mobile-menu.open .mobile-menu__links li:nth-child(4) a { transition-delay: .26s }
.mobile-menu.open .mobile-menu__links li:nth-child(5) a { transition-delay: .32s }
.mobile-menu__links li a::after {
  content: "→";
  font-size: 22px;
  color: rgba(255, 255, 255, .35);
  transition: color .25s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.mobile-menu__links li a:active,
.mobile-menu__links li a:hover {
  color: #0d6efd;
  padding-left: 10px;
}
.mobile-menu__links li a:hover::after { color: #0d6efd; transform: translateX(6px) }

.mobile-menu__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
}
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: #0d6efd;
  color: #fff;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: 'Clash Display', 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mobile-menu__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(13, 110, 253, .55);
  color: #fff;
}
.mobile-menu__meta {
  font-family: var(--bp-mono, monospace);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
}

/* body lock while menu open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* keep the nav looking native over the dark drawer (no white glass) */
body.menu-open #mainNav {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.menu-open .nav-logo .logo-default { opacity: 1 !important }
body.menu-open .nav-logo .logo-scrolled { opacity: 0 !important }
body.menu-open .nav-burger {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .25) !important;
}
body.menu-open .nav-burger span { background: #fff !important }
/* hide the Book-a-demo nav button while drawer is open (cta lives inside drawer) */
body.menu-open .nav-badge { opacity: 0; pointer-events: none }
/* keep lang switcher accessible but slightly dimmed */
body.menu-open .lang-btn {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}



/* ============================================================
   LARGE TABLET  (≤ 1180px)
============================================================ */
@media (max-width: 1180px) {

  /* Statement / KPI */
  .statement { padding: 100px 0 }
  .statement .head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 44px;
  }
  .kpi-grid { grid-template-columns: repeat(2, 1fr) }

  /* Arch — already starts to compress */
  .arch { gap: 30px; padding: 0 32px }

  /* AI Hero adjustments */
  .aihero-section { padding: 0 32px }

  /* Stats / Animation / CTA padding */
  .stats-section, .cta-section { padding-left: 32px; padding-right: 32px }
  .work-section { padding-left: 32px; padding-right: 32px }

  /* What Changes — keep 3-col but reduce gap */
  .split { gap: 6px }
  .divider { width: 56px }
}


/* ============================================================
   MOBILE  (≤ 860px)
   Everything below here is intentionally !important-light:
   we override layout, not visual identity.
============================================================ */
@media (max-width: 860px) {

  /* ---------- NAV ---------- */
  .nav-right { gap: 10px }
  .nav-burger { display: flex }
  /* Book-a-demo lives inside the mobile drawer; hide it from the nav bar */
  .nav-badge { display: none }
  /* keep language switcher compact on mobile */
  .lang-btn {
    padding: 6px 8px 6px 10px;
    font-size: 9px;
  }
  .lang-btn .flag { font-size: 12px }
  .lang-btn .chev { width: 12px; height: 12px }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 88vh;
    padding: 0 22px 40px;
  }
  .hero-tag {
    font-size: 9px;
    margin-bottom: 18px;
    letter-spacing: .2em;
  }
  .hero-tag span { width: 28px }
  .hero-title {
    font-size: clamp(40px, 11vw, 64px);
    margin-bottom: 28px;
    line-height: 1.1;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .hero-desc {
    font-size: 13px;
    max-width: 100%;
    line-height: 1.7;
  }
  .hero-meta-year { font-size: 10px; margin-bottom: 4px }
  .hero-meta-awards {
    font-size: 30px;
    text-align: left;
  }

  /* ---------- STATEMENT / KPI ---------- */
  .statement { padding: 70px 0 }
  .wrap { padding: 0 22px }
  .statement h2 { font-size: clamp(32px, 9vw, 46px) }
  .statement .head { gap: 22px; margin-bottom: 36px }
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .kpi { padding: 24px 22px }
  .kpi .num { font-size: clamp(44px, 13vw, 60px) }
  .kpi .ttl { font-size: 16px; margin-top: 14px }
  .kpi .sub { font-size: 13px }

  /* ---------- ARCH / PRODUCTS ---------- */
  .arch { padding: 0 22px; gap: 16px }
  .arch__info { padding: 28px 0 !important }
  .arch__info img { max-height: 48px }
  .arch__info .hero-desc { max-width: 100%; font-size: 14px }
  .arch__info .nav-badge { width: fit-content }
  /* slider.css already handles the column collapse at 768 */

  /* ---------- AI HERO (Susan) ---------- */
  .aihero-section {
    height: auto;
    min-height: 80vh;
    padding: 80px 22px;
  }
  .aihero-glow {
    width: 320px;
    height: 320px;
    right: -10%;
    filter: blur(70px);
  }
  .aihero-wrap { gap: 40px }
  .title { font-size: clamp(36px, 10vw, 52px) }
  .aihero-line span { line-height: 1.05 }
  .aihero-desc {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .aihero-badges { gap: 10px }
  .aihero-badge { padding: 8px 12px; font-size: 9px }
  .aihero-box { border-radius: 12px }
  .aihero-item { padding: 16px 14px }
  .aihero-text { font-size: 13.5px }

  /* ---------- STATS GRID ---------- */
  .stats-section { padding: 50px 22px }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .stat-box { padding: 28px 18px }
  .stat-sup { font-size: 9px; margin-bottom: 12px }
  .stat-num { font-size: 44px }
  .stat-suffix { font-size: 18px }
  .stat-desc { font-size: 12px }

  /* ---------- ANIMATION (laptop scene) ----------
     The laptop is fixed 900×550 — hide it on mobile and
     reflow the floating customer-logo widgets as a clean grid. */
  .animation {
    height: auto;
    min-height: auto;
    padding: 60px 22px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    place-items: center;
    overflow: visible;
  }
  /* Section heading — on desktop it's absolutely positioned at top-0
     and fades on scroll; on mobile let it flow as a normal heading
     above the widget grid. */
  .animation > h2 {
    position: static !important;
    width: 100%;
    grid-column: 1 / -1;
    padding: 0 4px !important;
    margin: 0 0 24px !important;
    text-align: center;
    pointer-events: auto;
    color: #0a0c14;
    line-height: 1.2;
  }
  .animation > h2 .word-mask {
    font-size: clamp(22px, 5.6vw, 32px) !important;
    display: inline;
    font-weight: 600;
  }
  .animation > h2 .word-mask em {
    font-size: inherit !important;
    margin-left: 6px !important;
  }
  .laptop { display: none !important }
  .widgets {
    position: static !important;
    transform: none !important;
    scale: 1 !important;
    width: 100% !important;
    max-width: 120px !important;
    height: auto !important;
    padding: 10px !important;
    margin: 0 !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    object-fit: contain;
    aspect-ratio: 5/3;
    opacity: 1 !important;
  }

  /* ---------- WHAT CHANGES (.section / .v1 / .split) ---------- */
  section.section,
  .section { padding: 0 22px }
  .v1 { border-radius: 22px }
  /* override the inline padding:48px 48px on the inner wrapper */
  .v1 > div[style] { padding: 36px 22px !important }
  .eyebrow { font-size: 11px; letter-spacing: .18em; margin-bottom: 14px }
  .headline { font-size: clamp(30px, 8vw, 44px); line-height: 1; margin-bottom: 12px }
  .sub { font-size: 14px; margin-bottom: 30px; max-width: 100% }
  .split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .divider { display: none }
  .col1 { padding: 6px 0 }
  .col1-head { margin-bottom: 22px; gap: 12px }
  .col1-head .dot { width: 34px; height: 34px; border-radius: 10px }
  .col1-head .name { font-size: 15px }
  .col1-head .tag { font-size: 10px }
  .row1 { padding: 14px 12px; gap: 12px }
  .row1 + .row1 { border-top-width: 1px }
  .rtxt { font-size: 14px; line-height: 1.45 }
  .chip { font-size: 10px; padding: 2px 8px }

  /* ---------- CTA ---------- */
  .cta-section {
    padding: 100px 22px;
  }
  .cta-title {
    font-size: clamp(30px, 9vw, 44px);
    margin-bottom: 36px;
  }
  .cta-btns { gap: 12px }
  .btn-primary, .btn-outline {
    padding: 14px 24px;
    font-size: 11px;
    letter-spacing: .06em;
  }
  .orbit1 { width: 260px; height: 260px }
  .orbit2 { width: 360px; height: 360px }

  /* ---------- FOOTER ---------- */
  footer {
    flex-direction: column;
    gap: 14px;
    padding: 28px 22px;
    text-align: center;
    font-size: 11px;
  }
  .footer-links { gap: 18px; flex-wrap: wrap; justify-content: center }
  .footer-links a { font-size: 10px }

  /* ---------- LANGUAGE MENU panel — keep within viewport ---------- */
  .lang-menu {
    width: 200px;
    right: -4px;
  }
}


/* ============================================================
   MOBILE SMALL  (≤ 600px)
============================================================ */
@media (max-width: 600px) {

  /* nav — even tighter */
  nav { padding: 14px 18px }
  nav.scrolled { padding: 8px 8px 8px 14px }

  /* HERO */
  .hero { padding: 0 18px 32px }
  .hero-title { font-size: clamp(36px, 12vw, 52px) }

  /* Statement */
  .statement h2 { font-size: clamp(28px, 9.5vw, 40px) }
  .wrap { padding: 0 18px }

  /* Stats — single column */
  .stats-grid { grid-template-columns: 1fr }
  .stat-box { padding: 24px 18px }
  .stat-num { font-size: 40px }

  /* Animation grid → 2 cols */
  .animation {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 50px 18px 32px;
  }
  .animation > h2 { margin-bottom: 18px !important; }
  .animation > h2 .word-mask {
    font-size: clamp(20px, 6vw, 28px) !important;
  }
  .widgets { max-width: 140px !important }

  /* What Changes */
  .section { padding: 0 18px }
  .v1 > div[style] { padding: 28px 18px !important }
  .headline { font-size: clamp(26px, 8.5vw, 36px) }
  .row1 { padding: 12px 10px }
  .rtxt { font-size: 13px }

  /* CTA */
  .cta-section { padding: 80px 18px }
  .cta-title { font-size: clamp(28px, 10vw, 38px); margin-bottom: 28px }
  .btn-primary, .btn-outline {
    width: 100% !important;
    justify-content: center;
    padding: 14px 18px;
  }
  .cta-btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto }
  .orbit1 { width: 220px; height: 220px }
  .orbit2 { width: 300px; height: 300px }

  /* Footer */
  .footer-links { gap: 14px }
}


/* ============================================================
   VERY SMALL  (≤ 380px) — guard against overflow
============================================================ */
@media (max-width: 380px) {
  .hero-title { font-size: 34px }
  .statement h2 { font-size: 26px }
  .headline { font-size: 24px }
  .cta-title { font-size: 26px }
  .nav-badge { padding: 7px 11px; font-size: 8.5px }
  .lang-btn .code { display: none }
  .animation > h2 .word-mask {
    font-size: clamp(18px, 6.4vw, 22px) !important;
    letter-spacing: -.005em;
  }
}


/* ============================================================
   TOUCH / NO-HOVER — disable custom cursor on touch devices
   (keeps default OS cursor; the # cursor / # cursor-ring divs
   remain in the DOM but are visually suppressed)
============================================================ */
@media (hover: none),
(pointer: coarse) {
  body {
    cursor: auto
  }

  #cursor,
  #cursor-ring {
    display: none !important
  }
}

.btn,.btn-outline.hero-btn {
  width: fit-content;
  padding: 10px 24px;
  font-family: var(--fh);
  height: fit-content;
      font-size: 12px !important;
    text-transform: uppercase;
}

.menu-open .lang-btn{
  background: #ffffff1f !important;
  border: 1px solid #ffffff40 !important;
  color: #fff !important;
}