:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gradient: linear-gradient(90deg, #4ade80 0%, #06b6d4 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-pill: 999px;
    --radius-card: 18px;
    --surface-hero: #000000;
    --surface-a: #050505;
    --surface-b: #060606;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.12rem, 1vw + 0.92rem, 1.34rem);
}

.glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(6px);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.2);
    }
}


.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.12em;
}

.gradient-text-2 {
    background: linear-gradient(90deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heatmap-abstract {
    width: 300px;
    height: 300px;
    position: relative;
    transition: filter 0.8s ease;
}


.rust-reveal-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    filter: blur(50px);
    transition: opacity 0.8s ease, filter 0.8s ease;

    z-index: 10;
}

.rust-reveal-img.fully-visible {
    filter: none;
    opacity: 1;
}


.heat-blob {}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    margin-left: 1.8rem;
    justify-content: space-evenly;
}

/* Partner demo + WhatsApp CTAs aligned with the rest of the nav bar */
.nav-actions-end {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.125rem;
    flex-shrink: 0;
}

.nav-appointment {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    opacity: 0.9;
}

@media (min-width: 981px) {
    /* Hide partner demo + Try for Free until user scrolls past hero (reduces duplicate CTAs) */
    .navbar:not(.navbar--show-nav-cta) .nav-actions-end {
        opacity: 0;
        visibility: hidden;
        max-width: 0;
        min-width: 0;
        margin: 0;
        padding: 0;
        gap: 0;
        overflow: hidden;
        pointer-events: none;
        flex: 0 0 0;
        transform: translateY(-6px);
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            max-width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.55s;
    }

    .navbar.navbar--show-nav-cta .nav-actions-end {
        opacity: 1;
        visibility: visible;
        max-width: 560px;
        flex: 0 1 auto;
        transform: translateY(0);
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            max-width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }
}

.nav-appointment-fallback {
    display: none;
    text-decoration: none;
}

.nav-links > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links > a:hover {
    color: #fff;
}

.cta-button-small {
    background: #25d366;
    color: #03220f !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-small:hover,
.cta-button-small:focus-visible {
    text-decoration: none;
}

.cta-button-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}


.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 980px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(84vw, 340px);
        height: 100dvh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        transition: right 0.3s ease;
        padding: 1.1rem 0.95rem calc(1.1rem + env(safe-area-inset-bottom));
        z-index: 99;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .nav-links.active {
        right: 0;
    }

    /* Slide-out nav: language list must stay in flow; absolute .lang-content collapses
       the dropdown box so .nav-appointment stacks on top and hides options (769px–980px gap). */
    .nav-links > a {
        width: 100%;
        font-size: 0.96rem;
        margin-bottom: 0.45rem;
        padding: 0.55rem 0.1rem;
    }

    .lang-dropdown {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 0.55rem;
    }

    .nav-links > a[href="#features"] {
        order: 2;
    }

    .nav-links > a[href="#demo"] {
        order: 3;
    }

    .nav-links > a[href="#about"] {
        order: 4;
    }

    .nav-actions-end {
        order: 5;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0.45rem 0 0.6rem;
        gap: 0.5rem;
    }

    .nav-actions-end .nav-appointment {
        width: 100%;
        margin: 0;
        justify-content: center;
    }

    .nav-appointment .calendar-button-target {
        display: none !important;
    }

    .nav-appointment-fallback {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 232px;
        min-height: 44px;
        height: 44px;
        margin: 0 auto;
        padding: 0 0.85rem;
        border-radius: 10px;
        background: #039BE5;
        color: #fff !important;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 600 !important;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .nav-actions-end .cta-button-small {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        height: 44px;
        margin: 0 auto 0.25rem;
        border-radius: 10px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.85rem;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
    }

    .lang-btn {
        width: 100%;
        text-align: left;
        border-radius: 10px;
        font-size: 0.9rem;
        padding: 0.58rem 0.85rem;
    }

    .lang-content {
        position: static;
        top: auto;
        right: auto;
        margin-top: 0.5rem;
        width: 100%;
        max-height: min(52vh, 360px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .lang-content a {
        font-size: 0.94rem;
        margin-bottom: 0;
    }

    .lang-dropdown.active {
        z-index: 30;
    }
}


@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-animate {
    animation: chatSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}


.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Extra top padding: fixed nav grows when .scrolled is removed near the top — avoid overlap with headline */
    padding: 8rem 1rem 4rem;
    background: var(--surface-hero);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, rgba(0, 0, 0, 0) 72%);
    filter: blur(70px);
    z-index: -1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 20%, black 25%, transparent 75%);
    opacity: 0.22;
    pointer-events: none;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.4rem;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.25rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tagline-bridge {
    position: relative;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--surface-a);
}

.tagline-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.85;
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tagline.revealed {
    opacity: 0.9;
    transform: translateY(0);
}

.trust-strip {
    padding: 1.2rem 1.5rem 3.2rem;
    background: var(--surface-a);
}

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

.trust-kicker {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.9rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.trust-pill {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.015);
    color: #d4d4d8;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.trust-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.trust-pill-esa::before {
    background: #4ade80;
    box-shadow: none;
}

.trust-pill-gee::before {
    background: #06b6d4;
    box-shadow: none;
}

.trust-pill-wa::before {
    background: #25d366;
    box-shadow: none;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.trust-metric {
    border-radius: var(--radius-card);
    padding: 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border-color 0.2s ease;
}

.trust-metric:hover {
    border-color: rgba(74, 222, 128, 0.35);
}

.trust-metric strong {
    font-size: 1.2rem;
    color: #fff;
}

.trust-metric span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-primary-cta {
    border-radius: var(--radius-pill);
    box-shadow: none;
    background: #25d366;
    color: #03220f;
    font-weight: 700;
}

.hero-primary-cta:hover {
    transform: translateY(-1px) scale(1.03);
}

.hero-qr-quickstart {
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.55rem 0.7rem;
}

.hero-qr-quickstart img {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
}

.hero-qr-quickstart span {
    max-width: 260px;
    text-align: left;
    font-size: 0.88rem;
    color: #d7dde6;
}

.hero-cta-subtext {
    margin: 0.55rem auto 0;
    max-width: 34ch;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
}

.tagline-lead {
    margin: 0 auto 1rem;
    max-width: 42rem;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    color: #e2e8f0;
    text-align: center;
}

.tagline-points {
    margin: 0 auto;
    padding: 0;
    max-width: 40rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tagline-points li {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.95rem;
    line-height: 1.45;
    color: #cbd5e1;
    text-align: left;
}

.tagline-points li strong {
    color: #f1f5f9;
}

.metric-insight {
    margin: 0.65rem 0 0;
    padding: 0.55rem 0 0 0.75rem;
    border-left: 3px solid #2dd4bf;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.calendar-button-target {
    display: flex;
    justify-content: center;
    width: auto;
}

.cta-button {
    background: var(--text-primary);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.secondary-button {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
}


.hero-visual {
    perspective: 1000px;
    transition: none;
    will-change: auto;
}

.phone-mockup {
    width: 320px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.phone-mockup.floating {
    animation: none;
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
    position: relative;
    text-align: left;
}

.received {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.sent {
    background: #005c4b;

    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.data-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.value.critical {
    color: #ff6b6b;
    font-weight: bold;
}



.scrolly-section {
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-b);
    border-radius: 12px;
}

.scrolly-container {
    display: flex;
    gap: 4rem;
    position: relative;
}


.scrolly-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 100vh;
    padding-top: 20vh;
    padding-bottom: 100vh;
}

.step {
    min-height: 40vh;
    display: flex;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s;
}

.step.active {
    opacity: 1;
}

.step-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #4ade80;
}


.scrolly-visual {
    flex: 1;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-wrapper {
    position: relative;
    width: 320px;
}


.map-placeholder {
    width: 100%;
    height: 150px;
    background: #0f172a;
    /* Deeper navy for a more technical feel */
    border-radius: 8px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.field-boundary {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 1.5px solid rgba(74, 222, 128, 0.4);
    background: rgba(74, 222, 128, 0.05);
    clip-path: polygon(10% 0%, 90% 5%, 100% 80%, 80% 100%, 0% 90%);
    z-index: 2;
}

.heat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    filter: blur(15px);
    z-index: 3;
}

.heat-good {
    background: radial-gradient(circle at 30% 30%, #4ade80, transparent 70%);
}

.heat-stress {
    background: radial-gradient(circle at 70% 60%, #ef4444, transparent 60%);
}

.heat-water {
    background: radial-gradient(circle at 50% 50%, #3b82f6, transparent 80%);
}

.poi-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: pulse-marker 2s infinite;
    z-index: 4;
}

@keyframes pulse-marker {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.5);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


.upload-ui {
    background: #2a2a2a;
    border: 2px dashed #555;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    color: #888;
}

.upload-btn {
    background: #4ade80;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {


    .navbar {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .scrolly-section,
    .science-section,
    .onboarding,
    .value-prop,
    .demo-video-section {
        border-radius: 16px;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 7.25rem;
    }

    .hero-content {
        margin-bottom: 1.3rem;
    }

    .hero-qr-quickstart {
        display: none;
    }

    .hero-qr-quickstart span {
        max-width: none;
    }


    .scrolly-container {
        flex-direction: column-reverse;

        position: relative;
    }

    .scrolly-visual {
        position: sticky;
        top: 90px;

        height: 80vh;

        display: flex;
        justify-content: center;
        align-items: flex-start;
        z-index: 1;
        margin-bottom: 0;
        padding-top: 0;
    }

    .sticky-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 100%;
    }

    .phone-mockup {
        width: 90vw;
        max-width: 350px;
        min-width: 300px;
        height: 100%;
        min-height: 600px;

        max-height: none;


        border: 4px solid #444;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.1);
        background: #000;
        border-radius: 35px;

        z-index: 2;
    }


    .scrolly-text {
        padding: 0;
        margin-top: -5vh;

        position: relative;
        z-index: 10;
        pointer-events: none;
    }

    .step {
        min-height: 80vh;

        display: flex;
        align-items: flex-end;

        justify-content: center;
        padding-bottom: 15vh;

        pointer-events: auto;
    }

    .step-content {
        background: rgba(10, 10, 10, 0.7);

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        border-left: 3px solid #4ade80;

        width: 90%;
        max-width: 350px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);



        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .icon-box {
        display: none;

    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.demo-video-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-a);
    border-radius: 12px;
}

.demo-video-frame {
    width: min(100%, 380px);
    margin: 0 auto;
}

.demo-phone-shell {
    position: relative;
    width: 100%;
    border-radius: 46px;
    padding: 14px 12px 24px;
    background: linear-gradient(145deg, #171717 0%, #040404 45%, #1d1d1d 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.demo-phone-screen {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 34px;
    overflow: hidden;
    background: #000;
}

.demo-phone-home-indicator {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    width: 32%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.demo-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.step-content,
.metric-row,
.about-container,
.mission-block,
.method-box {
    transition: border-color 0.2s ease, background 0.2s ease;
}

.step-content:hover,
.metric-row:hover,
.about-container:hover,
.mission-block:hover,
.method-box:hover {
    border-color: rgba(74, 222, 128, 0.28);
}

.icon-box {
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(6, 182, 212, 0.18));
    border: 1px solid rgba(74, 222, 128, 0.25);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


.value-prop {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-a);
    border-radius: 12px;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.text-side {
    flex: 1;
}

.text-side h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(6, 182, 212, 0.18));
    color: #7ee8b5;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(74, 222, 128, 0.28);
    font-size: 0.82rem;
    margin-top: 4px;
}

.benefit-list strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}

.benefit-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.heatmap-abstract {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 40px;
    background: #111;
    overflow: hidden;
    filter: blur(10px);
}

.heat-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.b1 {
    width: 300px;
    height: 300px;
    background: #c0392b;
    top: -50px;
    left: -50px;
}

.b2 {
    width: 250px;
    height: 250px;
    background: #f39c12;
    bottom: 0;
    right: 0;
}

.b3 {
    width: 150px;
    height: 150px;
    background: #27ae60;
    top: 100px;
    left: 100px;
}


.about {
    padding: 8rem 2rem;
    background: var(--surface-b);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.about h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(90deg, #ff00cc 0%, #333399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat .label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mission-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.name-dict-box {
    margin: 1.6rem auto 0;
    max-width: 620px;
    text-align: left;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
}

.dict-term {
    margin: 0.08rem 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.dict-pron {
    margin: 0.1rem 0 0;
    font-size: 0.95rem;
    color: #c8ccd6;
}

.dict-meta {
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
    color: #b0b6c2;
}

.dict-definition {
    margin: 0.45rem 0 0;
    font-size: 1rem;
    color: #e9edf5;
}

.dict-definition-bridge {
    margin-top: 0.65rem;
    color: #cfd8e6;
}

/* Mission & Vision Section */
.mission-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #060708 0%, #0a0a0a 50%, #060708 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-container {
    max-width: 900px;
    margin: 0 auto;
}

.mission-header {
    margin-bottom: 4rem;
    text-align: center;
}

.mission-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.mission-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
}

.mission-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mission-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, background 0.3s ease;
    border-radius: 0 12px 12px 0;
}

.mission-block:hover {
    border-left-color: #4ade80;
    background: rgba(255, 255, 255, 0.02);
}

.mission-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.16), rgba(6, 182, 212, 0.14));
    border-radius: 12px;
    border: 1px solid rgba(74, 222, 128, 0.24);
}

.mission-content {
    flex: 1;
}

.mission-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.mission-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.team-section h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #fff;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.team-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.team-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.4rem;
}

.team-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.team-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.team-links a:hover {
    color: #fff;
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-2px);
}


footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.col h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-company-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-copyright-line {
    margin: 0;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .tagline-bridge {
        padding: 3rem 1rem;
    }

    .tagline-inner {
        padding: 0 0.5rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-primary-cta {
        padding: 0.72rem 1.25rem;
        font-size: 0.9rem;
    }

    .trust-strip {
        padding: 0.5rem 1rem 2rem;
    }

    .trust-metrics {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .trust-pill {
        font-size: 0.76rem;
    }

    .demo-video-section {
        padding: 4rem 1rem;
    }

    .demo-video-frame {
        width: min(100%, 330px);
    }

    .demo-phone-shell {
        border-radius: 40px;
        padding: 12px 10px 20px;
    }

    .demo-phone-screen {
        border-radius: 28px;
    }

    .content-split {
        flex-direction: column-reverse;
    }

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

    .about-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

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

    .about {
        padding: 4rem 1rem 3rem;
    }

    .about-container {
        padding: 2rem 1.25rem;
    }

    .about h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .stat .number {
        font-size: 1.8rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    .name-dict-box {
        margin-top: 1.2rem;
        padding: 0.9rem;
    }

    .dict-term {
        font-size: 1.2rem;
    }

    .mission-header h2 {
        font-size: 2rem;
    }

    .mission-lead {
        font-size: 1.05rem;
    }

    .mission-block {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.25rem;
    }

    .mission-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
    }

    .team-info {
        align-items: center;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    .team-links {
        justify-content: center;
    }
}


.lang-dropdown {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-content {
    position: absolute;
    top: 120%;
    right: 0;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 150px;
    max-height: min(60vh, 320px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.lang-dropdown.active .lang-content {
    display: flex;
}

.lang-content a {
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.lang-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-content a.active {
    background: rgba(37, 211, 102, 0.16);
    color: #eafff2;
    border: 1px solid rgba(37, 211, 102, 0.45);
}


.section-dark {
    background: #050505;
    padding: 80px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}


.science-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-a);
    border-radius: 12px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    max-height: 200px;
}

.metric-card.active {
    max-height: 1000px;
    background: rgba(255, 255, 255, 0.08);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.5);
}

.metric-detail {
    opacity: 0;
    max-height: 0;
    transition: all 0.5s ease;
    padding-top: 0;
}

.metric-card.active .metric-detail {
    opacity: 1;
    max-height: 500px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.metric-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid var(--glass-border);
}


.methodology {
    padding: 8rem 2rem;
    background: radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.content-split.reverse {
    flex-direction: row-reverse;
}

.methodology-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
}

.trend-img {
    height: 300px;
    object-fit: cover;

}

.method-box {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 20px;
}

.zscore-chart {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 12px;
}


.onboarding {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-b);
    border-radius: 12px;
}

.step-list {
    list-style: none;
    margin-top: 2rem;
}

.step-list li {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 3px solid #4ade80;
    font-weight: 500;
}

.registration-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .content-split.reverse {
        flex-direction: column-reverse;
    }
}


.metrics-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.metric-row {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.metric-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.metric-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
}

.metric-icon {
    font-size: 2rem;
    min-width: 50px;
}

.metric-info h3 {
    margin: 0;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.metric-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.metric-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.metric-row.active .metric-arrow {
    transform: rotate(180deg);
}

.metric-row .metric-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    border-top: 1px solid transparent;
    transition: all 0.4s ease;
}

.metric-row.active .metric-detail {
    max-height: 800px;
    opacity: 1;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.detail-content {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}


.centered-section {
    text-align: center;
}

.methodology-visuals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.methodology-visuals img {
    max-width: 450px;
    height: auto;
}

.methodology-visuals .method-box {
    max-width: 450px;
    text-align: left;
    margin-top: 0;
}

@media (max-width: 900px) {
    .methodology-visuals {
        flex-direction: column;
        gap: 2rem;
    }
}


@keyframes floatLabel {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) translateX(5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.8;
    }
}

.methodology-visuals {
    position: relative;

}


.visual-container {
    position: relative;
    display: inline-block;
}

.flying-label {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.1);
    animation: floatLabel 4s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
    text-transform: lowercase;
}

.label-fusion {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.label-radar {
    bottom: 20%;
    left: -10%;
    animation-delay: 2s;
}

.label-zscore {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.label-zscore::after {
    display: none;
}

.label-trend {
    top: 20%;
    right: 5%;
    animation-delay: 1.5s;
}


.floating {
    animation: float 6s ease-in-out infinite;
}


.axis-labels-container {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10% 0 15%;

    font-size: 0.75rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.code-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}


.number-frame {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;

    margin-left: 0.5rem;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.copy-btn.copied {
    color: #4ade80;
}

.number-frame.copied {
    border-color: #4ade80 !important;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.6), inset 0 0 5px rgba(74, 222, 128, 0.2) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}


@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(calc(50vw - 50px)) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(calc(50vw - 50px)) rotate(-360deg);
    }
}

.orbiting-satellite {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 1;

    animation: none;
    display: none;

}

.satellite-icon {
    font-size: 1.5rem;
    opacity: 0.4;

    filter: grayscale(0);
    display: block;
}

.tech-spec-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #050505 0%, #030303 100%);
}

.tech-spec-grid {
    width: min(1200px, 100%);
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tech-spec-card {
    padding: 1.3rem;
    border-radius: var(--radius-card);
}

.tech-spec-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.tech-spec-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.tech-spec-card li + li {
    margin-top: 0.45rem;
}

@media (max-width: 900px) {
    .tech-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* Cookie consent + optional analytics */
.cookie-consent-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10000;
    padding: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent-banner:not([hidden]) {
    pointer-events: auto !important;
}

/* Backup hide: some mobile WebViews treat [hidden] inconsistently with flex parents */
.cookie-consent-banner.cookie-consent-banner--dismissed {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.cookie-consent-inner {
    width: min(640px, 100%);
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-card);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.cookie-consent-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.cookie-consent-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.cookie-btn {
    font-family: var(--font-stack);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 2;
}

.cookie-btn:hover {
    opacity: 0.92;
}

.cookie-btn:active {
    transform: scale(0.98);
}

.cookie-btn-primary {
    background: linear-gradient(90deg, #4ade80 0%, #06b6d4 100%);
    color: #020617;
    border: none;
}

.cookie-btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.cookie-consent-learn {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    display: inline-block;
}

.cookie-consent-learn:hover {
    color: var(--text-primary);
}
