:root {
    --bg-deep: #020617;
    --grid-line: rgba(255, 255, 255, 0.03);
    --panel-bg: rgba(15, 23, 42, 0.72);
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent-gold: #d4af37;
    --accent-sky: #38bdf8;
    --border-light: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-image:
        radial-gradient(circle at 50% -10%, #0f172a 0%, transparent 55%),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-topbar__logo {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.landing-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.landing-btn-home:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.65);
}

.language-switch {
    position: relative;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    color: var(--text-sub);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82em;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.language-switch a {
    color: var(--text-sub);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.language-switch a:hover { color: var(--text-main); }
.language-switch a.active { color: var(--accent-gold); }

.lang-dropdown-btn {
    cursor: pointer;
    user-select: none;
    color: var(--text-sub);
    transition: color 0.2s;
    white-space: nowrap;
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-dropdown-btn:hover { color: var(--text-main); }

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    padding: 10px 0;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    min-width: 148px;
}

.language-dropdown a {
    display: block;
    color: var(--text-main);
    padding: 8px 18px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.language-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold);
}

.landing-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 8px;
}

.landing-section {
    padding: 48px 0;
}

.landing-section + .landing-section {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

/* ── Hero ── */
.landing-hero {
    padding-top: 36px;
    padding-bottom: 40px;
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 36px;
}

.landing-hero__title {
    margin: 0 0 16px;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(1.75rem, 5vw, 2.45rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0.03em;
    color: #fafafa;
}

html[lang="en"] .landing-hero__title,
html[lang="en"] .landing-section h2 {
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 600;
    font-style: italic;
}

.landing-hero__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    opacity: 0.9;
}

.landing-hero__tagline {
    margin: 0 0 14px;
    font-size: clamp(1.05rem, 2.8vw, 1.22rem);
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.45;
}

.landing-hero__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.72;
    color: #cbd5e1;
    max-width: 36em;
}

.landing-hero__art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.landing-hero__art svg {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

/* ── Screenshots ── */
.landing-shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.5);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-shot img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.landing-shot-caption {
    margin: 14px 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-shot-caption__title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.02em;
}

.landing-shot-caption__desc {
    font-size: 0.88rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.55;
}

/* ── Why section ── */
.landing-section h2 {
    margin: 0 0 18px;
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.03em;
}

.landing-why__lead {
    margin: 0 0 8px;
    font-size: clamp(1.05rem, 2.6vw, 1.18rem);
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.5;
}

.landing-why__lead--poetic {
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
    font-size: clamp(1.12rem, 2.8vw, 1.28rem);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.02em;
}

html[lang="en"] .landing-why__lead--poetic {
    font-family: "Source Serif 4", Georgia, serif;
    font-style: italic;
}

.landing-why__lead--accent {
    margin-bottom: 22px;
    color: var(--accent-gold);
}

.landing-features {
    margin: 0 0 32px;
    padding: 20px 22px 20px 42px;
    list-style: none;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.landing-features li {
    position: relative;
    margin-bottom: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.5;
}

.landing-features li:last-child { margin-bottom: 0; }

.landing-features li::before {
    content: "✔";
    position: absolute;
    left: -26px;
    color: #4ade80;
    font-weight: 900;
}

/* ── Observe pillars (below screenshot 2) ── */
.landing-observe {
    margin-top: 40px;
}

.landing-observe__title {
    margin: 0 0 28px;
    text-align: center;
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
    font-size: clamp(1.25rem, 3.2vw, 1.55rem);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.03em;
}

html[lang="en"] .landing-observe__title {
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 600;
    font-style: italic;
}

.landing-observe__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.landing-observe__card {
    text-align: center;
    padding: 28px 18px 24px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-observe__icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 14px;
}

.landing-observe__card-title {
    margin: 0 0 10px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.35;
}

.landing-observe__card-desc {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.55;
}

/* ── Social proof (Stripe-style) ── */
.landing-social {
    margin-top: 44px;
    padding: 0;
    text-align: center;
}

.landing-social__rule {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(148, 163, 184, 0.35) 20%,
        rgba(148, 163, 184, 0.35) 80%,
        transparent
    );
}

.landing-social__title {
    margin: 22px 0 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.landing-social__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
    margin-bottom: 22px;
}

.landing-social__stat {
    padding: 4px 8px;
}

.landing-social__value {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    font-family: 'Roboto Mono', Consolas, ui-monospace, monospace;
    color: #f1f5f9;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.landing-social__label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

.landing-social__cta-wrap {
    margin: 8px 0 22px;
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 32px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0f172a !important;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28), 0 0 0 0 rgba(212, 175, 55, 0.35);
    transition: transform 0.15s ease;
    animation: landing-cta-breathe 2.6s ease-in-out infinite;
}

@keyframes landing-cta-breathe {
    0%, 100% {
        box-shadow:
            0 8px 22px rgba(212, 175, 55, 0.28),
            0 0 0 0 rgba(212, 175, 55, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 14px 36px rgba(212, 175, 55, 0.48),
            0 0 0 10px rgba(212, 175, 55, 0.14);
        transform: scale(1.02);
    }
}

.landing-cta:hover {
    transform: translateY(-2px) scale(1.02);
    animation-play-state: paused;
}

.landing-cta:active {
    transform: translateY(0) scale(1);
}

/* ── Data notice ── */
.landing-section.landing-data {
    padding-bottom: 12px;
}

.landing-data {
    padding-bottom: 0;
}

.landing-data p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.landing-data p:last-child {
    margin-bottom: 0;
}

.landing-data__legal {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
    text-align: center;
}

.landing-closing {
    margin: 0;
    padding: 40px 12px 44px;
    text-align: center;
}

.landing-closing + .landing-section {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.landing-closing__line {
    margin: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
    font-size: clamp(1rem, 2.5vw, 1.12rem);
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.65;
    letter-spacing: 0.03em;
}

html[lang="en"] .landing-closing__line {
    font-family: "Source Serif 4", Georgia, serif;
    font-style: italic;
}

.landing-closing__line--emph {
    color: #cbd5e1;
    font-weight: 700;
}

.landing-footer {
    text-align: center;
    padding: 10px 20px 28px;
    font-size: 0.78rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .landing-topbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px 10px;
        padding: 10px 12px;
        padding-top: max(10px, env(safe-area-inset-top, 0px));
    }

    .landing-topbar__logo {
        height: 28px;
        max-width: 42vw;
        object-fit: contain;
        object-position: left center;
    }

    .landing-topbar__actions {
        grid-column: 2;
        min-width: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .language-switch {
        font-size: 0.76em;
        gap: 6px;
        padding: 5px 10px;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .language-switch::-webkit-scrollbar {
        display: none;
    }

    .language-dropdown {
        right: 0;
        left: auto;
        max-width: min(148px, calc(100vw - 24px));
    }

    .landing-hero {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .landing-hero__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-hero__art {
        order: -1;
        min-height: 180px;
    }

    .landing-hero__art svg {
        max-width: min(300px, 100%);
    }

    .landing-hero__desc {
        max-width: none;
    }

    .landing-section {
        padding: 32px 0;
    }

    .landing-main {
        padding: 0 14px 32px;
        max-width: 100%;
    }

    .landing-features {
        padding: 16px 14px 16px 34px;
        margin-bottom: 24px;
    }

    .landing-features li {
        font-size: 0.92rem;
    }

    .landing-features li::before {
        left: -24px;
    }

    .landing-shot {
        border-radius: 10px;
    }

    .landing-shot-caption {
        margin-top: 10px;
        padding: 0 2px;
    }

    .landing-observe {
        margin-top: 24px;
    }

    .landing-observe__title {
        margin-bottom: 16px;
        font-size: 1.05rem;
    }

    .landing-observe__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .landing-observe__card {
        padding: 12px 6px 10px;
        border-radius: 10px;
    }

    .landing-observe__icon {
        font-size: 1.45rem;
        margin-bottom: 6px;
    }

    .landing-observe__card-title {
        font-size: 0.72rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .landing-observe__card-desc {
        font-size: 0.66rem;
        line-height: 1.35;
        font-weight: 600;
    }

    .landing-social {
        margin-top: 28px;
    }

    .landing-social__title {
        margin: 16px 0 14px;
    }

    .landing-social__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 6px;
        margin-bottom: 16px;
    }

    .landing-social__stat {
        padding: 8px 4px;
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.45);
        border: 1px solid rgba(148, 163, 184, 0.14);
    }

    .landing-social__stat + .landing-social__stat {
        padding-top: 8px;
        border-top: none;
    }

    .landing-social__value {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .landing-social__label {
        font-size: 0.66rem;
        line-height: 1.35;
    }

    .landing-social__cta-wrap {
        margin: 12px 0 20px;
        padding: 0 4px;
    }

    .landing-cta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
    }

    .landing-closing {
        padding: 28px 8px 32px;
    }

    .landing-data__legal {
        padding: 10px 12px;
        text-align: left;
    }

    .landing-footer {
        padding: 10px 16px max(24px, env(safe-area-inset-bottom, 24px));
    }
}

@media (max-width: 420px) {
    .language-switch > a[data-lang]:not(.active) {
        display: none;
    }

    .language-switch > a[data-lang].active {
        display: inline;
        max-width: 5.5em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lang-dropdown-btn {
        border-left: none;
        padding-left: 0;
        flex-shrink: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero__pulse {
        animation: none !important;
    }

    .landing-cta {
        animation: none;
    }
}
