/* Avenir Next is a system font on Apple devices, no import required */

/* Umbrality Real Design Tokens (Neon Solar Yellow Accent) */
:root {
    --bg: #020203;
    --bg-deep: #000000;
    --surface: #0a0a0d;
    --surface-card: #0e0e12;
    --primary: #FFE600;
    /* Neon Solar Yellow */
    --primary-light: #FFF27F;
    /* Soft light yellow */
    --primary-deep: #C5A200;
    /* Gold/Amber deep yellow */
    --primary-glow: rgba(255, 230, 0, 0.12);
    --primary-glow-heavy: rgba(255, 230, 0, 0.35);
    --border: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.09);
    --text: #FFFFFF;
    --text-muted: #8E8E93;
    --success: #2ECC71;
    --danger: #E74C3C;
    --warning: #FF9F0A;
    --info: #0A84FF;
    --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.95);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #1c1c22;
    border-radius: 4px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-44px);
    filter: blur(10px);
}

.reveal-left.is-visible {
    animation: reveal-left-in 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-left {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

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

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

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

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes reveal-left-in {
    from {
        opacity: 0;
        transform: translateX(-44px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes pulse-solar {
    0% {
        box-shadow: 0 0 35px rgba(255, 230, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 55px rgba(255, 230, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 35px rgba(255, 230, 0, 0.15);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

@keyframes corona-grow {
    0% {
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.75;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.95;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.75;
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-solar {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 60%, var(--primary-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 2, 3, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}

.logo img {
    height: 34px;
    width: auto;
    border-radius: 0;
    display: block;
    max-width: min(38vw, 142px);
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 18px rgba(255, 230, 0, 0.25);
}

.btn-primary:hover {
    background: #FFF04D;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 230, 0, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--text-muted);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 170px 0 110px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 75%, var(--bg) 100%),
        url('./assets/images/Background.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.hero-tagline {
    background: rgba(255, 230, 0, 0.06);
    border: 1px solid rgba(255, 230, 0, 0.18);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 530px;
}

.download-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.download-badge {
    height: 46px;
    width: auto;
    transition: var(--transition);
}

.download-badge:hover {
    transform: translateY(-2px);
}

/* Next Eclipse Widget (Website) */
.next-eclipse-widget {
    background: rgba(10, 10, 13, 0.65);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px;
    border-radius: 18px;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    min-width: 420px;
}

.hero-map-stage {
    padding-top: 56px;
}

.hero-map-stage-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.hero-map-card {
    width: 100%;
    max-width: 1180px;
}

.hero-map-card .map-container-card {
    height: 620px;
}

.hero-map-copy {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.hero-map-title {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.95;
    margin: 0;
}

.hero-map-description {
    max-width: 680px;
    margin: 0;
}

.hero-map-countdown {
    min-width: 0;
    width: 100%;
    max-width: 540px;
}

.hero-map-actions {
    justify-content: center;
}

.next-eclipse-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    gap: 16px;
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    min-width: 70px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.timer-label {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Celestial Eclipse Graphics (Hero) */
.celestial-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.eclipse-corona-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow-heavy) 0%, transparent 70%);
    z-index: 1;
    animation: corona-grow 8s infinite ease-in-out;
}

.eclipse-sun {
    position: absolute;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFFFF0 20%, var(--primary) 70%, var(--primary-deep) 100%);
    box-shadow: 0 0 50px var(--primary-glow-heavy);
    z-index: 2;
}

.eclipse-moon {
    position: absolute;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: inset -10px -10px 30px rgba(0, 0, 0, 0.95), 10px 10px 30px rgba(0, 0, 0, 0.95);
    z-index: 3;
    transform: translate(-28px, 0);
    /* Simulated dynamic offset */
    transition: transform 5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero:hover .eclipse-moon {
    transform: translate(0px, 0px);
    /* Aligns perfectly on hover to show total eclipse */
}

.eclipse-stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    background: #000;
    z-index: 0;
}

.eclipse-stars__nebula,
.eclipse-stars__glow,
.eclipse-stars__starfield,
.eclipse-stars__shooting {
    position: absolute;
    inset: 0;
}

.eclipse-stars__nebula {
    background: rgba(0, 0, 0, 0.58);
}

.eclipse-stars__glow {
    background:
        radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.035) 0%, transparent 34%),
        radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.02) 0%, transparent 24%);
    opacity: 0.35;
}

.eclipse-stars__star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0.16;
    animation: star-twinkle linear infinite alternate;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.16);
}

.eclipse-stars__star--gold {
    background: rgba(255, 236, 153, 0.55);
    box-shadow: 0 0 6px rgba(255, 230, 0, 0.16);
}

.eclipse-stars__trail {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.12));
    opacity: 0;
    transform: rotate(-28deg) translate3d(0, 0, 0);
    animation: shooting-star var(--trail-duration, 8s) linear infinite;
    animation-delay: var(--trail-delay, 0s);
}

@keyframes star-twinkle {
    from {
        opacity: 0.08;
        transform: scale(0.85);
    }

    to {
        opacity: 0.34;
        transform: scale(1.15);
    }
}

@keyframes shooting-star {
    0% {
        opacity: 0;
        transform: translate3d(150px, -80px, 0) rotate(-28deg);
    }

    6% {
        opacity: 0.9;
    }

    18% {
        opacity: 0;
        transform: translate3d(-250px, 170px, 0) rotate(-28deg);
    }

    100% {
        opacity: 0;
        transform: translate3d(-250px, 170px, 0) rotate(-28deg);
    }
}

/* Device Preview / Interactive Showcase */
.interactive-showcase {
    background: #060608;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 0;
    position: relative;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 80px;
}

.showcase-info h2 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.showcase-info p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Phone Mockup Layout (Custom iPhone chassis) */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-container {
    width: 350px;
    height: 720px;
    background: #000;
    border-radius: 48px;
    padding: 11px;
    box-shadow: 0 30px 65px -15px rgba(0, 0, 0, 0.95), 0 0 0 4px #242426, 0 0 0 10px #151517, 0 0 80px rgba(255, 230, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.phone-notch {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 27px;
    background: #000;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-camera {
    width: 9px;
    height: 9px;
    background: #111;
    border-radius: 50%;
    margin-right: 32px;
}

.phone-speaker {
    width: 44px;
    height: 3.5px;
    background: #1c1c1f;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* App Simulator Interface */
.phone-status-bar {
    height: 38px;
    padding: 14px 26px 0 26px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    z-index: 90;
    background: #000000;
}

.phone-status-icons {
    display: flex;
    gap: 6px;
}

.phone-screen-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    padding-bottom: 74px;
    position: relative;
    scrollbar-width: none;
}

.phone-screen-content::-webkit-scrollbar {
    display: none;
}

/* CUSTOM Premium Tab Bar from Screenshot */
.phone-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(10, 10, 13, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 99;
}

.phone-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8E8E93;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 2px;
    flex: 1;
    height: 42px;
    border-radius: 20px;
}

/* Active tab pill from screenshots: bright yellow background, dark text/icon */
.phone-tab-item.active {
    background: var(--primary);
    color: #000000;
    opacity: 1;
}

.phone-tab-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition);
}

.phone-tab-item.active svg {
    stroke: #000000;
    fill: none;
}

/* App Simulator Screen Views */
.sim-screen {
    display: none;
    flex-direction: column;
    gap: 14px;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sim-screen.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* App Mockup UI Typography */
.sim-app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 12px 0;
}

.sim-app-logo img {
    height: 20px;
}

.sim-app-logo-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #fff;
}

.sim-app-logo-text span {
    color: var(--primary);
}

/* APP HOME SCREEN (Screenshot Match) */
.sim-main-eclipse-title {
    text-align: center;
    margin-bottom: 2px;
}

.sim-main-eclipse-title h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.sim-main-eclipse-title p {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2px;
}

/* Earth & Eclipse Banner from screenshot */
.sim-banner-earth {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background-color: #000;
}

.sim-banner-earth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Cuenta Regresiva Card (Screenshot Match) */
.sim-regresiva-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.sim-regresiva-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sim-regresiva-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}

.sim-regresiva-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.sim-regresiva-lbl {
    font-size: 7.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

.sim-regresiva-sub {
    font-size: 9px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 8px;
    margin-top: 4px;
}

/* Tu experiencia durante el eclipse sub-header */
.sim-section-header-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-top: 8px;
}

/* Punto de Observacion Card (Screenshot Match) */
.sim-observacion-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.sim-obs-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 14px;
}

.sim-obs-pin-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-obs-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(255, 230, 0, 0.06);
    border: 1px solid rgba(255, 230, 0, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.sim-obs-icon-circle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.sim-obs-details {
    display: flex;
    flex-direction: column;
}

.sim-obs-lbl {
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.sim-obs-place {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1px;
}

.sim-obs-coords {
    font-size: 8.5px;
    color: var(--text-muted);
}

.sim-obs-times-row {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 12px;
}

.sim-obs-time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sim-obs-time-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.sim-obs-time-lbl {
    font-size: 7.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.sim-obs-time-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

/* Ocultación del disco solar Card (Screenshot Match) */
.sim-ocultacion-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.sim-ocult-graphic {
    position: relative;
    width: 66px;
    height: 66px;
    flex-shrink: 0;
}

.sim-ocult-sun-corona {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow-heavy) 30%, transparent 75%);
    box-shadow: 0 0 18px var(--primary-glow-heavy);
}

.sim-ocult-moon-disk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-ocult-info {
    display: flex;
    flex-direction: column;
}

.sim-ocult-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.sim-ocult-desc {
    font-size: 8.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

.sim-ocult-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2px;
}

.sim-ocult-status {
    font-size: 9px;
    font-weight: 600;
    color: #fff;
    margin-top: 1px;
}

/* Warnings and alerts cards from screenshot */
.sim-warning-card {
    background: rgba(255, 159, 10, 0.04);
    border: 1px solid rgba(255, 159, 10, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sim-warning-card svg {
    width: 14px;
    height: 14px;
    stroke: var(--warning);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.sim-warning-text {
    font-size: 8.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.sim-warning-text strong {
    color: var(--warning);
    display: block;
    font-size: 9.5px;
    margin-bottom: 2px;
}

/* Probabilidad de Cielos Despejados (Screenshot Match) */
.sim-cielos-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-cielos-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sim-cielos-header svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    margin-top: 2px;
}

.sim-cielos-title-box {
    display: flex;
    flex-direction: column;
}

.sim-cielos-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sim-cielos-sub {
    font-size: 8.5px;
    color: var(--text-muted);
}

.sim-cielos-weather-body {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.01);
    padding: 8px 12px;
    border-radius: 10px;
}

.sim-cielos-cloud-graphic {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.sim-cielos-sun-disk {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFE600;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.4);
}

.sim-cielos-cloud-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 20px;
    background: #4a4a52;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-cielos-cloud-overlay::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 6px;
    width: 16px;
    height: 16px;
    background: #4a4a52;
    border-radius: 50%;
}

.sim-cielos-cloud-overlay::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #4a4a52;
    border-radius: 50%;
}

.sim-cielos-weather-desc {
    display: flex;
    flex-direction: column;
}

.sim-cielos-hist-lbl {
    font-size: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.sim-cielos-pct-box {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.sim-cielos-pct-box svg {
    width: 12px;
    height: 12px;
    stroke: var(--warning);
    stroke-width: 2;
    fill: none;
}

.sim-cielos-pct-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.sim-cielos-weather-status {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 1px;
}

/* Detailed Weather stats table (Altitud solar, Lluvia, Temperatura) */
.sim-cielos-stats-table {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 10px;
}

.sim-cielos-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sim-cielos-stat-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.sim-cielos-stat-icon-wrapper {
    color: var(--text-muted);
    margin-bottom: 2px;
}

.sim-cielos-stat-icon-wrapper svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.sim-cielos-stat-lbl {
    font-size: 7.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.sim-cielos-stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.sim-cielos-stat-sub {
    font-size: 7.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

.sim-cielos-footer-meta {
    font-size: 7.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-cielos-footer-meta svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Qué ver durante el eclipse list view (Screenshot Match) */
.sim-quever-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-quever-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sim-quever-header svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.sim-quever-title-box {
    display: flex;
    flex-direction: column;
}

.sim-quever-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sim-quever-subtitle {
    font-size: 8.5px;
    color: var(--text-muted);
}

.sim-quever-section-title {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 10px;
    margin: 6px 0 2px 0;
}

.sim-quever-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-quever-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.sim-quever-item-left {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sim-quever-item-icon {
    color: var(--text-muted);
    margin-top: 1px;
}

.sim-quever-item-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.sim-quever-item-details {
    display: flex;
    flex-direction: column;
}

.sim-quever-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sim-quever-item-desc {
    font-size: 8px;
    color: var(--text-muted);
    margin-top: 1px;
    line-height: 1.3;
}

.sim-quever-item-pct {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

/* APP MAP SCREEN (Screenshot Match) */
.sim-map-top-card {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background: rgba(14, 14, 18, 0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px 14px;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sim-map-top-title-box {
    display: flex;
    flex-direction: column;
}

.sim-map-top-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
}

.sim-map-top-subtitle {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1px;
}

.sim-map-top-card svg {
    width: 12px;
    height: 12px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.sim-map-full-container {
    height: 480px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background: #0f172a;
}

/* Real Map image from screenshot (Europe/Spain) */
.sim-map-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* Totality path band overlay (Screenshot 4) */
.sim-map-totality-overlay {
    position: absolute;
    width: 320px;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(-35deg);
    border-top: 2px dashed rgba(255, 230, 0, 0.4);
    border-bottom: 2px dashed rgba(255, 230, 0, 0.4);
    top: 100px;
    left: -20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.sim-map-totality-overlay-center-line {
    position: absolute;
    width: 100%;
    height: 1px;
    border-top: 1.5px dashed var(--primary);
    top: 50%;
}

.sim-map-totality-overlay-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-map-marker-real {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 2px solid #000;
    border-radius: 50%;
    top: 260px;
    left: 190px;
    /* Mazatlan, or Madrid in Europe map */
    z-index: 6;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-solar 2s infinite;
    cursor: pointer;
}

.sim-map-marker-pulse-real {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    top: 252px;
    left: 182px;
    z-index: 5;
    opacity: 0;
    animation: ripple 2s infinite;
    pointer-events: none;
}

/* APP GUIDE SCREEN (Screenshot Match) */
.sim-guide-full-header {
    margin-bottom: 12px;
}

.sim-guide-full-header h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.sim-guide-full-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Mountain chasers image from screenshot */
.sim-guide-hero-banner {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    background-color: #000;
}

.sim-guide-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* List details items for Guide (Screenshot Match) */
.sim-guide-steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-guide-step-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.sim-guide-step-card:hover {
    background: rgba(255, 230, 0, 0.02);
    border-color: rgba(255, 230, 0, 0.15);
}

.sim-guide-step-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-guide-step-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.sim-guide-step-details {
    display: flex;
    flex-direction: column;
}

.sim-guide-step-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.sim-guide-step-desc {
    font-size: 8.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.sim-guide-step-card svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 2.5;
    fill: none;
}

/* App: Timeline / Alerts Screen */
.sim-timeline-full-card {
    background: #0e0e12;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Features Grid */
.features {
    padding: 100px 0;
    position: relative;
}

.showcase-section-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 42px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 230, 0, 0.14) 50%, rgba(255, 255, 255, 0.08) 82%, transparent 100%);
    opacity: 0.9;
}

.showcase-section-divider--compact {
    margin: 34px 0 28px;
}

.features-header--compact {
    margin-top: 15px;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.showcase-hero-image {
    width: min(100%, 320px);
    display: block;
    margin: 0 auto 22px;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-comparison-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0 24px;
    gap: 16px;
}

.showcase-comparison-card {
    width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.showcase-comparison-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.showcase-comparison-frame {
    --comparison-position: 50%;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 5;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #09090c;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.showcase-comparison-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.showcase-comparison-overlay {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
    will-change: clip-path;
}

.showcase-comparison-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--comparison-position);
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 230, 0, 0.95), rgba(255, 255, 255, 0.15));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
    z-index: 3;
}

.showcase-comparison-handle {
    position: absolute;
    top: 50%;
    left: var(--comparison-position);
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(10, 10, 14, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
}

.showcase-comparison-handle span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.95) 42% 58%, transparent 58% 100%);
    opacity: 0.92;
}

.showcase-comparison-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    touch-action: pan-y;
}

.showcase-comparison-caption {
    width: 100%;
    max-width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.showcase-comparison-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 20%, rgba(255, 255, 255, 0.18) 80%, transparent 100%);
    opacity: 0.9;
    margin-bottom: 30px;
}

.showcase-comparison-note-title {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.features-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.features-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.faq-section {
    position: relative;
    z-index: 10;
    padding: 10px 0 104px;
}

.faq-header {
    margin-bottom: 28px;
}

.article-faq {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: var(--transition), box-shadow 0.25s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.faq-item:hover {
    border-color: rgba(255, 230, 0, 0.24);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.faq-item[open] {
    border-color: rgba(255, 230, 0, 0.28);
    background: rgba(255, 255, 255, 0.082);
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::marker {
    content: "";
}

.faq-question {
    margin: 0;
    color: var(--primary);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.45;
    text-wrap: balance;
    flex: 1 1 auto;
}

.faq-answer {
    margin: 0;
    padding: 0 20px 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.68;
}

.faq-answer + .faq-answer {
    margin-top: 10px;
}

.faq-toggle {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 230, 0, 0.22);
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.faq-toggle::before {
    content: "+";
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: rgba(255, 230, 0, 0.08);
}

.faq-item strong {
    color: #fff;
}

.faq-item a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.features-header p,
.feature-card p,
.warning-card p,
.location-warning-card p,
.problem-warning-card p,
.banner-center p,
.guide-header p,
.guide-card p,
#footer-slogan,
#benefits-main-desc,
.push-desc,
.vis-sub {
    color: #fff;
}

#showcase-main-title,
#benefits-main-title {
    white-space: nowrap;
    font-size: clamp(1.25rem, 4.1vw, 3.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

#help-main-title,
#problem-main-title {
    white-space: nowrap;
    font-size: clamp(1.25rem, 4.1vw, 3.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

#warning-main-title {
    white-space: nowrap;
    font-size: clamp(1.25rem, 4.1vw, 3.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.warning-highlight {
    color: var(--primary);
}

.problem-highlight {
    color: var(--primary);
}

#warning-main-desc,
#help-main-desc,
#problem-main-desc {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#showcase-main-desc {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.showcase-highlight {
    color: var(--primary);
}

.feat-eclipse-anim {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px auto 44px;
    width: 100%;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 28px;
    border-radius: 30px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 230, 0, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 230, 0, 0.045) 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .feature-icon-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

.feature-icon-wrapper svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   SHOWCASE SECTION
   ========================================== */
.showcase-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 18px 0 34px;
}

.showcase-badges--below {
    margin: 24px 0 0;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12.5px;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    will-change: transform, opacity;
}

.showcase-pill svg {
    flex-shrink: 0;
    color: var(--primary);
}

.showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
    gap: 18px;
    align-items: stretch;
}

.showcase-visual-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    min-height: 360px;
    will-change: transform, opacity;
}

.showcase-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.94;
}

.showcase-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.36) 100%);
    pointer-events: none;
}

.showcase-visual-chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.showcase-visual-chip svg {
    color: var(--primary);
}

.showcase-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.showcase-stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 110px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    will-change: transform, opacity;
}

.showcase-stat-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.95;
}

.showcase-stat-label {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    letter-spacing: 0.2px;
}

.showcase-stat-card strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
}

/* ==========================================
   WARNING GRID / BENEFITS GRID
   ========================================== */
.safety-header-copy {
    margin-bottom: 34px;
}

.warning-grid {
    display: grid;
    gap: 16px;
}

.warning-grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.warning-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 40px;
    gap: 20px;
}

.warning-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 22px 20px;
    min-height: 196px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform, opacity;
}

.location-warning-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-warning-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.location-warning-card .feature-icon-wrapper {
    width: 36px;
    height: 36px;
    margin: 0 0 18px;
    color: var(--primary);
    opacity: 0.55;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-warning-card .feature-icon-wrapper svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.8;
}

.location-warning-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
}

.location-warning-card p {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

.problem-warning-grid {
    margin: 0 0 40px;
    gap: 20px;
}

.problem-warning-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-warning-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.problem-warning-card .feature-icon-wrapper {
    width: 36px;
    height: 36px;
    margin: 0 0 18px;
    color: var(--primary);
    opacity: 0.72;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-warning-card .feature-icon-wrapper svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.8;
}

.problem-warning-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
}

.problem-warning-card p {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

.security-visual-top {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}

.security-visual-outside {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.security-visual-phone {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    object-fit: contain;
    animation: float 5.8s ease-in-out infinite;
    will-change: transform;
}

.security-visual-glasses-cycle {
    width: min(100%, 560px);
    aspect-ratio: 1680 / 291;
    position: relative;
    margin: 0 auto 8px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: float 6.8s ease-in-out infinite;
}

.security-visual-glasses-cycle__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 120ms linear;
    pointer-events: none;
}

.security-visual-glasses-cycle__img.is-visible {
    opacity: 1;
}

.security-visual-badge {
    width: 100%;
    max-width: 136px;
    height: auto;
    display: block;
}

.warning-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 230, 0, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 230, 0, 0.04) 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.warning-card .feature-icon-wrapper {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    color: var(--primary);
    opacity: 0.95;
}

.warning-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.warning-card p {
    color: #fff;
    font-size: 13.5px;
    line-height: 1.55;
}

/* ==========================================
   GUIDE ROADMAP SECTION
   ========================================== */
.guide-roadmap-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background: radial-gradient(circle at 20% 20%, rgba(255, 230, 0, 0.03) 0%, transparent 45%);
}

.guide-roadmap-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 34px;
    padding: 34px 28px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.guide-roadmap-header {
    margin-bottom: 22px;
}

.guide-roadmap-header h2 {
    font-size: 36px;
}

.guide-roadmap-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.guide-roadmap-line::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    border-top: 1px dashed rgba(255, 230, 0, 0.22);
    transform: translateY(-50%);
}

.guide-roadmap-line span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #000;
    border: 1px solid rgba(255, 230, 0, 0.5);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.guide-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.roadmap-step-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 26px;
    padding: 16px;
    min-height: 268px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-step-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-step-card h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.roadmap-step-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.guide-open-btn {
    display: inline-flex;
    margin: 0 auto;
}

/* Safety Section */
.safety-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 80%, rgba(255, 230, 0, 0.03) 0%, transparent 60%);
    position: relative;
}

.safety-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.safety-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.safety-image-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 22px;
    border-radius: 30px;
    text-align: center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.safety-image-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 230, 0, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 230, 0, 0.04) 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.safety-image-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: var(--transition);
}

.safety-image-card:hover img {
    transform: scale(1.04);
}

.safety-image-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.safety-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.safety-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.safety-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.safety-checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text);
}

.safety-checklist svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

/* Call to Action */
.cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.cta p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    max-width: 280px;
}

.footer-column h4 {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 1024px) {

    .hero-layout,
    .showcase-layout,
    .safety-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        text-align: center;
        padding-top: 130px;
    }

    .hero-description {
        margin: 0 auto 36px auto;
    }

    .download-badges {
        justify-content: center;
    }

    .next-eclipse-widget {
        margin: 0 auto;
    }

    .celestial-showcase {
        height: 380px;
    }

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

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

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .container {
        padding: 0 16px;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 17px;
    }

    .lang-selector {
        flex: 1;
        min-width: 0;
        padding: 8px 12px;
        font-size: 14px;
    }

    #header-cta {
        flex: 0 0 auto;
        padding: 10px 14px;
        font-size: 14px;
    }

    nav {
        display: none;
        /* simple hidden responsive nav */
    }

    .hero {
        padding: 130px 0 72px 0;
        text-align: left;
    }

    .hero-layout {
        gap: 32px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.04;
        letter-spacing: -1.4px;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .next-eclipse-widget {
        min-width: 0;
        width: 100%;
        padding: 18px 16px;
    }

    .countdown-timer {
        gap: 10px;
        justify-content: flex-start;
    }

    .timer-block {
        min-width: 0;
        flex: 1;
    }

    .timer-number {
        font-size: 30px;
    }

    .countdown-meta-row {
        flex-direction: column;
        gap: 10px;
    }

    .phone-mockup-wrapper {
        width: 100%;
    }

    .phone-container {
        margin: 0 auto;
        width: min(100%, 320px);
        height: auto;
    }

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

    .safety-showcase {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 34px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================
   Leaflet Map Integration & Dark Mode Styles
   ========================================== */
#sim-leaflet-map {
    width: 100%;
    height: 100%;
    background: #07090e;
    z-index: 1;
}

/* OpenStreetMap Tiles Inversion filter to look like a premium dark space map */
.sim-map-full-container .leaflet-tile-container {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.sim-map-full-container .leaflet-container {
    background: #07090e;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
}

/* Custom premium popup cards inside Leaflet map */
.leaflet-popup-content-wrapper {
    background: rgba(14, 14, 18, 0.95) !important;
    border: 1px solid rgba(255, 230, 0, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    padding: 4px !important;
}

.leaflet-popup-content {
    margin: 10px 14px !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
}

.leaflet-popup-content strong {
    color: var(--primary) !important;
    font-size: 11px !important;
    display: block;
    margin-bottom: 2px;
}

.leaflet-popup-tip {
    background: rgba(14, 14, 18, 0.95) !important;
    border-left: 1px solid rgba(255, 230, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 230, 0, 0.2) !important;
}

.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-bar a {
    background-color: rgba(14, 14, 18, 0.9) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition);
}

.leaflet-bar a:hover {
    background-color: var(--primary) !important;
    color: #000 !important;
}

/* Horizontal rounded active capsule/pill tab bar (Screenshot 1 Match) */
.phone-tab-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
    height: 56px;
    background: rgba(10, 10, 13, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
}

.phone-tab-item {
    display: flex;
    flex-direction: row !important;
    /* Forces horizontal icon + text */
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8E8E93;
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 9.5px;
    font-weight: 700;
    flex: unset;
    height: 32px;
    box-sizing: border-box;
}

.phone-tab-item.active {
    background: var(--primary) !important;
    color: #000000 !important;
    box-shadow: 0 4px 14px rgba(255, 230, 0, 0.25);
}

.phone-tab-item svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: none;
}

.phone-tab-item.active svg {
    stroke: #000000 !important;
}

.phone-tab-item:not(.active) span {
    display: none;
    /* Inactive tabs hide label to avoid overcrowding inside smaller screen widths */
}

/* Custom switch sliders for simulator settings panel */
.sim-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

.sim-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sim-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2c2c35;
    transition: .3s;
    border-radius: 18px;
}

.sim-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.sim-slider {
    background-color: var(--primary);
}

input:checked+.sim-slider:before {
    transform: translateX(14px);
    background-color: #000000;
}


/* ==========================================
   Wide Map Section & App Popup Panel Styles
   ========================================== */
.interactive-map-section {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.03), transparent 40%), #07090e;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.map-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.map-dashboard-container {
    position: relative;
    width: 100%;
    height: 620px;
    background: #0b0d13;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 10;
}

#full-page-leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Premium Tile Filters for Space Look */
.map-dashboard-container .leaflet-tile-container {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.map-dashboard-container .leaflet-container {
    background: #07090e;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
}

/* Floating header on map */
.map-floating-header {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.map-floating-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 20px;
}

.map-floating-header-logo img {
    width: 24px;
    height: 24px;
}

.map-floating-header-logo span {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.map-floating-header-info {
    display: flex;
    flex-direction: column;
}

.map-floating-header-info .m-title {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.map-floating-header-info .m-subtitle {
    color: #FFD700;
    font-weight: 600;
    font-size: 14px;
    margin-top: 1px;
}

/* Floating Legend badge */
.map-floating-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.map-floating-legend .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.8);
    border: 1.5px solid #FFD700;
}

/* App Popup Panel floating on Map */
.app-popup-panel {
    position: absolute;
    right: 20px;
    top: 20px;
    bottom: 20px;
    width: 360px;
    background: rgba(14, 14, 18, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    z-index: 1000;
    padding: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    color: #fff;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-popup-panel.active {
    transform: translateX(0);
    opacity: 1;
}

.popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #8E8E93;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.popup-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popup-scroll-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.popup-scroll-container::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Header Row of popup */
.popup-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.popup-location-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.popup-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    background: rgba(255, 215, 0, 0.12);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.popup-badge.not-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #8E8E93;
    border-color: rgba(255, 255, 255, 0.2);
}

.popup-badge.total {
    background: rgba(255, 106, 0, 0.15);
    color: #FF6A00;
    border-color: rgba(255, 106, 0, 0.3);
}

.popup-location-title {
    color: #8E8E93;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-location-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-top: 2px;
}

/* Interactive SVG glow styles */
.popup-eclipse-graphic {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
}

.eclipse-svg {
    overflow: visible;
}

.popup-narrative-desc {
    color: #E5E5EA;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 14px;
}

.popup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

/* Detail items layout */
.popup-details-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.popup-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.popup-detail-item .item-icon {
    font-size: 16px;
}

.popup-detail-item .item-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.popup-detail-item .item-label {
    color: #8E8E93;
    font-size: 13px;
    font-weight: 600;
}

.popup-detail-item .item-val {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

.item-val-coords-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.btn-copy-coords {
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-copy-coords:hover {
    background: rgba(255, 215, 0, 0.12);
    transform: scale(1.05);
}

/* Inner Sections */
.popup-section-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: 14px;
    margin-top: 12px;
}

.popup-section-card .section-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 10px;
}

.popup-section-card .section-subtitle {
    color: #8E8E93;
    font-size: 14px;
    font-weight: 500;
    margin-top: 1px;
}

.schedules-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schedule-row {
    display: flex;
    justify-content: flex-start;
    font-size: 11.5px;
    padding: 2px 0;
}

.schedule-row .s-label {
    color: #8E8E93;
}

.schedule-row .s-val {
    color: #fff;
    font-weight: 700;
}

/* Weather Row inside details */
.weather-row-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.weather-icon {
    font-size: 16px;
}

.weather-title-box {
    display: flex;
    flex-direction: column;
}

.weather-row-body {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}

.weather-pct-val {
    color: #FFD700;
    font-size: 20px;
    font-weight: 800;
}

.weather-status-text {
    color: #E5E5EA;
    font-size: 14px;
    font-weight: 600;
}

/* CTA action button in popup */
.popup-action-btn {
    width: 100%;
    background: #FFD700;
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
    font-family: inherit;
}

.popup-action-btn:hover {
    background: #FFE600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.popup-action-btn:active {
    transform: translateY(0);
}

/* Companion scroll styles */
.phone-screen-content #scr-map {
    overflow-y: hidden !important;
}

/* Responsive properties for popup */
@media (max-width: 768px) {
    .map-dashboard-container {
        height: 680px;
    }

    .map-floating-header {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 8px 12px;
        gap: 10px;
    }

    .map-floating-header-logo {
        padding-right: 10px;
    }

    .app-popup-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        top: unset;
        height: 380px;
        width: auto;
        transform: translateY(120%);
    }

    .app-popup-panel.active {
        transform: translateY(0);
    }
}

/* ==========================================
   iPhone Simulator Companion Screen Styles
   ========================================== */
.sim-map-companion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 56px);
    /* offset top bar */
    padding: 30px 24px;
    text-align: center;
    box-sizing: border-box;
}

.sim-map-companion-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #FFD700;
    animation: floatIcon 3s ease-in-out infinite;
}

.sim-map-companion-icon-box svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.sim-map-companion-container h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sim-map-companion-container p {
    color: #8E8E93;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 250px;
}

.sim-companion-btn {
    background: #FFD700;
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.15);
    font-family: inherit;
}

.sim-companion-btn:hover {
    background: #FFE600;
    transform: translateY(-1px);
}

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

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

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


/* ==========================================
   INTERACTIVE SIMULATOR SECTION
   (Two-column: left text + right map card)
   ========================================== */
.interactive-simulator-section {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 50%, rgba(255, 230, 0, 0.04) 0%, transparent 60%);
    border-top: 1px solid var(--border);
    position: relative;
}

.sim-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    align-items: start;
}

.sim-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.gold-subtitle {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-block;
}

.sim-text-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #fff;
}

.sim-text-content>p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.sim-features-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0;
}

.sim-features-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.chk-icon {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1.3;
}

.sim-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
    transition: var(--transition);
}

.sim-arrow-link:hover {
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* ==========================================
   MAP CARD WRAPPER & MAP CONTAINER
   ========================================== */
.map-card-wrapper {
    position: relative;
}

.map-container-card {
    position: relative;
    background: #080A0F;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 230, 0, 0.03);
    height: 560px;
    display: flex;
    flex-direction: column;
}

.map-search-wrapper {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: rgba(12, 12, 16, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    width: calc(100% - 320px);
    max-width: 360px;
}

.search-icon-svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.map-search-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}

.map-search-wrapper input::placeholder {
    color: var(--text-muted);
}

#full-page-leaflet-map {
    width: 100%;
    flex: 1;
    height: 100%;
    z-index: 1;
}

.map-container-card .leaflet-container {
    background: #080A0F;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
}

/* ==========================================
   FLOATING CIRCUMSTANCES CARD
   ========================================== */
.map-circumstances-card {
    position: absolute;
    top: 26px;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 26px);
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px 24px 0 0;
    z-index: 800;
    padding: 18px 20px 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    color: #fff;
    overflow-x: hidden;
    overflow-y: hidden;
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.map-circumstances-card.active {
    transform: translateX(0);
    opacity: 1;
}

.popup-loading-layer {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(14, 14, 18, 0.92), rgba(8, 8, 11, 0.88));
    border-radius: inherit;
    text-align: center;
    pointer-events: none;
}

.map-circumstances-card.is-loading .popup-loading-layer {
    display: flex;
}

.popup-loading-spinner {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid rgba(255, 230, 0, 0.18);
    border-top-color: #FFD700;
    animation: map-spin 0.9s linear infinite;
}

.popup-loading-text {
    color: #FFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #8E8E93;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.popup-scroll-container {
    flex: 1;
    overflow-y: hidden;
    overflow-x: hidden;
    padding-right: 4px;
    margin-bottom: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popup-scroll-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.popup-scroll-container::-webkit-scrollbar-thumb {
    background: transparent;
}

.popup-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0;
    transform: translateX(11px);
    flex-wrap: wrap;
    min-width: 0;
}

.popup-location-details {
    flex: 1;
    margin-top: 0;
    min-width: 0;
}

.popup-card-title {
    color: #FFD700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.popup-place-line {
    color: #FFF;
    font-size: 14px;
    margin-bottom: 7px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.popup-badge {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.popup-badge.not-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #8E8E93;
    border-color: rgba(255, 255, 255, 0.2);
}

.popup-badge.total {
    background: rgba(255, 106, 0, 0.2);
}

.popup-eclipse-preview {
    width: 80px;
    height: 80px;
    margin-top: 5px;
    margin-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 80px;
    overflow: visible;
}

.popup-preview-total-corona-outer {
    position: absolute;
    width: 63px;
    height: 63px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}

.popup-preview-total-corona-inner {
    position: absolute;
    width: 58.5px;
    height: 58.5px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.88);
}

.popup-preview-total-moon {
    position: absolute;
    width: 55.62px;
    height: 55.62px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #000;
}

.popup-preview-partial-sun {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 15px;
    top: 15px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: none;
}

.popup-preview-partial-mask {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 15px;
    top: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.popup-preview-partial-moon {
    position: absolute;
    width: 51.5px;
    height: 51.5px;
    border-radius: 50%;
    background: #000;
}

.popup-narrative-desc {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    letter-spacing: 0;
}

.popup-narrative-desc {
    color: #fff;
    margin-top: 12px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.map-circumstances-card.is-partial .popup-narrative-desc {
    margin-top: 2px;
    color: #fff;
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    line-height: 17px;
}

.popup-duration-line {
    width: 100%;
    margin: 10px auto 0;
    color: #FFD700;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: block;
}

.popup-duration-line.is-blinking {
    animation: none;
}

@keyframes popup-duration-blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0.18;
    }
}

.map-circumstances-card.is-totality .popup-narrative-desc {
    margin-top: 7px;
}

.map-circumstances-card.is-totality .popup-duration-line {
    margin-top: 15px;
}

.map-circumstances-card .popup-header-row {
    margin-top: 0;
    transform: none;
    gap: 10px;
}

.map-circumstances-card.is-totality .popup-location-details {
    align-items: flex-start;
    text-align: left;
    width: auto;
    margin-top: 0;
}

.map-circumstances-card.is-totality .popup-card-title,
.map-circumstances-card.is-totality .popup-place-line {
    width: auto;
    text-align: left;
}

.map-circumstances-card.is-partial .popup-header-row {
    justify-content: flex-start;
    align-items: center;
}

.map-circumstances-card.is-not-visible .popup-header-row {
    justify-content: center;
    align-items: center;
}

.map-circumstances-card.is-partial .popup-location-details {
    align-items: flex-start;
    text-align: left;
    width: auto;
    margin-top: 0;
}

.map-circumstances-card.is-not-visible .popup-location-details {
    align-items: center;
    text-align: center;
    width: 100%;
}

.map-circumstances-card.is-partial .popup-card-title,
.map-circumstances-card.is-partial .popup-place-line {
    text-align: left;
    width: auto;
}

.map-circumstances-card.is-not-visible .popup-card-title,
.map-circumstances-card.is-not-visible .popup-place-line {
    text-align: center;
    width: 100%;
}

.map-circumstances-card.is-not-visible .popup-scroll-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 100%;
}

.map-circumstances-card.is-not-visible .popup-header-row {
    margin-top: 0;
    transform: none;
    width: 100%;
    justify-content: center;
}

.map-circumstances-card.is-not-visible .popup-app-cta {
    margin-top: 6px;
}

.popup-distance-warning {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0;
    color: #FFD700;
    font-weight: 400;
    text-align: center;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.map-circumstances-card.is-totality .popup-narrative-desc {
    text-align: center;
    width: 100%;
}

.popup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 12px 0;
}

.popup-details-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    min-width: 0;
}

.popup-detail-item {
    display: flex;
    align-items: center;
    background: #2C2C2E;
    padding: 10px 12px;
    border-radius: 12px;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.popup-detail-item .item-icon {
    color: #8E8E93;
    font-size: 18px;
    line-height: 1;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.popup-detail-item .item-icon-gold {
    color: #FFD700;
}

.popup-detail-item .item-label {
    color: #FFF;
    font-size: 13px;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.popup-detail-item .item-value {
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

.popup-detail-item .item-value-gold {
    color: #FFD700;
}

.popup-detail-item .item-value-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
}

.popup-detail-item .item-subvalue {
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
    min-width: 0;
    overflow-wrap: anywhere;
}

.popup-detail-item .item-value-coords {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-size: 13px;
    min-width: 0;
    overflow-wrap: anywhere;
    flex-wrap: wrap;
}

.btn-copy-coords {
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup-schedule-card {
    background: #2C2C2E;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.popup-schedule-title {
    color: #FFF;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.popup-schedule-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 12px;
    margin-bottom: 4px;
    min-width: 0;
}

.popup-app-cta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: center;
}

.popup-app-cta-copy {
    margin: 0;
    color: #FFF;
    text-align: center;
    width: 100%;
}

.map-circumstances-card .popup-app-cta-copy.popup-narrative-desc {
    font-weight: 400;
}

.popup-app-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    align-self: center;
    margin: 0 auto;
    width: fit-content;
}

.popup-app-cta-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.popup-schedule-label {
    color: #fff;
    font-size: 14px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.popup-schedule-value {
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    min-width: 0;
}

.popup-action-btn {
    width: 100%;
    background: #FFD700;
    border: none;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-action-btn:hover {
    background: #ffe45c;
}

.popup-choose-map-btn {
    display: none;
}

.map-circumstances-card.is-not-visible .popup-choose-map-btn {
    display: inline-flex;
}

/* ==========================================
   REALTIME GUIDE SECTION
   ========================================== */
.realtime-guide-section {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 60%, rgba(255, 230, 0, 0.03) 0%, transparent 50%);
    border-top: 1px solid var(--border);
    scroll-margin-top: 120px;
}

.guide-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.guide-header h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

#benefits-badge-lbl {
    color: var(--primary);
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1.6px;
}

#benefits-main-desc {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.guide-cards-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.guide-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.guide-card:hover {
    border-color: rgba(255, 230, 0, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 230, 0, 0.035) 100%);
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.guide-card-icon-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-icon {
    font-size: 18px;
}

.g-lbl {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.guide-card-screen-visual {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 100px;
}

.push-box {
    background: rgba(20, 20, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    padding: 8px 10px;
}

.push-top {
    display: flex;
    justify-content: flex-start;
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.push-app {
    font-weight: 700;
    color: #fff;
}

.push-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.push-desc {
    font-size: 9px;
    color: #fff;
    margin-top: 2px;
    line-height: 1.4;
}

.push-time-lbl {
    font-size: 9px;
    color: var(--text-muted);
    text-align: right;
}

.centered-countdown {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.vis-sub {
    font-size: 9px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vis-time {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.vis-desc {
    font-size: 9px;
    color: var(--text-muted);
}

.vis-waveform {
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 28px;
    justify-content: center;
}

.wave-pillar {
    display: inline-block;
    width: 3px;
    background: var(--text-muted);
    border-radius: 2px;
    height: 8px;
    transition: var(--transition);
}

.wave-pillar.active {
    background: var(--primary);
    animation: wave 1.4s ease-in-out infinite;
}

.wave-pillar:nth-child(1) {
    animation-delay: 0.0s;
    height: 14px;
}

.wave-pillar:nth-child(2) {
    animation-delay: 0.1s;
    height: 20px;
}

.wave-pillar:nth-child(3) {
    animation-delay: 0.2s;
    height: 26px;
}

.wave-pillar:nth-child(4) {
    animation-delay: 0.3s;
    height: 20px;
}

.wave-pillar:nth-child(5) {
    animation-delay: 0.2s;
    height: 14px;
}

.wave-pillar:nth-child(6) {
    animation-delay: 0.1s;
    height: 20px;
}

.wave-pillar:nth-child(7) {
    animation-delay: 0.0s;
    height: 14px;
}

.glass-alert-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
}

.glass-alert-row.use {
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.15);
}

.glass-alert-row.remove {
    background: rgba(255, 230, 0, 0.04);
    border: 1px solid rgba(255, 230, 0, 0.12);
}

.gl-time {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.gl-status {
    font-size: 9px;
    font-weight: 700;
}

.use-g {
    color: var(--success);
}

.ph-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
}

.ph-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.ph-dot.fill {
    background: var(--primary);
    border-color: var(--primary);
}

.ph-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}

.ph-time {
    color: var(--text-muted);
    flex-shrink: 0;
}

.ph-row.checked .ph-name {
    text-decoration: line-through;
    opacity: 0.5;
}

/* ==========================================
   BANNER CTA SECTION
   ========================================== */
.banner-cta-section {
    padding: 80px 0;
    position: relative;
}

.banner-box {
    background:
        linear-gradient(135deg, rgba(12, 12, 16, 0.92) 0%, rgba(19, 16, 26, 0.88) 60%, rgba(12, 10, 14, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 36px;
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 32px;
    align-items: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.banner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.banner-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-eclipse-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    pointer-events: none;
}

.banner-eclipse-anim svg {
    width: 120px;
    height: 120px;
    overflow: visible;
    filter: drop-shadow(0 0 18px rgba(255, 230, 0, 0.22));
}

.banner-eclipse-anim #banner-anim-moon {
    transition: cx 2.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.banner-center h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    line-height: 1.02;
}

.banner-center p {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
}

.banner-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.store-badge-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-badge-btn.outline {
    background: transparent;
    border-color: rgba(255, 230, 0, 0.3);
    color: var(--primary);
}

.store-badge-btn.outline:hover {
    background: rgba(255, 230, 0, 0.06);
    border-color: var(--primary);
}

.banner-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.person-phone-sky-visual {
    width: 100%;
    max-width: 280px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.person-phone-sky-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.banner-eclipse-visual {
    background: transparent;
    border: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-eclipse-visual img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(255, 230, 0, 0.06));
}

/* ==========================================
   FOOTER (Restructured)
   ========================================== */
footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px 0;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
    text-align: center;
}

.footer-left .logo {
    width: 100%;
    justify-content: center;
}

.footer-left .logo img {
    height: 34px;
}

#footer-slogan {
    color: #fff;
    font-size: 14px;
    max-width: 560px;
    line-height: 1.6;
}

.social-links-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.soc-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    line-height: 0;
}

.soc-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.soc-link:hover {
    color: var(--primary);
    border-color: rgba(255, 230, 0, 0.24);
    background: rgba(255, 230, 0, 0.06);
}

.footer-copyright-meta {
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    padding-bottom: 24px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

#footer-copy {
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
}

#footer-meta {
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}

#footer-meta-origin {
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}

.footer-copyright-meta a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

.footer-copyright-meta a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.footer-columns-group {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

.footer-col ul li {
    line-height: 1.45;
}

#benefits {
    scroll-margin-top: 128px;
}

.footer-col a:hover {
    color: var(--text);
}

/* ==========================================
   SAFETY CARD SUBCOMPONENTS
   ========================================== */
.safety-card-image-box {
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.safety-card-meta h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.safety-card-meta p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================
   HERO SUBCOMPONENTS
   ========================================== */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.countdown-meta-row {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-top: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ==========================================
   SIMULATOR GUIDE LIST (in phone mockup)
   ========================================== */
.sim-guide-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-guide-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.sim-guide-item:hover {
    border-color: rgba(255, 230, 0, 0.15);
    background: rgba(255, 230, 0, 0.02);
}

.sim-guide-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-guide-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.sim-guide-details {
    display: flex;
    flex-direction: column;
}

.sim-guide-item-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
}

.sim-guide-item-desc {
    font-size: 8.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

/* ==========================================
   RESPONSIVE FOR NEW SECTIONS
   ========================================== */
@media (max-width: 1100px) {
    .sim-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-circumstances-card {
        top: 26px;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 26px);
        border-radius: 24px 24px 0 0;
        padding: 18px 20px 18px;
    }

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

    .banner-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-left,
    .banner-right {
        display: none;
    }

    .banner-center {
        align-items: center;
    }

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

    .showcase-visual-card {
        min-height: 300px;
    }

    .guide-roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .interactive-simulator-section {
        padding: 72px 0;
    }

    .sim-layout {
        gap: 24px;
    }

    .sim-text-content {
        gap: 14px;
        padding-top: 0;
    }

    .sim-text-content h2 {
        font-size: 28px;
        line-height: 1.08;
    }

    .sim-text-content>p {
        font-size: 15px;
        line-height: 1.55;
    }

    .sim-features-checklist li {
        font-size: 13px;
    }

    .map-container-card {
        height: 640px;
        border-radius: 18px;
    }

    .map-search-wrapper {
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        max-width: none;
        padding: 9px 14px;
    }

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

    .banner-store-badges {
        flex-direction: column;
        align-items: center;
    }

    .showcase-badges {
        gap: 10px;
    }

    .showcase-pill {
        font-size: 12px;
        padding: 10px 14px;
    }

    .showcase-stats-grid,
    .warning-grid--six,
    .guide-roadmap-grid {
        grid-template-columns: 1fr;
    }

    .warning-grid--four {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
        gap: 14px;
    }

    .warning-card,
    .roadmap-step-card {
        min-height: auto;
    }

    .warning-card {
        padding: 14px 14px;
        gap: 6px;
        border-radius: 20px;
    }

    .warning-card .feature-icon-wrapper {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
    }

    .warning-card h3 {
        font-size: 15px;
    }

    .warning-card p {
        font-size: 12.5px;
    }

    .problem-warning-grid {
        margin-bottom: 28px;
        gap: 14px;
    }

    .problem-warning-card {
        min-height: 0;
        padding: 16px;
        gap: 10px;
        border-radius: 22px;
    }

    .problem-warning-card .feature-icon-wrapper {
        width: 32px;
        height: 32px;
        margin: 0 auto 8px;
    }

    .problem-warning-card .feature-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .problem-warning-card h3 {
        font-size: 16px;
    }

    .problem-warning-card p {
        font-size: 13px;
    }

    .location-warning-card {
        padding: 16px;
        gap: 10px;
        min-height: 0;
        border-radius: 22px;
    }

    .location-warning-card .feature-icon-wrapper {
        width: 32px;
        height: 32px;
        margin: 0 auto 8px;
    }

    .location-warning-card .feature-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .location-warning-card h3 {
        font-size: 16px;
    }

    .location-warning-card p {
        font-size: 13px;
    }

    .guide-roadmap-box {
        padding: 24px 16px 20px;
        border-radius: 28px;
    }

    .guide-roadmap-line {
        gap: 10px;
    }

    .guide-roadmap-line::before {
        left: 4%;
        right: 4%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .map-circumstances-card {
        position: absolute;
        top: 26px;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 26px);
        border-radius: 24px 24px 0 0;
        padding: 18px 16px 16px;
        transform: translateY(calc(100% + 24px));
        opacity: 0;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .popup-loading-layer {
        border-radius: inherit;
    }

    .map-circumstances-card.active {
        transform: translateY(0);
        opacity: 1;
    }

    .popup-scroll-container {
        margin-bottom: 0;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .popup-close-btn {
        top: 14px;
        right: 14px;
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    .map-circumstances-card .popup-header-row {
        gap: 10px;
        margin-top: 15px;
        transform: none;
        flex-wrap: wrap;
        min-width: 0;
    }

    .map-circumstances-card.is-partial .popup-header-row {
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
    }

    .map-circumstances-card.is-totality .popup-location-details {
        margin-top: 10px;
    }

    .map-circumstances-card.is-partial .popup-location-details {
        margin-top: 0;
    }

    .popup-location-details {
        margin-top: 0;
    }

    .popup-card-title {
        font-size: 16px;
    }

    .popup-place-line {
        font-size: 13px;
        line-height: 1.35;
    }

    .popup-eclipse-preview {
        width: 80px;
        height: 80px;
        margin-left: 10px;
        margin-top: 5px;
        min-width: 80px;
    }

    .popup-narrative-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    .popup-duration-line {
        width: 100%;
        margin: 10px auto 0;
        text-align: center;
        display: block;
    }

    .popup-app-cta {
        margin-top: 12px;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .popup-app-cta-copy {
        width: 100%;
        text-align: center;
    }

    .popup-app-cta-btn {
        margin: 0 auto;
        width: fit-content;
    }

    .map-circumstances-card.is-totality .popup-narrative-desc {
        margin-top: 7px;
    }

    .map-circumstances-card.is-partial .popup-narrative-desc {
        margin-top: 2px;
        color: #fff;
        font-weight: 400;
        text-align: center;
        font-size: 14px;
        line-height: 17px;
    }

    .map-circumstances-card.is-totality .popup-duration-line {
        margin-top: 15px;
    }

    .map-circumstances-card .popup-app-cta-copy.popup-narrative-desc {
        font-weight: 400;
    }

    .popup-detail-item {
        padding: 9px 10px;
        gap: 8px;
    }

    .popup-detail-item .item-label,
    .popup-detail-item .item-value {
        font-size: 14px;
    }

    .popup-detail-item .item-subvalue,
    .popup-schedule-label,
    .popup-schedule-value {
        font-size: 14px;
    }

    .popup-action-btn {
        display: none;
    }

    body.map-popup-open header.header-glass,
    body.map-popup-open .map-search-wrapper {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 118px;
    }

    .hero-map-stage {
        padding-top: 118px;
    }

    .hero-map-card .map-container-card {
        height: 620px;
    }

    .hero-map-title {
        font-size: 32px;
    }

    .hero-map-countdown {
        max-width: 100%;
    }

    .hero-map-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 15px;
    }

    .header-actions {
        flex-direction: row;
        align-items: stretch;
    }

    .map-container-card {
        height: 620px;
    }

    .map-circumstances-card {
        top: 26px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 26px);
        border-radius: 24px 24px 0 0;
        padding: 18px 14px 14px;
    }

    .guide-cards-row {
        grid-template-columns: 1fr;
    }

    .footer-columns-group {
        grid-template-columns: 1fr;
    }
}

/* Custom Cloud Styling (Plan B) */
.custom-clouds-layer {
    /* Using CSS filters to colorize the clouds to match the app aesthetic (e.g., cyan/blue) */
    filter: contrast(1.5) brightness(1.2) sepia(1) hue-rotate(170deg) saturate(4);
}

/* Top Globe Section Responsive Styling */
.top-globe-section {
    background: #000;
    padding: 126px 0 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
}

.top-globe-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.top-globe-hero-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(420px, 560px) minmax(320px, 380px);
    grid-template-areas:
        "intro globe"
        "details globe";
    align-items: center;
    justify-content: center;
    gap: 0;
}

.top-globe-tagline {
    margin-bottom: 4px;
}

.top-globe-copy {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.top-globe-copy--left {
    align-items: flex-start;
    text-align: left;
    max-width: 590px;
    justify-self: end;
    transform: translateX(-50px);
}

.top-globe-copy--intro {
    grid-area: intro;
    align-items: flex-start;
    text-align: left;
    max-width: 590px;
    justify-self: end;
    transform: translateX(-50px);
}

.top-globe-copy--left {
    grid-area: details;
}

.top-globe-main-title {
    margin: 18px 0 0 0;
    font-size: clamp(1.36rem, 5.65vw, 3.45rem);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #fff6a8 0%, #ffe600 46%, #d5a500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 3;
}

.top-globe-date {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.22rem);
    letter-spacing: 0.02em;
    font-weight: 700;
}

.top-globe-locations {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: calc(0.92rem - 2px);
    font-weight: 500;
    line-height: 1.35;
    flex-wrap: wrap;
}

.top-globe-locations svg {
    color: var(--primary);
    flex-shrink: 0;
    overflow: visible;
}

.top-globe-main-description {
    margin: -10px 0 0 0;
    max-width: 520px;
    font-size: 0.92rem;
}

.top-globe-countdown {
    min-width: 0;
    width: 100%;
    max-width: 540px;
    order: 2;
}

.top-globe-countdown.next-eclipse-widget {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 20px 0;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.top-globe-countdown .next-eclipse-title {
    text-align: center;
}

.top-globe-countdown .countdown-timer {
    width: 100%;
    justify-content: center;
}

.top-globe-actions {
    justify-content: flex-start;
    margin-top: 0;
    order: 1;
}

#hero-btn-sim {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
    box-shadow: none;
    transition: all 0.3s ease;
    font-weight: 550 !important;
}

#hero-btn-sim:hover {
    transform: scale(1.02);
    filter: none;
    box-shadow: none;
}

#hero-btn-download {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
}

#hero-btn-download svg {
    width: 18px;
    height: 18px;
    color: #fff;
    flex-shrink: 0;
}

#hero-btn-download:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
    box-shadow: none;
}

.top-globe-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.top-globe-text {
    flex: 1 1 300px;
    text-align: left;
    padding-right: 20px;
    padding-bottom: 30px;
}
.top-globe-title {
    margin-bottom: 10px;
    font-size: 3rem;
    color: var(--text-primary);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}
.top-globe-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 15px;
}
.top-globe-wrapper {
    grid-area: globe;
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 236px;
    margin-top: -10px;
    margin-bottom: -20px;
    justify-self: start;
    transform: translateX(100px);
}
#globe-viz-container {
    width: 100%;
    max-width: 380px;
    height: 290px;
    position: relative;
    z-index: 2;
}
.btn-play-globe {
    position: relative;
    z-index: 10;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .header-glass {
        top: -8px;
        width: calc(100% - 4px);
        background: rgba(10, 10, 12, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        padding: 0 !important;
    }

    .header-inner {
        min-height: 52px;
        padding: 4px 10px;
        gap: 6px;
    }

    .header-inner .logo img {
        height: 24px;
        max-width: 28vw;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.03);
    }

    .mobile-menu-btn .menu-icon svg {
        width: 16px;
        height: 16px;
    }

    .header-glass {
        border-radius: 999px;
    }

    .top-globe-section {
        padding: 111px 0 0 0;
    }

    .top-globe-hero-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .top-globe-main-title {
        font-size: clamp(1.22rem, 7.2vw, 1.68rem);
        margin-top: 10px;
    }

    .top-globe-copy,
    .top-globe-copy--left,
    .top-globe-copy--intro {
        align-items: center;
        text-align: center;
        gap: 6px;
        transform: none;
    }

    .top-globe-countdown {
        max-width: 100%;
    }

    .top-globe-countdown.next-eclipse-widget {
        padding-top: 6px;
        padding-bottom: 8px;
        flex-direction: column;
        align-items: center;
    }

    .top-globe-countdown .countdown-timer {
        order: 1;
    }

    .top-globe-countdown .next-eclipse-title {
        order: 2;
        margin-top: 2px;
    }

    .top-globe-actions {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        margin-top: -19px;
    }

    #hero-btn-download {
        display: none;
    }

    #hero-btn-sim {
        order: 1;
        width: 100%;
    }

    .top-globe-wrapper {
        min-height: 178px;
        width: 100%;
        margin-top: -29px;
        margin-bottom: -24px;
        transform: none;
        /* The decorative globe overlaps the CTA at this breakpoint. */
        pointer-events: none;
    }
    #globe-viz-container {
        max-width: 380px;
        height: 244px;
    }
    .top-globe-date {
        font-size: 0.92rem;
    }

    .top-globe-locations {
        justify-content: center;
        font-size: 0.66rem;
        text-align: center;
    }

    .top-globe-main-description {
        font-size: 0.76rem;
        max-width: 280px;
        margin-top: -6px;
    }

    #showcase-main-title,
    #benefits-main-title {
        font-size: clamp(0.98rem, 5.2vw, 1.4rem);
        letter-spacing: -0.05em;
        white-space: normal;
        text-wrap: balance;
        line-height: 1.08;
    }

    #benefits-main-title {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.05rem, 5.4vw, 1.45rem);
        letter-spacing: -0.04em;
        text-wrap: wrap;
    }

    #help-main-title {
        font-size: clamp(0.98rem, 5.2vw, 1.4rem);
        letter-spacing: -0.05em;
        white-space: normal;
        text-wrap: balance;
        line-height: 1.08;
    }

    #problem-main-title {
        font-size: clamp(0.98rem, 5.2vw, 1.4rem);
        letter-spacing: -0.05em;
        white-space: normal;
        text-wrap: balance;
        line-height: 1.08;
    }

    #warning-main-title {
        font-size: clamp(0.98rem, 5.2vw, 1.4rem);
        letter-spacing: -0.05em;
        white-space: normal;
        text-wrap: balance;
        line-height: 1.08;
    }

    #warning-main-desc,
    #help-main-desc,
    #problem-main-desc {
        max-width: 100%;
        font-size: 14px;
        margin-top: -4px;
    }

    #showcase-main-desc {
        max-width: 100%;
        font-size: 14px;
        margin-top: -4px;
    }

    .realtime-guide-section {
        padding: 120px 0 88px;
        scroll-margin-top: 136px;
    }

    .guide-header {
        margin-bottom: 28px;
        gap: 8px;
    }

    #benefits-badge-lbl {
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .guide-header h2 {
        font-size: clamp(1.05rem, 5.4vw, 1.45rem);
        letter-spacing: -0.04em;
        line-height: 1.08;
    }

    #benefits-main-desc {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.55;
        margin-top: -4px;
    }

    .features-header {
        width: 100%;
        margin-bottom: 28px;
    }

    .showcase-hero-image {
        width: min(100%, 280px);
        margin-bottom: 18px;
        border-radius: 22px;
    }

    .showcase-comparison-card {
        width: min(100%, 280px);
        gap: 10px;
    }

    .showcase-comparison-copy {
        gap: 10px;
    }

    .showcase-comparison-separator {
        margin-bottom: 18px;
    }

    .showcase-comparison-frame {
        border-radius: 24px;
    }

    .showcase-comparison-handle {
        width: 36px;
        height: 36px;
    }

    .showcase-comparison-caption {
        font-size: 12.8px;
        line-height: 1.45;
    }

    .showcase-comparison-note-title {
        font-size: clamp(0.98rem, 5.2vw, 1.4rem);
        letter-spacing: -0.05em;
        white-space: normal;
        text-wrap: balance;
    }

    .security-visual-glasses-cycle {
        width: min(100%, 420px);
    }

    .features-header--compact {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .faq-section {
        padding: 0 0 84px;
    }

    .faq-header {
        margin-bottom: 22px;
    }

    #faq-main-title {
        font-size: clamp(1.05rem, 5.4vw, 1.45rem);
        letter-spacing: -0.04em;
        line-height: 1.08;
    }

    .article-faq {
        gap: 10px;
    }

    .faq-item {
        border-radius: 20px;
    }

    .faq-summary {
        padding: 16px;
        border-radius: 20px;
        gap: 12px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 13px;
        line-height: 1.6;
    }

    .faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 1.2rem;
    }

    .showcase-section-divider {
        margin-bottom: 28px;
    }

    .showcase-layout {
        gap: 12px;
    }

    .showcase-visual-card {
        min-height: 260px;
    }

    .showcase-stats-grid {
        gap: 10px;
    }

    .showcase-stat-card {
        min-height: 96px;
        padding: 18px 16px;
    }

    .showcase-badges--below {
        margin-top: 16px;
    }

    .features {
        padding: 58px 0 76px;
        margin-top: -18px;
    }
}

/* -------------------------------------------
   334LAB STYLE REDESIGN (HEADER & FOOTER) 
------------------------------------------- */

/* Header Glassmorphism */
.header-glass {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 1200px;
    z-index: 1000;
    padding: 0;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transition: all 0.5s ease;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    min-height: 74px;
    padding: 10px 18px;
    flex-wrap: wrap;
}
.header-inner .logo img {
    height: 34px;
    width: auto;
    max-width: min(38vw, 142px);
}
.header-inner .logo {
    position: relative;
    z-index: 2;
}
.nav-desktop {
    display: none;
}
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .header-inner .logo img {
        height: 38px;
        max-width: 168px;
    }
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.nav-links li a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-links li a:hover {
    background: rgba(255, 230, 0, 0.08);
    color: #fff;
    transform: scale(1.05);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.lang-selector {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 999px;
    padding: 10px 40px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    outline: none;
    min-width: 108px;
    flex: 0 0 auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 9px 9px;
}
.lang-selector option,
.lang-selector-glass option {
    background: #09090b;
    color: #fff;
}
@media (min-width: 768px) {
    .lang-selector {
        display: inline-flex;
    }
}
.cta-btn-glass {
    display: none;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #000;
    padding: 8px 10px 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
    .top-globe-countdown {
        order: 1;
    }

    .top-globe-actions {
        order: 2;
    }

    .top-globe-actions {
        padding-top: 35px;
    }

    .top-globe-countdown.next-eclipse-widget {
        margin-top: 44px;
    }

    #hero-btn-download {
        order: 1;
    }

    #hero-btn-sim {
        order: 2;
    }

    .cta-btn-glass {
        display: inline-flex;
    }
}
.cta-btn-glass:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}
.dropdown-cta {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
}
.cta-btn-glass .cta-icon {
    display: grid;
    place-items: center;
    background: #000;
    color: var(--primary);
    border-radius: 50px;
    width: 32px;
    height: 32px;
    transition: background 0.3s ease;
}
.cta-btn-glass:hover .cta-icon {
    background: rgba(0,0,0,0.8);
}
.mobile-menu-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}
.menu-icon {
    position: absolute;
    display: grid;
    place-items: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.menu-icon-close {
    opacity: 0;
    transform: scale(0.7) rotate(-30deg);
}
.mobile-menu-btn.is-open .menu-icon-open {
    opacity: 0;
    transform: scale(0.7) rotate(30deg);
}
.mobile-menu-btn.is-open .menu-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Footer Modern (334lab Style) */
.footer-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    padding: 56px 28px 40px;
}
.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
    }
    .footer-col-links {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 40px;
    }
}
.footer-col-brand .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.footer-logo-img {
    height: 40px;
    width: auto;
}
.footer-tagline {
    margin-top: 16px;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
}
.footer-badge {
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.75);
}
.footer-col-line {
    margin-top: 12px;
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, var(--accent), #ff9a28);
}
.footer-nav-list {
    list-style: none;
    margin: 32px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-nav-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
}
.footer-nav-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav-list a:hover {
    color: #fff;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-item svg {
    color: var(--accent);
}
.social-links-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}
.social-links-row .soc-link {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.social-links-row .soc-link:hover {
    color: #fff;
}
.footer-bottom {
    margin: 48px auto 0;
    max-width: 1200px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.footer-meta-tags .bullet {
    padding: 0 4px;
    color: var(--accent);
}

/* Header Dropdown (Mobile Menu) */
.header-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(5, 5, 7, 0.92);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 16px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.header-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.nav-mobile a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    text-align: left;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-mobile a:hover {
    background: rgba(255,230,0,0.08);
    color: #fff;
    transform: translateX(3px);
}
.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 16px;
}
.dropdown-lang {
    padding: 8px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dropdown-lang label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.lang-selector-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 40px 12px 16px;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 9px 9px;
}
@media (min-width: 768px) {
    .header-dropdown {
        display: none;
    }
}
