/* ============================================================
   Aahil Tours & Travels - Reward Program
   Premium Login Page Experience
   ============================================================ */

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0a0e27 0%, #141b3d 50%, #0d1230 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    animation: loaderPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.loader-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(212, 175, 55, 0.8);
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.loader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    animation: fadeIn 0.4s ease 0.8s both;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    border-radius: 3px;
    animation: loaderProgress 1.4s ease 0.5s forwards;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes loaderProgress {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ===== LOGIN PAGE LAYOUT ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0e27 0%, #141b3d 40%, #0d1230 100%);
    overflow-x: hidden;
    position: relative;
}

/* Override header for login page (dark theme) */
.login-page .site-header {
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.login-page .header-brand-name {
    color: #fff;
}

.login-page .header-brand-sub {
    color: #D4AF37;
}

.login-page .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.login-page .nav-link:hover,
.login-page .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.login-page .hamburger-line {
    background: #fff;
}

/* Override footer for login */
.login-page .site-footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.login-page .footer-brand-name {
    color: rgba(255, 255, 255, 0.9);
}

.login-page .footer-brand-sub {
    color: #D4AF37;
}

.login-page .footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.login-page .footer-links a:hover {
    color: #D4AF37;
}

.login-page .footer-contact {
    color: rgba(255, 255, 255, 0.4);
}

.login-page .footer-contact a {
    color: #D4AF37;
}

.login-page .footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* ===== ANIMATED BACKGROUND ===== */
.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
}

.login-bg-gradient.g1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(10, 108, 255, 0.5) 0%, transparent 70%);
    animation: floatGradient1 12s ease-in-out infinite;
}

.login-bg-gradient.g2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
    animation: floatGradient2 15s ease-in-out infinite;
}

.login-bg-gradient.g3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    animation: floatGradient3 18s ease-in-out infinite;
}

.login-bg-gradient.g4 {
    width: 350px;
    height: 350px;
    top: 15%;
    left: 55%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    animation: floatGradient4 20s ease-in-out infinite;
}

@keyframes floatGradient1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes floatGradient2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -20px) scale(1.08); }
    66% { transform: translate(-15px, 15px) scale(0.92); }
}

@keyframes floatGradient3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -25px) scale(1.06); }
}

@keyframes floatGradient4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

/* Particle field */
.particle-field {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleDrift linear infinite;
    will-change: transform, opacity;
}

@keyframes particleDrift {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-10vh) translateX(var(--drift-x, 20px));
        opacity: 0;
    }
}

/* Aurora effect */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.12;
}

.aurora-band {
    position: absolute;
    width: 200%;
    height: 300px;
    left: -50%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(10, 108, 255, 0.3) 20%,
        rgba(212, 175, 55, 0.2) 40%,
        rgba(124, 58, 237, 0.25) 60%,
        rgba(16, 185, 129, 0.2) 80%,
        transparent 100%
    );
    filter: blur(60px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
}

.aurora-band.ab1 {
    top: 10%;
    animation: auroraShift1 16s ease-in-out infinite;
}

.aurora-band.ab2 {
    top: 60%;
    animation: auroraShift2 20s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes auroraShift1 {
    0%, 100% { transform: translateX(-10%) rotate(-2deg); }
    50% { transform: translateX(10%) rotate(2deg); }
}

@keyframes auroraShift2 {
    0%, 100% { transform: translateX(5%) rotate(1deg); }
    50% { transform: translateX(-8%) rotate(-1deg); }
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: left, top;
    display: none;
}

/* ===== MAIN CONTENT AREA ===== */
.login-content {
    flex: 1;
    display: flex;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - var(--header-height));
}

/* ===== LEFT SIDE: Brand Story ===== */
.login-brand-side {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
}

.brand-hero {
    text-align: center;
    max-width: 520px;
    position: relative;
}

.brand-logo-float {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 28px;
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.3));
    animation: heroLogoEnter 1s ease 0.3s both;
    transition: transform 0.4s ease;
}

.brand-logo-float:hover {
    transform: scale(1.08) rotate(-2deg);
}

@keyframes heroLogoEnter {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
    animation: heroTitleEnter 0.9s ease 0.5s both;
    letter-spacing: -0.02em;
}

.brand-title .brand-highlight {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F8E7A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes heroTitleEnter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    animation: heroTaglineEnter 0.9s ease 0.7s both;
}

@keyframes heroTaglineEnter {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-subtagline {
    font-size: 0.92rem;
    color: rgba(212, 175, 55, 0.7);
    font-weight: 400;
    margin-bottom: 36px;
    line-height: 1.6;
    animation: heroTaglineEnter 0.9s ease 0.9s both;
}

/* Floating Achievement Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: floatElementEnter 1s ease forwards;
    will-change: transform;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.float-element.fe1 { top: 8%; left: 10%; animation-delay: 1.2s; }
.float-element.fe2 { top: 15%; right: 8%; animation-delay: 1.4s; }
.float-element.fe3 { bottom: 20%; left: 5%; animation-delay: 1.6s; }
.float-element.fe4 { bottom: 12%; right: 12%; animation-delay: 1.8s; }
.float-element.fe5 { top: 50%; left: 2%; animation-delay: 2.0s; }

@keyframes floatElementEnter {
    from { opacity: 0; transform: scale(0.5) translateY(10px); }
    to { opacity: 0.5; transform: scale(1) translateY(0); }
}

/* Floating motion via JS applied as inline animation */

/* ===== RIGHT SIDE: Login Card ===== */
.login-card-side {
    flex: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}

/* Premium Login Card */
.premium-login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    animation: cardEnter 0.8s ease 0.4s both;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 2px 0 rgba(255, 255, 255, 0.04) inset;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.premium-login-card:hover {
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 2px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 40px rgba(212, 175, 55, 0.05);
}

/* Gold top accent */
.premium-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, #FFD700, #D4AF37, transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0.8;
}

/* Shimmer sweep */
.premium-login-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02) 55%,
        transparent 60%
    );
    animation: cardShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardShimmer {
    0%, 100% { transform: translateX(-100%) rotate(0deg); }
    50% { transform: translateX(100%) rotate(0deg); }
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.card-shield-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.card-header p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* Auth Steps inside card */
.login-page .auth-step {
    display: none;
    position: relative;
    z-index: 2;
}

.login-page .auth-step.active {
    display: block;
    animation: stepReveal 0.5s ease both;
}

@keyframes stepReveal {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Form overrides for dark theme */
.login-page .form-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.login-page .input-prefix {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    border-radius: 12px 0 0 12px;
}

.login-page .form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-page .input-with-prefix .form-input {
    border-radius: 0 12px 12px 0;
}

.login-page .form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-page .form-input:focus {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 0 20px rgba(212, 175, 55, 0.05);
    background: rgba(255, 255, 255, 0.08);
}

.login-page .form-input.error {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Focus sweep animation on input */
.login-page .form-input:focus + .input-focus-sweep,
.login-page .input-with-prefix:focus-within .input-focus-sweep {
    opacity: 1;
    animation: inputSweep 0.6s ease forwards;
}

.input-focus-sweep {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    opacity: 0;
    pointer-events: none;
}

@keyframes inputSweep {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* OTP inputs dark theme */
.login-page .otp-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 14px;
    width: 52px;
    height: 60px;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.login-page .otp-input:focus {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.06);
}

.login-page .otp-input.filled {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.08);
}

/* Premium CTA Button */
.login-page .btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #E8C847 100%);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 28px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-page .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}

.login-page .btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* Button loading override */
.login-page .btn-loading::after {
    border-top-color: #1a1a2e;
}

/* Success button animation */
.login-page .btn-success-state {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%) !important;
    color: #fff !important;
}

/* Back button dark theme */
.login-page #backToMobile {
    color: rgba(212, 175, 55, 0.8);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.login-page #backToMobile:hover {
    color: #FFD700;
}

/* Resend & masked email */
.login-page .resend-row {
    color: rgba(255, 255, 255, 0.5);
}

.login-page .resend-link {
    color: #D4AF37;
}

.login-page .resend-link.disabled {
    color: rgba(255, 255, 255, 0.25);
}

.login-page .resend-timer {
    color: #FFD700;
}

.login-page .masked-email {
    color: #D4AF37;
}

/* Auth card header override for OTP step */
.login-page .auth-card-header h2 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.login-page .auth-card-header p {
    color: rgba(255, 255, 255, 0.55);
}

/* Support link */
.login-page .support-text {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.login-page .support-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.login-page .support-text a {
    color: rgba(212, 175, 55, 0.7);
    font-weight: 600;
    transition: color 0.2s ease;
}

.login-page .support-text a:hover {
    color: #FFD700;
}

/* ===== REWARD JOURNEY PREVIEW ===== */
.journey-preview {
    position: relative;
    z-index: 2;
    padding: 80px 32px;
}

.journey-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.journey-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #D4AF37;
    margin-bottom: 12px;
}

.journey-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 48px;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.journey-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.journey-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.journey-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.05);
}

.journey-card:hover::before {
    opacity: 1;
}

.journey-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.journey-card:hover .journey-card-icon {
    transform: scale(1.1);
}

.journey-card:nth-child(1) .journey-card-icon { background: rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.2); }
.journey-card:nth-child(2) .journey-card-icon { background: rgba(10, 108, 255, 0.1); border-color: rgba(10, 108, 255, 0.2); }
.journey-card:nth-child(3) .journey-card-icon { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); }
.journey-card:nth-child(4) .journey-card-icon { background: rgba(124, 58, 237, 0.1); border-color: rgba(124, 58, 237, 0.2); }

.journey-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.journey-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ===== STATISTICS BAR ===== */
.stats-bar {
    position: relative;
    z-index: 2;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== TOAST OVERRIDE FOR DARK ===== */
.login-page .toast {
    background: rgba(20, 27, 61, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.login-page .toast.success { border-left-color: #10B981; }
.login-page .toast.error { border-left-color: #EF4444; }
.login-page .toast.warning { border-left-color: #F59E0B; }

.login-page .toast-close {
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile menu dark overrides */
.login-page .mobile-menu {
    background: #141b3d;
}

.login-page .mobile-menu-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.login-page .mobile-menu-header .header-brand-name {
    color: #fff;
}

.login-page .mobile-menu-close {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.login-page .mobile-nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.login-page .mobile-nav-link:hover,
.login-page .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: #D4AF37;
}

.login-page .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.06);
}

/* ===== RESPONSIVE ===== */

/* Tablet: stack layout */
@media (max-width: 1024px) {
    .login-content {
        flex-direction: column;
    }

    .login-brand-side {
        padding: 40px 24px 20px;
        flex: none;
    }

    .brand-title {
        font-size: 2rem;
    }

    .floating-elements {
        display: none;
    }

    .login-card-side {
        flex: none;
        padding: 0 24px 40px;
    }

    .premium-login-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .login-brand-side {
        padding: 32px 20px 16px;
    }

    .brand-logo-float {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .brand-title {
        font-size: 1.6rem;
    }

    .brand-tagline {
        font-size: 1rem;
    }

    .brand-subtagline {
        font-size: 0.82rem;
        margin-bottom: 24px;
    }

    .login-card-side {
        padding: 0 16px 32px;
    }

    .premium-login-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .card-header h2 {
        font-size: 1.2rem;
    }

    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .journey-title {
        font-size: 1.5rem;
    }

    .journey-preview {
        padding: 60px 20px;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .login-page .otp-input {
        width: 46px;
        height: 54px;
        font-size: 20px;
    }

    .cursor-glow { display: none !important; }
}

/* Small mobile */
@media (max-width: 414px) {
    .brand-title {
        font-size: 1.4rem;
    }

    .premium-login-card {
        padding: 28px 20px;
    }

    .journey-grid, .stats-inner {
        grid-template-columns: 1fr;
    }

    .journey-card {
        padding: 24px 18px;
    }

    .journey-card h3 {
        font-size: 1rem;
    }

    .login-page .otp-input {
        width: 42px;
        height: 50px;
        font-size: 18px;
        border-radius: 12px;
    }

    .login-page .otp-container {
        gap: 6px;
    }
}

/* Tiny mobile */
@media (max-width: 320px) {
    .brand-title {
        font-size: 1.25rem;
    }

    .premium-login-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .login-page .otp-input {
        width: 38px;
        height: 46px;
        font-size: 16px;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .login-bg-gradient,
    .aurora-band,
    .particle,
    .float-element,
    .brand-logo-float,
    .brand-title,
    .brand-tagline,
    .brand-subtagline,
    .premium-login-card,
    .premium-login-card::after,
    .card-shield-icon,
    .journey-card,
    .loader-logo,
    .loader-bar-fill {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
