/* ================================================================
   RIVELO LANDING PAGE — CSS
   Design System: Maritime Premium
   Entity: CV Road Pty Ltd
   ================================================================ */

/* ----------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------------- */
:root {
    /* Brand Colours — RiveloPalette */
    --cyan-ice:        #C5EAF1;
    --aqua-mist:       #A7EAF2;
    --lavender-mist:   #C5BFEC;
    --violet-glow:     #8D55FF;
    --brand-cyan:      #19D3FF;
    --brand-teal:      #18D3C5;
    --brand-purple:    #6757FF;
    --brand-ocean-blue: #006A99;
    --brand-ocean-blue-dark: #075985;
    --brand-ocean-blue-muted: #3F6F8E;
    --story-magenta:   #FF4FB8;
    --story-peach:     #FFB86B;
    --coral:           #FF6B5F;

    /* Ink Scale */
    --ink-900: #07182B;
    --ink-800: #0A1B2D;
    --ink-700: #172A40;
    --ink-600: #37445B;
    --ink-500: #5A6880;
    --ink-400: #7B89A3;
    --surface:       #FFFFFF;
    --surface-soft:  #F8FCFF;
    --divider:       #E9EEF8;

    /* Gradients */
    --gradient-background: linear-gradient(
        180deg,
        var(--cyan-ice)      0%,
        #B7E7F4              44%,
        var(--lavender-mist) 78%,
        var(--violet-glow)   100%
    );
    --gradient-brand: linear-gradient(135deg, var(--brand-cyan), var(--brand-purple));
    --gradient-teal-cyan: linear-gradient(135deg, var(--brand-teal), var(--brand-cyan));
    --gradient-dark: linear-gradient(135deg, var(--ink-900), var(--ink-700));

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;    /* 8px */
    --space-sm:  0.75rem;   /* 12px */
    --space-md:  1rem;      /* 16px */
    --space-lg:  1.5rem;    /* 24px */
    --space-xl:  2rem;      /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */

    /* Border Radius */
    --radius-sm:   12px;
    --radius-md:   20px;
    --radius-lg:   24px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-card:   0 12px 24px rgba(15,23,42,0.08);
    --shadow-float:  0 14px 30px rgba(15,23,42,0.14);
    --shadow-glow:   0 12px 28px rgba(103,87,255,0.34);
    --shadow-cyan-glow: 0 8px 24px rgba(25,211,255,0.35);
    --shadow-modal:  0 -10px 36px rgba(15,23,42,0.18);

    /* Motion */
    --duration-fast:   150ms;
    --duration-normal: 250ms;
    --duration-slow:   400ms;
    --ease-out-cubic:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
}

/* ----------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink-700);
    background: var(--surface-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.hidden { display: none !important; }

/* ----------------------------------------------------------------
   2. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ----------------------------------------------------------------
   3. NAVIGATION
   ---------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 168, 240, 0.18);
    transition: background var(--duration-normal) var(--ease-in-out),
                box-shadow var(--duration-normal) var(--ease-in-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(0, 168, 240, 0.24);
    box-shadow: 0 4px 24px rgba(0, 106, 153, 0.14);
}

.nav.scrolled .nav__link,
.nav.scrolled .rivelo-brand--nav .rivelo-brand__wordmark {
    color: var(--brand-ocean-blue-dark);
}

.nav.scrolled .nav__hamburger span {
    background: var(--brand-ocean-blue-dark);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    gap: var(--space-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rivelo-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.rivelo-brand__mark {
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.rivelo-brand__wordmark {
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--ink-900);
    transition: color var(--duration-normal);
}

.rivelo-brand--nav .rivelo-brand__wordmark {
    color: var(--brand-ocean-blue-dark);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--brand-ocean-blue-dark);
    transition: color var(--duration-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out-cubic);
}

.nav__link:hover { color: var(--brand-ocean-blue); }
.nav__link:hover::after { width: 100%; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-ocean-blue-dark);
    border-radius: var(--radius-full);
    transition: transform var(--duration-normal) var(--ease-out-cubic),
                opacity var(--duration-normal);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: -0.15px;
    line-height: 1;
    transition: transform var(--duration-fast) var(--ease-out-cubic),
                box-shadow var(--duration-fast) var(--ease-out-cubic),
                background var(--duration-normal);
    white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--gradient-brand);
    color: var(--surface);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover { box-shadow: 0 16px 36px rgba(103,87,255,0.45); }

.btn--nav {
    background: var(--gradient-brand);
    color: var(--surface);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    box-shadow: var(--shadow-glow);
}

.btn--store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--ink-900);
    color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}

.btn--store:hover {
    background: var(--ink-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}

.btn__store-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.btn__store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn__store-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.75;
    line-height: 1;
    margin-bottom: 2px;
}

.btn__store-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

/* ----------------------------------------------------------------
   5. BADGES & EYEBROWS
   ---------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
}

.badge--glow {
    background: rgba(25, 211, 255, 0.15);
    color: var(--ink-700);
    border: 1px solid rgba(25, 211, 255, 0.4);
    box-shadow: 0 0 16px rgba(25,211,255,0.2);
}

.section-eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

/* ----------------------------------------------------------------
   6. SECTION HEADER
   ---------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
}

.section-sub {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink-500);
    max-width: 52ch;
    margin: 0 auto;
    line-height: 1.55;
}

/* ----------------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-background);
    z-index: 0;
}

/* Animated shimmer overlay */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(103,87,255,0.18) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 20% 70%, rgba(25,211,255,0.12) 0%, transparent 50%);
    animation: heroAmbient 10s ease-in-out infinite alternate;
}

@keyframes heroAmbient {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.06); }
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
}

.hero__inner--centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero__text--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__eyebrow { margin-bottom: var(--space-lg); }

.hero__headline {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.04;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
    max-width: 20ch;
}

.hero__headline--gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero__sub {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: var(--space-2xl);
    max-width: 58ch;
}

.hero__sub strong { color: var(--ink-900); }

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero__social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.hero__avatars {
    display: flex;
    align-items: center;
}

.hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--surface);
    margin-left: -10px;
    background: var(--gradient-brand);
    box-shadow: var(--shadow-card);
}

.hero__avatar:first-child { margin-left: 0; }
.hero__avatar--1 { background: linear-gradient(135deg, #19D3FF, #18D3C5); }
.hero__avatar--2 { background: linear-gradient(135deg, #6757FF, #FF4FB8); }
.hero__avatar--3 { background: linear-gradient(135deg, #FF4FB8, #FFB86B); }
.hero__avatar--4 { background: linear-gradient(135deg, #18D3C5, #6757FF); }

.hero__proof-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-600);
}

.hero__proof-text strong { color: var(--ink-900); }

/* SVG Itinerary Graphic */
.hero__graphic-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-top: var(--space-xl);
}

.itinerary-graphic {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.itinerary-graphic__svg {
    width: 100%;
    height: auto;
    display: block;
}

.route-line {
    stroke-width: 3.5px;
    stroke-dasharray: 8 6;
}

.route-line--1 {
    stroke: url(#gradient-cyan);
}

.route-line--2 {
    stroke: url(#gradient-purple);
}

.crossover-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(7, 24, 43, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(25, 211, 255, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-float);
    color: var(--surface);
    pointer-events: none;
    z-index: 10;
    text-align: left;
}

.crossover-badge__icon {
    font-size: 1.5rem;
    animation: badgePulseGlow 2.5s infinite alternate;
}

@keyframes badgePulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px var(--brand-cyan)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 10px var(--brand-cyan)); }
}

.crossover-badge__content {
    display: flex;
    flex-direction: column;
}

.crossover-badge__title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-cyan);
    margin-bottom: 2px;
}

.crossover-badge__ships {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
}

.crossover-badge__meta {
    font-size: 0.8125rem;
    color: var(--ink-400);
    display: flex;
    gap: var(--space-xs);
    margin-top: 2px;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero__scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-cyan);
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--brand-cyan);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(10px); opacity: 0.5; }
}

/* ----------------------------------------------------------------
   8. FEATURES SECTION
   ---------------------------------------------------------------- */
.features {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: linear-gradient(135deg, var(--surface), var(--surface-soft));
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--divider);
    box-shadow: var(--shadow-card);
    transition: transform var(--duration-normal) var(--ease-out-cubic),
                box-shadow var(--duration-normal) var(--ease-out-cubic),
                border-color var(--duration-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-float);
    border-color: rgba(103,87,255,0.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-card--featured {
    background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
    border-color: rgba(103,87,255,0.4);
}

.feature-card--featured .feature-card__title,
.feature-card--featured .feature-card__desc {
    color: var(--surface);
}

.feature-card--featured .feature-card__desc { opacity: 0.75; }

.feature-card--featured::before { opacity: 1; }

.feature-card__icon {
    font-size: 2.25rem;
    margin-bottom: var(--space-lg);
    display: inline-block;
}

.feature-card__title {
    font-size: 1.3125rem;
    font-weight: 900;
    letter-spacing: -0.45px;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.feature-card__desc {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-500);
    line-height: 1.55;
    margin-bottom: var(--space-lg);
}

.feature-card__desc em { font-style: italic; color: var(--brand-teal); }

.feature-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-card:not(.feature-card--featured) .feature-card__tag {
    background: rgba(25,211,255,0.1);
    color: var(--brand-cyan);
    border: 1px solid rgba(25,211,255,0.25);
}

.feature-card--featured .feature-card__tag {
    background: rgba(103,87,255,0.25);
    color: #A89CFF;
    border: 1px solid rgba(103,87,255,0.4);
}

/* ----------------------------------------------------------------
   9. HOW IT WORKS
   ---------------------------------------------------------------- */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
}

.how-it-works .container { position: relative; z-index: 1; }
.how-it-works .section-title { color: var(--ink-900); }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.step {
    position: relative;
    text-align: center;
}

.step__number {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-lg);
}

.step__content {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow-card);
    transition: transform var(--duration-normal) var(--ease-out-cubic),
                box-shadow var(--duration-normal);
}

.step__content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.step__title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
}

.step__desc {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-600);
    line-height: 1.55;
}

.step__connector {
    display: none; /* reserved for desktop connector lines via pseudo-elements */
}

/* ----------------------------------------------------------------
   10. SCREENSHOTS
   ---------------------------------------------------------------- */
.screenshots {
    padding: var(--space-4xl) 0;
    background: var(--ink-900);
    overflow: hidden;
}

.screenshots .section-eyebrow {
    color: var(--brand-cyan);
    -webkit-text-fill-color: unset;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.screenshots .section-title { color: var(--surface); }
.screenshots .section-sub   { color: var(--ink-400); }

.screenshots__track-wrapper {
    position: relative;
    padding: 0 var(--space-lg);
}

.screenshots__track {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--space-xl) var(--space-lg);
    cursor: grab;
}

.screenshots__track::-webkit-scrollbar { display: none; }
.screenshots__track.dragging { cursor: grabbing; }

.screenshot-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    text-align: center;
}

.screenshot-item__card {
    background: var(--ink-800);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(103,87,255,0.25);
    box-shadow: var(--shadow-glow);
    transition: transform var(--duration-normal) var(--ease-out-cubic),
                box-shadow var(--duration-normal);
    margin-bottom: var(--space-md);
}

.screenshot-item__card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 48px rgba(103,87,255,0.4);
}

.screenshot-item__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top;
}

.screenshot-item__label {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--ink-400);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.screenshots__controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.screenshots__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--surface);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.screenshots__btn:hover {
    background: rgba(103,87,255,0.3);
    transform: scale(1.1);
}

/* ----------------------------------------------------------------
   11. FAQ
   ---------------------------------------------------------------- */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq__item {
    border-radius: var(--radius-md);
    border: 1px solid var(--divider);
    overflow: hidden;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.faq__item:has(.faq__question[aria-expanded="true"]) {
    border-color: rgba(103,87,255,0.3);
    box-shadow: 0 4px 20px rgba(103,87,255,0.1);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink-900);
    background: var(--surface);
    transition: background var(--duration-fast), color var(--duration-fast);
}

.faq__question:hover { background: var(--surface-soft); }

.faq__question[aria-expanded="true"] {
    color: var(--brand-purple);
}

.faq__chevron {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink-400);
    transition: transform var(--duration-normal) var(--ease-out-cubic),
                color var(--duration-fast);
    flex-shrink: 0;
}

.faq__question[aria-expanded="true"] .faq__chevron {
    transform: rotate(90deg);
    color: var(--brand-purple);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out-cubic);
    background: var(--surface-soft);
    border-top: 0px solid var(--divider);
}

.faq__answer.open {
    max-height: 300px;
    border-top-width: 1px;
}

.faq__answer p {
    padding: var(--space-lg) var(--space-xl);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-500);
    line-height: 1.65;
}

.faq__answer a {
    color: var(--brand-cyan);
    font-weight: 700;
    text-decoration: underline;
}

/* ----------------------------------------------------------------
   12. FINAL CTA
   ---------------------------------------------------------------- */
.final-cta {
    padding: var(--space-4xl) 0;
    background: var(--surface-soft);
}

.final-cta__card {
    position: relative;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl) var(--space-3xl);
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(103,87,255,0.3);
    box-shadow: var(--shadow-glow);
}

.final-cta__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(103,87,255,0.35) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.final-cta__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--surface);
    margin-bottom: var(--space-md);
    position: relative;
}

.final-cta__sub {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink-400);
    line-height: 1.55;
    max-width: 50ch;
    margin: 0 auto var(--space-2xl);
    position: relative;
}

.final-cta__btns {
    justify-content: center;
    position: relative;
}

/* ----------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------- */
.footer {
    background: var(--surface);
    border-top: 1px solid rgba(0, 168, 240, 0.18);
    padding-top: var(--space-4xl);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    padding-bottom: var(--space-3xl);
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.rivelo-brand--footer .rivelo-brand__mark {
    width: 2.4rem;
    height: 2.4rem;
}

.rivelo-brand--footer .rivelo-brand__wordmark {
    color: var(--brand-ocean-blue-dark);
}

.footer__tagline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-ocean-blue-muted);
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__col-title {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-ocean-blue);
    margin-bottom: var(--space-xs);
}

.footer__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-ocean-blue-dark);
    transition: color var(--duration-fast);
    width: fit-content;
}

.footer__link:hover { color: var(--brand-ocean-blue); }

.footer__bottom {
    border-top: 1px solid rgba(0, 168, 240, 0.14);
    text-align: center;
    padding: var(--space-lg);
}

.footer__bottom p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-ocean-blue-muted);
}

/* ----------------------------------------------------------------
   14. LEGAL PAGES
   ---------------------------------------------------------------- */
.legal-page { padding-top: var(--nav-height); }

.legal-page__hero {
    background: var(--gradient-background);
    padding: var(--space-4xl) 0 var(--space-3xl);
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-600);
    margin-bottom: var(--space-xl);
    transition: color var(--duration-fast);
    gap: var(--space-xs);
}

.legal-page__back:hover { color: var(--brand-purple); }

.legal-page__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.legal-page__meta {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-500);
    line-height: 1.7;
}

.legal-page__body {
    background: var(--surface);
    padding: var(--space-4xl) 0;
}

.legal-page__container {
    max-width: 800px;
}

.legal-notice {
    background: rgba(103,87,255,0.07);
    border: 1px solid rgba(103,87,255,0.2);
    border-left: 4px solid var(--brand-purple);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-600);
    line-height: 1.6;
    margin-bottom: var(--space-3xl);
}

.legal-section {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--divider);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--divider);
}

.legal-section h3 {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--ink-700);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-section p {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-600);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul, .legal-section ol {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.legal-section li {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-600);
    line-height: 1.7;
}

.legal-section a {
    color: var(--brand-purple);
    font-weight: 700;
    text-decoration: underline;
    transition: color var(--duration-fast);
}

.legal-section a:hover { color: var(--brand-cyan); }

.legal-contact {
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid var(--divider);
}

.legal-contact p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.9;
}

/* ----------------------------------------------------------------
   15. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out-cubic),
                transform var(--duration-slow) var(--ease-out-cubic);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* ----------------------------------------------------------------
   16. RESPONSIVE — TABLET (768px)
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }

    .hero__sub { max-width: 100%; }

    .hero__ctas { justify-content: center; }

    .hero__social-proof { justify-content: center; }

    .hero__mockup { order: -1; }

    .hero__mockup-img { max-height: 480px; }

    .features__grid { grid-template-columns: 1fr; }

    .steps { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; }

    .footer__links { grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------------------------------------------
   17. RESPONSIVE — MOBILE (480px)
   ---------------------------------------------------------------- */
@media (max-width: 640px) {
    :root {
        --space-4xl: 4rem;
        --nav-height: 64px;
    }

    .container {
        padding-inline: var(--space-md);
    }

    .nav__inner {
        gap: var(--space-sm);
        padding-inline: var(--space-md);
    }

    .rivelo-brand--nav .rivelo-brand__mark {
        width: 2rem;
        height: 2rem;
    }

    .rivelo-brand--nav .rivelo-brand__wordmark {
        font-size: 1.2rem;
    }

    .nav__links { display: none; }
    .nav__links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid rgba(0, 168, 240, 0.18);
        box-shadow: 0 16px 30px rgba(0, 106, 153, 0.14);
        z-index: 99;
    }

    .nav__links.open .nav__link {
        color: var(--brand-ocean-blue-dark);
        font-size: 1.125rem;
    }

    .nav__hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .btn--nav { display: none; }

    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero__inner {
        gap: var(--space-lg);
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }

    .hero__text {
        width: 100%;
        min-width: 0;
    }

    .hero__eyebrow {
        margin-bottom: var(--space-md);
    }

    .hero__eyebrow .badge {
        max-width: 100%;
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    .hero__headline {
        width: 100%;
        max-width: 18ch;
        margin-bottom: 1.25rem;
        font-size: clamp(1.75rem, 8.5vw, 2rem);
        line-height: 1.08;
        letter-spacing: -1px;
        overflow-wrap: break-word;
    }

    .hero__sub {
        margin-bottom: var(--space-xl);
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
        margin-bottom: var(--space-lg);
    }

    .btn--store { width: 100%; max-width: 260px; }

    .hero__social-proof {
        gap: var(--space-sm);
        width: 100%;
    }

    .hero__proof-text {
        max-width: 19rem;
        line-height: 1.4;
    }

    .hero__graphic-wrapper {
        margin-top: var(--space-sm);
    }

    .itinerary-graphic {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .crossover-badge {
        width: calc(100% - 2rem);
        max-width: 19rem;
        min-width: 0;
        padding: 0.75rem 1rem;
        gap: var(--space-sm);
    }

    .crossover-badge__icon {
        flex: 0 0 auto;
        font-size: 1.25rem;
    }

    .crossover-badge__content {
        min-width: 0;
    }

    .crossover-badge__title {
        font-size: 0.6875rem;
    }

    .crossover-badge__ships {
        font-size: 0.8125rem;
        overflow-wrap: anywhere;
    }

    .crossover-badge__meta {
        flex-wrap: wrap;
        row-gap: 0.125rem;
        font-size: 0.6875rem;
    }

    .features__grid { grid-template-columns: 1fr; }

    .feature-card {
        padding: var(--space-xl);
    }

    .steps { grid-template-columns: 1fr; }

    .footer__brand,
    .footer__col {
        text-align: center;
    }

    .footer__inner {
        gap: 2.5rem;
        padding-inline: var(--space-md);
        padding-bottom: 2.5rem;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__tagline br {
        display: none;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__col {
        align-items: center;
    }

    .final-cta__card { padding: var(--space-2xl) var(--space-lg); }

    .final-cta__btns { flex-direction: column; align-items: center; }
}

@media (max-width: 420px) {
    .hero__social-proof {
        flex-direction: column;
    }

    .hero__proof-text {
        text-align: center;
    }
}
