/* ===== Variables ===== */
:root {
    --primary: #0061ff;
    --primary-hover: #0052cc;
    --primary-bright: #0088ff;
    --primary-light: #66b3ff;
    --primary-glow: rgba(0, 97, 255, 0.45);
    --text-dark: #0a1128;
    --text-gray: #4b5563;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-pale: #ffffff;
    --bg-sky: #e6f2ff;
    --bg-off: #f0f7ff;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.9);
    --header-h: 72px;
    --container: 1280px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-soft: 0 4px 24px rgba(0, 97, 255, 0.1);
    --shadow-btn: 0 8px 28px rgba(0, 97, 255, 0.35);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.5;
    overflow-x: clip;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.text-primary {
    color: var(--primary);
}

/* ===== Background effects ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 85% at 78% 42%, rgba(0, 97, 255, 0.1) 0%, rgba(230, 242, 255, 0.6) 40%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 55% 50%, rgba(230, 242, 255, 0.4) 0%, transparent 55%),
        linear-gradient(102deg, #ffffff 0%, #ffffff 42%, #f5faff 55%, #e6f2ff 72%, #eef6ff 100%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glowPulse 8s ease-in-out infinite;
}

.bg-glow--center {
    width: 680px;
    height: 680px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(0, 97, 255, 0.12) 0%, rgba(230, 242, 255, 0.4) 50%, transparent 72%);
}

.bg-glow--left {
    display: none;
}

.bg-glow--right {
    width: 500px;
    height: 500px;
    bottom: 8%;
    right: -5%;
    background: radial-gradient(circle, rgba(0, 97, 255, 0.08) 0%, rgba(230, 242, 255, 0.45) 55%, transparent 75%);
    animation-delay: -5s;
}

.bg-swirl {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(40px);
    opacity: 0.9;
}

.bg-swirl--1 {
    top: -10%;
    left: 25%;
    transform: rotate(-8deg);
    animation: swirlDrift 20s ease-in-out infinite;
    opacity: 0.55;
}

.bg-swirl--2 {
    bottom: -15%;
    right: -5%;
    transform: rotate(12deg);
    animation: swirlDrift 25s ease-in-out infinite reverse;
    opacity: 0.45;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none;
}

.bg-wisps {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 80px,
            rgba(0, 102, 255, 0.02) 80px,
            rgba(0, 150, 255, 0.04) 81px,
            transparent 82px);
    pointer-events: none;
}

.bg-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 97, 255, 0.35);
    box-shadow: 0 0 10px rgba(0, 97, 255, 0.4);
}

.bg-particles span:nth-child(1) {
    top: 18%;
    left: 12%;
    animation: particleFloat 6s ease-in-out infinite;
}

.bg-particles span:nth-child(2) {
    top: 45%;
    left: 28%;
    animation: particleFloat 8s ease-in-out infinite 1s;
}

.bg-particles span:nth-child(3) {
    top: 25%;
    right: 22%;
    animation: particleFloat 7s ease-in-out infinite 0.5s;
}

.bg-particles span:nth-child(4) {
    bottom: 35%;
    right: 35%;
    animation: particleFloat 9s ease-in-out infinite 2s;
}

.bg-particles span:nth-child(5) {
    bottom: 20%;
    left: 45%;
    animation: particleFloat 6.5s ease-in-out infinite 1.5s;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.85;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes swirlDrift {

    0%,
    100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateY(-20px);
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-12px);
        opacity: 0.8;
    }
}

/* ===== Sticky header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: inherit;
    z-index: -1;
}

.header.is-scrolled::before {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 97, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__full {
    display: block;
    width: auto;
    height: 58px;
    object-fit: contain;
}

/* ===== Trust brands row ===== */
.nesai-trust-section {
    padding: 28px 0 0;
}

.nesai-trust-top-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 14px;
}

.nesai-trust-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 8px 0 10px;
}

.nesai-trust-brands img {
    height: 26px;
    width: auto;
    opacity: 0.9;
    filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

/* Keep local SVG logos crisp */
.nesai-trust-brands img[src$=".svg"] {
    height: 28px;
}

.nesai-trust-brands img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-1px);
}

/* ===== Experience bar (blue section) ===== */
.experience {
    padding: 28px 0 70px;
}

.experience__bar {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 22px 22px 26px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(90deg, #0b2a5a 0%, #0a3b8a 45%, #0a5ad4 100%);
    box-shadow: 0 16px 50px rgba(0, 97, 255, 0.2);
    color: #eaf2ff;
    overflow: hidden;
    position: relative;
}

.experience__bar::before {
    content: "";
    position: absolute;
    inset: -40% -30%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
    filter: blur(30px);
    pointer-events: none;
}

.experience__left {
    position: relative;
    z-index: 1;
}

.experience__title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.experience__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(234, 242, 255, 0.85);
}

.experience__actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.experience__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.experience__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
}

.experience__btn--ghost {
    background: rgba(12, 44, 110, 0.22);
}

.experience__btn-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.experience__btn-icon svg {
    width: 100%;
    height: 100%;
}

.experience__right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
}

.experience__note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(234, 242, 255, 0.85);
}

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

.experience__device {
    width: 24px;
    height: 24px;
    display: inline-flex;
    color: rgba(255, 255, 255, 0.85);
}

.experience__device svg {
    width: 100%;
    height: 100%;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 35%, #ffffff 100%);
    border-top: 1px solid rgba(0, 97, 255, 0.08);
    padding: 56px 0 26px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.site-footer__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-footer__logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.site-footer__desc {
    margin: 0;
    max-width: 360px;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.site-footer__heading {
    margin: 6px 0 14px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: var(--primary);
}

.site-footer__small {
    margin: -6px 0 12px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.site-footer__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer__input {
    flex: 1 1 180px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 97, 255, 0.14);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 12px;
    outline: none;
}

.site-footer__input:focus {
    border-color: rgba(0, 97, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.12);
}

.site-footer__submit {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 26px rgba(0, 97, 255, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.site-footer__bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 97, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer__copyright {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
}

.site-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.site-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 97, 255, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 97, 255, 0.16);
    background: #ffffff;
}

.site-footer__social-link svg {
    width: 18px;
    height: 18px;
}

.nav__link--active {
    color: var(--primary);
}

.nav__social {
    display: none;
}

/* ===== Auth pages ===== */
.auth-page {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 42px 0 72px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: stretch;
}

.auth-shell--compact {
    grid-template-columns: minmax(320px, 560px);
    justify-content: center;
}

.auth-panel,
.auth-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(0, 97, 255, 0.12);
    box-shadow:
        0 18px 48px rgba(0, 97, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.auth-panel {
    padding: 40px 34px;
    background:
        radial-gradient(circle at top right, rgba(102, 179, 255, 0.26) 0%, transparent 38%),
        linear-gradient(145deg, #0a3b8a 0%, #0061ff 52%, #0052cc 100%);
    color: #ffffff;
}

.auth-panel::after {
    content: "";
    position: absolute;
    inset: auto -15% -32% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
    filter: blur(18px);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.auth-panel__title {
    margin: 22px 0 14px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.auth-panel__text {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    font-size: 1rem;
}

.auth-highlights {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.auth-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-highlight__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.auth-highlight__icon svg {
    width: 18px;
    height: 18px;
}

.auth-highlight__title {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-highlight__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.6;
}

.auth-card {
    padding: 34px 32px 30px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.auth-card__eyebrow {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
	text-align: center;
	padding-bottom: 16px;
}

.auth-card__title {
    margin: 10px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text-dark);
}

.auth-card__subtitle {
    margin-bottom: 28px;
    color: var(--text-gray);
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-field__input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 97, 255, 0.14);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-field__input:focus {
    border-color: rgba(0, 97, 255, 0.38);
    box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.12);
}

.auth-form__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.auth-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.auth-link {
    color: var(--primary);
    font-weight: 700;
}

.auth-submit {
    min-height: 54px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 800;
    margin-top: 4px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 2px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 97, 255, 0.1);
}

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

.auth-social {
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(0, 97, 255, 0.14);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}

.auth-social svg {
    width: 18px;
    height: 18px;
}

.auth-card__footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-gray);
}

.auth-card__footer a {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 980px) {
    .experience__bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 14px;
    }

    .experience__right {
        align-items: center;
        text-align: center;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .experience__bar {
        padding: 18px;
        border-radius: 14px;
    }

    .experience__actions {
        width: 100%;
    }

    .experience__btn {
        width: 100%;
        justify-content: center;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

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

.nav__top,
.nav__actions {
    display: none;
}

.nav-overlay {
    display: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link svg {
    opacity: 0.6;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

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

.btn--primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-btn);
}

.btn--ghost {
    padding: 8px 20px;
    font-size: 0.9375rem;
    color: var(--primary);
    border: 1.5px solid rgba(0, 97, 255, 0.35);
    background: transparent;
}

.btn--ghost:hover {
    background: rgba(0, 97, 255, 0.06);
    box-shadow: none;
}

.btn--sm {
    padding: 9px 22px;
    font-size: 0.9375rem;
}

.btn--lg {
	padding: 10px 20px;
	font-size: 1rem;
}

.btn--outline {
    padding: 14px 24px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid #e5e7eb;
}

.btn--outline:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.btn__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
}

.btn__play svg {
    margin-left: 2px;
    color: var(--text-dark);
}

/* ===== Hero ===== */
.hero {
	padding: 10px 0 18px !important;
}
.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 40px;
    align-items: center;
    padding: 26px 32px 30px 40px;
}

.hero__content {
    padding-top: 12px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: rgba(0, 97, 255, 0.08);
    border: 1px solid rgba(0, 97, 255, 0.12);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.7rem, 4.7vw, 4.25rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
    max-width: 620px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.72;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.hero__trust {
    margin-bottom: 26px;
}

.hero__trust-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -10px;
    flex-shrink: 0;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar--1 {
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
}

.avatar--2 {
    background: linear-gradient(135deg, #fcd34d, #f97316);
}

.avatar--3 {
    background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
}

.stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.stat {
    min-width: 132px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 97, 255, 0.08);
    box-shadow:
        0 10px 24px rgba(0, 97, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

/* ===== Hero visual ===== */
.hero__visual {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.hero__visual::before {
    content: "";
    position: absolute;
    top: 5%;
    left: 50%;
    width: 90%;
    max-width: 640px;
    height: 85%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgb(228, 239, 255) 0%, rgb(227, 237, 254) 45%, transparent 72%);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
    animation: heroVisualGlow 6s ease-in-out infinite;
}

@keyframes heroVisualGlow {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

.hero__platform {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 120px;
    perspective: 400px;
}

.platform-ring {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotateX(72deg);
    border-radius: 50%;
    border: 2px solid rgba(0, 210, 255, 0.55);
    box-shadow:
        0 0 35px rgba(0, 210, 255, 0.45),
        inset 0 0 24px rgba(0, 210, 255, 0.2);
}

.platform-ring--1 {
    width: 380px;
    height: 100px;
    animation: ringPulse 3s ease-in-out infinite;
}

.platform-ring--2 {
    width: 300px;
    height: 78px;
    opacity: 0.7;
    animation: ringPulse 3s ease-in-out infinite 0.4s;
}

.platform-ring--3 {
    width: 220px;
    height: 56px;
    opacity: 0.45;
    animation: ringPulse 3s ease-in-out infinite 0.8s;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 30px rgba(0, 210, 255, 0.35);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 55px rgba(0, 210, 255, 0.6);
    }
}

.hero__stage {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: transparent;
}

.hero__portrait-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

/* Side + top fade: blends image white edges into page background */
.hero__portrait-wrap::before,
.hero__portrait-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22%;
    max-width: 120px;
    z-index: 4;
    pointer-events: none;
}

.hero__portrait-wrap::before {
    left: -60px;
    width: 25%;
    max-width: 140px;
    background: linear-gradient(to right, #edf4fd 0%, rgb(227, 237, 254) 30%, rgb(219, 232, 254) 60%, transparent 100%);
}

.hero__portrait-wrap::after {
    right: 0;
    width: 14%;
    max-width: 70px;
    /* background: linear-gradient(to left,
            rgba(230, 242, 255, 0.6) 0%,
            transparent 100%); */
}

.hero__stage::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10%;
	z-index: 5;
	pointer-events: none;
	background: linear-gradient(to bottom, #e3edfe 0%, rgba(208, 224, 251, 0.47) 55%, transparent 100%);
}

.hero__portrait {
    position: relative;
    z-index: 2;
    display: block;
    width: 114%;
    max-width: 840px;
    margin-left: -6%;
    height: auto;
    min-height: 520px;
    max-height: 780px;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    filter: drop-shadow(0 30px 60px rgba(0, 97, 255, 0.12));
    -webkit-mask-image: radial-gradient(ellipse 98% 96% at 52% 46%,
            #000 0%,
            #000 58%,
            rgba(0, 0, 0, 0.9) 72%,
            rgba(0, 0, 0, 0.4) 88%,
            transparent 100%);
    mask-image: radial-gradient(ellipse 98% 96% at 52% 46%,
            #000 0%,
            #000 58%,
            rgba(0, 0, 0, 0.9) 72%,
            rgba(0, 0, 0, 0.4) 88%,
            transparent 100%);
}

/* Light effects behind hero portrait */
.hero-image-lights {
    position: absolute;
    inset: -20% -30% -10%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.hero-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    will-change: transform, opacity;
}

.hero-light--center {
    top: 12%;
    left: 50%;
    width: 360px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse,
            rgba(0, 210, 255, 0.18) 0%,
            rgba(225, 238, 255, 0.5) 38%,
            rgba(244, 249, 255, 0.15) 58%,
            transparent 75%);
    animation: heroLightPulse 5s ease-in-out infinite;
}

.hero-light--left {
    top: 35%;
    left: -18%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle,
            rgba(244, 249, 255, 0.85) 0%,
            rgba(225, 238, 255, 0.35) 50%,
            transparent 70%);
    animation: heroLightDrift 7s ease-in-out infinite;
}

.hero-light--right {
    top: 22%;
    right: -22%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle,
            rgba(0, 210, 255, 0.15) 0%,
            rgba(225, 238, 255, 0.45) 45%,
            transparent 70%);
    animation: heroLightDrift 8s ease-in-out infinite reverse;
}

.hero-light--floor {
    bottom: 5%;
    left: 50%;
    width: 400px;
    height: 150px;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(45px);
    background: radial-gradient(ellipse at center,
            rgba(0, 210, 255, 0.35) 0%,
            rgba(225, 238, 255, 0.25) 45%,
            transparent 70%);
    animation: heroFloorGlow 4s ease-in-out infinite;
}

.hero-light__streak {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.7;
}

.hero-light__streak--1 {
    top: 15%;
    left: -5%;
    width: 180px;
    height: 420px;
    background: linear-gradient(165deg,
            transparent 0%,
            rgba(0, 150, 255, 0.25) 40%,
            rgba(0, 102, 255, 0.35) 60%,
            transparent 100%);
    transform: rotate(-18deg);
    animation: heroStreakMove 10s ease-in-out infinite;
}

.hero-light__streak--2 {
    top: 10%;
    right: -8%;
    width: 140px;
    height: 380px;
    background: linear-gradient(195deg,
            transparent 0%,
            rgba(100, 200, 255, 0.2) 45%,
            rgba(0, 102, 255, 0.3) 65%,
            transparent 100%);
    transform: rotate(22deg);
    animation: heroStreakMove2 12s ease-in-out infinite;
}

@keyframes heroStreakMove2 {

    0%,
    100% {
        opacity: 0.45;
        transform: rotate(22deg) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: rotate(26deg) translateY(-12px);
    }
}

.hero-light__ring {
    position: absolute;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 150, 255, 0.25);
    box-shadow:
        0 0 30px rgba(0, 102, 255, 0.15),
        inset 0 0 20px rgba(0, 102, 255, 0.08);
    transform: translateX(-50%);
}

.hero-light__ring--1 {
    top: 12%;
    width: 280px;
    height: 280px;
    animation: heroRingPulse 6s ease-in-out infinite;
}

.hero-light__ring--2 {
    top: 18%;
    width: 200px;
    height: 200px;
    opacity: 0.6;
    animation: heroRingPulse 6s ease-in-out infinite 1s;
}

@keyframes heroLightPulse {

    0%,
    100% {
        opacity: 0.85;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

@keyframes heroLightDrift {

    0%,
    100% {
        opacity: 0.7;
        transform: translate(0, 0);
    }

    50% {
        opacity: 1;
        transform: translate(12px, -8px);
    }
}

@keyframes heroFloorGlow {

    0%,
    100% {
        opacity: 0.75;
        transform: translateX(-50%) scaleX(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.1);
    }
}

@keyframes heroStreakMove {

    0%,
    100% {
        opacity: 0.5;
        transform: rotate(-18deg) translateY(0);
    }

    50% {
        opacity: 0.85;
        transform: rotate(-14deg) translateY(-15px);
    }
}

@keyframes heroRingPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.65;
        transform: translateX(-50%) scale(1.04);
    }
}

.hero-scan__inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
}

.hero__main-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}

.hero__main-img--base {
    position: relative;
    z-index: 1;
    display: block;
}

/* Digital right half (AI scan target) */
.hero-scan__digital-half {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 88%;
    z-index: 2;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    transition: filter 0.15s ease;
}

.hero-scan__digital-half.is-pulse {
    filter: brightness(1.15);
}

.hero__main-img--digital {
    width: 200%;
    max-width: none;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
    margin-left: -100%;
    filter: contrast(1.2) saturate(1.1) hue-rotate(-8deg);
    mix-blend-mode: normal;
}

.hero-scan__mesh {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 10px,
            rgba(0, 102, 255, 0.14) 10px,
            rgba(0, 102, 255, 0.14) 11px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 10px,
            rgba(0, 102, 255, 0.14) 10px,
            rgba(0, 102, 255, 0.14) 11px);
    mix-blend-mode: screen;
    opacity: 0.75;
    animation: meshPulse 2s ease-in-out infinite;
}

.hero-scan__nodes {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(0, 200, 255, 0.9) 1px, transparent 2px),
        radial-gradient(circle at 55% 25%, rgba(0, 102, 255, 0.8) 1px, transparent 2px),
        radial-gradient(circle at 70% 55%, rgba(0, 200, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 40% 70%, rgba(0, 102, 255, 0.8) 1px, transparent 2px),
        radial-gradient(circle at 80% 35%, rgba(0, 170, 255, 0.7) 1px, transparent 2px);
    animation: nodeBlink 1.5s ease-in-out infinite alternate;
}

@keyframes meshPulse {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes nodeBlink {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Horizontal scan lines overlay */
.hero-scan__static-lines {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 3px,
            rgba(0, 102, 255, 0.04) 3px,
            rgba(0, 102, 255, 0.04) 4px);
    animation: scanLinesFlicker 0.08s steps(2) infinite;
}

@keyframes scanLinesFlicker {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Moving scan beam */
.hero-scan__beam,
.hero-scan__beam-trail {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 7;
    pointer-events: none;
    will-change: top;
}

.hero-scan__beam {
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 200, 255, 0.5) 20%,
            #ffffff 50%,
            rgba(0, 102, 255, 0.9) 80%,
            transparent 100%);
    box-shadow:
        0 0 12px rgba(0, 200, 255, 0.9),
        0 0 30px rgba(0, 102, 255, 0.7),
        0 0 60px rgba(0, 102, 255, 0.4);
    animation: scanBeamMove 3.2s linear infinite;
}

.hero-scan__beam-trail {
    height: 70px;
    margin-top: -35px;
    background: linear-gradient(180deg,
            rgba(0, 102, 255, 0.35) 0%,
            rgba(0, 200, 255, 0.12) 40%,
            transparent 100%);
    animation: scanBeamMove 3.2s linear infinite;
}

.hero-scan__beam-secondary {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 52%;
    width: 1px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(180deg,
            transparent,
            rgba(0, 200, 255, 0.4) 30%,
            rgba(0, 102, 255, 0.6) 50%,
            rgba(0, 200, 255, 0.4) 70%,
            transparent);
    animation: verticalScan 2s ease-in-out infinite;
}

@keyframes scanBeamMove {
    0% {
        top: 6%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        top: 78%;
        opacity: 0;
    }
}

@keyframes verticalScan {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.85);
    }

    50% {
        opacity: 0.9;
        transform: scaleY(1);
    }
}

/* HUD corners + labels */
.hero-scan__hud {
    position: absolute;
    inset: 4% 3%;
    z-index: 8;
    pointer-events: none;
}

.hero-scan__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(0, 102, 255, 0.7);
    border-style: solid;
}

.hero-scan__corner--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.hero-scan__corner--tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.hero-scan__corner--bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.hero-scan__corner--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.hero-scan__label {
    position: absolute;
    top: 0;
    left: 28px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    animation: labelBlink 1s ease-in-out infinite;
}

.hero-scan__progress {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.625rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

@keyframes labelBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-scan.is-scanning .hero__split-line {
    animation: lineGlow 1.2s ease-in-out infinite, splitPulse 3.2s linear infinite;
}

@keyframes splitPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.4);
    }
}

.hero__split-line {
    position: absolute;
    top: 5%;
    bottom: 18%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            transparent,
            var(--primary-bright) 12%,
            #ffffff 50%,
            var(--primary-bright) 88%,
            transparent);
    box-shadow:
        0 0 16px rgba(0, 210, 255, 0.85),
        0 0 40px rgba(0, 210, 255, 0.55),
        0 0 70px rgba(225, 238, 255, 0.4);
    z-index: 12;
    pointer-events: none;
    animation: lineGlow 2.5s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* ===== Glass cards ===== */
.glass-card {
    position: absolute;
    z-index: 5;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 102, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-card__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-gray);
    padding: 4px 6px 8px;
    text-align: center;
}

.glass-card__media {
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 130px;
    height: 155px;
}

.glass-card__media--empty {
    background: linear-gradient(145deg, #e8f4ff 0%, #f4f9ff 100%);
    border: 1px solid rgba(0, 210, 255, 0.15);
    box-shadow: inset 0 0 24px rgba(0, 210, 255, 0.08);
}

.glass-card--left {
    top: 12%;
    left: -2%;
}

.glass-card--right {
    top: 22%;
    right: -4%;
}

.float-anim {
    animation: floatCard 5s ease-in-out infinite;
}

.float-anim--delay {
    animation-delay: -2.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Tool dock ===== */
.tool-dock {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 12px 40px rgba(0, 102, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tool-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 12px;
    color: #6b7280;
    transition: color 0.2s, background 0.2s;
}

.tool-dock__item:hover {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.06);
}

.tool-dock__item--active {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

.tool-dock__item--active .tool-dock__icon {
    filter: drop-shadow(0 0 6px rgba(0, 102, 255, 0.5));
}

.tool-dock__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-dock__icon svg {
    width: 100%;
    height: 100%;
}

.tool-dock__label {
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Spacer for sticky header demo */
.spacer {
    height: 40vh;
    background: linear-gradient(180deg, transparent, rgba(225, 238, 255, 0.5));
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-shell--compact {
        grid-template-columns: minmax(0, 560px);
    }

    .auth-panel {
        padding: 34px 28px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 26px;
        padding: 18px 28px 24px;
    }

    .hero__content {
        padding-top: 0;
    }

    .badge,
    .hero__subtitle,
    .hero__cta,
    .hero__trust,
    .stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__subtitle {
        max-width: 560px;
    }

    .hero__cta {
        justify-content: center;
    }

    .stat {
        min-width: 150px;
    }

    .avatars {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .hero__visual {
        min-height: 560px;
        margin-top: 20px;
    }

    .hero__portrait {
        width: 110%;
        margin-left: -5%;
        max-height: 640px;
    }

    .glass-card--left {
        left: 5%;
    }

    .glass-card--right {
        right: 5%;
    }
}

@media (max-width: 900px) {
    .auth-page {
        padding: 28px 0 48px;
    }

    .auth-card {
        padding: 28px 24px 24px;
    }

    .auth-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero {
        padding: 6px 0 6px !important;
    }

    .hero__inner {
        gap: 20px;
        padding: 16px 20px 20px;
    }

    .hero__title {
        font-size: clamp(2.35rem, 9vw, 3.4rem);
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero__cta {
        gap: 12px;
        margin-bottom: 22px;
    }

    .hero__cta .btn {
        min-width: 210px;
    }

    .stats {
        gap: 12px;
    }

    .stat {
        min-width: 0;
        flex: 1 1 180px;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 17, 40, 0.38);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.32s ease;
        z-index: 999;
    }

    .header.nav-open ~ .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        width: min(360px, 88vw);
        flex-direction: column;
        padding: 18px 18px 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-right: 1px solid rgba(0, 102, 255, 0.1);
        gap: 14px;
        transform: translateX(-105%);
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1000;
        overflow: auto;
        overscroll-behavior: contain;
        box-shadow: 20px 0 60px rgba(10, 17, 40, 0.12);
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2px 0 14px;
        border-bottom: 1px solid rgba(0, 97, 255, 0.08);
        margin-bottom: 6px;
        gap: 220px;
    }

    .nav__logo {
        display: block;
        width: auto;
        height: 42px;
        object-fit: contain;
        max-width: calc(100% - 56px);
    }

    .nav__close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 97, 255, 0.14);
        background: rgba(255, 255, 255, 0.9);
        color: var(--text-dark);
    }

    .nav__close svg {
        width: 18px;
        height: 18px;
    }

    .nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 10px 2px;
        border-radius: 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(0, 97, 255, 0.08);
        color: var(--text-dark);
        font-weight: 600;
    }

    .nav__link:hover {
        color: var(--primary);
    }

    .nav__actions {
        display: flex;
        gap: 12px;
        padding: 8px 0 12px;
        margin-bottom: 2px;
    }

    .nav__actions .btn {
        flex: 1;
        justify-content: center;
        white-space: nowrap;
    }

    .nav__social {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 18px;
        margin-top: auto;
    }

    .nav__social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(0, 97, 255, 0.14);
        background: rgba(0, 97, 255, 0.05);
        color: var(--primary);
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .nav__social-link:hover {
        transform: translateY(-1px);
        background: rgba(0, 97, 255, 0.1);
        border-color: rgba(0, 97, 255, 0.22);
    }

    .nav__social-link svg {
        width: 18px;
        height: 18px;
    }

    .header__actions {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        border: 1px solid rgba(0, 97, 255, 0.14);
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-shrink: 0;
    }

    .header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .auth-page {
        padding: 20px 0 36px;
    }

    .auth-shell {
        gap: 18px;
    }

    .auth-panel,
    .auth-card {
        border-radius: 22px;
    }

    .auth-panel {
        padding: 28px 20px;
    }

    .auth-card {
        padding: 24px 18px 22px;
    }

    .auth-form__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero__inner {
        padding: 12px 0 16px;
    }

    .badge {
        margin-bottom: 18px;
    }

    .hero__title {
        font-size: clamp(2.1rem, 11vw, 2.9rem);
        margin-bottom: 14px;
    }

    .hero__subtitle {
        margin-bottom: 20px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-bottom: 20px;
    }

    .hero__cta .btn {
        width: 100%;
        min-width: 0;
    }

    .hero__trust {
        margin-bottom: 20px;
    }

    .stats {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 360px;
    }

    .stat {
        width: 100%;
        text-align: left;
    }

    .header__inner {
        gap: 16px;
    }

    .logo__full {
        height: 48px;
        max-width: min(190px, 100%);
    }

    .hero__visual {
        min-height: 420px;
        overflow: hidden;
    }

    .hero__stage {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero__portrait {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        min-height: auto;
        max-height: 480px;
    }

    .hero__portrait-wrap::before,
    .hero__portrait-wrap::after {
        width: 16%;
    }

    .hero-light--center {
        width: 220px;
        height: 280px;
    }

    .hero__visual::before {
        width: 320px;
        height: 320px;
    }

    .glass-card__media {
        width: 100px;
        height: 120px;
    }

    .glass-card--left {
        top: 8%;
        left: 0;
    }

    .glass-card--right {
        top: 18%;
        right: 0;
    }

    .tool-dock {
        padding: 8px 10px;
        gap: 0;
        max-width: calc(100% - 24px);
        overflow-x: auto;
    }

    .tool-dock__item {
        padding: 6px 10px;
        flex-shrink: 0;
    }

    .stats {
        gap: 24px;
    }
}

.auth-message.auth-message--error {
	text-align: center;
	color: red;
	text-transform: capitalize;
}