:root {
    --bg: #f3f5f9;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #dbe2ea;
    --primary: #3d5a73;
    --primary-hover: #31485d;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: linear-gradient(to bottom, #f8fafc, #f3f5f9);
    color: var(--text);
}

.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 10%, rgba(61, 90, 115, 0.12), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(127, 155, 181, 0.1), transparent 25%),
        radial-gradient(circle at 50% 100%, rgba(61, 90, 115, 0.06), transparent 30%);
}

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

.home-page {
    padding-top: 26px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #d8e2eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.language-switcher__label {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.language-switcher__select {
    border: none;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.public-nav__link {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.public-nav__link:hover {
    background: rgba(255, 255, 255, 0.78);
    border-color: #d9e2ea;
    color: #0f172a;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

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

.btn-light:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    padding: 46px 0 26px;
}

.hero h1 {
    font-size: 50px;
    margin: 0 0 16px;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: #4b5563;
    max-width: 760px;
    margin: 0;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    background: #d9e6ef;
    color: #31485d;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-links__item {
    text-decoration: none;
    color: #31506a;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #d8e2eb;
}

.hero-links__item:hover {
    color: #1e293b;
    background: white;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f7;
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 21px;
}

.metric {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    gap: 12px;
}

.metric:last-child {
    border-bottom: none;
}

.metric span {
    font-weight: 600;
    color: #1f2937;
}

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

.release-panel {
    margin-top: 34px;
    background: linear-gradient(135deg, #f7fbff, #eef5fb);
    border: 1px solid #d8e5f1;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.release-panel h2 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: -0.01em;
}

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

.release-item {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #deebf6;
    border-radius: 14px;
    padding: 16px;
}

.release-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.visitor-panel {
    margin-top: 34px;
    background: linear-gradient(135deg, #fffdf8, #f9fbfd);
    border: 1px solid #e4e8ee;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.visitor-panel__eyebrow,
.info-hero__eyebrow,
.visitor-cta__eyebrow {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e7eef5;
    color: #35506a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.visitor-panel__intro h2,
.info-hero__title {
    margin: 14px 0 10px;
    font-size: 34px;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.visitor-panel__grid,
.info-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.visitor-panel__card,
.info-card {
    background: white;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.visitor-panel__card--accent {
    background: linear-gradient(135deg, #f4f9ff, #eef6ff);
    border-color: #cfdfee;
}

.visitor-panel__card h3,
.info-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.visitor-panel__card-links,
.info-card__links,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.visitor-panel__card .btn,
.info-card .btn {
    margin-top: 10px;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f7;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.muted {
    color: var(--muted);
    line-height: 1.6;
}

.section-title {
    margin-top: 70px;
    margin-bottom: 18px;
    font-size: 30px;
    letter-spacing: -0.01em;
}

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

.feature-box {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f7;
}

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

.plan-card {
    background: white;
    border: 1px solid #deebf6;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.plan-card h3 {
    margin: 0 0 8px;
}

.plan-desc {
    line-height: 1.55;
    margin-bottom: 10px;
}

.plan-points {
    margin: 0 0 12px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.55;
}

.plan-points li {
    margin-bottom: 4px;
}

.plan-price {
    margin: 12px 0 16px;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.plan-price span {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

.trust-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-row span {
    font-size: 13px;
    font-weight: 700;
    color: #415266;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #d7e0e8;
    border-radius: 999px;
    padding: 7px 10px;
}

.cta {
    margin-top: 62px;
    background: #ffffff;
    border: 1px solid #d8e1e8;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.cta h2 {
    margin: 0 0 10px;
    font-size: 31px;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.cta .actions {
    margin-top: 18px;
}

.info-hero {
    padding: 34px 0 14px;
}

.info-hero__intro {
    max-width: 900px;
    font-size: 18px;
    color: #4b5563;
    line-height: 1.65;
}

.visitor-cta {
    margin-top: 54px;
    background: #ffffff;
    border: 1px solid #d8e1e8;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.visitor-cta h2 {
    margin: 12px 0 10px;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.footer {
    margin-top: 70px;
    padding: 24px 0 10px;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
}

.footer-rich {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    color: #0f172a;
}

.footer-meta {
    color: var(--muted);
}

@media (max-width: 900px) {
    .container {
        padding: 18px;
    }

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

    .grid,
    .features,
    .release-grid,
    .plans-preview,
    .visitor-panel__grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .topbar {
        justify-content: center;
        text-align: center;
    }

    .brand {
        justify-content: center;
    }

    .public-nav,
    .hero-links,
    .footer-links {
        justify-content: center;
    }

    .topbar-actions {
        justify-content: center;
    }

    .language-switcher {
        justify-content: space-between;
    }

    .section-title {
        font-size: 28px;
    }

    .cta {
        padding: 22px;
    }

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

@media (max-width: 540px) {
    body {
        font-size: 17px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-subtitle,
    .muted,
    .trust-row span {
        font-size: 15px;
    }

    .hero p {
        font-size: 18px;
    }

    .btn {
        width: 100%;
        font-size: 16px;
        min-height: 46px;
    }

    .language-switcher {
        width: 100%;
    }

    .actions {
        flex-direction: column;
    }

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