﻿* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #0f172a;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.38) transparent;
}

body {
    background: #f8fafc;
    overflow-y: auto;
}


.landing-body {
    position: relative;
    overflow-x: hidden;
}

.landing-app {
    opacity: 1;
    transition: filter 0.75s ease, transform 0.75s ease, opacity 0.45s ease;
}

.landing-preloading .landing-app {
    filter: blur(20px) saturate(0.9);
    transform: scale(1.018);
    pointer-events: none;
}

.landing-intro-complete .landing-app {
    filter: none;
    transform: none;
    pointer-events: auto;
}

.landing-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(28, 10, 20, 0.16);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    transition: opacity 0.68s ease, visibility 0.68s ease, backdrop-filter 0.68s ease;
}


.landing-intro-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(80vw, 1400px);
    max-width: 80vw;
    padding: 24px;
}

.landing-intro-lock,
.landing-intro-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity, max-width;
    transition:
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease,
        max-width 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-intro-lock {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.landing-intro-wordmark {
    position: relative;
    z-index: 1;
}

.landing-intro-lock img {
    display: block;
    width: auto;
    max-width: 32vw;
    max-height: 28vh;
    height: auto;
    filter: none;
}

.landing-intro-wordmark {
    opacity: 0;
    transform: translateX(-120px);
    max-width: 0;
    margin-left: -52px;
    padding-left: 52px;
    flex: 0 1 auto;
    overflow: hidden;
}

.landing-intro-wordmark img {
    display: block;
    width: auto;
    max-width: 46vw;
    max-height: 28vh;
    height: auto;
    filter: none;
}

.landing-intro-brand-ready .landing-intro-lock {
    transform: translateX(-42px);
}

.landing-intro-brand-ready .landing-intro-wordmark {
    opacity: 1;
    transform: translateX(-12px);
    max-width: 46vw;
}

.landing-intro-fadeout .landing-intro {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
}



*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.12);
    border-radius: 999px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #2d0b16 0%, #14050d 100%);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.34);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.38);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.5);
    border: 2px solid transparent;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.58);
    border: 3px solid transparent;
    background-clip: padding-box;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    height: 84px;
}

.brand img {
    display: block;
    height: auto;
    width: auto;
    max-height: 58px;
    max-width: min(320px, 38vw);
    object-fit: contain;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-btn,
.primary-btn,
.secondary-btn {
    text-decoration: none;
    border-radius: 999px;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.link-btn {
    padding: 11px 18px;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 600;
}

.link-btn-accent {
    background: linear-gradient(135deg, #0b5ed7 0%, #0f3f95 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 94, 215, 0.22);
}

.primary-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #0b5ed7 0%, #0f3f95 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(11, 94, 215, 0.24);
}

.secondary-btn {
    padding: 14px 24px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    border: 1px solid #cbd5e1;
}

.link-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-1px);
}

.hero-section {
    padding: 92px 0 68px;
    background:
        radial-gradient(circle at top left, rgba(11, 94, 215, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
    gap: 36px;
    align-items: center;
}

.hero-badge,
.section-heading span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 94, 215, 0.1);
    color: #0b5ed7;
    font-weight: 700;
    font-size: 0.92rem;
}

.hero-section h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.04;
    max-width: 760px;
}

.hero-copy {
    margin: 0 0 28px;
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 720px;
    color: #334155;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.52));
    color: #f8fafc;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
}

.hero-card h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: #dbeafe;
}

.hero-card-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    line-height: 1.6;
}

.feature-section {
    padding: 68px 0 84px;
}

.journey-section {
    padding: 12px 0 84px;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.journey-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f5;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.journey-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.02rem;
    color: #0f172a;
}

.journey-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.audience-section {
    padding: 0 0 96px;
}

.audience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: start;
}

.section-heading-pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 94, 215, 0.1);
    color: #0b5ed7;
    font-weight: 700;
    font-size: 0.92rem;
}

.audience-copy h2 {
    margin: 16px 0;
    font-size: clamp(1.9rem, 3vw, 3rem);
}

.audience-copy p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
    font-size: 1.02rem;
}

.audience-list {
    display: grid;
    gap: 14px;
}

.audience-item {
    padding: 20px 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #dbe7f5;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-weight: 600;
    line-height: 1.6;
}

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(11, 94, 215, 0.18), transparent 30%),
        linear-gradient(180deg, #0f172a 0%, #111c34 100%);
    color: #e2e8f0;
    padding: 34px 0 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 24px;
    align-items: center;
}

.footer-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-brand p {
    margin: 0;
    max-width: 620px;
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.94rem;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 14px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.feature-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(11, 94, 215, 0.15), transparent 30%),
        linear-gradient(180deg, #edf4fb 0%, #f8fafc 100%);
}

.login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-back {
    margin-bottom: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    transition: 0.2s ease;
}

.login-back:hover {
    transform: translateY(-1px);
    background: rgba(15, 23, 42, 0.9);
}

.login-card {
    width: min(100%, 460px);
    padding: 34px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.login-logo {
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    max-width: 100px;
    height: auto;
}

.login-card h1 {
    margin: 0 0 10px;
    text-align: center;
}

.login-card p {
    margin: 0 0 22px;
    text-align: center;
    color: #475569;
    line-height: 1.7;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: #334155;
}

.login-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    font-size: 1rem;
}

.login-form select,
.login-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.full-btn {
    width: 100%;
    margin-top: 6px;
    font-size: 1rem;
}

.alert-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}

.alert-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
}

.login-hint {
    margin-top: 16px;
    text-align: center;
    color: #475569;
}

.login-hint a {
    color: #0b5ed7;
    font-weight: 700;
    text-decoration: none;
}

.trial-grid {
    display: grid;
    gap: 14px;
}

.trial-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trial-grid-row {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
}

.trial-grid-row-address {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 112px;
    align-items: end;
}

.trial-state-field select {
    min-width: 0;
}

@media (max-width: 920px) {
    .hero-grid,
    .feature-grid,
    .journey-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .trial-grid.two-col {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-content: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .hero-section {
        padding-top: 72px;
    }


    .landing-intro-stage {
        flex-direction: column;
        gap: 16px;
        width: min(88vw, 520px);
        max-width: 88vw;
    }

    .landing-intro-lock img {
        width: auto;
        max-width: 68vw;
        max-height: 22vh;
        height: auto;
    }

    .landing-intro-wordmark img {
        width: auto;
        max-width: 76vw;
        max-height: 18vh;
        height: auto;
    }

    .landing-intro-wordmark {
        margin-left: 0;
        padding-left: 0;
        transform: translateY(6px);
    }

    .landing-intro-brand-ready .landing-intro-wordmark {
        transform: translateY(0);
        max-width: 76vw;
    }

    .landing-intro-brand-ready .landing-intro-lock {
        transform: translateX(0) translateY(-8px);
    }

}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .topbar {
        min-height: 74px;
    }

    .brand {
        height: 74px;
    }

    .brand img {
        max-height: 50px;
        max-width: min(260px, 56vw);
    }

    .login-card {
        padding: 24px;
        border-radius: 24px;
    }
}

@media (max-width: 720px) {
    .trial-grid-row-address {
        grid-template-columns: 1fr;
    }
}
