/*
      NAVI Rover™ Product Page
      ------------------------------------------------------------
      WordPress / Elementor friendly single HTML file.

      Main customization points:
      1. Replace /wp-content/uploads/navi-rover-hero.mp4 with your video URL.
      2. Replace /wp-content/uploads/navi-rover-poster.jpg with your poster image URL.
      3. Replace YouTube VIDEO_ID.
      4. Replace PDF links with WordPress Media Library URLs.

      Design system:
      - Three brand color families only: Navy, Armor Blue, Frost.
      - Frosted Light Mode avoids pure-white interface conflict.
      - Liquid Glass is used with tint + blur + stroke + shadow, not raw transparency.
    */

:root {
    --navi-navy: #07101e;
    --navi-navy-2: #111c31;
    --navi-blue: #2f6fd2;
    --navi-blue-2: #1f55a8;
    --navi-frost: #edf3fb;
    --navi-frost-2: #f7faff;
    --navi-ink: #07101e;
    --navi-muted: rgba(7, 16, 30, .66);
    --navi-soft: rgba(7, 16, 30, .48);
    --navi-page: #eaf1fa;
    --navi-card: rgba(247, 250, 255, .74);
    --navi-card-strong: rgba(247, 250, 255, .92);
    --navi-line: rgba(7, 16, 30, .14);
    --navi-line-strong: rgba(7, 16, 30, .22);
    --navi-shadow: 0 28px 90px rgba(7, 16, 30, .18);
    --navi-shadow-soft: 0 16px 46px rgba(7, 16, 30, .12);
    --navi-radius-xl: 36px;
    --navi-radius-lg: 26px;
    --navi-radius-md: 18px;
    --navi-header-h: 68px;
    --navi-max: 1240px;
}

html[data-ab-theme="dark"] {
    --navi-ink: #f7faff;
    --navi-muted: rgba(247, 250, 255, .68);
    --navi-soft: rgba(247, 250, 255, .50);
    --navi-page: #05070d;
    --navi-card: rgba(15, 24, 42, .72);
    --navi-card-strong: rgba(15, 24, 42, .94);
    --navi-line: rgba(247, 250, 255, .15);
    --navi-line-strong: rgba(247, 250, 255, .25);
    --navi-shadow: 0 30px 100px rgba(0, 0, 0, .48);
    --navi-shadow-soft: 0 18px 56px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 111, 210, .18), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(47, 111, 210, .10), transparent 32%),
        linear-gradient(180deg, var(--navi-page), var(--navi-frost));
    color: var(--navi-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[data-ab-theme="dark"] body {
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 111, 210, .24), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(47, 111, 210, .13), transparent 32%),
        linear-gradient(180deg, #05070d, #07101e 52%, #05070d);
}

body.navi-lock {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.navi-page {
    --glass-blur: blur(24px) saturate(142%);
    min-height: 100svh;
}

.navi-wrap {
    width: min(var(--navi-max), calc(100% - 40px));
    margin: 0 auto;
}

.navi-glass {
    background: linear-gradient(135deg, var(--navi-card-strong), var(--navi-card));
    border: 1px solid var(--navi-line);
    box-shadow: var(--navi-shadow-soft);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.navi-dark-panel {
    background: linear-gradient(135deg, var(--navi-card-strong), var(--navi-card));
    color: var(--navi-frost-2);
    border: 1px solid rgba(247, 250, 255, .15);
    box-shadow: var(--navi-shadow);
}

.navi-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--navi-line);
    background: rgba(247, 250, 255, .78);
    color: var(--navi-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.navi-btn::after {
    content: "";
    position: absolute;
    inset: -70% auto -70% -55%;
    width: 50%;
    transform: rotate(18deg) translateX(-60%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent);
    z-index: -1;
    transition: transform .55s ease;
}

.navi-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--navi-shadow-soft);
    border-color: var(--navi-line-strong);
}

.navi-btn:hover::after {
    transform: rotate(18deg) translateX(280%);
}

.navi-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--navi-blue), var(--navi-blue-2));
    border-color: transparent;
    box-shadow: 0 16px 42px rgba(47, 111, 210, .30);
}

.navi-btn.dark {
    color: #fff;
    background: rgba(247, 250, 255, .12);
    border-color: rgba(247, 250, 255, .18);
}

.navi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: inherit;
    background: rgba(247, 250, 255, .10);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navi-blue);
    box-shadow: 0 0 20px rgba(47, 111, 210, .55);
    flex: 0 0 auto;
}

.navi-section {
    padding: 86px 0;
}

.navi-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.navi-section-head h2 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.navi-section-head p {
    margin: 0;
    max-width: 440px;
    color: var(--navi-muted);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.7;
    letter-spacing: -.005em;
}

/* TOP VIDEO HERO */
.navi-video-hero {
    position: relative;
    min-height: calc(100svh - var(--navi-header-h));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: var(--navi-navy);
    isolation: isolate;
}

.navi-video-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
    pointer-events: none;
}

.navi-video-hero video,
.navi-video-hero .navi-video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.navi-video-fallback {
    background:
        radial-gradient(circle at 18% 16%, rgba(47, 111, 210, .34), transparent 32%),
        radial-gradient(circle at 78% 28%, rgba(247, 250, 255, .12), transparent 28%),
        linear-gradient(145deg, #07101e, #142544);
}

.navi-video-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(7, 16, 30, .28), rgba(7, 16, 30, .88)),
        linear-gradient(90deg, rgba(7, 16, 30, .82), rgba(7, 16, 30, .34) 54%, rgba(7, 16, 30, .78));
}

.navi-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(247, 250, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 250, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 86%);
    pointer-events: none;
}

.navi-hero-content {
    padding: 40px 0 20px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 20px;
    align-items: center;
}

.navi-hero-copy {
    max-width: 780px;
}

.navi-hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(20px, 7vw, 60px);
    line-height: 1;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.navi-hero-copy p {
    margin: 0 0 26px;
    max-width: 690px;
    color: rgba(247, 250, 255, .74);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.72;
    letter-spacing: -.006em;
}

.navi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.navi-hero-console {
    min-height: 460px;
    border-radius: 38px;
    padding: 18px;
    background: rgba(247, 250, 255, .10);
    border: 1px solid rgba(247, 250, 255, .16);
    box-shadow: 0 36px 110px rgba(0, 0, 0, .34);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    overflow: hidden;
    position: relative;
}

.navi-hero-console::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(247, 250, 255, .18), transparent 34%);
    opacity: .9;
    pointer-events: none;
    transition: opacity .22s ease;
}

.navi-console-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 100%;
}

.navi-console-card {
    min-height: 134px;
    border-radius: 22px;
    padding: 16px;
    background: rgba(7, 16, 30, .50);
    border: 1px solid rgba(247, 250, 255, .13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navi-console-card.large {
    grid-column: span 2;
    min-height: 170px;
}

.navi-console-card b {
    display: block;
    font-size: 12px;
    line-height: 1.28;
    letter-spacing: 0;
}

.navi-console-card strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(10px, 4vw, 30px);
    line-height: 1;
    letter-spacing: -.035em;
}

.navi-console-card span {
    display: block;
    color: rgba(247, 250, 255, .60);
    font-size: 12.5px;
    line-height: 1.46;
}

.navi-video-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-bottom: 42px;
}

.navi-video-tile {
    text-align: center;
    border-radius: 24px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    background: rgba(247, 250, 255, .10);
    border: 1px solid rgba(247, 250, 255, .14);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    overflow: hidden;
    position: relative;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), background .24s ease, border-color .24s ease;
}

.navi-video-tile:hover {
    transform: translateY(-4px);
    background: rgba(247, 250, 255, .15);
    border-color: rgba(247, 250, 255, .24);
}

.navi-video-tile b {
    display: block;
    font-size: 15px;
    line-height: 1.24;
    letter-spacing: -.01em;
}

.navi-video-tile span {
    display: block;
    margin-top: 8px;
    color: #45546a;
    font-size: 12.5px;
    line-height: 1.4;
}

/* PRODUCT INTRO */
.navi-intro-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 18px;
    align-items: stretch;
}

.navi-product-card {
    border-radius: var(--navi-radius-xl);
    padding: 24px;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.navi-product-card h2 {
    margin: 14px 0 14px;
    max-width: 560px;
    font-size: clamp(20px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.navi-product-card p {
    margin: 0;
    max-width: 620px;
    color: var(--navi-muted);
    font-size: 16px;
    line-height: 1.72;
}

.navi-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.navi-metric-card {
    min-height: 160px;
    border-radius: 26px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.navi-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--navi-shadow-soft);
}

.navi-metric-card small {
    display: block;
    color: var(--navi-muted);
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.navi-metric-card strong {
    display: block;
    margin: 14px 0 8px;
    font-size: clamp(10px, 5vw, 20px);
    line-height: .96;
    letter-spacing: -.035em;
}

.navi-metric-card span {
    display: block;
    color: var(--navi-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* DATABOARDS */
.navi-board {
    border-radius: 38px;
    padding: 18px;
}

.navi-board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.navi-tech-card {
    min-height: 240px;
    border-radius: 28px;
    padding: 22px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease, border-color .24s ease;
}

.navi-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--navi-shadow-soft);
    border-color: var(--navi-line-strong);
}

.navi-tech-card.big {
    grid-column: span 2;
}

.navi-tech-card.tall {
    grid-row: span 2;
    min-height: 494px;
}

.navi-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--navi-blue);
    background: rgba(47, 111, 210, .10);
    border: 1px solid rgba(47, 111, 210, .18);
    margin-bottom: 18px;
}

.navi-icon svg {
    width: 27px;
    height: 27px;
}

.navi-tech-card h3 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.16;
    letter-spacing: -.02em;
}

.navi-tech-card p {
    margin: 0;
    max-width: 410px;
    color: var(--navi-muted);
    font-size: 15px;
    line-height: 1.66;
}

.navi-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}

.navi-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47, 111, 210, .09);
    border: 1px solid rgba(47, 111, 210, .14);
    color: var(--navi-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.navi-tech-card.dark {
    color: var(--navi-ink);
}

.navi-tech-card.dark p {
    color: var(--navi-muted);
}

.navi-tech-card.dark .navi-chip {
    color: var(--navi-ink);
    background: rgba(47, 111, 210, .09);
    border: 1px solid rgba(47, 111, 210, .14);
    position: relative;
    z-index: 3;

}

.navi-tech-card.dark .navi-icon {
    color: #2f6fd2;
    background: rgba(47, 111, 210, .10);
    border: 1px solid rgba(47, 111, 210, .18);
}

.navi-orbit {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(47, 111, 210, .20);
    background: repeating-conic-gradient(from 0deg, rgba(47, 111, 210, .12) 0 8deg, transparent 8deg 20deg);
    opacity: .75;
    pointer-events: none;
}

.navi-tech-card.dark .navi-orbit {
    border-color: #1c55b72d;
    background: repeating-conic-gradient(from 0deg, rgba(5, 97, 255, 0.1) 0 8deg, transparent 8deg 20deg);
}

/* MOBILITY SECTION */
.navi-mobility {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: stretch;
}

.navi-vehicle-panel {
    min-height: 580px;
    border-radius: 40px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.navi-vehicle-panel h2 {
    margin: 12px 0 14px;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.05;
    letter-spacing: -.035em;
    max-width: 760px;
}

.navi-vehicle-panel p {
    margin: 0;
    max-width: 650px;
    color: rgba(247, 250, 255, .70);
    font-size: 16px;
    line-height: 1.72;
}

.navi-vehicle-panel img {
    width: 100%;
    border-radius: 20px;
    margin-top: 20px;
}

.navi-wheel-diagram {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 270px;
    border-radius: 30px;
    border: 1px solid rgba(247, 250, 255, .14);
    background:
        linear-gradient(rgba(247, 250, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 250, 255, .06) 1px, transparent 1px),
        rgba(247, 250, 255, .04);
    background-size: 34px 34px, 34px 34px, auto;
    overflow: hidden;
}

.navi-wheel-line {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(247, 250, 255, .56), transparent);
}

.navi-wheel {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(247, 250, 255, .68);
    background: rgba(47, 111, 210, .24);
    box-shadow: 0 0 26px rgba(47, 111, 210, .28);
}

.navi-wheel:nth-child(2) {
    left: 10%;
    top: 25%;
}

.navi-wheel:nth-child(3) {
    left: 45%;
    top: 18%;
}

.navi-wheel:nth-child(4) {
    right: 10%;
    top: 25%;
}

.navi-wheel:nth-child(5) {
    left: 10%;
    bottom: 24%;
}

.navi-wheel:nth-child(6) {
    left: 45%;
    bottom: 18%;
}

.navi-wheel:nth-child(7) {
    right: 10%;
    bottom: 24%;
}

.navi-feature-list {
    display: grid;
    gap: 12px;
}

.navi-feature-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 24px;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.navi-feature-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--navi-shadow-soft);
}

.navi-feature-index {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navi-blue);
    font-size: 13px;
    font-weight: 900;
}

.navi-feature-row b {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.navi-feature-row span {
    display: block;
    color: var(--navi-muted);
    font-size: 14px;
    line-height: 1.56;
}

/* APPLICATIONS */
.navi-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.navi-app-card {
    min-height: 260px;
    border-radius: 30px;
    padding: 22px;
    overflow: hidden;
    position: relative;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.navi-app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--navi-shadow-soft);
}

.navi-app-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.14;
    letter-spacing: -.02em;
}

.navi-app-card p {
    margin: 0;
    color: var(--navi-muted);
    font-size: 15px;
    line-height: 1.64;
}

/* SPECS */
.navi-spec-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
    align-items: start;
}

.navi-spec-lead {
    position: sticky;
    top: calc(var(--navi-header-h) + 24px);
    border-radius: 36px;
    padding: 24px;
}

.navi-spec-lead h2 {
    margin: 14px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.navi-spec-lead p {
    margin: 0 0 20px;
    color: rgba(247, 250, 255, .70);
    font-size: 16px;
    line-height: 1.72;
}

.navi-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.navi-spec-item {
    min-height: 92px;
    border-radius: 22px;
    padding: 16px;
}

.navi-spec-item span {
    display: block;
    color: var(--navi-muted);
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.navi-spec-item b {
    display: block;
    margin-top: 8px;
    color: var(--navi-ink);
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -.01em;
}

/* RESOURCES */
.navi-resource-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: center;
}

.navi-youtube-box iframe {
    width: 100%;
    height: auto;
    border: 1px solid rgba(101, 101, 101, 0.418);
    border-radius: 30px;
}

.navi-youtube-box.has-video iframe {
    display: block;
    align-items: center;
}

.navi-play {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border: 1px solid rgba(247, 250, 255, .18);
    background: rgba(247, 250, 255, .12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.navi-youtube-box h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.navi-youtube-box p {
    margin: 0 auto;
    max-width: 540px;
    color: rgba(247, 250, 255, .68);
    font-size: 15px;
    line-height: 1.65;
}

.navi-resource-list {
    display: grid;
    gap: 12px;
}

.navi-resource-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    border-radius: 26px;
    padding: 18px;
    color: var(--navi-ink);
    text-decoration: none;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.navi-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--navi-shadow-soft);
}

.navi-resource-card b {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.navi-resource-card span {
    display: block;
    color: var(--navi-muted);
    font-size: 14px;
    line-height: 1.5;
}

.navi-resource-type {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navi-blue);
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

/* CTA + FOOTER */
.navi-cta {
    border-radius: 42px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.navi-cta h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    max-width: 820px;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.navi-cta p {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 760px;
    color: rgba(247, 250, 255, .70);
    font-size: 16px;
    line-height: 1.72;
}

.navi-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* MODAL */
.navi-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(7, 16, 30, .64);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navi-modal.active {
    display: flex;
}

.navi-modal-card {
    width: min(720px, 96vw);
    max-height: min(760px, 88svh);
    overflow: auto;
    border-radius: 34px;
    padding: 26px;
    background: var(--navi-card-strong);
    color: var(--navi-ink);
    border: 1px solid var(--navi-line);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .32);
    position: relative;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
}

.navi-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    border: 1px solid var(--navi-line);
    background: transparent;
    color: var(--navi-ink);
    cursor: pointer;
    font-size: 22px;
}

.navi-modal-card h3 {
    margin: 0 52px 12px 0;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.navi-modal-card p {
    margin: 0 0 18px;
    color: var(--navi-muted);
    font-size: 16px;
    line-height: 1.72;
}

.navi-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.navi-form label {
    display: grid;
    gap: 6px;
    color: var(--navi-muted);
    font-size: 13px;
    font-weight: 800;
}

.navi-form input,
.navi-form textarea,
.navi-form select {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid var(--navi-line);
    background: rgba(247, 250, 255, .60);
    color: var(--navi-ink);
    padding: 12px 14px;
    outline: none;
    font-size: 15px;
    line-height: 1.4;
}

html[data-ab-theme="dark"] .navi-form input,
html[data-ab-theme="dark"] .navi-form textarea,
html[data-ab-theme="dark"] .navi-form select {
    background: rgba(247, 250, 255, .08);
}

.navi-form textarea {
    min-height: 118px;
    resize: vertical;
}

/* Motion system */
.navi-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .72s cubic-bezier(.2, .8, .2, 1), transform .72s cubic-bezier(.2, .8, .2, 1);
}

.navi-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.navi-fluid {
    position: relative;
    isolation: isolate;
}

.navi-fluid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(47, 111, 210, .16), transparent 36%);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: none;
}

.navi-fluid:hover::before {
    opacity: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

    .navi-glass,
    .navi-modal-card,
    .navi-video-tile,
    .navi-hero-console {
        background: var(--navi-card-strong);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .navi-reveal {
        opacity: 1;
        transform: none;
    }

    .navi-video-hero video {
        display: none;
    }
}

/* RESPONSIVE */
@media (max-width: 1160px) {

    .navi-nav a,
    .navi-nav button {
        padding-inline: 9px;
        font-size: 12.5px;
    }

    .navi-btn:not(.primary) {
        display: none;
    }

    .navi-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navi-app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    :root {
        --navi-header-h: 64px;
    }

    .navi-nav {
        display: none;
    }

    .navi-hero-content,
    .navi-intro-grid,
    .navi-mobility,
    .navi-spec-layout,
    .navi-resource-grid,
    .navi-cta {
        grid-template-columns: 1fr;
    }

    .navi-hero-content {
        padding: 72px 0 32px;
    }

    .navi-hero-console {
        min-height: auto;
    }

    .navi-video-dock {
        grid-template-columns: repeat(2, 1fr);
    }

    .navi-product-card {
        min-height: 560px;
    }

    .navi-spec-lead {
        position: relative;
        top: auto;
    }

    .navi-section-head {
        display: block;
    }

    .navi-section-head p {
        margin-top: 14px;
    }

    .navi-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .navi-wrap {
        width: min(100% - 28px, var(--navi-max));
    }

    .navi-section {
        padding: 60px 0;
    }

    .navi-video-hero {
        min-height: auto;
    }

    .navi-hero-copy h1 {
        font-size: clamp(42px, 14vw, 70px);
        letter-spacing: -.035em;
    }

    .navi-video-dock,
    .navi-console-grid,
    .navi-metric-grid,
    .navi-board-grid,
    .navi-app-grid,
    .navi-spec-grid {
        grid-template-columns: 1fr;
    }

    .navi-console-card.large,
    .navi-tech-card.big {
        grid-column: auto;
    }

    .navi-tech-card.tall {
        grid-row: auto;
        min-height: 260px;
    }

    .navi-product-card {
        min-height: 600px;
        padding: 20px;
    }

    .navi-vehicle-panel {
        min-height: 620px;
        padding: 20px;
    }

    .navi-youtube-box {
        min-height: 380px;
    }

    .navi-cta {
        padding: 30px;
    }
}

@media (max-width: 460px) {
    .navi-brand strong {
        font-size: 14px;
    }

    .navi-brand-mark {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .navi-hero-actions,
    .navi-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .navi-btn {
        width: 100%;
    }
}

.navi-nav {
    gap: 4px;
}

.navi-nav a,
.navi-nav button {
    height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.005em;
}

.navi-nav a:hover,
.navi-nav button:hover,
.navi-nav button[aria-expanded="true"] {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.navi-theme-toggle {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .14);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.navi-theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .22);
}

html[data-ab-theme="dark"] .navi-close {
    color: #fff;
    border-color: rgba(255, 255, 255, .16);
}

/* Final Frosted Light overrides: remove leftover dark boxes and white-on-white text. */
html[data-ab-theme="light"] {
    --navi-ink: #07111f;
    --navi-muted: #45546a;
    --navi-soft: #657287;
    --navi-page: #e7eef8;
    --navi-card: rgba(244, 248, 253, .82);
    --navi-card-strong: rgba(238, 245, 252, .96);
    --navi-line: rgba(7, 16, 30, .16);
    --navi-line-strong: rgba(7, 16, 30, .24);
    --navi-shadow: 0 24px 72px rgba(29, 55, 92, .18);
    --navi-shadow-soft: 0 14px 42px rgba(29, 55, 92, .12);
}

html[data-ab-theme="light"] body,
html[data-ab-theme="light"] .navi-page {
    color: var(--navi-ink);
    background:
        radial-gradient(circle at 12% -6%, rgba(47, 111, 210, .16), transparent 32%),
        radial-gradient(circle at 94% 8%, rgba(53, 159, 210, .10), transparent 30%),
        linear-gradient(180deg, #e2eaf5 0%, #edf3fa 46%, #e7edf6 100%);
}

html[data-ab-theme="light"] :is(.navi-glass, .navi-product-card, .navi-metric-card, .navi-board, .navi-tech-card, .navi-feature-row, .navi-app-card, .navi-spec-item, .navi-resource-card, .navi-modal-card) {
    color: var(--navi-ink);
    background: linear-gradient(135deg, rgba(255, 255, 255, .50), rgba(235, 242, 250, .78));
    border-color: var(--navi-line);
    box-shadow: var(--navi-shadow-soft);
}

html[data-ab-theme="light"] :is(.navi-dark-panel, .navi-tech-card.dark, .navi-vehicle-panel, .navi-spec-lead, .navi-cta) {
    color: var(--navi-ink) !important;
    background:
        radial-gradient(circle at 88% 8%, rgba(47, 111, 210, .12), transparent 34%),
        linear-gradient(135deg, rgba(246, 249, 253, .88), rgba(226, 236, 248, .88)) !important;
    border: 1px solid var(--navi-line) !important;
    box-shadow: var(--navi-shadow) !important;
}

html[data-ab-theme="light"] :is(.navi-section-head, .navi-dark-panel, .navi-tech-card.dark, .navi-vehicle-panel, .navi-spec-lead, .navi-cta, .navi-modal-card) :is(h1, h2, h3, h4, h5, h6, b, strong, summary, label, a) {
    color: var(--navi-ink) !important;
    text-shadow: none !important;
}

html[data-ab-theme="light"] :is(.navi-section-head, .navi-dark-panel, .navi-tech-card.dark, .navi-vehicle-panel, .navi-spec-lead, .navi-cta, .navi-modal-card) :is(p, li, small, span) {
    color: var(--navi-muted) !important;
    text-shadow: none !important;
}

html[data-ab-theme="light"] .navi-page .navi-btn.dark {
    color: var(--navi-ink) !important;
    background: rgba(242, 248, 253, .86) !important;
    border-color: rgba(7, 16, 30, .18) !important;
}

html[data-ab-theme="light"] :is(.navi-btn.primary, .navi-resource-type, .navi-feature-index) {
    color: #fff !important;
}

html[data-ab-theme="light"] :is(.navi-chip, .navi-tech-card.dark .navi-chip, .navi-tech-card.dark .navi-icon) {
    color: #2f6fd2 !important;
    background: rgba(224, 234, 246, .90) !important;
    border-color: rgba(7, 16, 30, .14) !important;
}

html[data-ab-theme="light"] .navi-tech-card.dark .navi-orbit {
    border-color: rgba(47, 111, 210, .18) !important;
    background: repeating-conic-gradient(from 0deg, rgba(47, 111, 210, .12) 0 8deg, transparent 8deg 20deg) !important;
}

/* Responsive media/content guardrails */
#naviPage :is(img, video, iframe) {
    max-width: 100%;
}

#naviPage :is(.navi-product-card, .navi-tech-card, .navi-app-card, .navi-resource-card, .navi-youtube-box, .navi-hero-console, .navi-video-tile, .navi-vehicle-panel) {
    min-width: 0;
    overflow-wrap: anywhere;
}

#naviPage .navi-youtube-box {
    aspect-ratio: 16 / 9;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
}

#naviPage .navi-youtube-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

#naviPage .navi-vehicle-panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52svh, 520px);
    object-fit: contain;
}

@media (max-width: 720px) {
    #naviPage :is(.navi-resource-grid, .navi-board-grid, .navi-app-grid, .navi-spec-grid, .navi-video-dock, .navi-console-grid, .navi-metric-grid) {
        grid-template-columns: 1fr !important;
    }

    #naviPage .navi-vehicle-panel {
        min-height: auto !important;
    }

    #naviPage .navi-resource-card {
        align-items: flex-start;
        flex-direction: column;
    }
}