:root {
    --lp-bg: #f4f7fb;
    --lp-surface: #ffffff;
    --lp-text: #0f172a;
    --lp-muted: #475569;
    --lp-border: #dce5f2;
    --lp-primary: #0d5bd7;
    --lp-primary-strong: #0846a5;
    --lp-highlight: #f59e0b;
    --lp-header-bg: rgba(244, 247, 251, 0.86);
    --lp-header-border: rgba(220, 229, 242, 0.7);
    --lp-gradient-1: #dbeafe;
    --lp-gradient-2: #e2e8f0;
    --lp-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

.landing-page {
    margin: 0;
    color: var(--lp-text);
    font-family: "Inter", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 15%, var(--lp-gradient-1) 0%, transparent 30%),
        radial-gradient(circle at 92% 5%, var(--lp-gradient-2) 0%, transparent 30%),
        var(--lp-bg);
    animation: lp-fade-in 420ms ease;
}

.landing-page[data-bs-theme="dark"] {
    --lp-bg: #0b1220;
    --lp-surface: #0f172a;
    --lp-text: #e2e8f0;
    --lp-muted: #94a3b8;
    --lp-border: #1e293b;
    --lp-primary: #60a5fa;
    --lp-primary-strong: #3b82f6;
    --lp-highlight: #fbbf24;
    --lp-header-bg: rgba(9, 14, 24, 0.78);
    --lp-header-border: rgba(30, 41, 59, 0.85);
    --lp-gradient-1: rgba(30, 64, 175, 0.35);
    --lp-gradient-2: rgba(15, 23, 42, 0.6);
    --lp-shadow: 0 18px 32px rgba(2, 6, 23, 0.45);
    color-scheme: dark;
}

.landing-container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: var(--lp-header-bg);
    border-bottom: 1px solid var(--lp-header-border);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    color: var(--lp-text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand:hover {
    color: var(--lp-text);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-nav a {
    color: var(--lp-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.header-nav a:hover {
    color: var(--lp-primary);
}

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

.lang-switch {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 96px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.lang-switch::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    bottom: 3px;
    width: calc((100% - 6px) / 2);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-strong));
    box-shadow: 0 7px 16px rgba(13, 91, 215, 0.28);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switch[data-active-lang="en"]::before {
    transform: translateX(100%);
}

.lang-option {
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    color: var(--lp-muted);
    padding: 6px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 170ms ease, transform 170ms ease;
}

.lang-option.is-active {
    color: #ffffff;
}

.lang-option:not(.is-active):hover {
    color: var(--lp-primary);
}

.lang-option:active {
    transform: scale(0.97);
}

.lang-option:focus-visible {
    outline: 2px solid var(--lp-primary);
    outline-offset: 1px;
}

.hero-section {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 14px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--lp-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.hero-text {
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--lp-muted);
    margin-bottom: 20px;
    max-width: 58ch;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border-radius: 12px;
    padding: 11px 18px;
    text-decoration: none;
    font-weight: 650;
    transition: all 160ms ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main {
    background: var(--lp-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(13, 91, 215, 0.18);
}

.btn-main:hover {
    color: #fff;
    background: var(--lp-primary-strong);
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--lp-text);
    background: var(--lp-surface);
    border-color: var(--lp-border);
}

.btn-outline:hover {
    color: var(--lp-text);
    border-color: var(--lp-primary);
    transform: translateY(-1px);
}

.mini-note {
    margin-top: 10px;
    color: var(--lp-muted);
    font-size: 0.9rem;
}

.hero-media {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--lp-shadow);
}

.media-slot {
    border: 2px dashed var(--lp-border);
    background: linear-gradient(145deg, rgba(248, 251, 255, 0.9), rgba(238, 245, 255, 0.9));
    border-radius: 14px;
    min-height: 250px;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 18px;
}

.media-slot p {
    margin: 0;
    color: var(--lp-text);
    font-weight: 650;
}

.media-slot small {
    display: block;
    margin-top: 6px;
    color: var(--lp-muted);
}

.media-slot-video {
    aspect-ratio: 16 / 9;
}

.media-slot-image {
    min-height: 220px;
}

.trust-strip {
    padding: 8px 0 22px;
}

.trust-grid {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-shadow: var(--lp-shadow);
}

.trust-item {
    padding: 18px;
    border-right: 1px solid var(--lp-border);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.trust-item span {
    color: var(--lp-muted);
    font-size: 0.92rem;
}

.section-block {
    padding: 58px 0;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0;
    line-height: 1.2;
}

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

.feature-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--lp-shadow);
}

.feature-card i {
    font-size: 1.25rem;
    color: var(--lp-primary);
}

.feature-card h3 {
    margin: 10px 0 8px;
    font-size: 1.08rem;
}

.feature-card p {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.5;
}

.tour-row {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.tour-row.reverse {
    grid-template-columns: 1.05fr 0.95fr;
}

.tour-copy {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--lp-shadow);
}

.tour-copy h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.tour-copy p {
    margin-bottom: 0;
    color: var(--lp-muted);
    line-height: 1.55;
}

.tour-media {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--lp-shadow);
}

.use-case-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(241, 246, 255, 0.85));
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.use-case-grid article {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 18px;
}

.use-case-grid h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.use-case-grid p {
    margin-bottom: 0;
    color: var(--lp-muted);
    line-height: 1.55;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--lp-shadow);
}

.faq-list summary {
    font-weight: 650;
    cursor: pointer;
    color: var(--lp-text);
}

.faq-list p {
    margin: 10px 0 0;
    color: var(--lp-muted);
    line-height: 1.55;
}

.final-cta {
    padding: 20px 0 64px;
}

.final-cta-inner {
    background: #0b1729;
    color: #f8fafc;
    border-radius: 18px;
    border: 1px solid #1e293b;
    padding: 30px 24px;
}

.final-cta-inner h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.final-cta-inner p {
    margin-top: 0;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.theme-toggle-btn {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-text);
    min-width: 42px;
}

.theme-toggle-btn:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    transform: translateY(-1px);
}

.landing-page[data-bs-theme="dark"] .media-slot {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
}

.landing-page[data-bs-theme="dark"] .use-case-block {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(11, 18, 32, 0.9));
}

.final-cta .btn-outline {
    background: transparent;
    color: #f8fafc;
    border-color: #334155;
}

.final-cta .btn-outline:hover {
    border-color: #8fb7ff;
    color: #f8fafc;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .tour-row,
    .tour-row.reverse {
        grid-template-columns: 1fr;
    }
    .hero-media {
        order: 2;
    }
}

@media (max-width: 860px) {
    .header-nav {
        display: none;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--lp-border);
    }
    .trust-item:last-child {
        border-bottom: 0;
    }
    .feature-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        min-height: 70px;
    }
    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 560px) {
    .section-block {
        padding: 46px 0;
    }
    .hero-section {
        padding-top: 34px;
    }
    .header-actions .btn {
        padding: 9px 13px;
    }
    .header-actions .btn-outline {
        display: none;
    }
    .theme-toggle-btn {
        padding: 8px 10px;
        min-width: 36px;
    }
    .lang-switch {
        min-width: 84px;
    }
    .lang-option {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
}

@keyframes lp-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

