/* ==========================================================================
   Aeronexum marketing styles - glass edition
   ========================================================================== */

:root {
    --an-dark: #020B16;
    --an-navy: #061A33;
    --an-primary: #0648B3;
    --an-blue: #168BFF;
    --an-ice: #A7D1FF;
    --an-light: #E6ECF3;
    --an-steel: #6B7280;
    --an-success: #00C389;
    --an-danger: #EE5050;
}

.an-gradient {
    background: linear-gradient(135deg, var(--an-dark) 0%, var(--an-navy) 48%, var(--an-primary) 78%, var(--an-blue) 100%);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.marketing-page {
    --marketing-line: rgba(167, 209, 255, 0.16);
    --marketing-line-strong: rgba(167, 209, 255, 0.30);
    --marketing-muted: rgba(230, 236, 243, 0.72);
    --marketing-subtle: rgba(230, 236, 243, 0.52);
    --glass-fill: linear-gradient(165deg, rgba(22, 139, 255, 0.085), rgba(6, 26, 51, 0.40) 42%, rgba(2, 11, 22, 0.34));
    --glass-fill-strong: linear-gradient(165deg, rgba(22, 139, 255, 0.16), rgba(6, 26, 51, 0.55) 45%, rgba(2, 11, 22, 0.5));
    --glass-shadow: 0 24px 60px rgba(1, 6, 14, 0.55), 0 6px 18px rgba(6, 72, 179, 0.14);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    background: var(--an-dark);
    color: var(--an-light);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.marketing-page * {
    box-sizing: border-box;
}

.marketing-page a {
    color: inherit;
    text-decoration: none;
}

.marketing-page :focus-visible {
    border-radius: 6px;
    outline: 2px solid var(--an-blue);
    outline-offset: 3px;
}

.marketing-page img {
    max-width: 100%;
}

/* Ambient background: radial glows + faint grid, fixed behind everything */
.marketing-backdrop {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}

.marketing-backdrop::before {
    background:
        radial-gradient(46rem 30rem at 82% -6%, rgba(22, 139, 255, 0.17), transparent 62%),
        radial-gradient(40rem 28rem at -8% 26%, rgba(6, 72, 179, 0.22), transparent 60%),
        radial-gradient(52rem 38rem at 50% 118%, rgba(6, 72, 179, 0.16), transparent 64%);
    content: "";
    inset: 0;
    position: absolute;
}

.marketing-backdrop::after {
    background-image:
        linear-gradient(rgba(167, 209, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 209, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    -webkit-mask-image: radial-gradient(72rem 48rem at 50% 0%, rgba(0, 0, 0, 0.9), transparent 78%);
    mask-image: radial-gradient(72rem 48rem at 50% 0%, rgba(0, 0, 0, 0.9), transparent 78%);
    position: absolute;
}

.marketing-page main,
.marketing-page footer {
    position: relative;
    z-index: 1;
}

.marketing-page section[id] {
    scroll-margin-top: 92px;
}

/* --------------------------------------------------------------------------
   Glass primitives
   -------------------------------------------------------------------------- */

.an-card {
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    background: var(--glass-fill);
    border: 1px solid var(--marketing-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.an-card::before {
    background: linear-gradient(90deg, transparent 4%, rgba(231, 240, 255, 0.38) 50%, transparent 96%);
    border-radius: inherit inherit 0 0;
    content: "";
    height: 1px;
    left: 0;
    opacity: 0.7;
    position: absolute;
    right: 0;
    top: 0;
}

/* Glass icon tile */
.an-icon {
    align-items: center;
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    background:
        radial-gradient(120% 90% at 30% 0%, rgba(231, 240, 255, 0.22), transparent 52%),
        linear-gradient(160deg, rgba(22, 139, 255, 0.34), rgba(6, 72, 179, 0.16) 55%, rgba(2, 11, 22, 0.25));
    border: 1px solid rgba(167, 209, 255, 0.34);
    border-radius: 16px;
    box-shadow:
        0 12px 28px rgba(6, 72, 179, 0.32),
        inset 0 1px 0 rgba(231, 240, 255, 0.35),
        inset 0 -8px 18px rgba(2, 11, 22, 0.35);
    color: var(--an-ice);
    display: inline-flex;
    flex: none;
    height: 58px;
    justify-content: center;
    position: relative;
    width: 58px;
}

.an-icon::after {
    background: linear-gradient(180deg, rgba(231, 240, 255, 0.26), rgba(231, 240, 255, 0.02));
    border-radius: 12px 12px 40% 40%;
    content: "";
    height: 46%;
    left: 7%;
    pointer-events: none;
    position: absolute;
    right: 7%;
    top: 5%;
}

.an-icon svg {
    filter: drop-shadow(0 2px 6px rgba(2, 11, 22, 0.55));
    height: 26px;
    width: 26px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.marketing-nav {
    align-items: center;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    background: rgba(2, 11, 22, 0.68);
    border-bottom: 1px solid var(--marketing-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 clamp(1rem, 5vw, 4.5rem);
    position: sticky;
    top: 0;
    z-index: 40;
}

.marketing-nav::after {
    background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.45), transparent);
    bottom: -1px;
    content: "";
    height: 1px;
    left: 12%;
    position: absolute;
    right: 12%;
}

.marketing-brand {
    align-items: center;
    color: var(--an-light);
    display: flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 0.7rem;
    letter-spacing: 0.04em;
}

.marketing-brand__mark,
.an-mark {
    align-items: center;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 62px;
}

.marketing-brand__mark img,
.an-mark img {
    filter: drop-shadow(0 3px 10px rgba(22, 139, 255, 0.35));
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.marketing-nav__links {
    align-items: center;
    display: flex;
    gap: clamp(0.9rem, 2.4vw, 2rem);
}

.marketing-nav__links a {
    color: var(--marketing-muted);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 0.4rem 0.1rem;
    position: relative;
    transition: color 0.2s ease;
}

.marketing-nav__links a:hover {
    color: var(--an-light);
}

.marketing-nav__links a::after {
    background: linear-gradient(90deg, var(--an-blue), var(--an-ice));
    border-radius: 2px;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.marketing-nav__links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.marketing-nav__cta {
    white-space: nowrap;
}

.marketing-nav__toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--marketing-line);
    border-radius: 10px;
    color: var(--an-light);
    cursor: pointer;
    display: none;
    height: 44px;
    justify-content: center;
    width: 44px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.marketing-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.marketing-button {
    align-items: center;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.98rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.01em;
    min-height: 48px;
    padding: 0.78rem 1.6rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.marketing-button--primary {
    background: linear-gradient(135deg, var(--an-primary), var(--an-blue));
    box-shadow: 0 10px 26px rgba(22, 139, 255, 0.35), inset 0 1px 0 rgba(231, 240, 255, 0.4);
    color: #fff;
}

.marketing-button--primary:hover {
    box-shadow: 0 14px 34px rgba(22, 139, 255, 0.5), inset 0 1px 0 rgba(231, 240, 255, 0.4);
    transform: translateY(-2px);
}

.marketing-button--secondary {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgba(22, 139, 255, 0.08);
    border: 1px solid var(--marketing-line-strong);
    box-shadow: inset 0 1px 0 rgba(231, 240, 255, 0.18);
    color: var(--an-light);
}

.marketing-button--secondary:hover {
    background: rgba(22, 139, 255, 0.16);
    border-color: rgba(167, 209, 255, 0.5);
    transform: translateY(-2px);
}

.marketing-button--sm {
    min-height: 42px;
    padding: 0.55rem 1.2rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.marketing-hero {
    background:
        radial-gradient(50rem 30rem at 78% 0%, rgba(22, 139, 255, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(6, 26, 51, 0.55), rgba(2, 11, 22, 0) 70%);
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
    position: relative;
}

.marketing-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1320px;
}

.marketing-logo-lockup {
    margin-bottom: 1.6rem;
}

.marketing-page img.marketing-logo-lockup__image {
    filter: drop-shadow(0 18px 44px rgba(22, 139, 255, 0.28));
    height: auto;
    max-width: min(330px, 72vw);
}

.marketing-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0 0 1.1rem;
}

.marketing-hero h1 em {
    background: linear-gradient(100deg, var(--an-ice), var(--an-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.marketing-hero__lead {
    color: var(--marketing-muted);
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.65;
    margin: 0 0 1.7rem;
    max-width: 34rem;
}

.marketing-trust {
    color: var(--marketing-subtle);
    font-size: 0.88rem;
    margin: 1.25rem 0 0;
}

.marketing-proof-grid {
    border-top: 1px solid var(--marketing-line);
    display: grid;
    gap: 1rem 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.6rem 0 0;
    padding-top: 1.4rem;
}

.marketing-proof-grid dt {
    color: var(--an-ice);
    font-size: 0.94rem;
    font-weight: 750;
}

.marketing-proof-grid dd {
    color: var(--marketing-subtle);
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0.3rem 0 0;
}

/* Hero visual: screenshot in glass browser frame */
.marketing-hero__visual {
    perspective: 1600px;
    position: relative;
}

.marketing-hero__glow {
    background: radial-gradient(60% 60% at 50% 45%, rgba(22, 139, 255, 0.30), transparent 70%);
    filter: blur(10px);
    inset: -12% -10%;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.marketing-screen {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transform: rotateY(-7deg) rotateX(2.5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    z-index: 1;
}

.marketing-hero__visual:hover .marketing-screen {
    transform: rotateY(-2deg) rotateX(1deg);
}

.marketing-screen__chrome {
    align-items: center;
    border-bottom: 1px solid var(--marketing-line);
    display: flex;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
}

.marketing-screen__chrome i {
    background: rgba(167, 209, 255, 0.35);
    border-radius: 50%;
    display: inline-block;
    height: 9px;
    width: 9px;
}

.marketing-screen__chrome i:first-child {
    background: rgba(238, 80, 80, 0.75);
}

.marketing-screen__chrome i:nth-child(2) {
    background: rgba(255, 200, 90, 0.75);
}

.marketing-screen__chrome i:nth-child(3) {
    background: rgba(0, 195, 137, 0.75);
}

.marketing-screen__chrome em {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: rgba(2, 11, 22, 0.5);
    border: 1px solid var(--marketing-line);
    border-radius: 999px;
    color: var(--marketing-subtle);
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.03em;
    margin: 0 auto;
    padding: 0.22rem 1rem;
}

.marketing-screen__body {
    background: var(--an-navy);
    display: block;
}

.marketing-screen__body img {
    display: block;
    height: auto;
    width: 100%;
}

/* Floating glass chips over the hero screenshot */
.marketing-chip {
    align-items: center;
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    background: var(--glass-fill-strong);
    border: 1px solid var(--marketing-line-strong);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    display: flex;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    position: absolute;
    z-index: 2;
}

.marketing-chip strong {
    display: block;
    font-size: 0.85rem;
}

.marketing-chip span {
    color: var(--marketing-subtle);
    display: block;
    font-size: 0.72rem;
    margin-top: 0.1rem;
}

.marketing-chip .an-icon {
    border-radius: 12px;
    height: 40px;
    width: 40px;
}

.marketing-chip .an-icon svg {
    height: 20px;
    width: 20px;
}

.marketing-chip--tl {
    animation: an-float 7s ease-in-out infinite;
    left: -1.4rem;
    top: 12%;
}

.marketing-chip--br {
    animation: an-float 8s ease-in-out 1.2s infinite;
    bottom: 9%;
    right: -1.2rem;
}

@keyframes an-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   Strip + sections
   -------------------------------------------------------------------------- */

.marketing-strip {
    border-block: 1px solid var(--marketing-line);
    padding: 1.1rem clamp(1rem, 5vw, 4.5rem);
}

.marketing-strip p {
    color: var(--marketing-subtle);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    margin: 0 auto;
    max-width: 1320px;
    text-align: center;
    text-transform: uppercase;
}

.marketing-section {
    margin: 0 auto;
    max-width: 1320px;
    padding: clamp(3rem, 6.5vw, 5.5rem) clamp(1rem, 5vw, 4.5rem);
}

.marketing-section__intro {
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
    max-width: 46rem;
}

.marketing-section__intro--center {
    margin-inline: auto;
    text-align: center;
}

.marketing-eyebrow {
    color: var(--an-blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
}

.marketing-section h2,
.marketing-final-cta h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0;
}

.marketing-section__intro p:not(.marketing-eyebrow) {
    color: var(--marketing-muted);
    font-size: 1.03rem;
    line-height: 1.65;
    margin: 1rem 0 0;
}

/* --------------------------------------------------------------------------
   Card grids
   -------------------------------------------------------------------------- */

.marketing-card-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketing-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.marketing-card:hover {
    border-color: rgba(167, 209, 255, 0.42);
    box-shadow: 0 30px 70px rgba(1, 6, 14, 0.6), 0 10px 30px rgba(22, 139, 255, 0.22);
    transform: translateY(-5px);
}

.marketing-card h3 {
    font-size: 1.06rem;
    font-weight: 750;
    line-height: 1.4;
    margin: 0;
}

.marketing-card p {
    color: var(--marketing-muted);
    font-size: 0.94rem;
    line-height: 1.62;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Workflow rail
   -------------------------------------------------------------------------- */

.marketing-workflow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.marketing-workflow li {
    align-items: center;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: var(--glass-fill);
    border: 1px solid var(--marketing-line);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(231, 240, 255, 0.16);
    color: var(--an-light);
    counter-increment: workflow;
    display: flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.6rem;
    padding: 0.68rem 1.25rem;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.marketing-workflow li:hover {
    border-color: rgba(167, 209, 255, 0.45);
    transform: translateY(-2px);
}

.marketing-workflow li::before {
    background: linear-gradient(135deg, var(--an-primary), var(--an-blue));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(22, 139, 255, 0.4);
    color: #fff;
    content: counter(workflow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    height: 1.45rem;
    width: 1.45rem;
}

.marketing-workflow li:not(:last-child)::after {
    color: rgba(167, 209, 255, 0.55);
    content: "\2192";
    font-size: 1rem;
    margin-left: 0.35rem;
}

/* --------------------------------------------------------------------------
   Product tour (carousel)
   -------------------------------------------------------------------------- */

.marketing-tour {
    max-width: 1320px;
}

.tour__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tour__tab {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(22, 139, 255, 0.06);
    border: 1px solid var(--marketing-line);
    border-radius: 999px;
    color: var(--marketing-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    min-height: 44px;
    padding: 0.5rem 1.05rem;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour__tab:hover {
    border-color: rgba(167, 209, 255, 0.45);
    color: var(--an-light);
}

.tour__tab.is-active {
    background: linear-gradient(135deg, rgba(6, 72, 179, 0.85), rgba(22, 139, 255, 0.85));
    border-color: rgba(167, 209, 255, 0.55);
    box-shadow: 0 8px 22px rgba(22, 139, 255, 0.35), inset 0 1px 0 rgba(231, 240, 255, 0.35);
    color: #fff;
}

.tour__stage {
    align-items: center;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.tour__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tour__viewport {
    aspect-ratio: 1664 / 1142;
    background:
        radial-gradient(80% 90% at 50% 0%, rgba(22, 139, 255, 0.10), transparent 70%),
        var(--an-navy);
    cursor: zoom-in;
    position: relative;
}

.tour__slide {
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.015);
    transition: opacity 0.55s ease, transform 0.55s ease;
    visibility: hidden;
}

.tour__slide.is-active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.tour__slide img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.tour__arrow {
    align-items: center;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: var(--glass-fill-strong);
    border: 1px solid var(--marketing-line-strong);
    border-radius: 50%;
    box-shadow: var(--glass-shadow);
    color: var(--an-light);
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 48px;
}

.tour__arrow:hover {
    border-color: rgba(167, 209, 255, 0.55);
    transform: scale(1.06);
}

.tour__arrow svg {
    height: 20px;
    width: 20px;
}

.tour__footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.tour__caption {
    color: var(--marketing-muted);
    font-size: 0.97rem;
    line-height: 1.55;
    margin: 0;
    max-width: 44rem;
    min-height: 2.4em;
    text-align: center;
}

.tour__caption strong {
    color: var(--an-light);
}

.tour__progress {
    background: rgba(167, 209, 255, 0.14);
    border-radius: 999px;
    height: 3px;
    overflow: hidden;
    width: min(280px, 60%);
}

.tour__progress span {
    background: linear-gradient(90deg, var(--an-primary), var(--an-blue));
    border-radius: inherit;
    display: block;
    height: 100%;
    transform-origin: left center;
    width: 100%;
}

.tour__progress span.is-running {
    animation: tour-progress var(--tour-delay, 6500ms) linear forwards;
}

@keyframes tour-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Lightbox */
.tour-lightbox {
    align-items: center;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    background: rgba(2, 11, 22, 0.88);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: clamp(1rem, 4vw, 3rem);
    pointer-events: none;
    position: fixed;
    transition: opacity 0.3s ease;
    z-index: 60;
}

.tour-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.tour-lightbox img {
    border: 1px solid var(--marketing-line-strong);
    border-radius: var(--radius-md);
    box-shadow: 0 40px 120px rgba(1, 6, 14, 0.8);
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.tour-lightbox__close {
    align-items: center;
    background: var(--glass-fill-strong);
    border: 1px solid var(--marketing-line-strong);
    border-radius: 50%;
    color: var(--an-light);
    cursor: pointer;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    top: clamp(1rem, 3vw, 2rem);
    transition: transform 0.2s ease, border-color 0.2s ease;
    width: 46px;
}

.tour-lightbox__close:hover {
    border-color: rgba(167, 209, 255, 0.6);
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Split section + checklist
   -------------------------------------------------------------------------- */

.marketing-split {
    align-items: center;
    display: grid;
    gap: clamp(1.8rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.marketing-split h2 {
    margin-bottom: 1rem;
}

.marketing-split > div > p:not(.marketing-eyebrow) {
    color: var(--marketing-muted);
    font-size: 1.03rem;
    line-height: 1.65;
    margin: 0;
}

.marketing-check-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.marketing-check-list li {
    align-items: center;
    color: var(--an-light);
    display: flex;
    font-size: 0.99rem;
    font-weight: 600;
    gap: 0.8rem;
    line-height: 1.5;
}

.marketing-check-list li::before {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 195, 137, 0.9), rgba(22, 139, 255, 0.85));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 195, 137, 0.3);
    color: #02240f;
    content: "\2713";
    display: inline-flex;
    flex: none;
    font-size: 0.72rem;
    font-weight: 900;
    height: 1.45rem;
    justify-content: center;
    width: 1.45rem;
}

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */

.marketing-use-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-use-card {
    align-items: flex-start;
    display: flex;
    gap: 1.3rem;
    padding: clamp(1.4rem, 2.5vw, 1.9rem);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.marketing-use-card:hover {
    border-color: rgba(167, 209, 255, 0.42);
    box-shadow: 0 30px 70px rgba(1, 6, 14, 0.6), 0 10px 30px rgba(22, 139, 255, 0.22);
    transform: translateY(-5px);
}

.marketing-use-card__icon {
    border-radius: 18px;
    height: 72px;
    width: 72px;
}

.marketing-use-card__icon svg {
    fill: none;
    height: 40px;
    stroke: var(--an-ice);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    width: 40px;
}

.marketing-use-card__icon .marketing-svg-glow {
    opacity: 0.25;
    stroke: var(--an-blue);
    stroke-width: 7;
}

.marketing-use-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.marketing-use-card__title {
    font-size: 1.08rem;
    font-weight: 750;
}

.marketing-use-card__body p {
    color: var(--marketing-muted);
    font-size: 0.94rem;
    line-height: 1.62;
    margin: 0;
}

.marketing-use-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.marketing-use-card__tags li {
    background: rgba(22, 139, 255, 0.10);
    border: 1px solid var(--marketing-line);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(231, 240, 255, 0.12);
    color: var(--an-ice);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.75rem;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.marketing-final-cta {
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    max-width: 1320px;
    padding: 0 clamp(1rem, 5vw, 4.5rem);
}

.marketing-final-cta__panel {
    align-items: center;
    background:
        radial-gradient(46rem 22rem at 50% -40%, rgba(22, 139, 255, 0.35), transparent 70%),
        var(--glass-fill-strong);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
    text-align: center;
}

.marketing-final-cta__panel > p {
    color: var(--marketing-muted);
    font-size: 1.03rem;
    line-height: 1.6;
    margin: 0;
    max-width: 38rem;
}

.marketing-page img.marketing-final-cta__logo {
    filter: drop-shadow(0 12px 30px rgba(22, 139, 255, 0.3));
    max-width: min(230px, 60vw);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.marketing-footer {
    align-items: center;
    border-top: 1px solid var(--marketing-line);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1320px;
    padding: 1.8rem clamp(1rem, 5vw, 4.5rem) 2.2rem;
}

.marketing-footer strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.marketing-footer span {
    color: var(--marketing-subtle);
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.marketing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}

.marketing-footer nav a {
    color: var(--marketing-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}

.marketing-footer nav a:hover {
    color: var(--an-light);
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.marketing-legal-hero {
    border-bottom: 1px solid var(--marketing-line);
    padding: clamp(3.5rem, 6vw, 5.8rem) clamp(1rem, 5vw, 4.5rem);
    position: relative;
    z-index: 1;
}

.marketing-legal-hero__inner,
.marketing-legal {
    margin: 0 auto;
    max-width: 980px;
    width: min(980px, 100%);
}

.marketing-legal-hero h1 {
    color: var(--an-light);
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin: 0;
    max-width: 860px;
}

.marketing-legal-hero p:not(.marketing-eyebrow) {
    color: rgba(230, 236, 243, 0.72);
    font-size: 1rem;
    font-weight: 650;
    margin: 1.25rem 0 0;
}

.marketing-legal {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

.marketing-legal-document {
    padding: clamp(1.35rem, 4vw, 2.6rem);
}

.marketing-legal-document h2 {
    border-top: 1px solid var(--marketing-line);
    color: var(--an-light);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 2rem 0 0.8rem;
    padding-top: 1.25rem;
}

.marketing-legal-document h2:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.marketing-legal-document p,
.marketing-legal-document li,
.marketing-legal-document address {
    color: var(--marketing-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.marketing-legal-document p {
    margin: 0.75rem 0 0;
}

.marketing-legal-document p:first-child {
    margin-top: 0;
}

.marketing-legal-document ul {
    display: grid;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0;
}

.marketing-legal-document li {
    list-style: none;
    padding-left: 1.55rem;
    position: relative;
}

.marketing-legal-document li::before {
    color: var(--an-ice);
    content: "\2713";
    font-size: 0.85rem;
    font-weight: 900;
    left: 0.15rem;
    position: absolute;
    top: 0.14rem;
}

.marketing-legal-document address {
    font-style: normal;
    margin-top: 0.85rem;
}

.marketing-legal-document a {
    color: var(--an-ice);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.marketing-contact__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.marketing-contact__intro h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 1rem;
}

.marketing-contact__lead {
    color: var(--marketing-muted);
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 0 0 1.6rem;
}

.marketing-contact__points {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.marketing-contact__points::before {
    display: none;
}

.marketing-contact__alt {
    border-top: 1px solid var(--marketing-line);
    color: var(--marketing-subtle);
    font-size: 0.94rem;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
}

.marketing-contact__alt a {
    color: var(--an-ice);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.marketing-contact__panel {
    padding: clamp(1.5rem, 3.5vw, 2.6rem);
}

.marketing-form__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.marketing-form__field label {
    color: var(--an-ice);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.marketing-form__field input,
.marketing-form__field select,
.marketing-form__field textarea {
    background: rgba(2, 11, 22, 0.55);
    border: 1px solid var(--marketing-line-strong);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 0 rgba(231, 240, 255, 0.08);
    color: var(--an-light);
    font-family: inherit;
    font-size: 1rem;
    min-height: 48px;
    padding: 0.7rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.marketing-form__field textarea {
    min-height: 9rem;
    resize: vertical;
}

.marketing-form__field input:focus,
.marketing-form__field select:focus,
.marketing-form__field textarea:focus {
    border-color: var(--an-blue);
    box-shadow: 0 0 0 3px rgba(22, 139, 255, 0.22);
    outline: none;
}

.marketing-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A7D1FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.9rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    cursor: pointer;
    padding-right: 2.6rem;
}

.marketing-form__field.is-invalid input,
.marketing-form__field.is-invalid textarea {
    border-color: var(--an-danger);
}

.marketing-form__alert {
    background: rgba(238, 80, 80, 0.12);
    border: 1px solid rgba(238, 80, 80, 0.4);
    border-radius: var(--radius-sm);
    color: #ffc9c9;
    font-size: 0.94rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    padding: 0.85rem 1.1rem;
}

.marketing-form__alert--ok {
    background: rgba(0, 195, 137, 0.12);
    border-color: rgba(0, 195, 137, 0.4);
    color: #b8f5e2;
}

/* Honeypot: moved off-screen (display:none would tip off smarter bots) */
.marketing-form__hp {
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.marketing-form__submit {
    width: 100%;
}

.marketing-form__submit[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.marketing-form__note {
    color: var(--marketing-subtle);
    font-size: 0.82rem;
    margin: 0.9rem 0 0;
    text-align: center;
}

.marketing-contact__success {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    text-align: center;
}

.marketing-contact__success h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.marketing-contact__success p {
    color: var(--marketing-muted);
    line-height: 1.6;
    margin: 0 0 0.6rem;
    max-width: 26rem;
}

@media (max-width: 900px) {
    .marketing-contact__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .marketing-form__row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.an-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.an-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .marketing-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketing-hero__visual {
        margin: 0 auto;
        max-width: 640px;
        width: 100%;
    }

    .marketing-screen {
        transform: none;
    }

    .marketing-card-grid,
    .marketing-card-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .marketing-nav__toggle {
        display: inline-flex;
    }

    .marketing-nav__links {
        background: linear-gradient(180deg, #061a33, #030d1c);
        border-bottom: 1px solid var(--marketing-line);
        box-shadow: 0 24px 50px rgba(1, 6, 14, 0.7);
        display: none;
        flex-direction: column;
        gap: 0.2rem;
        left: 0;
        padding: 0.8rem clamp(1rem, 5vw, 4.5rem) 1.2rem;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .marketing-nav__links.is-open {
        display: flex;
    }

    .marketing-nav__links a {
        font-size: 1.02rem;
        padding: 0.7rem 0.1rem;
        width: 100%;
    }

    .marketing-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketing-use-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketing-chip--tl {
        left: 0.5rem;
    }

    .marketing-chip--br {
        right: 0.5rem;
    }

    .tour__stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .tour__arrow {
        display: none;
    }

    .tour__tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-inline: -1rem;
        overflow-x: auto;
        padding: 0.25rem 1rem;
        scrollbar-width: none;
    }

    .tour__tabs::-webkit-scrollbar {
        display: none;
    }

    .tour__tab {
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .marketing-brand > span:not(.marketing-brand__mark) {
        display: none;
    }

    .marketing-nav .marketing-nav__cta {
        font-size: 0.88rem;
        min-height: 42px;
        padding: 0.5rem 1rem;
    }

    .marketing-card-grid,
    .marketing-card-grid--four {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketing-proof-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketing-use-card {
        flex-direction: column;
    }

    .marketing-chip {
        display: none;
    }

    .marketing-actions .marketing-button {
        flex: 1 1 auto;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .marketing-page *,
    .marketing-page *::before,
    .marketing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .an-reveal {
        opacity: 1;
        transform: none;
    }

    .marketing-screen {
        transform: none;
    }
}
