/* ========================================
   KOVA — Digital System
   Archivo Black (titres) + JetBrains Mono (corps/data)
   ======================================== */

:root {
    --night: #022038;
    --snow: #FFFEFE;
    --glacier: #90C0CE;
    --cordee: #FFC00E;
    --slate: #988096;

    --bg: #0a1118;
    --surface: #0f1a24;
    --border: rgba(144, 192, 206, 0.15);

    --font-title: 'Archivo Black', sans-serif;
    --font-body: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: rgba(144, 192, 206, 0.25) #0a1118;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--snow);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Loader
   ======================================== */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Subtle radial glow behind logo */
.loader::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(144, 192, 206, 0.06) 0%, transparent 70%);
    animation: loaderGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes loaderGlowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 1; }
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.loader-logo {
    width: clamp(180px, 30vw, 320px);
    height: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    animation: loaderLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    filter: drop-shadow(0 0 40px rgba(144, 192, 206, 0.15));
}

@keyframes loaderLogoIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.85);
        filter: drop-shadow(0 0 0px rgba(144, 192, 206, 0));
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
        filter: drop-shadow(0 0 50px rgba(144, 192, 206, 0.2));
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 30px rgba(144, 192, 206, 0.1));
    }
}

/* Breathing glow on the logo while loading */
.loader-logo.breathing {
    animation: loaderLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards,
               loaderBreathing 2.5s ease-in-out 1.4s infinite;
}

@keyframes loaderBreathing {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(144, 192, 206, 0.1));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(144, 192, 206, 0.25));
    }
}

.loader-bar {
    width: clamp(160px, 20vw, 240px);
    height: 1px;
    background: rgba(144, 192, 206, 0.1);
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease 0.8s forwards;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--glacier), var(--cordee));
    transition: width 0.4s ease;
    box-shadow: 0 0 8px rgba(255, 192, 14, 0.3);
}

.loader-text {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 5px;
    color: rgba(144, 192, 206, 0.4);
    opacity: 0;
    animation: loaderFadeIn 0.5s ease 1s forwards;
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0.75rem;
    left: 1.5rem;
    right: 1.5rem;
    width: auto;
    z-index: 1000;
    overflow: hidden;
    border-radius: 16px;

    /* Glass Surface — SVG filter driven */
    --glass-frost: 0.06;
    --glass-saturation: 1.3;

    background: hsl(0 0% 0% / var(--glass-frost));
    backdrop-filter: var(--glass-filter, blur(16px)) saturate(var(--glass-saturation));
    -webkit-backdrop-filter: var(--glass-filter, blur(16px)) saturate(var(--glass-saturation));

    border: none;
    box-shadow:
        0 0 2px 1px color-mix(in oklch, white, transparent 65%) inset,
        0 0 10px 4px color-mix(in oklch, white, transparent 85%) inset,
        0px 4px 16px rgba(17, 17, 26, 0.05),
        0px 8px 24px rgba(17, 17, 26, 0.05),
        0px 16px 56px rgba(17, 17, 26, 0.05),
        0px 4px 16px rgba(17, 17, 26, 0.05) inset,
        0px 8px 24px rgba(17, 17, 26, 0.05) inset,
        0px 16px 56px rgba(17, 17, 26, 0.05) inset;

    transition: opacity 0.26s ease-out;
}

/* Glass Surface — SVG filter (hidden, referenced by backdrop-filter) */
.nav .glass-surface-filter {
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: -1;
}

/* Fallback for Safari / Firefox */
.nav.glass-fallback {
    background: rgba(10, 17, 24, 0.25);
    backdrop-filter: blur(16px) saturate(1.6) brightness(1.05);
    -webkit-backdrop-filter: blur(16px) saturate(1.6) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Nav Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo {
    height: 26px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* Burger Button (mobile only) */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: rgba(255, 254, 254, 0.06);
    border: 1px solid rgba(144, 192, 206, 0.1);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.nav-burger:hover {
    background: rgba(255, 254, 254, 0.1);
}

.burger-line {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--snow);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-burger.open .burger-line:nth-child(2) {
    opacity: 0;
}

.nav-burger.open .burger-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* Pill Nav Items Container */
.pill-nav-items {
    display: flex;
    align-items: center;
    height: 42px;
    background: rgba(255, 254, 254, 0.06);
    border: 1px solid rgba(144, 192, 206, 0.1);
    border-radius: 9999px;
}

/* --- Pill Separator --- */
.pill-separator {
    width: 1px;
    height: 20px;
    background: rgba(144, 192, 206, 0.15);
    margin: 0 4px;
    align-self: center;
    flex-shrink: 0;
}

/* --- Pill Icon (cart/user inside pill nav) --- */
.pill.pill-icon {
    padding: 0;
    width: 36px;
    height: 100%;
    border: none;
    position: relative;
    overflow: visible;
    background: transparent;
}

.pill.pill-icon:hover {
    background: rgba(255, 254, 254, 0.08);
}

.pill.pill-icon .cart-icon,
.pill.pill-icon .user-icon {
    width: 18px;
    height: 18px;
}

/* --- Cart Button --- */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 254, 254, 0.6);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.nav-cart:hover {
    background: rgba(255, 254, 254, 0.1);
    border-color: rgba(144, 192, 206, 0.25);
    color: var(--snow);
}

.cart-icon {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cordee);
    color: var(--night);
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

.cart-count.bump {
    animation: cartBump 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.pill-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 3px;
    margin: 0;
    padding: 3px;
    height: 100%;
}

.pill-list > li {
    display: flex;
    height: 100%;
}

/* Individual Pill */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 18px;
    background: rgba(2, 32, 56, 0.6);
    color: rgba(255, 254, 254, 0.6);
    text-decoration: none;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    line-height: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pill .hover-circle {
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 50%;
    background: var(--cordee);
    z-index: 1;
    display: block;
    pointer-events: none;
    will-change: transform;
}

/* Pill Pictograms */
.pill-picto {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-right: 6px;
    position: relative;
    z-index: 2;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.pill:hover .pill-picto {
    opacity: 0;
}

.pill .label-stack {
    position: relative;
    display: inline-block;
    line-height: 1;
    z-index: 2;
}

.pill .pill-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    line-height: 1;
    will-change: transform;
}

.pill .pill-label-hover {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--night);
    font-weight: 700;
    z-index: 3;
    display: inline-block;
    will-change: transform, opacity;
}

/* ========================================
   Hero — The Summit
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

/* Circular Text + Centered Logo */
.circular-text-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto 2.5rem auto;
    pointer-events: none;
}

.circular-text {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    will-change: transform;
}

.circular-text span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--snow);
    text-align: center;
    transition: color 0.4s ease;
}


.hero-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* Visually hidden (accessible) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--snow);
}


.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cordee);
    color: var(--night);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.cta-button:hover {
    background: var(--snow);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 192, 14, 0.2);
}


/* ========================================
   Shared Section Styles
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--snow);
}

.section-data {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--glacier);
}

/* ========================================
   Collection
   ======================================== */

.collection {
    padding: 8rem 0;
    background: transparent;
    position: relative;
}

.collection > .container {
    position: relative;
    z-index: 1;
}

.collection::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20vh;
    background: linear-gradient(to bottom, transparent 0%, var(--surface) 100%);
    pointer-events: none;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    will-change: transform;

    /* Lightweight glass — no backdrop-filter, no SVG filters */
    background: rgba(12, 22, 32, 0.75);
    border: 1px solid rgba(144, 192, 206, 0.1);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.03) inset,
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 192, 14, 0.35);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.03) inset,
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 192, 14, 0.06);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.product-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.product-card:hover .product-visual {
    transform: scale(1.05);
}

.product-badge {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    background: rgba(10, 17, 24, 0.85);
    border: 1px solid var(--border);
    color: var(--glacier);
    border-radius: 2px;
}

/* Quick Add — size selector on hover */
.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: rgba(2, 32, 56, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.product-card:hover .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.quick-add-label {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 254, 254, 0.6);
    white-space: nowrap;
}

.quick-add-sizes {
    display: flex;
    gap: 4px;
}

.quick-size {
    width: 34px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(144, 192, 206, 0.2);
    border-radius: 2px;
    background: rgba(144, 192, 206, 0.05);
    color: rgba(255, 254, 254, 0.7);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-size:hover {
    border-color: var(--cordee);
    background: rgba(255, 192, 14, 0.15);
    color: var(--cordee);
}

.quick-size:active {
    transform: scale(0.92);
}

/* Feedback flash after adding */
.quick-size.added {
    border-color: var(--cordee);
    background: var(--cordee);
    color: var(--night);
}

.product-info {
    padding: 1.2rem 1.2rem 1.4rem;
    border-top: 1px solid var(--border);
}

.product-name {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 0.4rem;

    /* Shiny Text effect — hover only, not infinite */
    background-image: linear-gradient(
        120deg,
        var(--snow) 0%,
        var(--snow) 35%,
        var(--cordee) 50%,
        var(--snow) 65%,
        var(--snow) 100%
    );
    background-size: 200% auto;
    background-position: 150% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.6s ease;
}

.product-card:hover .product-name {
    background-position: -50% center;
}

.product-specs {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--glacier);
    margin-bottom: 0.8rem;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cordee);
}

/* ========================================
   Tech Section
   ======================================== */

.tech-section {
    padding: 8rem 0;
    background:
        /* Subtle grid pattern — slate/purple */
        linear-gradient(rgba(152, 128, 150, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(152, 128, 150, 0.04) 1px, transparent 1px),
        /* Larger grid overlay */
        linear-gradient(rgba(152, 128, 150, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(152, 128, 150, 0.06) 1px, transparent 1px),
        /* Base */
        var(--surface);
    background-size:
        30px 30px,
        30px 30px,
        150px 150px,
        150px 150px,
        100%;
    position: relative;
    overflow: hidden;
}

/* Animated glow orbs — slate/purple tones */
.tech-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background:
        radial-gradient(ellipse 400px 250px at 30% 40%, rgba(152, 128, 150, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 300px 200px at 70% 60%, rgba(120, 100, 160, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 50% 50%, rgba(152, 128, 150, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: techGlow 12s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes techGlow {
    0% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-48%) scale(1.05); }
    100% { opacity: 0.8; transform: translateX(-52%) scale(0.98); }
}

/* Diagonal accent line */
.tech-bg-accent {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.tech-bg-accent::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(152, 128, 150, 0.1) 20%, rgba(152, 128, 150, 0.18) 50%, rgba(152, 128, 150, 0.1) 80%, transparent 100%);
    transform: rotate(-2deg);
}
.tech-bg-accent::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(120, 100, 160, 0.08) 30%, rgba(120, 100, 160, 0.12) 50%, rgba(120, 100, 160, 0.08) 70%, transparent 100%);
    transform: rotate(1.5deg);
}

/* Floating secondary orb */
.tech-bg-orb {
    position: absolute;
    bottom: 20%;
    right: 5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 100, 160, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 16s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 15px) scale(1.08); }
    66% { transform: translate(10px, -10px) scale(0.95); }
    100% { transform: translate(-15px, 5px) scale(1.03); }
}

.tech-section::after {
    display: none;
}

.tech-section > .container {
    position: relative;
    z-index: 1;
}

/* --- Stats --- */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(10, 17, 24, 0.4);
    margin-top: 4rem;
    overflow: hidden;
}

.stat-block {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    transition: background 0.5s ease;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

/* Initial dormant state */
.stat-value {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 254, 254, 0.15);
    line-height: 1;
    margin-bottom: 0.7rem;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.stat-unit {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    color: var(--glacier);
    opacity: 0.2;
    transition: opacity 0.6s ease;
}

/* Illuminated state — sequential left to right */
.stat-block.lit {
    background: rgba(255, 192, 14, 0.04);
}

.stat-block.lit .stat-value {
    color: var(--cordee);
    text-shadow: 0 0 20px rgba(255, 192, 14, 0.3);
}

.stat-block.lit .stat-unit {
    opacity: 0.8;
}

/* After lit, settle to readable white */
.stat-block.settled .stat-value {
    color: var(--snow);
    text-shadow: none;
}

.stat-block.settled {
    background: transparent;
}

.stat-block.settled .stat-unit {
    opacity: 0.7;
}

/* Hover override (only after visible) */
.stat-block.settled:hover {
    background: rgba(144, 192, 206, 0.04);
}

.stat-block.settled:hover .stat-value {
    color: var(--cordee);
}



/* ========================================
   Field Testing
   ======================================== */

.field-testing {
    margin-top: 4rem;
}

.field-header {
    margin-bottom: 2rem;
}

.field-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.field-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 1.5rem;
    background: rgba(10, 17, 24, 0.6);
    text-align: center;
    transition: background 0.5s ease;
}

/* Initial dormant state */
.field-icon {
    font-size: 1.4rem;
    color: var(--glacier);
    opacity: 0.1;
    line-height: 1;
    transition: opacity 0.6s ease, color 0.6s ease;
}

.field-value {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: rgba(255, 254, 254, 0.12);
    line-height: 1;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.field-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--glacier);
    opacity: 0.15;
    transition: opacity 0.6s ease;
}

.field-detail {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(255, 254, 254, 0.6);
    line-height: 1.5;
    max-width: 180px;
    opacity: 0.1;
    transition: opacity 0.6s ease;
}

/* Lit state — glacier blue glow */
.field-card.lit {
    background: rgba(144, 192, 206, 0.08);
}

.field-card.lit .field-icon {
    opacity: 1;
    color: var(--glacier);
}

.field-card.lit .field-value {
    color: var(--glacier);
    text-shadow: 0 0 20px rgba(144, 192, 206, 0.4);
}

.field-card.lit .field-label {
    opacity: 0.9;
}

.field-card.lit .field-detail {
    opacity: 0.7;
}

/* Settled state — readable */
.field-card.settled {
    background: rgba(10, 17, 24, 0.6);
}

.field-card.settled .field-icon {
    opacity: 0.4;
    color: var(--glacier);
}

.field-card.settled .field-value {
    color: var(--snow);
    text-shadow: none;
}

.field-card.settled .field-label {
    opacity: 0.7;
}

.field-card.settled .field-detail {
    opacity: 1;
    color: rgba(255, 254, 254, 0.6);
}

/* Hover (only after settled) */
.field-card.settled:hover {
    background: rgba(144, 192, 206, 0.06);
}

.field-card.settled:hover .field-value {
    color: var(--cordee);
}

/* ========================================
   Wind Effect — field-card-wind only
   ======================================== */

.field-card-wind {
    position: relative;
    overflow: hidden;
}

.wind-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.field-card-wind.settled .wind-layer {
    opacity: 1;
}

/* Wind content above the effect */
.field-card-wind .field-icon,
.field-card-wind .field-value,
.field-card-wind .field-label,
.field-card-wind .field-detail {
    position: relative;
    z-index: 1;
}

/* Horizontal wind streaks */
.wind-streak {
    position: absolute;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, rgba(144, 192, 206, 0.18) 20%, rgba(144, 192, 206, 0.06) 80%, transparent);
    animation: windStreakMove linear infinite;
    will-change: transform;
}

.wind-streak:nth-child(1) { top: 12%; width: 80px; animation-duration: 1.8s; animation-delay: 0s; }
.wind-streak:nth-child(2) { top: 28%; width: 120px; animation-duration: 1.4s; animation-delay: 0.3s; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(144, 192, 206, 0.22) 20%, rgba(144, 192, 206, 0.08) 80%, transparent); }
.wind-streak:nth-child(3) { top: 42%; width: 60px; animation-duration: 2.1s; animation-delay: 0.7s; }
.wind-streak:nth-child(4) { top: 55%; width: 100px; animation-duration: 1.6s; animation-delay: 0.1s; }
.wind-streak:nth-child(5) { top: 68%; width: 140px; animation-duration: 1.2s; animation-delay: 0.5s; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(144, 192, 206, 0.2) 20%, rgba(144, 192, 206, 0.07) 80%, transparent); }
.wind-streak:nth-child(6) { top: 78%; width: 70px; animation-duration: 2.0s; animation-delay: 0.9s; }
.wind-streak:nth-child(7) { top: 88%; width: 90px; animation-duration: 1.5s; animation-delay: 0.2s; }
.wind-streak:nth-child(8) { top: 35%; width: 50px; animation-duration: 2.3s; animation-delay: 1.1s; }

@keyframes windStreakMove {
    0% { left: -30%; opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* Micro-particles (dust/snow) */
.wind-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(144, 192, 206, 0.25);
    animation: windParticleMove linear infinite;
    will-change: transform;
}

.wind-particle:nth-child(9)  { top: 15%; width: 3px; height: 3px; animation-duration: 2.2s; animation-delay: 0s; background: rgba(144, 192, 206, 0.3); }
.wind-particle:nth-child(10) { top: 30%; animation-duration: 1.6s; animation-delay: 0.4s; }
.wind-particle:nth-child(11) { top: 45%; width: 1.5px; height: 1.5px; animation-duration: 1.9s; animation-delay: 0.8s; }
.wind-particle:nth-child(12) { top: 60%; animation-duration: 1.3s; animation-delay: 0.2s; }
.wind-particle:nth-child(13) { top: 72%; width: 3px; height: 3px; animation-duration: 2.0s; animation-delay: 1.0s; background: rgba(144, 192, 206, 0.35); }
.wind-particle:nth-child(14) { top: 22%; animation-duration: 1.7s; animation-delay: 0.6s; }
.wind-particle:nth-child(15) { top: 52%; width: 1.5px; height: 1.5px; animation-duration: 2.4s; animation-delay: 1.3s; }
.wind-particle:nth-child(16) { top: 82%; animation-duration: 1.4s; animation-delay: 0.3s; }
.wind-particle:nth-child(17) { top: 38%; width: 2.5px; height: 2.5px; animation-duration: 1.8s; animation-delay: 0.9s; background: rgba(255, 254, 254, 0.12); }
.wind-particle:nth-child(18) { top: 90%; animation-duration: 2.1s; animation-delay: 0.5s; }

@keyframes windParticleMove {
    0% {
        left: -5%;
        opacity: 0;
        transform: translateY(0);
    }
    10% { opacity: 1; }
    50% { transform: translateY(-4px); }
    80% { opacity: 0.6; }
    100% {
        left: 105%;
        opacity: 0;
        transform: translateY(2px);
    }
}

/* ========================================
   Rain Effect — field-card-rain only
   ======================================== */

.field-card-rain {
    position: relative;
    overflow: hidden;
}

.rain-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.field-card-rain.settled .rain-layer {
    opacity: 1;
}

.field-card-rain .field-icon,
.field-card-rain .field-value,
.field-card-rain .field-label,
.field-card-rain .field-detail {
    position: relative;
    z-index: 1;
}

/* Rain drops — vertical streaks falling with slight angle */
.rain-drop {
    position: absolute;
    top: -15%;
    width: 1px;
    border-radius: 0 0 1px 1px;
    background: linear-gradient(180deg, transparent, rgba(144, 192, 206, 0.35) 40%, rgba(144, 192, 206, 0.12));
    animation: rainFall linear infinite;
    will-change: transform;
}

.rain-drop:nth-child(1)  { left: 8%;  height: 22px; animation-duration: 0.7s; animation-delay: 0s; }
.rain-drop:nth-child(2)  { left: 18%; height: 28px; animation-duration: 0.6s; animation-delay: 0.15s; width: 1.5px; background: linear-gradient(180deg, transparent, rgba(144, 192, 206, 0.4) 40%, rgba(144, 192, 206, 0.15)); }
.rain-drop:nth-child(3)  { left: 30%; height: 18px; animation-duration: 0.8s; animation-delay: 0.35s; }
.rain-drop:nth-child(4)  { left: 42%; height: 25px; animation-duration: 0.65s; animation-delay: 0.1s; }
.rain-drop:nth-child(5)  { left: 55%; height: 30px; animation-duration: 0.55s; animation-delay: 0.25s; width: 1.5px; background: linear-gradient(180deg, transparent, rgba(144, 192, 206, 0.45) 40%, rgba(144, 192, 206, 0.15)); }
.rain-drop:nth-child(6)  { left: 65%; height: 20px; animation-duration: 0.75s; animation-delay: 0.4s; }
.rain-drop:nth-child(7)  { left: 78%; height: 26px; animation-duration: 0.6s; animation-delay: 0.05s; }
.rain-drop:nth-child(8)  { left: 88%; height: 16px; animation-duration: 0.85s; animation-delay: 0.3s; }
.rain-drop:nth-child(9)  { left: 13%; height: 24px; animation-duration: 0.68s; animation-delay: 0.5s; }
.rain-drop:nth-child(10) { left: 37%; height: 20px; animation-duration: 0.72s; animation-delay: 0.18s; }
.rain-drop:nth-child(11) { left: 50%; height: 28px; animation-duration: 0.58s; animation-delay: 0.42s; width: 1.5px; }
.rain-drop:nth-child(12) { left: 72%; height: 22px; animation-duration: 0.78s; animation-delay: 0.08s; }
.rain-drop:nth-child(13) { left: 22%; height: 18px; animation-duration: 0.82s; animation-delay: 0.55s; }
.rain-drop:nth-child(14) { left: 60%; height: 26px; animation-duration: 0.62s; animation-delay: 0.22s; }
.rain-drop:nth-child(15) { left: 83%; height: 24px; animation-duration: 0.7s; animation-delay: 0.38s; }
.rain-drop:nth-child(16) { left: 45%; height: 15px; animation-duration: 0.88s; animation-delay: 0.48s; }
.rain-drop:nth-child(17) { left: 5%;  height: 20px; animation-duration: 0.74s; animation-delay: 0.28s; }
.rain-drop:nth-child(18) { left: 93%; height: 22px; animation-duration: 0.66s; animation-delay: 0.12s; }

@keyframes rainFall {
    0% {
        top: -15%;
        opacity: 0;
        transform: translateX(0);
    }
    8% { opacity: 1; }
    85% { opacity: 0.7; }
    100% {
        top: 105%;
        opacity: 0;
        transform: translateX(4px);
    }
}

/* Splash impacts at the bottom */
.rain-splash {
    position: absolute;
    bottom: 8%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(144, 192, 206, 0.3);
    animation: rainSplash ease-out infinite;
    will-change: transform, opacity;
}

.rain-splash:nth-child(19) { left: 15%; animation-duration: 1.2s; animation-delay: 0.3s; }
.rain-splash:nth-child(20) { left: 35%; animation-duration: 1.0s; animation-delay: 0.6s; }
.rain-splash:nth-child(21) { left: 55%; animation-duration: 1.3s; animation-delay: 0.1s; }
.rain-splash:nth-child(22) { left: 75%; animation-duration: 1.1s; animation-delay: 0.45s; }
.rain-splash:nth-child(23) { left: 45%; animation-duration: 1.4s; animation-delay: 0.8s; }
.rain-splash:nth-child(24) { left: 85%; animation-duration: 1.15s; animation-delay: 0.2s; }

@keyframes rainSplash {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    50% {
        transform: scale(2.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   Altitude Effect — field-card-altitude only
   Clouds/mist drifting + frost crystals
   ======================================== */

.field-card-altitude {
    position: relative;
    overflow: hidden;
}

.altitude-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.field-card-altitude.settled .altitude-layer {
    opacity: 1;
}

.field-card-altitude .field-icon,
.field-card-altitude .field-value,
.field-card-altitude .field-label,
.field-card-altitude .field-detail {
    position: relative;
    z-index: 1;
}

/* Cloud wisps — elongated blurred shapes drifting horizontally */
.cloud-wisp {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(144, 192, 206, 0.12) 0%, rgba(144, 192, 206, 0.04) 50%, transparent 70%);
    filter: blur(6px);
    animation: cloudDrift linear infinite;
    will-change: transform, opacity;
}

.cloud-wisp:nth-child(1) { top: 10%; height: 30px; width: 120px; animation-duration: 8s;  animation-delay: 0s;   filter: blur(8px); background: radial-gradient(ellipse at center, rgba(144, 192, 206, 0.15) 0%, rgba(144, 192, 206, 0.05) 50%, transparent 70%); }
.cloud-wisp:nth-child(2) { top: 30%; height: 20px; width: 80px;  animation-duration: 6s;  animation-delay: 2s;   filter: blur(5px); }
.cloud-wisp:nth-child(3) { top: 50%; height: 35px; width: 140px; animation-duration: 10s; animation-delay: 1s;   filter: blur(10px); background: radial-gradient(ellipse at center, rgba(144, 192, 206, 0.18) 0%, rgba(144, 192, 206, 0.06) 50%, transparent 70%); }
.cloud-wisp:nth-child(4) { top: 70%; height: 22px; width: 90px;  animation-duration: 7s;  animation-delay: 3.5s; filter: blur(6px); }
.cloud-wisp:nth-child(5) { top: 85%; height: 28px; width: 110px; animation-duration: 9s;  animation-delay: 0.5s; filter: blur(7px); background: radial-gradient(ellipse at center, rgba(255, 254, 254, 0.08) 0%, rgba(255, 254, 254, 0.02) 50%, transparent 70%); }
.cloud-wisp:nth-child(6) { top: 42%; height: 18px; width: 70px;  animation-duration: 5.5s; animation-delay: 4s;  filter: blur(4px); }

@keyframes cloudDrift {
    0% {
        left: -35%;
        opacity: 0;
        transform: scaleX(0.8);
    }
    10% { opacity: 1; transform: scaleX(1); }
    50% { transform: scaleX(1.15) translateY(-3px); }
    85% { opacity: 0.7; }
    100% {
        left: 110%;
        opacity: 0;
        transform: scaleX(0.9) translateY(2px);
    }
}

/* Frost crystals — tiny sparkling dots that float gently */
.frost-crystal {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 254, 254, 0.5);
    box-shadow: 0 0 3px rgba(144, 192, 206, 0.4);
    animation: frostFloat ease-in-out infinite;
    will-change: transform, opacity;
}

.frost-crystal:nth-child(7)  { top: 15%; left: 20%; animation-duration: 3.5s; animation-delay: 0s;   width: 2.5px; height: 2.5px; }
.frost-crystal:nth-child(8)  { top: 35%; left: 65%; animation-duration: 4.2s; animation-delay: 0.8s; }
.frost-crystal:nth-child(9)  { top: 55%; left: 40%; animation-duration: 3.8s; animation-delay: 1.5s; width: 1.5px; height: 1.5px; }
.frost-crystal:nth-child(10) { top: 25%; left: 80%; animation-duration: 4.5s; animation-delay: 0.3s; width: 3px; height: 3px; box-shadow: 0 0 4px rgba(144, 192, 206, 0.5); }
.frost-crystal:nth-child(11) { top: 72%; left: 30%; animation-duration: 3.2s; animation-delay: 2s; }
.frost-crystal:nth-child(12) { top: 48%; left: 85%; animation-duration: 4.8s; animation-delay: 1.2s; width: 1.5px; height: 1.5px; }
.frost-crystal:nth-child(13) { top: 88%; left: 55%; animation-duration: 3.6s; animation-delay: 0.6s; width: 2.5px; height: 2.5px; box-shadow: 0 0 4px rgba(144, 192, 206, 0.45); }
.frost-crystal:nth-child(14) { top: 62%; left: 12%; animation-duration: 4.0s; animation-delay: 1.8s; }

@keyframes frostFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(2px, -3px) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-1px, -6px) scale(1.2);
    }
    80% {
        opacity: 0.9;
        transform: translate(3px, -2px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
}


/* ========================================
   Wash Effect — field-card-wash only
   Rotating drum vortex + water arcs + centrifugal splashes
   ======================================== */

.field-card-wash {
    position: relative;
    overflow: hidden;
}

.wash-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.field-card-wash.settled .wash-layer {
    opacity: 1;
}

.field-card-wash .field-icon,
.field-card-wash .field-value,
.field-card-wash .field-label,
.field-card-wash .field-detail {
    position: relative;
    z-index: 1;
}

/* Spinning drum rings — concentric rotating borders */
.wash-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: drumSpin linear infinite;
    will-change: transform;
}

.wash-ring:nth-child(1) {
    width: 140px; height: 140px;
    margin-top: -70px; margin-left: -70px;
    border-color: rgba(144, 192, 206, 0.08) transparent rgba(144, 192, 206, 0.08) transparent;
    animation-duration: 4s;
}
.wash-ring:nth-child(2) {
    width: 100px; height: 100px;
    margin-top: -50px; margin-left: -50px;
    border-color: transparent rgba(144, 192, 206, 0.12) transparent rgba(144, 192, 206, 0.12);
    animation-duration: 3s;
    animation-direction: reverse;
}
.wash-ring:nth-child(3) {
    width: 60px; height: 60px;
    margin-top: -30px; margin-left: -30px;
    border-color: rgba(144, 192, 206, 0.1) transparent rgba(144, 192, 206, 0.1) transparent;
    animation-duration: 2.2s;
}

@keyframes drumSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Water arcs — curved streaks that follow the drum rotation */
.wash-arc {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    animation: arcSwirl linear infinite;
    will-change: transform;
}

.wash-arc::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(144, 192, 206, 0.3), transparent);
    top: -1.5px;
}

.wash-arc:nth-child(4) { animation-duration: 3.2s; animation-delay: 0s; }
.wash-arc:nth-child(4)::after { width: 32px; transform: translateX(45px); background: linear-gradient(90deg, rgba(144, 192, 206, 0.35), transparent); }

.wash-arc:nth-child(5) { animation-duration: 3.2s; animation-delay: 0.8s; }
.wash-arc:nth-child(5)::after { width: 25px; transform: translateX(48px); }

.wash-arc:nth-child(6) { animation-duration: 3.2s; animation-delay: 1.6s; }
.wash-arc:nth-child(6)::after { width: 30px; transform: translateX(40px); background: linear-gradient(90deg, rgba(144, 192, 206, 0.25), transparent); }

.wash-arc:nth-child(7) { animation-duration: 3.2s; animation-delay: 2.4s; }
.wash-arc:nth-child(7)::after { width: 22px; transform: translateX(52px); }

.wash-arc:nth-child(8) { animation-duration: 2.5s; animation-delay: 0.3s; }
.wash-arc:nth-child(8)::after { width: 18px; transform: translateX(30px); background: linear-gradient(90deg, rgba(144, 192, 206, 0.2), transparent); }

.wash-arc:nth-child(9) { animation-duration: 2.5s; animation-delay: 1.55s; }
.wash-arc:nth-child(9)::after { width: 20px; transform: translateX(28px); }

@keyframes arcSwirl {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    70% { opacity: 0.6; }
    100% {
        transform: rotate(360deg);
        opacity: 0;
    }
}

/* Centrifugal splashes — tiny drops flung outward from the spin */
.wash-splash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(144, 192, 206, 0.35);
    animation: centrifugalFling ease-out infinite;
    will-change: transform, opacity;
}

.wash-splash:nth-child(10) { animation-duration: 2.0s; animation-delay: 0s;   --fling-angle: 30deg;  --fling-dist: 55px; }
.wash-splash:nth-child(11) { animation-duration: 2.0s; animation-delay: 0.5s; --fling-angle: 110deg; --fling-dist: 60px; width: 2.5px; height: 2.5px; }
.wash-splash:nth-child(12) { animation-duration: 2.0s; animation-delay: 1.0s; --fling-angle: 200deg; --fling-dist: 50px; }
.wash-splash:nth-child(13) { animation-duration: 2.0s; animation-delay: 1.5s; --fling-angle: 290deg; --fling-dist: 58px; width: 1.5px; height: 1.5px; background: rgba(255, 254, 254, 0.2); }
.wash-splash:nth-child(14) { animation-duration: 1.8s; animation-delay: 0.3s; --fling-angle: 65deg;  --fling-dist: 52px; }
.wash-splash:nth-child(15) { animation-duration: 1.8s; animation-delay: 0.9s; --fling-angle: 155deg; --fling-dist: 62px; width: 2.5px; height: 2.5px; }
.wash-splash:nth-child(16) { animation-duration: 1.8s; animation-delay: 1.35s; --fling-angle: 240deg; --fling-dist: 48px; }

@keyframes centrifugalFling {
    0% {
        transform: rotate(var(--fling-angle)) translateX(10px);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    60% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(var(--fling-angle)) translateX(var(--fling-dist));
        opacity: 0;
    }
}

/* ========================================
   Competitor Comparison
   ======================================== */

.tech-compare {
    margin-top: 4rem;
}

.compare-header {
    margin-bottom: 2rem;
}

.compare-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
}

.compare-table {
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(10, 17, 24, 0.4);
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row-header {
    background: rgba(10, 17, 24, 0.6);
}

.compare-cell {
    padding: 1.2rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 254, 254, 0.7);
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.3s ease;
}

.compare-cell:last-child {
    border-right: none;
}

.compare-criterion {
    text-align: left;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 254, 254, 0.65);
}

.compare-brand {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 254, 254, 0.7);
}

.compare-cell.highlight {
    color: var(--cordee);
    font-weight: 700;
    background: rgba(255, 192, 14, 0.04);
}

.compare-row:not(.compare-row-header):hover .compare-cell {
    background: rgba(144, 192, 206, 0.03);
}

.compare-row:not(.compare-row-header):hover .compare-cell.highlight {
    background: rgba(255, 192, 14, 0.08);
}

/* ========================================
   Engineering Timeline
   ======================================== */

.tech-timeline {
    margin-bottom: 4rem;
}

.timeline-header {
    margin-bottom: 2.5rem;
}

.timeline-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Background line (gray track) */
.timeline-line {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: rgba(144, 192, 206, 0.12);
    z-index: 0;
}

/* Animated fill line (cordee, grows left→right) */
.timeline-line-fill {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 2px;
    width: 0%;
    background: var(--cordee);
    z-index: 0;
    box-shadow: 0 0 8px rgba(255, 192, 14, 0.3);
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Dot — initially dormant */
.timeline-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(144, 192, 206, 0.2);
    background: var(--surface);
    margin-bottom: 1.5rem;
    position: relative;
    transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

/* Dot active state */
.timeline-step.active .timeline-dot {
    border-color: var(--cordee);
    background: var(--cordee);
    box-shadow: 0 0 14px rgba(255, 192, 14, 0.5);
}

/* Content — hidden until active */
.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-right: 1.5rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-step.active .timeline-content {
    opacity: 1;
    transform: translateY(0);
}

.timeline-num {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--cordee);
    letter-spacing: 2px;
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--snow);
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255, 254, 254, 0.6);
}

/* ========================================
   About
   ======================================== */

.about {
    padding: 8rem 0;
    background:
        /* Diagonal ridge gradient — subtle light shift */
        linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 35%,
            transparent 65%,
            rgba(2, 32, 56, 0.06) 100%
        ),
        var(--glacier);
    position: relative;
    overflow: hidden;
}

/* Refined precision dot grid */
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 1px at center, rgba(2, 32, 56, 0.06) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
    /* Radial mask — fades edges for natural vignette */
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 100%);
}

/* Grain overlay — multiply for light section */
.about::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about .section-title {
    color: var(--night);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(2, 32, 56, 0.75);
    margin-bottom: 1.5rem;
}

.about-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--night);
    margin-top: 2rem;
    letter-spacing: 1px;
}

.tagline-marker {
    color: rgba(2, 32, 56, 0.45);
    margin-right: 0.5rem;
}

.about-visual {
    border: 1px solid rgba(2, 32, 56, 0.12);
    background: rgba(2, 32, 56, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.visual-data {
    padding: 0;
}

.data-line {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(2, 32, 56, 0.1);
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.data-line:last-child {
    border-bottom: none;
}

.data-line:hover {
    background: rgba(2, 32, 56, 0.04);
    cursor: default;
}

.data-key {
    color: rgba(2, 32, 56, 0.6);
    letter-spacing: 1.5px;
    font-weight: 500;
    font-size: 0.7rem;
}

.data-val {
    color: var(--night);
    font-weight: 600;
    text-align: right;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 4rem 0 2rem;
    background:
        /* Altitude fade — slightly lighter top, darker bottom */
        linear-gradient(
            to bottom,
            #7fb5c4 0%,
            #6a9eae 100%
        );
    position: relative;
    overflow: hidden;
}

/* Top shadow + grain texture */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Cliff overhang shadow from about section */
        linear-gradient(
            to bottom,
            rgba(2, 32, 56, 0.08) 0%,
            transparent 30%
        ),
        /* Fine noise grain — bookends with hero grainient */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 100% 100%, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(2, 32, 56, 0.12);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    height: 22px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) saturate(100%) invert(8%) sepia(30%) saturate(3000%) hue-rotate(185deg);
    transition: opacity 0.3s ease;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: rgba(2, 32, 56, 0.65);
}

.footer-email {
    font-size: 0.8rem;
    color: rgba(2, 32, 56, 0.7);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--night);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(2, 32, 56, 0.55);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--night);
}

.footer-payment {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

.footer-payment-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.75rem;
}

.footer-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: color 0.3s, border-color 0.3s;
}

.payment-icon:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.payment-icon svg {
    display: block;
}

.footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(2, 32, 56, 0.45);
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

/* ========================================
   Topo Canvas (WebGL Background)
   ======================================== */

.hero-collection-wrap {
    position: relative;
    overflow: hidden;
}

#topo-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* ========================================
   Altitude Indicator
   ======================================== */

.altitude-bar {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.altitude-track {
    width: 2px;
    height: 120px;
    background: rgba(144, 192, 206, 0.15);
    position: relative;
    border-radius: 1px;
}

.altitude-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: var(--cordee);
    border-radius: 1px;
    transition: height 0.08s linear;
    box-shadow: 0 0 8px rgba(255, 192, 14, 0.4);
}

.altitude-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.altitude-value {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cordee);
    letter-spacing: 1px;
}

.altitude-label {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: rgba(255, 254, 254, 0.6);
    letter-spacing: 2px;
}

/* ========================================
   Scanline Reveal Effect
   ======================================== */

.scan-reveal {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scan-reveal.revealed {
    clip-path: inset(0 0% 0 0);
}

.scan-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--cordee);
    box-shadow: 0 0 12px var(--cordee), 0 0 25px rgba(255, 192, 14, 0.4);
    opacity: 0;
    transition: none;
    will-change: transform, opacity;
}

.scan-reveal.scanning::after {
    opacity: 1;
    animation: scanLine 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes scanLine {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw));
    }
}

/* ========================================
   Layers Scroll Reveal (Arrows)
   ======================================== */

.layers-reveal {
    margin-bottom: 4rem;
}

.layers-intro {
    margin-bottom: 3.5rem;
    max-width: 640px;
}

.layers-intro-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
    display: block;
    margin-bottom: 1rem;
}

.layers-intro-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 254, 254, 0.65);
}

.layers-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Each layer row */
.layer-row {
    display: flex;
    align-items: center;
    gap: 0;
    opacity: 0.15;
    transform: translateX(-20px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.layer-row.active {
    opacity: 1;
    transform: translateX(0);
}

/* Arrow */
.layer-arrow {
    flex-shrink: 0;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.layer-row.active .layer-arrow {
    opacity: 1;
    transform: translateX(0);
}

.arrow-svg {
    width: 50px;
    height: 20px;
}

/* Layer card */
.layer-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(144, 192, 206, 0.08);
    background: transparent;
    border-radius: 4px;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.layer-row.active .layer-card {
    background: rgba(144, 192, 206, 0.03);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.layer-row.active .layer-card:hover {
    background: rgba(144, 192, 206, 0.06);
    border-color: rgba(144, 192, 206, 0.25);
}

.layer-visual {
    width: 260px;
    height: 70px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 3px;
    position: relative;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.layer-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 3px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.layer-row.active .layer-visual {
    border-color: var(--glacier);
    box-shadow: 0 0 20px rgba(144, 192, 206, 0.1);
}

.layer-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.layer-num {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--cordee);
    letter-spacing: 2px;
}

.layer-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--snow);
}

.layer-spec {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--glacier);
}

.layer-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255, 254, 254, 0.6);
    margin-top: 0.4rem;
    max-width: 380px;
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews {
    padding: 8rem 0;
    background:
        /* Topo contour lines — inline SVG, two peak clusters */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cellipse cx='180' cy='200' rx='60' ry='45' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.07'/%3E%3Cellipse cx='185' cy='195' rx='95' ry='72' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.06'/%3E%3Cellipse cx='190' cy='190' rx='130' ry='100' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.05'/%3E%3Cellipse cx='195' cy='185' rx='170' ry='130' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.04'/%3E%3Cellipse cx='320' cy='350' rx='50' ry='35' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.06'/%3E%3Cellipse cx='325' cy='345' rx='85' ry='60' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.05'/%3E%3Cellipse cx='330' cy='340' rx='120' ry='90' fill='none' stroke='%2390C0CE' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E"),
        var(--surface);
    background-size: 400px 400px, 100%;
    position: relative;
    overflow: hidden;
}

/* Gradient mesh atmosphere — asymmetric depth orbs */
.reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 60% 50% at 15% 20%,
            rgba(144, 192, 206, 0.06) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 40% 35% at 80% 75%,
            rgba(255, 192, 14, 0.025) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 80% 60% at 50% 30%,
            rgba(144, 192, 206, 0.03) 0%,
            transparent 70%
        );
    pointer-events: none;
    z-index: 0;
}

/* Header spotlight glow */
.reviews::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 400px;
    background: radial-gradient(
        ellipse 400px 200px at 50% 0%,
        rgba(144, 192, 206, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.reviews > .container {
    position: relative;
    z-index: 1;
}

.reviews-header {
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.reviews-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.reviews .section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--snow);
}

.reviews-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(10, 17, 24, 0.4);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    scroll-snap-align: start;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
    border-color: rgba(144, 192, 206, 0.35);
    box-shadow: 0 0 20px rgba(144, 192, 206, 0.08);
}

.review-stars {
    font-size: 1rem;
    color: var(--cordee);
    letter-spacing: 3px;
    line-height: 1;
}

.review-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 254, 254, 0.7);
    flex: 1;
}

.review-author {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--snow);
    letter-spacing: 0.5px;
}

.review-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 192, 14, 0.08);
    border: 1px solid rgba(255, 192, 14, 0.2);
    border-radius: 2px;
    color: var(--cordee);
}

/* ========================================
   Newsletter Section
   ======================================== */

.newsletter {
    padding: 8rem 0;
    background: var(--bg);
    position: relative;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

/* Soft gradient transition from reviews */
.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Cordee beacon glow — warm focal point behind CTA */
        radial-gradient(
            ellipse 50% 60% at 50% 45%,
            rgba(255, 192, 14, 0.04) 0%,
            rgba(144, 192, 206, 0.02) 30%,
            transparent 70%
        ),
        /* Topo contour rings — subtle cartographic identity */
        radial-gradient(ellipse 300px 200px at 30% 50%, transparent 95%, rgba(144, 192, 206, 0.05) 95.5%, transparent 96%),
        radial-gradient(ellipse 220px 150px at 30% 50%, transparent 95%, rgba(144, 192, 206, 0.04) 95.5%, transparent 96%),
        radial-gradient(ellipse 150px 100px at 30% 50%, transparent 95%, rgba(144, 192, 206, 0.03) 95.5%, transparent 96%),
        radial-gradient(ellipse 350px 250px at 75% 40%, transparent 95%, rgba(144, 192, 206, 0.04) 95.5%, transparent 96%),
        radial-gradient(ellipse 270px 190px at 75% 40%, transparent 95%, rgba(144, 192, 206, 0.03) 95.5%, transparent 96%);
    pointer-events: none;
    z-index: 0;
}

/* Grain overlay — film texture */
.newsletter::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
}

.newsletter > .container {
    position: relative;
    z-index: 1;
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cordee);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.newsletter .section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--snow);
    margin-bottom: 1.5rem;
}

.newsletter-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 254, 254, 0.7);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    gap: 0;
    border: 1px solid rgba(144, 192, 206, 0.2);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--glacier);
    box-shadow: 0 0 16px rgba(144, 192, 206, 0.12);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.2rem;
    background: rgba(10, 17, 24, 0.6);
    border: none;
    outline: none;
    color: var(--snow);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.newsletter-input::placeholder {
    color: rgba(255, 254, 254, 0.3);
}

.newsletter-btn {
    padding: 1rem 1.8rem;
    background: var(--cordee);
    color: #022038;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--snow);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 192, 14, 0.15);
}

.newsletter-error {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #e74c3c;
    margin-top: 0.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-privacy {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 254, 254, 0.5);
    letter-spacing: 0.3px;
}

.newsletter-privacy a {
    color: rgba(144, 192, 206, 0.75);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.newsletter-privacy a:hover {
    color: var(--glacier);
}

/* ========================================
   Reassurance Bar
   ======================================== */

.reassurance-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.8rem 2rem;
    background: rgba(10, 17, 24, 0.6);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reassurance-icon {
    width: 22px;
    height: 22px;
    color: var(--cordee);
    flex-shrink: 0;
    opacity: 0.9;
}

.reassurance-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reassurance-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--snow);
}

.reassurance-desc {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: rgba(255, 254, 254, 0.5);
    letter-spacing: 0.5px;
}

/* ========================================
   Product Filters
   ======================================== */

.product-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.55rem 1.2rem;
    background: rgba(144, 192, 206, 0.05);
    border: 1px solid rgba(144, 192, 206, 0.15);
    border-radius: 2px;
    color: rgba(255, 254, 254, 0.6);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: rgba(144, 192, 206, 0.35);
    color: var(--snow);
    background: rgba(144, 192, 206, 0.08);
}

.filter-btn.active {
    background: var(--cordee);
    border-color: var(--cordee);
    color: var(--night);
}

/* ========================================
   Commercial Badges (BESTSELLER, NOUVEAU, etc.)
   ======================================== */

.product-commercial-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
    z-index: 2;
    animation: badgePulse 3s ease-in-out infinite;
}

.product-commercial-badge.bestseller {
    background: var(--cordee);
    color: var(--night);
    box-shadow: 0 2px 12px rgba(255, 192, 14, 0.35);
}

.product-commercial-badge.nouveau {
    background: var(--glacier);
    color: var(--night);
    box-shadow: 0 2px 12px rgba(144, 192, 206, 0.35);
}

.product-commercial-badge.best-price {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.35);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   Section CTA (Secondary CTAs)
   ======================================== */

.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 3rem;
}

.section-cta .cta-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--cordee);
    border: 2px solid var(--cordee);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 2px;
}

.section-cta .cta-secondary:hover {
    background: var(--cordee);
    color: var(--night);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 192, 14, 0.25);
}

.section-cta-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 254, 254, 0.5);
    letter-spacing: 1px;
}

/* ========================================
   Newsletter Incentive (-10%)
   ======================================== */

.newsletter-incentive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.incentive-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cordee);
    color: var(--night);
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 192, 14, 0.4);
    animation: incentivePulse 2.5s ease-in-out infinite;
}

@keyframes incentivePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(255, 192, 14, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 6px 30px rgba(255, 192, 14, 0.55); }
}

.incentive-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cordee);
}

/* ========================================
   Selection Colors (Branded)
   ======================================== */

::selection {
    background: rgba(255, 192, 14, 0.25);
    color: var(--snow);
}

::-moz-selection {
    background: rgba(255, 192, 14, 0.25);
    color: var(--snow);
}

.about ::selection {
    background: rgba(2, 32, 56, 0.2);
    color: var(--night);
}

.footer ::selection {
    background: rgba(2, 32, 56, 0.2);
    color: var(--night);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-block:nth-child(2)::after {
        display: none;
    }

    .layer-card {
        flex-direction: column;
        gap: 1.2rem;
    }

    .layer-visual {
        width: 100%;
        height: 60px;
    }

    .field-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }

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

    .compare-cell {
        padding: 1rem;
        font-size: 0.7rem;
    }

    .timeline-track {
        flex-direction: column;
        gap: 0;
    }

    .timeline-line {
        top: 8px;
        bottom: 8px;
        left: 8px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-line-fill {
        top: 8px;
        left: 8px;
        width: 2px;
        height: 0%;
        transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding-bottom: 2.5rem;
    }

    .timeline-dot {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .timeline-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    /* Reassurance bar: 2x2 grid on tablet */
    .reassurance-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .reassurance-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

    /* Filters: scroll horizontally */
    .product-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }
    .product-filters::-webkit-scrollbar { display: none; }

    .nav-burger {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .pill-nav-items {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0.5rem;
        right: 0.5rem;
        height: auto;
        border-radius: 12px;
        flex-direction: column;
        background: rgba(10, 17, 24, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(144, 192, 206, 0.15);
        padding: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .pill-nav-items.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .pill-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .pill-list > li {
        width: 100%;
    }

    .pill {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
        min-height: 44px;
        border-radius: 8px;
        font-size: 0.7rem;
    }

    .altitude-bar {
        right: 0.8rem;
    }

    .altitude-track {
        height: 80px;
    }

    .nav {
        left: 0.75rem;
        right: 0.75rem;
        top: 0.5rem;
        border-radius: 12px;
    }

    .pill-separator {
        width: 100%;
        height: 1px;
        margin: 4px 0;
    }

    .pill.pill-icon {
        width: 100%;
        height: auto;
        padding: 0.8rem 1rem;
        min-height: 44px;
    }

    .nav-cart {
        width: auto;
        height: auto;
    }

    .cart-icon {
        width: 16px;
        height: 16px;
    }

    .circular-text-wrap {
        width: 320px;
        height: 320px;
    }

    .hero-logo-center {
        width: 120px;
    }

    .circular-text span {
        font-size: 0.85rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Reduce section padding on tablet/mobile */
    .collection { padding: 5rem 0; }
    .tech-section { padding: 5rem 0; }
    .about { padding: 5rem 0; }
    .reviews { padding: 5rem 0; }

    .layer-arrow {
        width: 40px;
    }

    .arrow-svg {
        width: 32px;
    }

    .layer-card {
        gap: 1rem;
        padding: 1rem;
    }

    .layer-desc {
        font-size: 0.7rem;
        max-width: 100%;
    }

    /* Reduce section padding on tablet/mobile */
    .collection { padding: 5rem 0; }
    .tech-section { padding: 5rem 0; }
    .about { padding: 5rem 0; }
    .reviews { padding: 5rem 0; }

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

    .compare-cell {
        padding: 0.8rem 0.6rem;
        font-size: 0.6rem;
    }

    .compare-criterion {
        font-size: 0.55rem;
    }

    .review-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }

    .review-text {
        font-size: 0.75rem;
    }

    .newsletter {
        padding: 5rem 0;
    }

    .newsletter-form {
        flex-direction: column;
        border: none;
        gap: 0.75rem;
    }

    .newsletter-input {
        border: 1px solid rgba(144, 192, 206, 0.2);
        border-radius: 2px;
    }

    .newsletter-btn {
        border-radius: 2px;
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Quick-add: always visible on touch devices + proper touch targets */
    .quick-add {
        opacity: 1;
        transform: translateY(0);
    }

    .quick-size {
        width: 44px;
        height: 44px;
        font-size: 0.65rem;
    }

    /* CTA button: proper touch target */
    .cta-button {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    /* About data table: prevent text overflow */
    .data-line {
        flex-direction: column;
        gap: 0.3rem;
        padding: 1rem 1.25rem;
    }

    .data-val {
        text-align: left;
    }

    /* Container: tighter side padding on mobile */
    .container {
        padding: 0 1.25rem;
    }

    /* Newsletter input/button: proper touch targets */
    .newsletter-input {
        min-height: 48px;
    }

    .newsletter-btn {
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .circular-text-wrap {
        width: min(260px, 80vw);
        height: min(260px, 80vw);
    }

    .hero-logo-center {
        width: 95px;
    }

    .circular-text span {
        font-size: 0.7rem;
    }

    .nav {
        left: 0.5rem;
        right: 0.5rem;
        top: 0.4rem;
        border-radius: 10px;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .pill {
        padding: 0 10px;
        font-size: 0.55rem;
    }

    .pill-nav-items {
        height: 32px;
    }

    .nav-cart {
        width: 32px;
        height: 32px;
        margin-left: 0.4rem;
    }

    .cart-icon {
        width: 14px;
        height: 14px;
    }

    .cart-count {
        min-width: 15px;
        height: 15px;
        font-size: 0.5rem;
        top: -3px;
        right: -3px;
    }

    .tech-stats {
        grid-template-columns: 1fr 1fr;
    }

    /* Field grid: single column on small phones */
    .field-grid {
        grid-template-columns: 1fr;
    }

    /* Comparison table: stack to readable layout on small phones */
    .compare-row {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }

    .compare-cell {
        padding: 0.6rem 0.35rem;
        font-size: 0.5rem;
    }

    .compare-criterion {
        font-size: 0.48rem;
        letter-spacing: 1px;
    }

    .compare-brand {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    /* Review cards: fit small phones */
    .review-card {
        flex: 0 0 260px;
        padding: 1.25rem;
    }

    /* Section padding: further reduction on small phones */
    .collection { padding: 3.5rem 0; }
    .tech-section { padding: 3.5rem 0; }
    .about { padding: 3.5rem 0; }
    .reviews { padding: 3.5rem 0; }
    .newsletter { padding: 3rem 0; }

    /* Container: even tighter padding */
    .container {
        padding: 0 1rem;
    }

    /* Section header: reduce bottom margin */
    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Hero content: less side padding */
    .hero-content {
        padding: 0 1rem;
    }

    /* Layer rows: stack arrow and card vertically */
    .layer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .layer-arrow {
        width: 100%;
        height: 30px;
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .arrow-svg {
        transform: rotate(90deg);
        width: 24px;
    }

    /* Footer: tighter layout */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.65rem;
    }

    /* Altitude bar: hide on very small screens to save space */
    .altitude-bar {
        display: none;
    }

    /* Tech timeline: tighter spacing */
    .tech-timeline {
        margin-bottom: 2.5rem;
    }

    .timeline-desc {
        font-size: 0.65rem;
    }

    /* Product card info: readable spacing */
    .product-info {
        padding: 1rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    /* --- Conversion elements: 480px --- */

    /* Reassurance bar: single column stack */
    .reassurance-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 1rem;
    }
    .reassurance-item {
        flex: none;
        width: 100%;
        justify-content: flex-start;
    }

    /* Product filters: smaller buttons */
    .product-filters {
        gap: 0.4rem;
        padding-bottom: 0.4rem;
    }
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    /* Commercial badges: smaller */
    .product-commercial-badge {
        font-size: 0.5rem;
        padding: 0.25rem 0.6rem;
        letter-spacing: 1px;
        top: 0.6rem;
        left: 0.6rem;
    }

    /* Section CTAs: full width */
    .section-cta {
        padding: 2rem 0;
    }
    .section-cta .cta-secondary {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
        font-size: 0.7rem;
    }
    .section-cta-sub {
        font-size: 0.6rem;
    }

    /* Newsletter incentive: tighter layout */
    .newsletter-incentive {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    .incentive-badge {
        font-size: 1.4rem;
        padding: 0.35rem 1rem;
    }
    .incentive-text {
        font-size: 0.55rem;
        letter-spacing: 2px;
    }
}

/* ========================================
   Extra Small (320px-360px) — iPhone SE, small devices
   ======================================== */

@media (max-width: 360px) {
    .circular-text-wrap {
        width: min(220px, 75vw);
        height: min(220px, 75vw);
    }

    .hero-logo-center {
        width: 80px;
    }

    .circular-text span {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .section-data {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .stat-value {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .stat-block {
        padding: 1.5rem 0.8rem;
    }

    .field-card {
        padding: 1.5rem 1rem;
    }

    .review-card {
        flex: 0 0 240px;
        padding: 1rem;
    }

    .review-text {
        font-size: 0.7rem;
    }

    .newsletter-desc {
        font-size: 0.75rem;
    }

    /* Prevent horizontal overflow */
    .tech-bg-accent,
    .tech-bg-orb {
        display: none;
    }

    /* --- Conversion elements: 360px --- */

    /* Reassurance bar: even tighter */
    .reassurance-bar {
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }
    .reassurance-icon {
        width: 28px;
        height: 28px;
    }
    .reassurance-icon svg {
        width: 14px;
        height: 14px;
    }
    .reassurance-title {
        font-size: 0.55rem;
    }
    .reassurance-desc {
        font-size: 0.55rem;
    }

    /* Product filters: even smaller */
    .filter-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    /* Commercial badges: compact */
    .product-commercial-badge {
        font-size: 0.45rem;
        padding: 0.2rem 0.5rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    /* Section CTAs: tighter */
    .section-cta .cta-secondary {
        font-size: 0.65rem;
        padding: 0.9rem 1.2rem;
        letter-spacing: 2px;
    }
    .section-cta-sub {
        font-size: 0.55rem;
    }

    /* Newsletter incentive: scaled down */
    .newsletter-incentive {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    .incentive-badge {
        font-size: 1.2rem;
        padding: 0.3rem 0.8rem;
    }
    .incentive-text {
        font-size: 0.5rem;
        letter-spacing: 1.5px;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.product-card,
.compare-row:not(.compare-row-header) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card.visible,
.compare-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   GradualBlur (scroll reveal — GPU only)
   ======================================== */

.gradual-blur {
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    background: rgba(10, 17, 24, 0.18);
    opacity: 0;
    will-change: opacity;
    contain: strict;
}

/* ========================================
   Accessibility — Focus states
   ======================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

.pill:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

.product-card:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

.quick-size:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
    border-color: var(--cordee);
    background: rgba(255, 192, 14, 0.15);
    color: var(--cordee);
}

.nav-cart:focus-visible,
.nav-burger:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

.cta-button:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

.newsletter-btn:focus-visible,
.newsletter-input:focus-visible {
    outline: 2px solid #90C0CE;
    outline-offset: 2px;
}

/* ========================================
   Accessibility — Reduced motion
   ======================================== */

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

/* ========================================
   MICRO-INTERACTIONS & FINAL POLISH
   ======================================== */


/* --- 2. Custom Scrollbar (Webkit) --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1118; }
::-webkit-scrollbar-thumb {
    background: rgba(144, 192, 206, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(144, 192, 206, 0.4);
}

/* --- 7. Input Autofill Styling (Chrome yellow bg fix) --- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFEFE;
    -webkit-box-shadow: 0 0 0px 1000px #0f1a24 inset;
    box-shadow: 0 0 0px 1000px #0f1a24 inset;
    border-color: rgba(144, 192, 206, 0.3) !important;
    caret-color: #FFFEFE;
    transition: background-color 5000s ease-in-out 0s;
}

/* --- 9. Active/Pressed States (buttons scale down) --- */
.cta-button:active,
.newsletter-btn:active,
.cart-checkout:active,
.checkout-btn-primary:active,
.cookie-accept:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

.pill:active {
    transform: scale(0.96);
}

/* --- 12. Transition Timing — unify to elastic easing --- */
.cta-button {
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-btn {
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-visual {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 13. Image Skeleton / Placeholder --- */
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.product-visual {
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(144, 192, 206, 0.03) 0%,
        rgba(144, 192, 206, 0.07) 50%,
        rgba(144, 192, 206, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* --- 14. Text Selection Control (non-selectable UI) --- */
.nav,
.nav-burger,
.pill,
.cta-button,
.newsletter-btn,
.quick-size,
.product-badge,
.altitude-bar,
.loader {
    -webkit-user-select: none;
    user-select: none;
}

/* --- 8. Scroll-to-top button --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 997;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 17, 24, 0.85);
    border: 1px solid rgba(144, 192, 206, 0.2);
    border-radius: 50%;
    color: rgba(255, 254, 254, 0.6);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    -webkit-user-select: none;
    user-select: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(144, 192, 206, 0.12);
    border-color: rgba(144, 192, 206, 0.4);
    color: var(--snow);
}

.scroll-to-top:active {
    transform: scale(0.92);
}

.scroll-to-top svg {
    width: 18px;
    height: 18px;
}

/* --- 18. Review Cards — Scroll Snap refinement --- */
.reviews-scroll {
    scroll-padding-left: 2rem;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   WOW FACTOR — Premium Visual Enhancements
   ======================================== */

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--glacier), var(--cordee));
    box-shadow: 0 0 10px rgba(255, 192, 14, 0.4), 0 0 3px rgba(255, 192, 14, 0.2);
    will-change: transform;
    transform-origin: left;
    transition: none;
}

/* --- Scroll Indicator (Hero) --- */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
    opacity: 0;
    animation: scrollIndicatorIn 1s cubic-bezier(0.16, 1, 0.3, 1) 3.2s forwards;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cordee), transparent);
    animation: scrollLinePulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    transform-origin: top;
}

.scroll-indicator-text {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 4px;
    color: rgba(255, 254, 254, 0.4);
}

@keyframes scrollIndicatorIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollLinePulse {
    0% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.6);
        opacity: 0.4;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* --- Ambient Floating Particles (Hero) --- */
.ambient-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 254, 254, 0.3);
    animation: particleFloat linear infinite;
    will-change: transform, opacity;
}

.particle:nth-child(1)  { left: 8%;  top: 20%; width: 2.5px; height: 2.5px; animation-duration: 12s; animation-delay: 0s;   background: rgba(144, 192, 206, 0.35); }
.particle:nth-child(2)  { left: 22%; top: 65%; animation-duration: 15s; animation-delay: 1.5s; }
.particle:nth-child(3)  { left: 35%; top: 40%; width: 1.5px; height: 1.5px; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(4)  { left: 50%; top: 10%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 0.5s; background: rgba(255, 192, 14, 0.2); box-shadow: 0 0 4px rgba(255, 192, 14, 0.15); }
.particle:nth-child(5)  { left: 65%; top: 75%; animation-duration: 16s; animation-delay: 2s; }
.particle:nth-child(6)  { left: 78%; top: 30%; width: 2.5px; height: 2.5px; animation-duration: 13s; animation-delay: 4s; background: rgba(144, 192, 206, 0.25); }
.particle:nth-child(7)  { left: 90%; top: 55%; width: 1.5px; height: 1.5px; animation-duration: 17s; animation-delay: 1s; }
.particle:nth-child(8)  { left: 15%; top: 85%; animation-duration: 19s; animation-delay: 3.5s; }
.particle:nth-child(9)  { left: 42%; top: 50%; width: 2.5px; height: 2.5px; animation-duration: 11s; animation-delay: 2.5s; background: rgba(144, 192, 206, 0.3); }
.particle:nth-child(10) { left: 58%; top: 25%; animation-duration: 14s; animation-delay: 5s; }
.particle:nth-child(11) { left: 72%; top: 60%; width: 1.5px; height: 1.5px; animation-duration: 20s; animation-delay: 0.8s; }
.particle:nth-child(12) { left: 85%; top: 15%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 4.5s; background: rgba(255, 192, 14, 0.15); }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(15px, -30px);
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate(-10px, -60px);
    }
}

/* --- Section Dividers --- */
.section-divider {
    position: relative;
    margin-top: -1px;
    line-height: 0;
    overflow: hidden;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.divider-to-tech {
    background: transparent;
}

/* --- Section Title Reveal Animation --- */
.section-title {
    overflow: hidden;
}

.section-title .title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.revealed .title-word {
    opacity: 1;
    transform: translateY(0);
}

/* --- Product Card Glow Effect --- */
.product-card {
    --glow-x: 50%;
    --glow-y: 50%;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: radial-gradient(
        250px circle at var(--glow-x) var(--glow-y),
        rgba(255, 192, 14, 0.07) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

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

/* --- Hero Entrance Animations (Post-Loader) --- */
.hero-content {
    animation: none; /* Override default fadeInUp */
}

.hero-content.entrance-ready .circular-text-wrap {
    animation: heroBlurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
    opacity: 0;
}

.hero-content.entrance-ready .hero-tagline {
    animation: heroCtaIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
}

.hero-content.entrance-ready .hero-altitude-counter {
    animation: heroCtaIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    opacity: 0;
}

.hero-content.entrance-ready .cta-button {
    animation: heroCtaIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

@keyframes heroBlurIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: scale(0.9);
    }
    60% {
        opacity: 1;
        filter: blur(2px);
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
}

@keyframes heroCtaIn {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

/* --- Parallax Depth Classes --- */
.parallax-slow {
    will-change: transform;
}

.parallax-medium {
    will-change: transform;
}

/* --- Section Title Reveal with Clip --- */
.section-title-reveal {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-reveal.revealed {
    clip-path: inset(0 0 0% 0);
}

/* --- Responsive: Particles & Indicators --- */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1.5rem;
    }

    .scroll-indicator-line {
        height: 28px;
    }

    .particle:nth-child(n+9) {
        display: none;
    }

    .section-divider svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }

    .particle:nth-child(n+7) {
        display: none;
    }

    .section-divider svg {
        height: 30px;
    }
}

/* --- 15. Print Stylesheet --- */
@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    .nav,
    .loader,
    .altitude-bar,
    .gradual-blur,
    .scroll-to-top,
    .scroll-progress,
    .scroll-indicator,
    .ambient-particles,
    .section-divider,
    .newsletter,
    .cookie-banner,
    #topo-canvas,
    .cart-panel,
    .cart-overlay,
    .checkout-overlay,
    .product-modal-overlay,
    .quick-add,
    .circular-text-wrap,
    .tech-bg-accent,
    .tech-bg-orb,
    .wind-layer,
    .rain-layer,
    .altitude-layer,
    .wash-layer,
    .reassurance-bar,
    .product-filters,
    .section-cta,
    .newsletter-incentive {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-title {
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
        white-space: normal !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .product-card,
    .compare-row:not(.compare-row-header) {
        opacity: 1 !important;
        transform: none !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-visual {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .about {
        background: #e8e8e8 !important;
        color: black !important;
    }

    .about .section-title,
    .about-text,
    .about-tagline {
        color: black !important;
    }

    .section-title {
        color: black !important;
    }

    .section-data,
    .product-specs {
        color: #555 !important;
    }

    .product-price {
        color: #333 !important;
    }

    .footer {
        background: #ddd !important;
    }

    a[href]::after {
        content: none;
    }
}

/* ========================================
   EMOTIONAL BRANDING IMPROVEMENTS
   ======================================== */

/* --- Hero Tagline & Altitude Counter --- */
.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.9;
    color: rgba(255, 254, 254, 0.65);
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.tagline-line { display: block; }
.tagline-line:first-child { color: rgba(255, 254, 254, 0.8); font-weight: 600; }

.hero-altitude-counter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 2.5rem;
}
.hero-alt-value {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--cordee);
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 192, 14, 0.25);
}
.hero-alt-unit { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; color: var(--cordee); letter-spacing: 1px; }
.hero-alt-label { font-family: var(--font-body); font-size: 0.55rem; font-weight: 600; letter-spacing: 3px; color: rgba(255, 254, 254, 0.45); margin-left: 1rem; }

.hero-content.entrance-ready .hero-tagline { animation: heroCtaIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.hero-content.entrance-ready .hero-altitude-counter { animation: heroCtaIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards; opacity: 0; }

/* --- Social Proof Trust Badges --- */
.trust-badges {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    position: relative; z-index: 2;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-badges.visible { opacity: 1; transform: translateY(0); }
.trust-badge {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    padding: 2.5rem 1rem; text-align: center; position: relative; transition: background 0.4s ease;
}
.trust-badge:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(255, 254, 254, 0.08); }
.trust-badge:hover { background: rgba(255, 254, 254, 0.03); }
.trust-badge-icon { font-size: 1.4rem; color: var(--cordee); opacity: 0.8; line-height: 1; }
.trust-badge-value { font-family: var(--font-title); font-size: 1.4rem; color: var(--snow); line-height: 1; }
.trust-badge-label { font-family: var(--font-body); font-size: 0.55rem; font-weight: 600; letter-spacing: 2px; color: rgba(255, 254, 254, 0.5); line-height: 1.4; max-width: 160px; }

/* --- Partner Technologies Bar --- */
.partner-logos {
    display: flex; align-items: center; justify-content: center; gap: 1.5rem;
    padding: 2rem 2rem; max-width: 1400px; margin: 0 auto 2rem;
    position: relative; z-index: 2;
    border-top: 1px solid rgba(255, 254, 254, 0.06); border-bottom: 1px solid rgba(255, 254, 254, 0.06);
    opacity: 0; transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.partner-logos.visible { opacity: 1; transform: translateY(0); }
.partner-label { font-family: var(--font-body); font-size: 0.55rem; font-weight: 700; letter-spacing: 3px; color: rgba(255, 254, 254, 0.35); }
.partner-list { display: flex; align-items: center; gap: 1rem; }
.partner-item { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; color: rgba(255, 254, 254, 0.55); cursor: help; position: relative; transition: color 0.3s ease; }
.partner-item:hover { color: var(--cordee); }
.partner-item[data-tooltip]:hover::after {
    content: attr(data-tooltip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    padding: 0.6rem 1rem; background: rgba(2, 32, 56, 0.95); border: 1px solid rgba(144, 192, 206, 0.2); border-radius: 4px;
    font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.3px; color: rgba(255, 254, 254, 0.85);
    white-space: nowrap; z-index: 100; pointer-events: none; animation: tooltipIn 0.2s ease;
}
.partner-item[data-tooltip]:hover::before {
    content: ''; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
    border: 5px solid transparent; border-top-color: rgba(2, 32, 56, 0.95); z-index: 100; pointer-events: none;
}
.partner-sep { font-size: 0.7rem; color: rgba(255, 254, 254, 0.15); }
@keyframes tooltipIn { from { opacity: 0; transform: translateX(-50%) translateY(4px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* --- Product Spec Tooltips --- */
.product-specs[data-tooltip] { cursor: help; position: relative; }
.product-specs[data-tooltip]:hover::after {
    content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 0;
    padding: 0.5rem 0.8rem; background: rgba(2, 32, 56, 0.95); border: 1px solid rgba(144, 192, 206, 0.2); border-radius: 3px;
    font-family: var(--font-body); font-size: 0.6rem; font-weight: 400; letter-spacing: 0.3px; color: rgba(255, 254, 254, 0.85);
    white-space: nowrap; z-index: 50; pointer-events: none; animation: tooltipIn 0.2s ease;
}

/* --- Stock Indicator --- */
.stock-indicator { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.stock-indicator.low .stock-dot { background: #e74c3c; box-shadow: 0 0 6px rgba(231, 76, 60, 0.5); animation: stockPulse 2s ease-in-out infinite; }
.stock-indicator.medium .stock-dot { background: var(--cordee); box-shadow: 0 0 6px rgba(255, 192, 14, 0.4); animation: stockPulse 3s ease-in-out infinite; }
.stock-text { font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.5px; }
.stock-indicator.low .stock-text { color: #e74c3c; }
.stock-indicator.medium .stock-text { color: var(--cordee); }
@keyframes stockPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* --- Footer Coordinates & GPS --- */
.footer-coordinates { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(2, 32, 56, 0.1); }
.footer-coord-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.coord-label { font-family: var(--font-body); font-size: 0.5rem; font-weight: 700; letter-spacing: 3px; color: rgba(2, 32, 56, 0.4); }
.coord-value { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: rgba(2, 32, 56, 0.7); letter-spacing: 0.5px; }
.footer-easter { display: block; font-family: var(--font-body); font-size: 0.55rem; color: rgba(2, 32, 56, 0.2); letter-spacing: 1px; margin-top: 0.5rem; transition: color 0.6s ease; cursor: default; }
.footer-easter:hover { color: rgba(2, 32, 56, 0.5); }

/* --- Scroll Reveal (Generic) --- */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Logo Easter Egg Hover --- */
.hero-logo-center:hover { transform: translate(-50%, -50%) scale(1.05); filter: drop-shadow(0 0 30px rgba(255, 192, 14, 0.35)); }

/* --- Altitude Summit Easter Egg --- */
.altitude-summit-msg { position: fixed; right: 3.5rem; top: 50%; transform: translateY(-50%); z-index: 999; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 2px; color: var(--cordee); opacity: 0; transition: opacity 0.6s ease; pointer-events: none; text-shadow: 0 0 12px rgba(255, 192, 14, 0.4); white-space: nowrap; }
.altitude-summit-msg.visible { opacity: 1; }

/* --- Responsive: Branding Elements --- */
@media (max-width: 1024px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .trust-badges { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
    .trust-badge { padding: 1.8rem 0.8rem; }
    .partner-logos { flex-direction: column; gap: 1rem; padding: 1.5rem 1.25rem; }
    .partner-list { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .partner-item { font-size: 0.6rem; }
    .footer-coordinates { flex-wrap: wrap; gap: 1.5rem; }
    .hero-altitude-counter { flex-wrap: wrap; justify-content: center; }
    .hero-alt-label { width: 100%; margin-left: 0; margin-top: 0.3rem; }
    .product-specs[data-tooltip]:hover::after, .partner-item[data-tooltip]:hover::after, .partner-item[data-tooltip]:hover::before { display: none; }
}
@media (max-width: 480px) {
    .trust-badges { grid-template-columns: 1fr 1fr; }
    .trust-badge-value { font-size: 1.1rem; }
    .trust-badge-label { font-size: 0.45rem; }
    .hero-tagline { font-size: 0.7rem; letter-spacing: 1px; }
    .hero-alt-label { font-size: 0.5rem; }
    .footer-coordinates { gap: 1rem; }
    .coord-value { font-size: 0.65rem; }
}

/* ========================
   DYNAMIC ISLAND — MÉTÉO PILL
   ======================== */

.pill-dynamic-island {
    position: relative;
    overflow: visible !important;
    cursor: pointer;
    background: rgba(123, 167, 188, 0.1) !important;
    border: 1px solid rgba(144, 192, 206, 0.25) !important;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pill-dynamic-island .hover-circle {
    display: none;
}

.pill-dynamic-island:hover {
    background: rgba(123, 167, 188, 0.18) !important;
    border-color: rgba(144, 192, 206, 0.4) !important;
    box-shadow: 0 0 24px rgba(123, 167, 188, 0.12), inset 0 0 12px rgba(123, 167, 188, 0.05);
}

.island-glow {
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(123, 167, 188, 0.25) 20%,
        rgba(144, 192, 206, 0.4) 25%,
        rgba(123, 167, 188, 0.25) 30%,
        transparent 45%,
        rgba(144, 192, 206, 0.15) 70%,
        rgba(123, 167, 188, 0.25) 75%,
        rgba(144, 192, 206, 0.15) 80%,
        transparent 100%
    );
    opacity: 0.6;
    animation: islandGlowSpin 5s linear infinite;
    pointer-events: none;
    z-index: -1;
    filter: blur(4px);
    transition: opacity 0.5s ease;
}

.pill-dynamic-island:hover .island-glow,
.pill-dynamic-island.island-active .island-glow {
    opacity: 1;
}

@keyframes islandGlowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pill-dynamic-island .pill-picto {
    opacity: 0.8;
    color: var(--glacier);
}

.island-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(144, 192, 206, 0.25);
    transition: border-color 0.4s ease;
}

.pill-dynamic-island:hover .island-badge {
    border-color: rgba(144, 192, 206, 0.4);
}

.island-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--glacier);
    box-shadow: 0 0 6px rgba(123, 167, 188, 0.5), 0 0 12px rgba(123, 167, 188, 0.2);
    animation: islandPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes islandPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(123, 167, 188, 0.5), 0 0 12px rgba(123, 167, 188, 0.2); }
    50% { opacity: 0.5; box-shadow: 0 0 3px rgba(123, 167, 188, 0.3), 0 0 6px rgba(123, 167, 188, 0.1); }
}

.island-temp {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--snow);
    letter-spacing: 0.03em;
    transition: opacity 0.4s ease, color 0.4s ease;
    white-space: nowrap;
}

.pill-dynamic-island:hover .island-temp {
    color: var(--snow);
}

.island-expand {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.6s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.35s ease 0.12s,
                padding 0.6s cubic-bezier(0.32, 0.72, 0, 1);
    white-space: nowrap;
    padding-left: 0;
}

.pill-dynamic-island:hover .island-expand {
    max-width: 240px;
    opacity: 1;
    padding-left: 10px;
}

.island-expand-divider {
    width: 1px;
    height: 12px;
    background: linear-gradient(to bottom, transparent, rgba(144, 192, 206, 0.3), transparent);
    flex-shrink: 0;
}

.island-expand-station {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--snow);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity 0.4s ease;
}

.island-expand-condition {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--glacier);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.pill-dynamic-island:hover .island-expand-condition {
    opacity: 1;
}

.pill-dynamic-island .pill-label,
.pill-dynamic-island .pill-label-hover {
    color: rgba(245, 245, 240, 0.85);
}

.pill-dynamic-island.island-active {
    background: rgba(123, 167, 188, 0.14) !important;
    border-color: rgba(144, 192, 206, 0.3) !important;
    box-shadow: 0 0 16px rgba(123, 167, 188, 0.06);
}

@media (max-width: 768px) {
    .island-expand { display: none; }
    .island-badge { border-left: none; padding-left: 4px; margin-left: 2px; }
}

/* ========================
   WEATHER WIDGET PANEL
   ======================== */

.ww-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ww-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.ww-panel {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 90vw;
    max-width: 1100px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(10, 17, 24, 0.95);
    border: 1px solid rgba(144, 192, 206, 0.15);
    border-radius: 16px;
    padding: 0;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.4s ease,
                border-radius 0.5s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(144, 192, 206, 0.05);
}

.ww-panel.open {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

/* Scrollbar inside panel */
.ww-panel::-webkit-scrollbar { width: 4px; }
.ww-panel::-webkit-scrollbar-track { background: transparent; }
.ww-panel::-webkit-scrollbar-thumb { background: rgba(144, 192, 206, 0.2); border-radius: 2px; }

/* Hero image in weather panel */
.ww-hero {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.ww-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
.ww-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 17, 24, 0.85) 0%, rgba(10, 17, 24, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
    gap: 0.2rem;
}
.ww-hero-location {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--snow);
    letter-spacing: 0.1em;
}
.ww-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--cordee);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Header */
.ww-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(144, 192, 206, 0.1);
    position: sticky;
    top: 0;
    background: rgba(10, 17, 24, 0.98);
    z-index: 2;
    border-radius: 16px 16px 0 0;
}

.ww-tag {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cordee);
    opacity: 0.8;
}

.ww-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--snow);
    letter-spacing: 0.08em;
}

.ww-close {
    margin-left: auto;
    background: none;
    border: 1px solid rgba(144, 192, 206, 0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--slate);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ww-close svg { width: 14px; height: 14px; }
.ww-close:hover {
    color: var(--cordee);
    border-color: rgba(255, 192, 14, 0.4);
    background: rgba(255, 192, 14, 0.08);
}

/* Day navigation tabs */
.ww-days {
    display: flex;
    gap: 0;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(144, 192, 206, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ww-days::-webkit-scrollbar { display: none; }

.ww-day-tab {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    position: relative;
    flex-shrink: 0;
    transition: opacity 0.2s;
    opacity: 0.5;
}
.ww-day-tab:hover { opacity: 0.8; }
.ww-day-tab.active { opacity: 1; }

.ww-day-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--cordee);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.ww-day-tab.active::after {
    transform: translateX(-50%) scaleX(1);
}
.ww-day-tab.active .ww-day-name {
    color: var(--cordee);
}

.ww-day-name {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--snow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ww-day-date {
    font-family: var(--font-body);
    font-size: 0.5rem;
    color: var(--slate);
    letter-spacing: 0.05em;
}

/* Weather cards grid inside widget */
.ww-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.ww-card {
    position: relative;
    background: rgba(15, 26, 36, 0.8);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ww-card .ww-card-body {
    padding: 0.6rem 0 0;
    overflow: hidden;
}

/* ---- Slide carousel inside card ---- */
.ww-slides-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}
.ww-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0.5rem 1.25rem 0.4rem;
    box-sizing: border-box;
}

/* Slide hero number (for snow slide) */
.ww-slide-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ww-slide-big {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--snow);
    line-height: 1;
}
.ww-slide-big small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--glacier);
    margin-left: 2px;
}
.ww-slide-sub {
    font-family: var(--font-body);
    font-size: 0.45rem;
    letter-spacing: 0.15em;
    color: var(--cordee);
    text-transform: uppercase;
    margin-top: 0.15rem;
}

/* Slide 3 — Conditions grid */
.ww-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.ww-cond-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}
.ww-cond-icon {
    font-size: 1rem;
    color: var(--cordee);
    line-height: 1;
}
.ww-cond-val {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--snow);
}
.ww-cond-label {
    font-family: var(--font-body);
    font-size: 0.4rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sun row */
.ww-sun-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 192, 14, 0.1);
}
.ww-sun-item {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: var(--glacier);
    letter-spacing: 0.05em;
}
.ww-sun-sep {
    color: var(--slate);
    font-size: 0.5rem;
}

/* Avalanche value color in stats */
.ww-av-val.av-low  { color: #8fd88f; }
.ww-av-val.av-mid  { color: var(--cordee); }
.ww-av-val.av-high { color: #ff6b5a; }

/* Dot indicators + label */
.ww-slides-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1.25rem 0.6rem;
}
.ww-slide-label {
    font-family: var(--font-body);
    font-size: 0.4rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    min-width: 0;
}
.ww-dots {
    display: flex;
    gap: 0.35rem;
}
.ww-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid rgba(144, 192, 206, 0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.ww-dot:hover {
    border-color: var(--cordee);
    transform: scale(1.2);
}
.ww-dot.active {
    background: var(--cordee);
    border-color: var(--cordee);
    transform: scale(1.2);
}

/* Per-card station image */
.ww-card-img {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}
.ww-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.6s ease;
}
.ww-card:hover .ww-card-img img {
    transform: scale(1.08);
}
.ww-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 17, 24, 0.85) 0%, rgba(10, 17, 24, 0.2) 40%, transparent 70%);
    pointer-events: none;
}
/* Station name + alt overlaid on image */
.ww-card-img-info {
    position: absolute;
    bottom: 0.6rem;
    left: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    z-index: 1;
}
.ww-card-img-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--snow);
    letter-spacing: 0.08em;
}
.ww-card-img-alt {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 400;
    color: var(--cordee);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}
/* Avalanche risk badge on image */
.ww-card-img-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    align-items: baseline;
    gap: 1px;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    z-index: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ww-card-img-badge .av-level { font-size: 0.75rem; }
.ww-card-img-badge .av-max { font-size: 0.45rem; opacity: 0.6; }
.ww-card-img-badge.av-low {
    background: rgba(100, 200, 100, 0.2);
    color: #8fd88f;
    border: 1px solid rgba(100, 200, 100, 0.3);
}
.ww-card-img-badge.av-mid {
    background: rgba(255, 192, 14, 0.2);
    color: var(--cordee);
    border: 1px solid rgba(255, 192, 14, 0.3);
}
.ww-card-img-badge.av-high {
    background: rgba(255, 80, 60, 0.2);
    color: #ff6b5a;
    border: 1px solid rgba(255, 80, 60, 0.3);
}

/* Card main row (icon + temp + feels) */
.ww-card-main-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}
.ww-card-main-row .ww-card-icon {
    margin: 0;
    font-size: 1.5rem;
}
.ww-card-main-row .ww-card-temp {
    margin: 0;
    font-size: 1.6rem;
}
.ww-card-feels {
    font-family: var(--font-body);
    font-size: 0.5rem;
    color: var(--slate);
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* Alpine stats second row */
.ww-card-stats-alpine {
    border-top: 1px solid rgba(144, 192, 206, 0.08);
}

.ww-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.ww-card:hover {
    border-color: rgba(255, 192, 14, 0.35);
    box-shadow: 0 0 30px rgba(255, 192, 14, 0.08);
    transform: translateY(-2px);
}

/* Corner brackets */
.ww-card::before,
.ww-card::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    transition: border-color 0.3s;
}
.ww-card::before {
    top: 5px; left: 5px;
    border-top: 1px solid rgba(144, 192, 206, 0.2);
    border-left: 1px solid rgba(144, 192, 206, 0.2);
}
.ww-card::after {
    bottom: 5px; right: 5px;
    border-bottom: 1px solid rgba(144, 192, 206, 0.2);
    border-right: 1px solid rgba(144, 192, 206, 0.2);
}
.ww-card:hover::before,
.ww-card:hover::after {
    border-color: rgba(255, 192, 14, 0.5);
}

/* Click hint */
.ww-card-hint {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: var(--font-body);
    font-size: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate);
    opacity: 0;
    transition: opacity 0.3s;
}
.ww-card:hover .ww-card-hint { opacity: 1; }

/* Card inner elements */
.ww-card-name {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--snow);
}

.ww-card-alt {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--glacier);
    background: rgba(144, 192, 206, 0.1);
    padding: 0.15rem 0.45rem;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

.ww-card-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--cordee);
    margin: 0.8rem 0 0.4rem;
}

.ww-card-temp {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--snow);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    transition: color 0.3s;
}
.ww-card:hover .ww-card-temp {
    color: var(--cordee);
}

.ww-card-condition {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--glacier);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.ww-card:hover .ww-card-condition {
    color: var(--cordee);
}

.ww-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 192, 14, 0.15);
}

.ww-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.ww-stat-label {
    font-family: var(--font-body);
    font-size: 0.45rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}
.ww-card:hover .ww-stat-label {
    color: rgba(255, 192, 14, 0.6);
}

.ww-stat-val {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--snow);
    letter-spacing: 0.02em;
}

.ww-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.ww-station-name {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--snow);
}

.ww-station-dept {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.1rem;
}

.ww-alt-badge {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--glacier);
    background: rgba(144, 192, 206, 0.1);
    padding: 0.15rem 0.4rem;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.ww-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.ww-icon {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--glacier);
    opacity: 0.9;
}

.ww-temp {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--snow);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ww-temp-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--glacier);
    margin-left: 0.1rem;
}

.ww-condition {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--glacier);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.ww-feels {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: var(--slate);
    letter-spacing: 0.05em;
}

.ww-divider {
    height: 1px;
    background: rgba(144, 192, 206, 0.08);
    margin: 0.6rem 0;
}

.ww-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.ww-stat { text-align: center; }

.ww-stat-icon {
    font-size: 0.65rem;
    color: var(--glacier);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.15rem;
}

.ww-stat-value {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--snow);
    display: block;
}

.ww-stat-label {
    font-family: var(--font-body);
    font-size: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate);
    display: block;
    margin-top: 0.05rem;
}

/* ========================
   DETAIL VIEW (expanded card)
   ======================== */

.ww-detail {
    display: none;
    padding: 1.5rem;
}

.ww-detail.open {
    display: block;
    animation: wwDetailIn 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes wwDetailIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.ww-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(144, 192, 206, 0.12);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--glacier);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s, background 0.2s;
}
.ww-detail-back:hover {
    border-color: rgba(144, 192, 206, 0.25);
    background: rgba(144, 192, 206, 0.05);
}

/* Detail header */
.ww-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ww-detail-station {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--snow);
    letter-spacing: 0.06em;
}

.ww-detail-dept {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.ww-detail-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.ww-detail-icon {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--glacier);
}

.ww-detail-temp {
    font-family: var(--font-body);
    font-size: 4rem;
    font-weight: 700;
    color: var(--snow);
    line-height: 1;
}

.ww-detail-temp-unit {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--glacier);
}

.ww-detail-condition {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--glacier);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ww-detail-feels {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--slate);
    margin-top: 0.25rem;
}

/* Detail stats grid */
.ww-detail-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    background: rgba(15, 26, 36, 0.6);
    border: 1px solid rgba(144, 192, 206, 0.08);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.ww-detail-stat {
    text-align: center;
}

.ww-detail-stat-icon {
    font-size: 1rem;
    color: var(--glacier);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.4rem;
}

.ww-detail-stat-value {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--snow);
    display: block;
}

.ww-detail-stat-label {
    font-family: var(--font-body);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate);
    display: block;
    margin-top: 0.2rem;
}

/* Hourly forecast strip */
.ww-detail-hourly-title {
    font-family: var(--font-body);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--glacier);
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.ww-detail-hourly {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(15, 26, 36, 0.6);
    border: 1px solid rgba(144, 192, 206, 0.08);
    border-radius: 6px;
    padding: 0.75rem 0;
}
.ww-detail-hourly::-webkit-scrollbar { display: none; }

.ww-hour-slot {
    flex: 1;
    min-width: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.4rem;
    border-right: 1px solid rgba(144, 192, 206, 0.05);
}
.ww-hour-slot:last-child { border-right: none; }

.ww-hour-time {
    font-family: var(--font-body);
    font-size: 0.5rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ww-hour-icon {
    font-size: 1.1rem;
    color: var(--glacier);
    opacity: 0.8;
}

.ww-hour-temp {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--snow);
}

.ww-hour-wind {
    font-family: var(--font-body);
    font-size: 0.45rem;
    color: var(--slate);
    letter-spacing: 0.05em;
}

/* Responsive widget */
@media (max-width: 1024px) {
    .ww-grid { grid-template-columns: repeat(2, 1fr); }
    .ww-detail-stats { grid-template-columns: repeat(3, 1fr); }
    .ww-card-img { height: 140px; }
}

@media (max-width: 600px) {
    .ww-panel {
        top: 60px;
        width: 95vw;
        max-height: calc(100vh - 70px);
        border-radius: 12px;
    }
    .ww-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .ww-card-img { height: 180px; }
    .ww-card-footer { gap: 0.35rem; }
    .ww-detail-stats { grid-template-columns: repeat(2, 1fr); }
    .ww-detail-header { flex-direction: column; gap: 1rem; }
    .ww-detail-main { margin-left: 0; }
    .ww-detail-temp { font-size: 3rem; }
    .ww-header { padding: 1rem; }
    .ww-days { padding: 0 1rem; }
    .ww-grid { padding: 1rem; }
    .ww-detail { padding: 1rem; }
}
