/* Baltic Traveler — full stylesheet. Loaded asynchronously. */

/* Optional Inter font: only used if locally installed on user's OS or
   if /assets/fonts/Inter-Variable.woff2 is uploaded. Otherwise falls
   through to the system font stack defined in body { font-family }. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: local('Inter Variable'), local('Inter'), local('InterVariable');
}

/* -------------------------------------------------- Hero background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    display: block;
    /* Fallback gradient that shows while images load */
    background: linear-gradient(135deg, #0F3D4F 0%, #1B5E7A 60%, #2A7A98 100%);
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15,61,79,0.20) 0%, rgba(15,61,79,0.45) 60%, rgba(15,61,79,0.70) 100%),
        linear-gradient(110deg, rgba(15,61,79,0.55) 0%, transparent 55%);
}

/* -------------------------------------------------- Layout */
main { min-height: 50vh; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header p { font-size: 1.125rem; color: var(--text-dim); }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* -------------------------------------------------- Hero */
.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-content {
    position: relative; z-index: 2;
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 6vw, 100px);
    max-width: 760px;
}
.hero-content h1 {
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.92);
    max-width: 620px;
    margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.hero-stat span { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* -------------------------------------------------- Slider */
.slider {
    position: relative;
    margin-top: 32px;
}
.slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 24px;
    margin: 0 -4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s;
    display: block;
}
.slider-card:hover { transform: translateY(-3px); color: var(--text); }
.slider-card-img { aspect-ratio: 4/3; background: var(--bg-alt); object-fit: cover; width: 100%; }
.slider-card-body { padding: 14px 16px; }
.slider-card-title { font-weight: 600; margin: 0 0 4px; font-size: 1rem; line-height: 1.3; }
.slider-card-meta { font-size: 0.85rem; color: var(--text-dim); display: flex; gap: 8px; align-items: center; }

/* -------------------------------------------------- Why grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.why-item { padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.why-item h3 { color: var(--primary); margin-top: 14px; }
.why-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: var(--radius-md);
}

/* -------------------------------------------------- Cities cards */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.city-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    display: block;
    isolation: isolate;
}
.city-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.city-card:hover img { transform: scale(1.05); }
.city-card:hover { color: #fff; }
.city-card-content { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; }
.city-card-content h3 { font-size: 1.5rem; margin-bottom: 4px; color: #fff; }
.city-card-content p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; }
.city-card-placeholder {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(212,165,116,0.5), transparent 60%),
        linear-gradient(135deg, #134554 0%, #1B5E7A 60%, #2A7A98 100%);
}
.city-coat {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 3;
    width: 56px; height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* -------------------------------------------------- Flags */
.flag {
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    vertical-align: middle;
}
.flag-inline {
    width: 18px; height: auto;
    margin-right: 4px;
}
.filter-chip .flag {
    width: 18px;
    height: auto;
    margin-right: 4px;
    vertical-align: -2px;
}
.place-card-city {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
}

/* -------------------------------------------------- Place cards */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.place-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--text); }
.place-card-img { aspect-ratio: 4/3; background: var(--bg-alt); object-fit: cover; width: 100%; }
.place-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.place-card h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
.place-card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-dim); margin-top: auto; padding-top: 8px; }
.place-card-meta .pill { background: var(--bg-alt); padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; color: var(--primary); }
.place-card-rating { display: inline-flex; align-items: center; gap: 4px; }
.pill-premium { color: var(--accent-dark); background: rgba(212,165,116,0.18); }

/* Stats row */
.place-card-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 8px 0 4px;
    font-size: 0.78rem;
    color: var(--text);
}
.place-card-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    color: var(--text);
}
.place-card-stats .stat strong { font-weight: 600; }
.place-card-stats .stat .muted { color: var(--text-dim); font-weight: 400; font-size: 0.72rem; }
.place-card-stats .stat-icon { flex-shrink: 0; color: var(--text-dim); }
.place-card-stats .stat-icon-app { color: var(--accent-dark); }
.place-card-stats .stat-flag {
    background: var(--bg-alt);
    padding: 2px 8px 2px 6px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 500;
}
.place-card-stats .stat-flag .stat-icon { color: var(--primary); }

/* Tag chips */
.place-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}
.place-card-tags .tag {
    background: var(--bg-dim);
    color: var(--text-dim);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.place-card-tags .tag-more {
    background: transparent;
    color: var(--text-dim);
    padding-left: 0;
}

/* -------------------------------------------------- Filter bar */
.filter-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
    padding: 7px 14px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
    transition: all 0.15s;
}
.filter-chip:hover { background: var(--bg-alt); }
.filter-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-chip.is-active:hover { background: var(--primary-dark); }
.filter-select, .filter-input {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
}
.filter-input { min-width: 180px; }
.filter-bar-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* -------------------------------------------------- Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 0; }
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.pagination a:hover { background: var(--bg-alt); }
.pagination .is-current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* -------------------------------------------------- Location detail */
.location-hero {
    position: relative;
    aspect-ratio: 16/8;
    overflow: hidden;
    color: #fff;
    margin-top: 0;
}
@media (max-width: 768px) { .location-hero { aspect-ratio: 4/3; } }
.location-hero img { width: 100%; height: 100%; object-fit: cover; }
.location-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%);
}
.location-hero-content {
    position: absolute; inset: auto 0 0 0;
    padding: clamp(24px, 4vw, 48px);
}
.location-hero-content .container { padding: 0 24px; }
.location-hero h1 { color: #fff; margin: 0 0 6px; }
.location-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.location-hero-meta .badge { background: rgba(255,255,255,0.15); padding: 4px 12px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); font-size: 0.85rem; }

.location-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.location-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.location-tab {
    padding: 12px 20px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: -1px;
}
.location-tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.location-panel { display: none; }
.location-panel.is-active { display: block; }
.location-panel p { font-size: 1.05rem; line-height: 1.7; }
.location-panel.history p:first-of-type::first-letter { font-size: 2.5em; line-height: 1; float: left; padding-right: 10px; color: var(--primary); font-weight: 700; }

.facts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.facts-list li { display: flex; gap: 16px; padding: 16px 20px; background: var(--bg-alt); border-radius: var(--radius-md); }
.facts-list .num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--accent);
    color: var(--text);
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.gallery img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius-md);
    cursor: zoom-in;
    transition: transform 0.2s;
}
.gallery img:hover { transform: scale(1.02); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox[data-open] { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: grid; place-items: center;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Comments */
.comments-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.comments-summary .avg { font-size: 2rem; font-weight: 700; color: var(--primary); }
.comments-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.comment {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
}
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-author { font-weight: 600; }
.comment-time { color: var(--text-dim); font-size: 0.85rem; margin-left: auto; }
.comment-rating { color: var(--accent-dark); }
.comment-content { margin: 0; color: var(--text); }

/* Tags / chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.chip { background: var(--bg-alt); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* Footer */
.site-footer {
    position: relative;
    padding: 72px 0 32px;
    margin-top: 0;
    color: rgba(255,255,255,0.78);
    background:
        radial-gradient(circle at 12% 0%, rgba(243,154,46,0.10), transparent 45%),
        radial-gradient(circle at 88% 100%, rgba(127,182,216,0.10), transparent 55%),
        linear-gradient(180deg, #0E2440 0%, #08182C 100%);
    isolation: isolate;
}
.site-footer::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243,154,46,0.45), transparent);
    pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.site-footer h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; font-weight: 600; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-list a:hover { color: var(--accent); }
.site-footer .muted { color: rgba(255,255,255,0.55); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.62); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.site-footer em { font-style: italic; color: rgba(255,255,255,0.7); }
.site-footer a:not(.brand):not(.footer-list a):not(.footer-links a) { color: rgba(255,255,255,0.7); }
.site-footer a:not(.brand):not(.footer-list a):not(.footer-links a):hover { color: var(--accent); }
.store-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.store-badges img { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }

/* Sticky app CTA (mobile only) */
.sticky-app-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(20,30,40,0.18);
    z-index: 100;
    display: none;
    transform: translateY(120%);
    transition: transform 0.3s;
}
.sticky-app-cta[data-show] { transform: translateY(0); }
@media (max-width: 768px) { .sticky-app-cta { display: block; } }
.sticky-app-inner { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.sticky-app-icon { display: grid; place-items: center; }
.sticky-app-text { flex: 1; font-size: 0.9rem; font-weight: 500; }
.sticky-app-close { background: none; border: 0; color: rgba(255,255,255,0.7); font-size: 1.5rem; cursor: pointer; padding: 0 4px; }
.sticky-app-close:hover { color: #fff; }

/* Cookie banner */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 150;
    max-width: 720px;
    margin: 0 auto;
}
.cookie-inner { display: flex; gap: 16px; align-items: center; padding: 14px 20px; flex-wrap: wrap; }
.cookie-inner > div:first-child { flex: 1; min-width: 240px; }
.cookie-actions { display: flex; gap: 8px; }

/* -------------------------------------------------- Download page */
.dl-hero {
    position: relative;
    min-height: 60vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.dl-hero-bg { position: absolute; inset: 0; z-index: 0; }
.dl-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.dl-hero-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15,61,79,0.30) 0%, rgba(15,61,79,0.65) 100%),
        linear-gradient(110deg, rgba(15,61,79,0.5) 0%, transparent 60%);
}
.dl-hero-content { position: relative; z-index: 2; padding: clamp(60px,8vw,100px) 0; }

.store-link { display: inline-block; transition: transform 0.2s; }
.store-link:hover { transform: translateY(-2px); }

/* QR + phone mockup */
.dl-qr-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 900px) { .dl-qr-wrap { grid-template-columns: 1fr; gap: 40px; } }
.dl-qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.dl-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.dl-qr-card img { width: 140px; height: 140px; }
.dl-qr-card strong { font-size: 0.95rem; }

.dl-phone-mock { display: flex; justify-content: center; align-items: center; }
.phone {
    position: relative;
    width: 280px;
    aspect-ratio: 9/19;
    background: #1A1A1A;
    border-radius: 36px;
    padding: 10px;
    box-shadow:
        0 30px 60px rgba(20,30,40,0.35),
        inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 22px; background: #000;
    border-radius: 14px;
    z-index: 2;
}
.phone-screen {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #1B5E7A, #134554);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-overlay { position: absolute; inset: 0; }
.phone-pin {
    position: absolute;
    width: 18px; height: 18px;
    background: var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 40%; left: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.phone-pin-2 { top: 28%; left: 32%; background: #ff6b6b; }
.phone-pin-3 { top: 56%; left: 64%; background: #4ade80; }

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
    display: inline-grid; place-items: center;
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    margin-bottom: 16px;
}
.feature h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.15rem; }
.feature p { color: var(--text-dim); margin: 0; line-height: 1.55; }
/* Highlight the first 2 cards (Wishlist / Visited — headline features) */
.feature-highlight {
    background: linear-gradient(135deg, #ffffff, var(--bg-alt));
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(212,165,116,0.18);
}
.feature-highlight .feature-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #1a1a1a;
}
.feature-highlight h3 { color: var(--accent-dark); }
/* AR card de-emphasised */
.feature-bonus { opacity: 0.88; }
.feature-bonus .feature-icon {
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border);
}
.feature-tag {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--text-dim);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-left: 8px;
    vertical-align: middle;
}

/* Stats band */
.section-stats {
    padding: 80px 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(243,154,46,0.10), transparent 45%),
        radial-gradient(circle at 82% 75%, rgba(127,182,216,0.10), transparent 50%),
        linear-gradient(135deg, #0E2440 0%, #143458 55%, #1B3A5C 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 50%);
    pointer-events: none;
}
.stats-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.section-stats .stat-block {
    padding: 18px 12px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.section-stats .stat-block:last-child { border-right: none; }
.stat-block strong {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1.2px;
}
.stat-block .stat-plus { color: var(--accent); }
.stat-block > span {
    display: block;
    margin-top: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.2px;
}
@media (max-width: 768px) {
    .section-stats .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
    .section-stats .stat-block:last-child { border-bottom: none; }
}

/* Mission */
.dl-mission {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 900px) { .dl-mission { grid-template-columns: 1fr; gap: 40px; } }
.dl-mission-text p { font-size: 1.05rem; line-height: 1.7; color: var(--text); margin-bottom: 1em; }
.dl-values { display: grid; gap: 16px; }
.value-card {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: var(--radius-md);
}
.value-num {
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.75rem;
    color: var(--accent-dark);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.value-card h4 { margin: 0 0 4px; color: var(--primary); font-size: 1rem; }
.value-card p { margin: 0; font-size: 0.9rem; color: var(--text-dim); }

/* FAQ */
.faq {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 4px 0;
    list-style: none;
    position: relative;
    padding-right: 32px;
    user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.2s;
    line-height: 1;
}
.faq[open] summary::after { content: '−'; }
.faq p { margin: 12px 0 4px; color: var(--text-dim); line-height: 1.6; }

/* Empty + utility */
.empty { text-align: center; padding: 80px 24px; color: var(--text-dim); }
.empty h3 { color: var(--text); margin-bottom: 8px; }
.center { text-align: center; }
.text-muted { color: var(--text-dim); }

/* Skip link */
.skip-link { position: absolute; top: -40px; left: 8px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: var(--radius-md); z-index: 1000; }
.skip-link:focus { top: 8px; }

/* ============================================== Screenshots showcase ============================================== */
.section-screenshots {
    background: linear-gradient(180deg, #F4F8FB 0%, #E9F0F5 100%);
}
.shots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: end;
}
.shot {
    margin: 0;
    text-align: center;
    transition: transform 0.25s ease;
}
.shot:hover { transform: translateY(-6px); }
.shot-frame {
    aspect-ratio: 9/16;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #1B5E7A, #134554);
    box-shadow:
        0 18px 38px rgba(20,30,40,0.18),
        0 4px 10px rgba(20,30,40,0.10),
        inset 0 0 0 4px rgba(255,255,255,0.08);
    margin-bottom: 18px;
}
.shot-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.shot figcaption strong {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 0.98rem;
    line-height: 1.3;
}
.shot figcaption .muted {
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
}
.shot-highlight .shot-frame {
    box-shadow:
        0 24px 50px rgba(243,154,46,0.25),
        0 6px 16px rgba(20,30,40,0.14),
        inset 0 0 0 4px rgba(243,154,46,0.20);
    transform: translateY(-12px);
}
.shot-highlight:hover .shot-frame { transform: none; }
.shot-highlight:hover { transform: translateY(-18px); }

.shots-cta {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.shots-cta .store-link img {
    transition: transform 0.2s;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}
.shots-cta .store-link:hover img { transform: translateY(-2px); }

@media (max-width: 1100px) {
    .shots-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .shots-grid .shot:nth-child(4),
    .shots-grid .shot:nth-child(5) { grid-column: span 1; }
    .shot-highlight { grid-column: 2 / 3; }
    .shot-highlight .shot-frame { transform: none; }
    .shot-highlight:hover { transform: translateY(-6px); }
}
@media (max-width: 720px) {
    .shots-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .shot-highlight { grid-column: span 2; max-width: 280px; margin: 0 auto; }
    .shot-frame { border-radius: 18px; }
}
@media (max-width: 460px) {
    .shots-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
    .shot-highlight { grid-column: span 1; }
}

/* ---------- Stats reveal animation ---------- */
.section-stats .stat-block {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-stats.is-revealed .stat-block { opacity: 1; transform: translateY(0); }
.section-stats.is-revealed .stat-block:nth-child(1) { transition-delay: 0.05s; }
.section-stats.is-revealed .stat-block:nth-child(2) { transition-delay: 0.15s; }
.section-stats.is-revealed .stat-block:nth-child(3) { transition-delay: 0.25s; }
.section-stats.is-revealed .stat-block:nth-child(4) { transition-delay: 0.35s; }
.section-stats.is-revealed .stat-block:nth-child(5) { transition-delay: 0.45s; }

.stat-num { display: inline-block; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .section-stats .stat-block { opacity: 1; transform: none; transition: none; }
}

/* ============================================== Scroll reveal animations ============================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger children inside a reveal-stagger container */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(1)  { transition-delay: 0.00s; }
[data-reveal-stagger].is-visible > *:nth-child(2)  { transition-delay: 0.08s; }
[data-reveal-stagger].is-visible > *:nth-child(3)  { transition-delay: 0.16s; }
[data-reveal-stagger].is-visible > *:nth-child(4)  { transition-delay: 0.24s; }
[data-reveal-stagger].is-visible > *:nth-child(5)  { transition-delay: 0.32s; }
[data-reveal-stagger].is-visible > *:nth-child(6)  { transition-delay: 0.40s; }
[data-reveal-stagger].is-visible > *:nth-child(7)  { transition-delay: 0.48s; }
[data-reveal-stagger].is-visible > *:nth-child(8)  { transition-delay: 0.56s; }

/* Parallax helper — JS sets --parallax-y in px */
[data-parallax] {
    transform: translate3d(0, var(--parallax-y, 0), 0);
    transition: transform 0.05s linear;
    will-change: transform;
}

/* Hero subtle ken-burns + on-load entrance */
.hero-bg img { animation: kenburns 22s ease-out forwards; }
@keyframes kenburns {
    0%   { transform: scale(1.06); }
    100% { transform: scale(1.00); }
}
.hero-content { animation: heroIn 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes heroIn {
    0%   { opacity: 0; transform: translateY(28px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    [data-parallax] { transform: none !important; }
    .hero-bg img { animation: none !important; }
    .hero-content { animation: none !important; }
}

/* ---------- Footer brand (on dark bg) ---------- */
.site-footer .brand { color: rgba(255,255,255,0.78); font-size: 1rem; gap: 8px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-mark { width: 26px; height: 26px; border-radius: 6px; background: transparent; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.site-footer .brand-mark img { width: 26px; height: 26px; filter: saturate(0.9); opacity: 0.85; transition: opacity 0.25s ease, filter 0.25s ease; }
.site-footer .brand:hover .brand-mark img { opacity: 1; filter: none; }
.site-footer .footer-brand > p { margin-top: 18px; }

/* ---------- SEO content section ---------- */
.section-seo { padding: clamp(56px, 8vw, 96px) 0; }
.seo-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.seo-main h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; line-height: 1.2; color: var(--text); }
.seo-main h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 10px; color: var(--primary); }
.seo-main p { color: var(--text-dim); line-height: 1.7; margin: 0 0 14px; font-size: 1.02rem; }
.seo-main a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(27,94,122,0.25); }
.seo-main a:hover { border-bottom-color: var(--primary); }
.seo-card { background: linear-gradient(180deg, #F4F8FB 0%, #E9F0F5 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; position: sticky; top: 96px; }
.seo-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary); margin: 0 0 16px; }
.seo-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.seo-facts li { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; padding-left: 16px; position: relative; }
.seo-facts li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.seo-facts strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
    .seo-grid { grid-template-columns: 1fr; gap: 32px; }
    .seo-card { position: static; }
}
