/* ==========================================================================
   🚪 NEXTEDU NEXUS — UNIFIED SMART AUTHENTICATION GATEWAY CSS
   Design System: Obsidian Dark & Frosted Light / 60FPS Hardware-Composited
   ========================================================================== */

:root {
    --nexus-bg: #060913;
    --nexus-bg-alt: #0a0f1d;
    --nexus-surface: #0d1527;
    --nexus-surface-hover: #131f38;
    --nexus-card-bg: rgba(13, 21, 39, 0.88);
    --nexus-card-border: rgba(56, 189, 248, 0.15);
    --nexus-glass-border: rgba(255, 255, 255, 0.08);
    --nexus-text: #f8fafc;
    --nexus-text-muted: #94a3b8;
    --nexus-text-dim: #64748b;
    
    /* Semantic Accents */
    --nexus-cyan: #38bdf8;
    --nexus-cyan-glow: rgba(56, 189, 248, 0.25);
    --nexus-blue: #2563eb;
    --nexus-blue-glow: rgba(37, 99, 235, 0.25);
    --nexus-gold: #fbbf24;
    --nexus-gold-glow: rgba(251, 191, 36, 0.28);
    --nexus-emerald: #10b981;
    --nexus-emerald-glow: rgba(16, 185, 129, 0.25);
    --nexus-rose: #ef4444;
    --nexus-rose-glow: rgba(239, 68, 68, 0.25);
    --nexus-violet: #8b5cf6;
    --nexus-violet-glow: rgba(139, 92, 246, 0.25);

    --font-heading: 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-reading: 'Inter', sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 15px 40px -10px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] {
    --nexus-bg: #f1f5f9;
    --nexus-bg-alt: #e2e8f0;
    --nexus-surface: #ffffff;
    --nexus-surface-hover: #f8fafc;
    --nexus-card-bg: rgba(255, 255, 255, 0.94);
    --nexus-card-border: rgba(148, 163, 184, 0.25);
    --nexus-glass-border: rgba(148, 163, 184, 0.2);
    --nexus-text: #0f172a;
    --nexus-text-muted: #475569;
    --nexus-text-dim: #94a3b8;
    --nexus-cyan: #0284c7;
    --nexus-cyan-glow: rgba(2, 132, 199, 0.2);
    --shadow-card: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Base resets & layout */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--nexus-bg) !important;
    color: var(--nexus-text);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.animated-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(251, 191, 36, 0.04) 0%, transparent 55%);
}

/* Background Drift Orbs */
.orb-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: orbDrift 22s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    top: -10%;
    right: 12%;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    bottom: 5%;
    left: 8%;
    animation-delay: -6s;
}

[data-theme="light"] .orb-1 {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, transparent 70%);
}

[data-theme="light"] .orb-2 {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

@keyframes orbDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(45px, 25px) scale(1.1); }
}

/* --- 🖥️ CENTERED OBSIDIAN LOGIN LAYOUT --- */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

/* Left Hero Branding Panel (Desktop) */
.login-hero {
    flex: 1.15;
    background: linear-gradient(135deg, rgba(13, 21, 39, 0.8) 0%, rgba(10, 15, 29, 0.7) 100%);
    border-right: 1px solid var(--nexus-glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .login-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(241, 245, 249, 0.7) 100%);
}

.hero-content {
    max-width: 560px;
    position: relative;
    z-index: 10;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--nexus-cyan);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-logo {
    font-size: 2.3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--nexus-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.hero-logo span {
    background: linear-gradient(135deg, var(--nexus-cyan), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, var(--nexus-text) 50%, var(--nexus-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

.hero-desc {
    font-size: 0.98rem;
    color: var(--nexus-text-muted);
    line-height: 1.6;
    margin: 0 0 38px 0;
    font-weight: 400;
}

/* Feature Pills */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--nexus-glass-border);
    backdrop-filter: blur(12px);
    transition: var(--transition-fast);
}

.hero-feature-item:hover {
    transform: translateX(4px);
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--nexus-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--nexus-text);
    margin: 0 0 2px 0;
    letter-spacing: 0.3px;
}

.feature-text p {
    font-size: 0.82rem;
    color: var(--nexus-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Milestone Counters */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--nexus-glass-border);
    padding-top: 28px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--nexus-cyan);
    font-family: var(--font-heading);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--nexus-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Right Interactive Authentication Side */
.login-form-side {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 24px 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.auth-card-wrapper {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    z-index: 10;
}

.auth-card {
    width: 100%;
    box-sizing: border-box;
    background: var(--nexus-card-bg);
    border: 1px solid var(--nexus-card-border);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
}

.auth-card-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--nexus-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0 0 6px 0;
    color: var(--nexus-text);
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.brand-subtitle {
    color: var(--nexus-text-muted);
    font-size: 0.9rem;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Mobile Brand Logo Wordmark */
.brand-logo.mobile-only {
    display: none;
    font-size: 1.9rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--nexus-text);
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.brand-logo.mobile-only span {
    background: linear-gradient(135deg, var(--nexus-cyan), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Theme Switcher */
.theme-toggle-btn {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--nexus-surface);
    border: 1px solid var(--nexus-glass-border);
    color: var(--nexus-text);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    z-index: 100;
}

.theme-toggle-btn:hover {
    border-color: var(--nexus-cyan);
    color: var(--nexus-cyan);
    transform: rotate(20deg) scale(1.05);
}

/* Step Progress Indicator (Identity -> Verify -> Enter) */
/* Progressive Auth Step Tracker with Fluid Shimmer Animation */
.auth-step-tracker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 26px;
    padding: 0 16px;
}

.tracker-progress-track {
    position: absolute;
    top: 18px;
    left: 36px;
    right: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    z-index: 1;
    overflow: hidden;
}

[data-theme="light"] .tracker-progress-track {
    background: rgba(0, 0, 0, 0.08);
}

.tracker-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #38bdf8 100%);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracker-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    user-select: none;
    cursor: default;
}

.tracker-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nexus-card-bg, #0d1527);
    border: 2px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--nexus-text-dim, #94a3b8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .tracker-bubble {
    background: #ffffff;
    border-color: #cbd5e1;
}

.tracker-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--nexus-text-dim, #94a3b8);
    transition: color 0.3s ease;
}

/* Active Step */
.tracker-step.active .tracker-bubble {
    border-color: var(--nexus-cyan, #38bdf8);
    background: rgba(56, 189, 248, 0.16);
    color: var(--nexus-cyan, #38bdf8);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
    transform: scale(1.1);
}

.tracker-step.active .tracker-label {
    color: var(--nexus-cyan, #38bdf8);
}

/* Completed Step */
.tracker-step.completed .tracker-bubble {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
    transform: scale(1.04);
}

.tracker-step.completed .tracker-label {
    color: #10b981;
}

/* Google Sign In Button */
.btn-google {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--nexus-glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--nexus-text);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--nexus-text-dim);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--nexus-glass-border);
}

.divider-text {
    padding: 0 14px;
    text-transform: uppercase;
}

/* Form Inputs & Groups */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i:not(.fa-eye):not(.fa-eye-slash) {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nexus-text-dim);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-group input {
    width: 100%;
    padding: 15px 18px 15px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--nexus-glass-border);
    border-radius: var(--radius-md);
    color: var(--nexus-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: var(--nexus-cyan);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px var(--nexus-cyan-glow);
}

.input-group input:focus ~ i {
    color: var(--nexus-cyan);
}

.otp-input { 
    letter-spacing: 12px; 
    text-align: center; 
    padding-left: 18px !important; 
    font-size: 1.25rem !important; 
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
}

.otp-input ~ i { 
    display: none !important; 
}

/* Password Toggle */
.pass-group input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--nexus-text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.toggle-password:hover {
    color: var(--nexus-cyan);
}

/* Terms Consent Checkbox */
.terms-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: -4px 0 22px 0;
    text-align: left;
}

.terms-consent input {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    accent-color: var(--nexus-cyan);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-consent label {
    font-size: 0.84rem;
    color: var(--nexus-text-muted);
    line-height: 1.45;
    cursor: pointer;
    user-select: none;
}

.terms-consent a {
    color: var(--nexus-cyan);
    text-decoration: none;
    font-weight: 700;
}

.terms-consent a:hover {
    text-decoration: underline;
}

.terms-consent.is-warning label {
    color: var(--nexus-rose);
}

.terms-consent.is-warning input {
    outline: 2px solid var(--nexus-rose);
}

/* Primary Action Button */
.btn-main {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    border: none;
    background: linear-gradient(135deg, var(--nexus-cyan), #2563eb);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px var(--nexus-cyan-glow);
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    filter: brightness(1.05);
}

.btn-main:active {
    transform: translateY(0);
}

.btn-main:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Back Button */
.back-btn {
    background: none;
    border: none;
    color: var(--nexus-text-muted);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 0;
    transition: var(--transition-fast);
}

.back-btn:hover {
    color: var(--nexus-cyan);
}

.forgot-pass {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 0.84rem;
}

.forgot-pass a {
    color: var(--nexus-text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.forgot-pass a:hover {
    color: var(--nexus-cyan);
}

/* Referral Applied Banner */
.referral-applied-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--nexus-emerald);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Step Sections */
.step-section {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.step-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Toast Notifications */
.toast-notification {
    visibility: hidden;
    min-width: 300px;
    max-width: 90%;
    background: var(--nexus-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nexus-glass-border);
    color: var(--nexus-text);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    position: fixed;
    z-index: 100000;
    left: 50%;
    top: 30px;
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    font-size: 0.88rem;
    font-weight: 600;
}

.toast-notification.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
    border-left: 4px solid var(--nexus-emerald);
}

.toast-notification.success i {
    color: var(--nexus-emerald);
}

.toast-notification.error {
    border-left: 4px solid var(--nexus-rose);
}

.toast-notification.error i {
    color: var(--nexus-rose);
}

/* --- 📚 EDUCATIONAL EXPLORER SECTION --- */
.seo-edu-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 70px 24px;
    box-sizing: border-box;
}

.seo-header-wrap {
    text-align: center;
    margin-bottom: 44px;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--nexus-cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.seo-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--nexus-text);
    margin: 0 0 14px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.seo-subtitle {
    font-size: 0.95rem;
    color: var(--nexus-text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 4 Pillars Bento Grid */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.seo-card {
    background: var(--nexus-card-bg);
    border: 1px solid var(--nexus-card-border);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.seo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

.seo-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--nexus-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.seo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--nexus-text);
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.seo-card p {
    font-size: 0.88rem;
    color: var(--nexus-text-muted);
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.seo-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nexus-cyan);
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.seo-card-link:hover {
    gap: 12px;
}

/* Category Passes Grid */
.seo-category-box {
    background: var(--nexus-card-bg);
    border: 1px solid var(--nexus-card-border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    margin-bottom: 48px;
    box-shadow: var(--shadow-card);
}

.seo-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.seo-category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: var(--nexus-text);
}

.seo-pass-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--nexus-cyan), #2563eb);
    color: #ffffff !important;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: 0 4px 15px var(--nexus-cyan-glow);
    transition: transform 0.2s ease;
}

.seo-pass-cta:hover {
    transform: scale(1.03);
}

.seo-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.seo-cat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexus-glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.seo-cat-item h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--nexus-cyan);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-cat-item p {
    font-size: 0.82rem;
    color: var(--nexus-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* FAQ Accordion (<details><summary>) */
.seo-faq-box {
    margin-bottom: 30px;
}

.seo-faq-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nexus-text);
    margin-bottom: 22px;
}

.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.seo-faq-item {
    background: var(--nexus-card-bg);
    border: 1px solid var(--nexus-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-fast);
}

.seo-faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--nexus-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.seo-faq-question::-webkit-details-marker {
    display: none;
}

.seo-faq-question i {
    transition: transform 0.25s ease;
    color: var(--nexus-cyan);
    font-size: 0.85rem;
}

.seo-faq-item[open] .seo-faq-question i {
    transform: rotate(180deg);
}

.seo-faq-answer {
    padding: 0 20px 16px 20px;
    font-size: 0.88rem;
    color: var(--nexus-text-muted);
    line-height: 1.6;
}

/* SEO Footer */
.seo-footer {
    border-top: 1px solid var(--nexus-glass-border);
    padding: 28px 20px;
    text-align: center;
    background: rgba(10, 15, 29, 0.85);
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

[data-theme="light"] .seo-footer {
    background: rgba(241, 245, 249, 0.85);
}

.seo-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
}

.seo-footer-links a {
    color: var(--nexus-text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.seo-footer-links a:hover {
    color: var(--nexus-cyan);
}

.seo-footer-copy {
    font-size: 0.78rem;
    color: var(--nexus-text-dim);
    margin: 0;
}

/* --- 📱 RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .login-hero {
        padding: 40px;
    }
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        min-height: 100vh;
        padding: 24px 12px;
    }
    .login-hero {
        display: none;
    }
    .brand-logo.mobile-only {
        display: flex;
    }
    .login-form-side {
        width: 100%;
        max-width: 440px;
        padding: 12px 4px;
        min-height: auto;
        box-sizing: border-box;
    }
    .theme-toggle-btn {
        top: 14px;
        right: 14px;
    }
    .auth-card {
        padding: 32px 20px;
        border-radius: 22px;
    }
    .seo-edu-section {
        padding: 40px 16px 50px 16px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 14px 8px;
    }
    .login-form-side {
        padding: 6px 2px;
    }
    .auth-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    .form-title {
        font-size: 1.5rem;
    }
    .brand-subtitle {
        font-size: 0.84rem;
        margin-bottom: 18px;
    }
    .auth-step-tracker {
        padding: 0 6px;
        margin-bottom: 20px;
    }
    .tracker-progress-track {
        left: 24px;
        right: 24px;
    }
    .step-node .step-text {
        font-size: 0.76rem;
    }
    .btn-main {
        padding: 13px;
        font-size: 0.95rem;
    }
}

/* --- ♿ REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
