:root {
    --ld-font: "Sora", "Segoe UI", sans-serif;
    --ld-display: "Outfit", "Sora", sans-serif;
    --ld-ink: #ffffff;
    --ld-muted: rgba(255, 255, 255, 0.82);
    --ld-deep: #1d4ed8;
    --ld-deeper: #1e3a8a;
}

* { box-sizing: border-box; }

.landing-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ld-font);
    color: var(--ld-ink);
    background: transparent;
    overflow-x: hidden;
}

.landing {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.landing__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(18px, 4vw, 48px);
    position: relative;
    z-index: 5;
    animation: ld-fade-down 0.7s ease both;
}

.landing__logo {
    display: inline-flex;
    text-decoration: none;
    align-items: center;
}

.landing__logo-full {
    height: 40px;
    width: auto;
    max-width: min(220px, 55vw);
    display: block;
}

.landing__logo-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.28s cubic-bezier(0.32, 0.72, 0, 1),
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.landing__logo:hover .landing__logo-chip {
    transform: translateY(-3px) scale(1.04);
    background: #fff;
    border-color: #fff;
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.28),
        0 0 0 4px rgba(255, 255, 255, 0.18);
}

.landing__logo:active .landing__logo-chip {
    transform: translateY(-1px) scale(0.99);
}

.landing__nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing__btn--ghost {
    min-width: 108px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: transparent;
}

.landing__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.landing__btn--text {
    padding: 8px 4px;
    opacity: 0.95;
}

.landing__btn--text:hover {
    opacity: 1;
    text-decoration: underline;
}

.landing__btn--solid {
    min-width: 132px;
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: #fff;
    color: #1e3a8a;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.landing__btn--solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.3);
}

.landing__btn--soft {
    min-width: 132px;
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.landing__btn--soft:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.landing__lang {
    position: relative;
}

.landing__lang summary {
    list-style: none;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 4px;
    user-select: none;
}

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

.landing__lang summary::before {
    content: "â–¸ ";
    font-size: 0.75rem;
    opacity: 0.8;
}

.landing__lang[open] summary::before {
    content: "â–¾ ";
}

.landing__lang ul {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    padding: 8px;
    list-style: none;
    min-width: 160px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    z-index: 20;
    animation: ld-fade-up 0.2s ease both;
}

.landing__lang a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.landing__lang a:hover {
    background: #eef2ff;
    color: #3730a3;
}

.landing__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 56px;
    text-align: center;
}

.landing__hero-logo {
    position: relative;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 18px 22px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: ld-brand-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing__hero-logo img {
    position: relative;
    z-index: 2;
    height: clamp(56px, 9vw, 88px);
    width: auto;
    max-width: min(420px, 86vw);
    display: block;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.35));
    transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing__hero-logo-glow {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 78%;
    height: 42%;
    transform: translate(-50%, -20%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(96, 165, 250, 0.55), transparent 70%);
    filter: blur(18px);
    z-index: 1;
    pointer-events: none;
    animation: ld-hero-glow 3.4s ease-in-out infinite;
}

.landing__hero-logo-ring {
    position: absolute;
    inset: 4px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        box-shadow 0.35s ease,
        background 0.35s ease;
    z-index: 0;
}

.landing__hero-logo:hover {
    transform: translateY(-6px);
}

.landing__hero-logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 12px 24px rgba(37, 99, 235, 0.28));
}

.landing__hero-logo:hover .landing__hero-logo-ring {
    background: #fff;
    transform: scale(1.03);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.28),
        0 0 0 5px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 #fff;
}

.landing__hero-logo:hover .landing__hero-logo-glow {
    animation-duration: 1.6s;
    background: radial-gradient(ellipse, rgba(147, 197, 253, 0.75), transparent 70%);
}

.landing__hero-logo:active {
    transform: translateY(-2px) scale(0.98);
}

.landing__hero-logo.is-pop {
    animation: ld-brand-pop 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing__lead {
    margin: 28px 0 0;
    max-width: 34ch;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ld-muted);
    animation: ld-fade-up 0.8s ease 0.2s both;
}

.landing__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
    animation: ld-fade-up 0.8s ease 0.3s both;
}

.landing__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(920px, 100%);
    margin-top: 48px;
    perspective: 900px;
}

.landing__card {
    --delay: 0.4s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    text-align: left;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transform-style: preserve-3d;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: ld-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay) both;
}

.landing__card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

.landing__card.is-clicked {
    animation: ld-card-pop 0.4s ease;
}

.landing__card strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.landing__card > span:last-child {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

.landing__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    font-size: 1rem;
}

.landing__card-icon.is-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.landing__card-icon.is-cyan { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.landing__card-icon.is-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.landing__card-icon.is-green { background: linear-gradient(135deg, #10b981, #059669); }

@keyframes ld-shift {
    from { filter: hue-rotate(0deg) saturate(1); }
    to { filter: hue-rotate(12deg) saturate(1.08); }
}

@keyframes ld-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4%, -6%) scale(1.08); }
}

@keyframes ld-brand-in {
    from { opacity: 0; transform: translateY(28px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ld-brand-pop {
    0% { transform: scale(1); }
    40% { transform: scale(0.94); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes ld-glow {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.12); }
}

@keyframes ld-hero-glow {
    0%, 100% { opacity: 0.45; transform: translate(-50%, -20%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -20%) scale(1.12); }
}

@keyframes ld-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ld-fade-down {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ld-card-in {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ld-card-pop {
    0% { transform: scale(1); }
    50% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

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

@media (max-width: 560px) {
    .landing__nav-actions {
        gap: 8px;
    }

    .landing__btn--ghost {
        min-width: 0;
        height: 38px;
        padding: 0 14px;
        font-size: 0.85rem;
    }

    .landing__hero-logo {
        padding: 12px 14px;
    }

    .landing__hero-logo img {
        height: 52px;
    }

    .landing__cards {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .landing__cta {
        width: 100%;
    }

    .landing__btn--solid,
    .landing__btn--soft {
        flex: 1;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing__hero-logo,
    .landing__hero-logo-glow,
    .landing__lead,
    .landing__cta,
    .landing__cards,
    .landing__card,
    .landing__nav {
        animation: none !important;
    }
}
