@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800&display=swap");

:root {
    --surface: #f5f6f7;
    --surface-low: #eff1f2;
    --surface-lowest: #ffffff;
    --surface-high: #e0e3e4;
    --surface-text: #2c2f30;
    --surface-text-dim: #595c5d;
    --outline: rgba(117, 119, 120, 0.16);
    --outline-ghost: rgba(117, 119, 120, 0.1);
    --primary: #4c49c9;
    --primary-dim: #3f3bbd;
    --primary-glow: rgba(76, 73, 201, 0.2);
    --secondary: #6149b2;
    --tertiary: #973773;
    --hero-dark: #0c0f10;
    --hero-dark-soft: #111417;
    --shadow-ambient: rgba(44, 47, 48, 0.08);
    --shadow-strong: rgba(12, 15, 16, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--surface-text);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.landing-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 10%, rgba(76, 73, 201, 0.1), transparent 18%),
        radial-gradient(circle at 86% 16%, rgba(151, 55, 115, 0.08), transparent 18%),
        linear-gradient(180deg, #fafbfc 0%, var(--surface) 54%, #ebedf0 100%);
}

.landing-shell {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.landing-shell::before,
.landing-shell::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: -3;
    filter: blur(28px);
}

.landing-shell::before {
    width: 28rem;
    height: 28rem;
    top: -10rem;
    left: -8rem;
    background: radial-gradient(circle, rgba(76, 73, 201, 0.1), transparent 70%);
}

.landing-shell::after {
    width: 34rem;
    height: 34rem;
    right: -14rem;
    top: 14rem;
    background: radial-gradient(circle, rgba(151, 55, 115, 0.08), transparent 68%);
}

.landing-shell main {
    position: relative;
}

.landing-shell main::before {
    content: "";
    position: absolute;
    inset: 6rem 0 0;
    background-image:
        linear-gradient(rgba(117, 119, 120, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 119, 120, 0.05) 1px, transparent 1px);
    background-size: 3rem 3rem;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.42), transparent 78%);
    opacity: 0.75;
    pointer-events: none;
    z-index: -2;
}

.landing-topbar,
.hero-section,
.final-cta-section {
    width: min(1180px, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
}

.landing-topbar {
    margin-top: 18px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: sticky;
    top: 12px;
    z-index: 20;
    background: rgba(245, 246, 247, 0.78);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    box-shadow: 0 18px 42px var(--shadow-ambient);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 12px;
}

.brand-mark::before,
.brand-mark::after {
    content: none;
}

.brand-mark-core {
    display: none;
}

.brand-mark-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(30, 34, 58, 0.18));
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-kicker,
.hero-pill,
.section-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-kicker {
    color: #7b8794;
}

.brand-name {
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--surface-text);
}

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

.landing-logout-form {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 10px;
    border: none;
    background: var(--surface-lowest);
    color: var(--surface-text);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(44, 47, 48, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(44, 47, 48, 0.08);
}

.btn-primary {
    color: #f4f1ff;
    background: linear-gradient(150deg, #8382ff 0%, var(--primary) 100%);
    box-shadow: 0 18px 34px rgba(76, 73, 201, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(150deg, #7271f4 0%, var(--primary-dim) 100%);
}

.btn-secondary {
    background: var(--surface-lowest);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #f8f9fb;
}

.btn-minimal {
    background: transparent;
    color: var(--surface-text-dim);
    box-shadow: none;
}

.btn-minimal:hover {
    background: rgba(255, 255, 255, 0.62);
    color: var(--surface-text);
    box-shadow: none;
}

.btn-large {
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 12px;
}

.hero-section {
    position: relative;
    padding: clamp(72px, 11vw, 136px) 0 56px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 8.5rem;
    right: 3rem;
    width: min(34vw, 24rem);
    height: min(34vw, 24rem);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(76, 73, 201, 0.16), transparent 68%);
    filter: blur(10px);
    z-index: -1;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4.5rem;
    width: min(26vw, 16rem);
    height: min(26vw, 16rem);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(151, 55, 115, 0.12), transparent 70%);
    filter: blur(14px);
    z-index: -1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 690px) minmax(280px, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
}

.hero-copy {
    position: relative;
    width: min(100%, 690px);
    padding: clamp(28px, 4vw, 44px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(14px);
    box-shadow: 0 26px 52px rgba(44, 47, 48, 0.06);
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.hero-pill,
.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--primary);
}

.hero-copy h1,
.final-cta-card h2 {
    margin: 18px 0 14px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.hero-copy h1 {
    max-width: 7.4ch;
    font-size: clamp(3.5rem, 8vw, 6.8rem);
    text-wrap: balance;
}

.hero-lead,
.final-cta-card p {
    margin: 0;
    color: var(--surface-text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-lead {
    max-width: 36rem;
}

.hero-visual {
    position: relative;
    min-height: min(42vw, 33rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-card {
    position: relative;
    width: min(100%, 30rem);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--hero-dark-soft) 0%, var(--hero-dark) 100%);
    box-shadow: 0 34px 70px var(--shadow-strong);
}

.hero-visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(131, 130, 255, 0.28), transparent 18%),
        radial-gradient(circle at 76% 76%, rgba(151, 55, 115, 0.2), transparent 24%);
}

.hero-visual-card::after {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border-radius: 24px;
    background-image: radial-gradient(circle, rgba(76, 73, 201, 0.55) 1px, transparent 1.2px);
    background-size: 3.1rem 3.1rem;
    opacity: 0.22;
}

.hero-visual-logo {
    position: relative;
    z-index: 1;
    width: min(86%, 24rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.34));
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.final-cta-section {
    padding: 18px 0 84px;
}

.final-cta-card {
    position: relative;
    padding: clamp(34px, 5vw, 52px);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(239, 241, 242, 0.92) 100%);
    box-shadow: 0 24px 52px var(--shadow-ambient);
}

.final-cta-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, #8382ff 0%, var(--primary) 100%);
}

.final-cta-card h2 {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    text-wrap: balance;
}

.final-cta-card p {
    max-width: 34rem;
    margin: 0 auto;
}

@media (max-width: 980px) {
    .landing-topbar,
    .hero-section,
    .final-cta-section {
        width: min(100vw - 24px, 1180px);
    }

    .hero-section {
        padding-top: 58px;
    }

    .hero-section::before {
        top: auto;
        bottom: 2rem;
        right: 1rem;
        width: min(38vw, 18rem);
        height: min(38vw, 18rem);
    }

    .hero-section::after {
        top: auto;
        bottom: 5rem;
        right: 0;
        width: min(24vw, 12rem);
        height: min(24vw, 12rem);
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    }
}

@media (max-width: 720px) {
    .landing-topbar {
        margin-top: 12px;
        padding: 14px 14px;
        border-radius: 16px;
        top: 10px;
    }

    .landing-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-section,
    .final-cta-section {
        width: min(100vw - 20px, 1180px);
    }

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

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .hero-section::before {
        inset: auto 0 0 auto;
        width: min(62vw, 15rem);
        height: 15rem;
        opacity: 0.92;
    }

    .hero-section::after {
        right: 1rem;
        bottom: 1rem;
        width: min(40vw, 10rem);
        height: 10rem;
        opacity: 0.24;
    }

    .hero-copy {
        padding: 22px 18px 20px;
        border-radius: 24px;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(3rem, 16vw, 4.5rem);
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-visual-card {
        width: min(100%, 22rem);
        margin: 0 auto;
        border-radius: 24px;
    }

    .hero-visual-card::after {
        inset: 1rem;
        border-radius: 18px;
    }

    .hero-lead,
    .final-cta-card p {
        font-size: 0.98rem;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-section {
        padding-bottom: 60px;
    }

    .final-cta-card {
        padding: 28px 20px 28px 24px;
        border-radius: 22px;
        text-align: left;
    }

    .final-cta-card h2,
    .final-cta-card p {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
