/* ==========================================================================
   AI CAREER COMPANION - SOFT NEUMORPHIC & ANIMATED UI DESIGN
   Soft 3D Extrusions, Inset Recesses, Dual Shadow Systems & Fluid Micro-Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    /* Soft Neomorphic Base (Default Light Theme) */
    --bg-base: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    
    /* Neomorphic Dual Shadow Tokens (Soft Light Mode) */
    --nm-shadow-dark: #c4cbd6;
    --nm-shadow-light: #ffffff;
    --nm-glow: rgba(99, 102, 241, 0.2);
    
    --nm-flat: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --nm-flat-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --nm-raised: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --nm-inset: 0 0 0 1px var(--border-subtle);
    --nm-inset-sm: 0 0 0 1px var(--border-subtle);
    --nm-inset-deep: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);

    /* Soft Pastel Accents */
    --primary: #2563EB;
    --primary-soft: #3B82F6;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --primary-gradient: linear-gradient(135deg, #2563EB, #3B82F6);
    
    --accent-cyan: #06B6D4;
    --accent-cyan-soft: #0891B2;
    --accent-purple: #8B5CF6;
    --accent-emerald: #10B981;
    --accent-emerald-soft: #059669;
    --accent-amber: #D97706;
    --accent-rose: #E11D48;

    /* Text */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    --border-subtle: #E2E8F0;
    --border-focus: rgba(99, 102, 241, 0.4);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
    --transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   BASE & AMBIENT ANIMATIONS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, #F3F7FE 0%, #F8FAFC 48%, #F1F5F9 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text input and form typing */
input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Disable drag & drop scraping of images & media */
img, svg, picture {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto;
}

/* DevTools Tamper Protection Shield */
.security-tamper-shield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1.5rem;
}
.security-tamper-shield.active {
    display: flex !important;
}

/* Animated Ambient Glow Spheres */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, #6366F1, transparent 70%);
}

.bg-glow-2 {
    width: 450px;
    height: 450px;
    top: 35%;
    right: -120px;
    background: radial-gradient(circle, #06B6D4, transparent 70%);
    animation-delay: -5s;
}

.bg-glow-3 {
    width: 550px;
    height: 550px;
    bottom: -150px;
    left: 25%;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    animation-delay: -9s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
    100% { transform: translate(-25px, 35px) scale(0.95); }
}

/* Typography & Gradient Accents */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

.text-muted { color: var(--text-muted); }
.text-success { color: var(--accent-emerald) !important; }
.text-warning { color: var(--accent-amber) !important; }
.text-danger { color: var(--accent-rose) !important; }
.text-amber { color: var(--accent-amber) !important; }
.text-primary { color: var(--primary) !important; }
.text-center { text-align: center; }

.bg-primary { background: #2563EB !important; color: #ffffff !important; }
.bg-primary-soft { background: rgba(37, 99, 235, 0.12) !important; color: #2563EB !important; }
.bg-success-soft { background: rgba(16, 185, 129, 0.12) !important; color: #10B981 !important; }
.bg-warning-soft { background: rgba(245, 158, 11, 0.12) !important; color: #D97706 !important; }
.bg-info-soft { background: rgba(6, 182, 212, 0.12) !important; color: #0891B2 !important; }
.bg-purple-soft { background: rgba(139, 92, 246, 0.12) !important; color: #8B5CF6 !important; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.w-100 { width: 100%; }

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #06B6D4 50%, #A855F7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ==========================================================================
   APPLE iOS LIQUID GLASS NAVIGATION BAR (BALANCED 100% ZOOM)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.58) 0%,
        rgba(235, 242, 254, 0.45) 50%,
        rgba(255, 255, 255, 0.52) 100%
    );
    backdrop-filter: blur(35px) saturate(210%) brightness(1.06) contrast(104%);
    -webkit-backdrop-filter: blur(35px) saturate(210%) brightness(1.06) contrast(104%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 32px -8px rgba(31, 38, 135, 0.07), 
                inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95), 
                inset 0 -1px 2px 0 rgba(0, 0, 0, 0.02),
                0 0 0 1px rgba(255, 255, 255, 0.35);
    padding: 0.65rem 1.5rem;
    transition: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: visible;
}

/* Apple iOS Liquid Caustic Flowing Wave */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 15%,
        rgba(99, 102, 241, 0.12) 35%,
        rgba(6, 182, 212, 0.12) 55%,
        rgba(255, 255, 255, 0.35) 75%,
        transparent 100%
    );
    animation: iosLiquidCaustics 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes iosLiquidCaustics {
    0% { transform: translateX(0); }
    50% { transform: translateX(20%); }
    100% { transform: translateX(33.33%); }
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.nav-brand:hover {
    transform: translateY(-1px) scale(1.02);
}

.nav-brand:active {
    transform: scale(0.97);
}

/* Apple iOS Liquid Glass Crystal Squircle Badge */
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(6, 182, 212, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3), 
                inset 0 2px 3px rgba(255, 255, 255, 0.9),
                inset 0 -1px 2px rgba(0, 0, 0, 0.12);
    animation: iosLiquidMorph 7s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.35));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.nav-brand:hover .brand-logo-img {
    transform: scale(1.1) rotate(4deg);
}

.brand-logo::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 255, 255, 0.65) 50%,
        transparent 65%
    );
    animation: iosGlassShine 4.5s infinite ease-in-out;
}

@keyframes iosLiquidMorph {
    0% {
        border-radius: 13px 10px 14px 11px;
        transform: scale(1) rotate(0deg);
    }
    50% {
        border-radius: 11px 14px 10px 13px;
        transform: scale(1.03) rotate(1deg);
    }
    100% {
        border-radius: 14px 11px 13px 10px;
        transform: scale(1) rotate(-1deg);
    }
}

@keyframes iosGlassShine {
    0%, 25% { transform: translateX(-120%) rotate(45deg); }
    75%, 100% { transform: translateX(120%) rotate(45deg); }
}

.brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.brand-title {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
}

/* Apple iOS Translucent Liquid Glass Capsule Dock */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 24px rgba(31, 38, 135, 0.07), 
                inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
                inset 0 -1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    flex-shrink: 0;
}

/* Apple iOS Glass Pill Nav Links */
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}

.nav-link i {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link span {
    display: inline-block;
    white-space: nowrap;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.75) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12),
                inset 0 1.5px 2px rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:active {
    transform: scale(0.97);
}

/* Active iOS Liquid Pill with Prismatic Pulse */
.nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(6, 182, 212, 0.92));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 5px 16px rgba(99, 102, 241, 0.32), 
                inset 0 1.5px 2px rgba(255, 255, 255, 0.85),
                inset 0 -1px 2px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    animation: iosLiquidPillPulse 4s ease-in-out infinite alternate;
}

@keyframes iosLiquidPillPulse {
    0% {
        box-shadow: 0 5px 16px rgba(99, 102, 241, 0.3), inset 0 1.5px 2px rgba(255, 255, 255, 0.85);
    }
    100% {
        box-shadow: 0 8px 20px rgba(6, 182, 212, 0.38), inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-actions .btn-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.94), rgba(79, 70, 229, 0.94));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.32),
                inset 0 1.5px 2px rgba(255, 255, 255, 0.85);
    animation: iosLiquidBtnPulse 4s infinite ease-in-out alternate;
    white-space: nowrap;
    padding: 0.48rem 0.95rem;
    font-size: 0.82rem;
}

@keyframes iosLiquidBtnPulse {
    0% { transform: translateY(0); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.28); }
    100% { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(99, 102, 241, 0.38); }
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* ==========================================================================
   NEUMORPHIC BUTTONS & FORMS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
    user-select: none;

    border: 1px solid transparent;}

.btn-primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: #FFFFFF;
    box-shadow: var(--nm-flat-sm), 0 0 16px var(--primary-glow);
    border: 1px solid var(--border-subtle);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--nm-raised), 0 0 24px var(--primary-glow);
    border: 1px solid var(--border-subtle);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: var(--nm-inset-sm);
}

.btn-outline {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--nm-raised);
    border: 1px solid var(--border-subtle);
    color: var(--primary-soft);
}

.btn-outline:active {
    box-shadow: var(--nm-inset-sm);
    transform: scale(0.98);
}

.btn-glass {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: var(--nm-raised);
    border: 1px solid var(--border-subtle);
    color: var(--accent-cyan-soft);
}

.btn-glass:active {
    box-shadow: var(--nm-inset-sm);
    transform: scale(0.98);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
}

/* Neomorphic Inset Form Inputs */
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-main);
    font-size: 0.92rem;
    background: var(--bg-base);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    box-shadow: var(--nm-inset);
    transition: var(--transition);
    outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--border-focus);
    box-shadow: var(--nm-inset-deep), 0 0 10px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    line-height: 1.6;
}

/* ==========================================================================
   NEUMORPHIC CARDS
   ========================================================================== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--nm-flat);
    border: 1px solid var(--border-subtle);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-bounce);
    position: relative;

    border: 1px solid var(--border-subtle);}

.card:hover {
    box-shadow: var(--nm-raised);
    border: 1px solid var(--border-subtle);
    transform: translateY(-3px);
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
}

/* Neomorphic Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
}

.badge-primary { background: rgba(99, 102, 241, 0.15); color: #818CF8; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-danger { background: rgba(244, 63, 94, 0.15); color: #FB7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.badge-info { background: rgba(6, 182, 212, 0.15); color: #38BDF8; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-outline { background: var(--bg-surface); color: var(--text-secondary); box-shadow: var(--nm-inset-sm); }

/* ==========================================================================
   APP LAYOUT & SECTIONS (BALANCED 100% ZOOM)
   ========================================================================== */
.main-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    min-height: calc(100vh - 140px);
}

.app-section {
    display: none;
    animation: softSlideUp 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.app-section.active {
    display: block;
}

@keyframes softSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    background: var(--bg-surface);
    color: var(--primary-soft);
    border-radius: var(--radius-full);
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.section-desc {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   HERO SECTION (HOME - BALANCED 100% ZOOM)
   ========================================================================== */
.hero-container {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: var(--bg-surface);
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: #A5B4FC;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.15rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.05rem;
    max-width: 740px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Features Grid: 3 Cards Balanced & Centered in a Single Row */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 980px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        gap: 1.15rem;
    }
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.45rem 1.25rem;
    cursor: pointer;
    box-shadow: var(--nm-flat);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--nm-raised), 0 0 16px var(--nm-glow);
    border: 1px solid var(--border-subtle);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.35rem;
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-cyan { background: var(--bg-surface); color: #06B6D4; }
.icon-purple { background: var(--bg-surface); color: #8B5CF6; }
.icon-emerald { background: var(--bg-surface); color: #10B981; }
.icon-amber { background: var(--bg-surface); color: #F59E0B; }
.icon-blue { background: var(--bg-surface); color: #3B82F6; }

.feature-card h3 {
    font-size: 1.22rem;
    margin-bottom: 0.65rem;
}

.feature-card p {
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.feature-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-soft);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.feature-card:hover .feature-link {
    gap: 0.75rem;
}

/* Stats Banner with Inset Neomorphic Wells */
.stats-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 2.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--nm-flat);
    border: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-soft);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: var(--bg-base);
    box-shadow: var(--nm-inset-sm);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--nm-raised);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    animation: toastSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.toast-success { border-left: 5px solid var(--accent-emerald); }
.toast-error { border-left: 5px solid var(--accent-rose); }
.toast-info { border-left: 5px solid var(--accent-cyan); }

@keyframes toastSlideIn {
    from { transform: translateX(120%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 740px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: var(--nm-raised);
    border: 1px solid var(--border-subtle);
    animation: modalScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    box-shadow: 0 2px 0 var(--bg-base);
}

.modal-close-btn {
    background: var(--bg-surface);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: var(--nm-flat-sm);
    border: 1px solid var(--border-subtle);
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.modal-close-btn:hover {
    color: var(--accent-rose);
    transform: rotate(90deg) scale(1.1);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    box-shadow: 0 -2px 0 var(--bg-base);
}

/* ==========================================================================
   AI CAREER COMPANION - MODERN HYBRID FOOTER (DESKTOP & MOBILE)
   ========================================================================== */
.footer {
    background: radial-gradient(circle at 100% 100%, rgba(191, 219, 254, 0.42) 0%, rgba(219, 234, 254, 0.15) 35%, transparent 60%),
                radial-gradient(circle at 0% 100%, rgba(224, 231, 255, 0.38) 0%, rgba(238, 242, 255, 0.12) 35%, transparent 60%),
                #FFFFFF;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    padding: 3.5rem 2rem 2.25rem;
    margin-top: 4.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px -10px rgba(15, 23, 42, 0.03);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Top Row: Brand Column + Vertical Divider + Nav Grid --- */
.footer-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-brand-column {
    flex: 1 1 480px;
    max-width: 530px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand-header {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.22));
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-brand-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.025em;
}

.footer-brand-subtitle {
    font-size: 1.55rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.footer-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 1.15rem 0 0;
}

.footer-desc strong {
    color: #0F172A;
}

.footer-pnp-highlight {
    color: #2563EB !important;
    font-weight: 700;
}

/* Credits Dock: Faculty Guides & P&P Studio */
.footer-credits-dock {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.footer-guides-pair {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.credit-divider-inline {
    width: 1px;
    height: 26px;
    background: #CBD5E1;
    opacity: 0.8;
    flex-shrink: 0;
}

.credit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.credit-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.credit-avatar-blue {
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.credit-avatar-rose {
    background: #FDF2F8;
    color: #DB2777;
    border: 1px solid rgba(219, 39, 119, 0.18);
}

.credit-pnp-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.08));
}

.credit-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.credit-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.credit-role {
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Desktop Vertical Divider */
.footer-vertical-divider {
    width: 1px;
    align-self: stretch;
    min-height: 170px;
    background: rgba(226, 232, 240, 0.95);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

/* --- Right Column: Navigation Grid (Platform, Community, Account) --- */
.footer-nav-grid {
    flex: 1 1 520px;
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 2.25rem;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav-heading {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer-heading-bar {
    height: 3px;
    width: 22px;
    border-radius: 2px;
    margin: 6px 0 16px;
}

.bar-blue { background: #2563EB; }
.bar-purple { background: #7C3AED; }
.bar-pink { background: #EC4899; }

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #1E293B;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav-icon {
    font-size: 1.05rem;
    color: #334155;
    width: 20px;
    text-align: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-nav-link:hover {
    color: #2563EB;
    transform: translateX(2px);
}

.footer-nav-link:hover .footer-nav-icon {
    color: #2563EB;
}

/* --- Bottom Row: Divider Line, Copyright & Social Icons --- */
.footer-bottom-divider-line {
    width: 100%;
    height: 1px;
    background: rgba(226, 232, 240, 0.95);
    margin: 2.75rem 0 1.75rem;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copyright-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.footer-copy-main {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.footer-copy-sub {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

.footer-bottom-v-separator {
    display: none;
}

.footer-social-col {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-follow-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748B;
}

.footer-social-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #1E293B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    border: 1px solid rgba(226, 232, 240, 0.85);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.footer-social-btn:hover .fa-linkedin-in {
    color: #0A66C2;
}

.footer-social-btn:hover .fa-instagram {
    color: #E1306C;
}

.footer-social-btn:hover .fa-youtube {
    color: #FF0000;
}

/* --- Responsive Media Queries (Mobile & Tablet) --- */
@media (max-width: 820px) {
    .footer {
        padding: 0.5cm 1rem 0.6cm !important;
        margin-top: 0.5cm !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-container {
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-top-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5cm !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-brand-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-brand-header {
        justify-content: center !important;
    }

    .footer-brand-title,
    .footer-brand-subtitle {
        font-size: 1.3rem !important;
    }

    .footer-desc {
        text-align: center !important;
        max-width: 460px !important;
        margin: 0.35cm auto 0 !important;
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }

    /* 0.5cm Space to Creators */
    .footer-credits-dock {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5cm !important;
        margin-top: 0.5cm !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-guides-pair {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5cm !important;
        width: 100% !important;
    }

    .credit-badge-pnp {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .footer-vertical-divider {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 0.5cm Space to Page Direction Links */
    .footer-nav-grid {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
        padding-top: 0.5cm !important;
    }

    .footer-nav-col {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-nav-heading {
        font-size: 0.85rem !important;
        margin-bottom: 0.2rem !important;
    }

    .footer-heading-bar {
        margin: 2px auto 6px !important;
        width: 18px !important;
    }

    .footer-nav-list {
        height: auto !important;
        min-height: 0 !important;
        gap: 0.45rem !important;
        align-items: center !important;
    }

    .footer-nav-link {
        font-size: 0.78rem !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
    }

    .footer-nav-icon {
        font-size: 0.9rem !important;
        width: 16px !important;
    }

    /* 0.5cm Space to Credits */
    .footer-bottom-divider-line {
        margin: 0.5cm 0 !important;
    }

    /* Credits Row */
    .footer-bottom-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5cm !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-copyright-col {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.18rem !important;
    }

    .footer-copy-main {
        font-size: 0.78rem !important;
    }

    .footer-copy-sub {
        font-size: 0.7rem !important;
    }

    .footer-bottom-v-separator {
        display: none !important;
    }

    .footer-social-col {
        flex-shrink: 0 !important;
        align-items: center !important;
    }

    .footer-follow-label {
        display: none !important;
    }

    .footer-social-btns {
        gap: 0.5rem !important;
    }

    .footer-social-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.88rem !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0.5cm 0.75rem 0.5cm !important;
        margin-top: 0.5cm !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .footer-top-row {
        gap: 0.5cm !important;
    }

    .footer-brand-title,
    .footer-brand-subtitle {
        font-size: 1.25rem !important;
    }

    .footer-brand-logo {
        height: 40px !important;
    }

    .footer-desc {
        margin: 0.35cm auto 0 !important;
        font-size: 0.78rem !important;
        line-height: 1.45 !important;
    }

    /* 0.5cm Space to Creators */
    .footer-credits-dock {
        margin-top: 0.5cm !important;
        gap: 0.5cm !important;
    }

    .footer-guides-pair {
        gap: 0.5cm !important;
    }

    /* 0.5cm Space to Page Direction Links */
    .footer-nav-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.25rem !important;
        padding-top: 0.5cm !important;
        box-sizing: border-box !important;
    }

    .footer-nav-col {
        min-width: 0 !important;
        overflow: hidden !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-heading-bar {
        margin: 2px auto 6px !important;
    }

    .footer-nav-list {
        gap: 0.35rem !important;
        align-items: center !important;
    }

    .footer-nav-link {
        font-size: 0.74rem !important;
        gap: 0.22rem !important;
    }

    .footer-nav-icon {
        font-size: 0.82rem !important;
        width: 13px !important;
    }

    /* 0.5cm Space to Credits */
    .footer-bottom-divider-line {
        margin: 0.5cm 0 !important;
    }

    /* Credits Row */
    .footer-bottom-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5cm !important;
    }

    .footer-copyright-col {
        text-align: center !important;
        gap: 0.18rem !important;
    }

    .footer-bottom-v-separator {
        display: none !important;
    }

    .credit-name {
        font-size: 0.78rem !important;
    }

    .credit-role {
        font-size: 0.54rem !important;
    }

    .credit-avatar {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.7rem !important;
    }

    .credit-pnp-logo {
        height: 24px !important;
    }

    .footer-social-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.82rem !important;
    }
}

@keyframes mobileDrawerEnter {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   PERFECT MOBILE RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        gap: 0.75rem;
    }

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

    .brand-subtitle {
        font-size: 0.66rem;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(40px) saturate(220%) brightness(1.08);
        -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.08);
        border: 1px solid var(--border-subtle);
        border-radius: 20px;
        padding: 1.15rem;
        gap: 0.45rem;
        box-shadow: 0 25px 60px rgba(31, 38, 135, 0.18), inset 0 2px 3px rgba(255, 255, 255, 1);
        display: none;
        z-index: 1001;
    }

    .nav-menu.mobile-open {
        display: flex;
        animation: mobileDrawerEnter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    .nav-link {
        width: 100%;
        padding: 0.85rem 1.15rem;
        font-size: 0.92rem;
        justify-content: flex-start;
        border-radius: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stats-divider {
        display: none;
    }

    .stats-banner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5.5vw, 2.8rem);
    }
}

@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .main-content {
        padding: 1.25rem 0.85rem 3.5rem;
    }

    .navbar {
        padding: 0.55rem 0.85rem;
        height: 60px;
    }

    .nav-container {
        gap: 0.5rem;
    }

    .hero-container {
        padding: 1.5rem 0.25rem 1.25rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.3rem);
        line-height: 1.25;
        letter-spacing: -0.02em;
    }

    .hero-desc {
        font-size: 0.94rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2.25rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
    
    border: 1px solid transparent;}

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Mobile footer rules consolidated in modern footer section */

    .modal-backdrop {
        padding: 0.75rem;
        align-items: center;
    }

    .modal-card {
        padding: 1.35rem 1rem;
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        border-radius: 16px;
    }

    /* Mobile Table Scroll Container */
    .data-table-container,
    .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    /* Safe Area Inset Support for Notch / Gesture Bar on modern 19.5:9 displays */
    body {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .navbar {
        padding: 0.5rem 0.75rem;
    }

    .brand-logo-img {
        width: 32px;
        height: 32px;
    }

    .brand-text {
        max-width: 140px;
    }

    .brand-title {
        font-size: 0.92rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-subtitle {
        display: none;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .nav-actions .btn-sm span {
        display: none;
    }

    .nav-actions .btn-sm {
        padding: 0.45rem 0.65rem;
        min-height: 38px;
        min-width: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }

    /* Stats Banner: 2x2 Matrix on tall narrow phone displays */
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        padding: 1rem 0.75rem;
        border-radius: 16px;
    }

    .stat-item {
        padding: 0.35rem;
        text-align: center;
    }

    .stat-num {
        font-size: 1.55rem;
        letter-spacing: -0.02em;
    }

    .stat-label {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    /* Mobile Form Inputs: Minimum 16px to prevent iOS/Android zoom */
    .form-input,
    .form-select,
    .input-glass {
        font-size: 16px !important;
        min-height: 48px;
        padding: 0.75rem 0.85rem;
        border-radius: 12px;
    }

    .btn {
        min-height: 46px;
        padding: 0.7rem 1.15rem;
        border-radius: 12px;
        font-size: 0.92rem;
    
    border: 1px solid transparent;}

    .btn-lg {
        min-height: 50px;
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .section-desc {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    /* Mobile Drawer */
    .nav-menu {
        top: 64px;
        left: 8px;
        right: 8px;
        padding: 0.85rem;
        border-radius: 16px;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        min-height: 46px;
    }

    /* Mobile Modal Actions: Thumb-friendly stacked buttons */
    .modal-footer {
        flex-direction: column-reverse;
        gap: 0.6rem;
        margin-top: 1.25rem;
        padding-top: 1rem;
    }

    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    
    border: 1px solid transparent;}
}

/* ==========================================================================
   PREMIUM AI SAAS DASHBOARD DESIGN SYSTEM (Header, Hero, Modules, Summary)
   ========================================================================== */

/* Hide legacy glow elements for clean SaaS layout */
.bg-glow { display: none !important; }

.saas-main-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 1.75rem 2rem 3.5rem;
}

/* --------------------------------------------------------------------------
   1. HEADER / NAVIGATION (.saas-navbar)
   -------------------------------------------------------------------------- */
.navbar.saas-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.03);
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.saas-navbar::before {
    display: none !important;
}

.saas-nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.saas-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

.saas-brand:hover {
    opacity: 0.92;
    transform: none;
}

.saas-brand-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.saas-brand-logo-wrap .brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: none;
}

.saas-brand .brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.saas-brand .brand-subtitle {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 500;
    margin-top: 1px;
}

/* Center Pill Navigation Dock */
.nav-menu.saas-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 0.35rem 0.45rem;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.nav-link.saas-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    padding: 0.52rem 1.05rem;
    border-radius: 999px;
    color: #475569;
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    animation: none !important;
}

.nav-link.saas-nav-link::before {
    display: none !important;
}

.nav-link.saas-nav-link i {
    font-size: 0.86rem;
    color: #64748B;
    transition: color 0.18s ease;
}

.nav-link.saas-nav-link:hover {
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transform: none;
}

.nav-link.saas-nav-link:hover i {
    color: #2563EB;
}

.nav-link.saas-nav-link.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    font-weight: 700;
}

.nav-link.saas-nav-link.active i {
    color: #FFFFFF;
}

/* Right Nav Actions */
.saas-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.saas-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.saas-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.saas-icon-btn:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #CBD5E1;
}

.saas-icon-btn.has-notification::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 10px;
    width: 7px;
    height: 7px;
    background: #EF4444;
    border: 1.5px solid #FFFFFF;
    border-radius: 50%;
}

.saas-profile-dropdown {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.32rem 0.85rem 0.32rem 0.35rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.saas-profile-dropdown:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.saas-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.saas-profile-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0F172A;
}

.saas-profile-caret {
    font-size: 0.68rem;
    color: #64748B;
    margin-left: 0.15rem;
}

/* Header Dropdown Menus */
.saas-floating-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    z-index: 1050;
    overflow: hidden;
    text-align: left;
}

.saas-dropdown-header {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #F1F5F9;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0F172A;
}

.saas-dropdown-pill {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.notification-item {
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    transition: background 0.18s ease;
}

.notification-item:hover {
    background: #F8FAFC;
}

.notif-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0F172A;
}

.notif-desc {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 0.2rem;
    line-height: 1.4;
}

/* ========================================================
   NOTIFICATION CENTER PANEL (Matching Custom Layout Specs)
   ======================================================== */
.notif-center-panel {
    position: absolute;
    right: -10px;
    top: calc(100% + 10px);
    width: 370px;
    max-width: calc(100vw - 28px);
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
    padding: 1.25rem 1.15rem 1.15rem;
    z-index: 1050;
    text-align: left;
    display: none;
    animation: notifPanelFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.notif-center-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.95rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.notif-center-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notif-center-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
}

.notif-center-counter {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid #BFDBFE;
}

.notif-close-mini {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s;
}

.notif-close-mini:hover {
    color: #0F172A;
}

/* List Items */
.notif-center-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.notif-item-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.18s ease;
}

.notif-item-card.notif-item-security {
    flex-direction: column;
}

.notif-item-card.is-expanded {
    background: #FFFFFF;
    border-color: #93C5FD;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
}

.notif-item-main-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.notif-cred-panel {
    width: 100%;
    margin-top: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #CBD5E1;
    animation: notifCredSlideDown 0.22s ease-out;
}

@keyframes notifCredSlideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notif-cred-card-inner {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notif-cred-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.notif-cred-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.notif-cred-field-val-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.notif-cred-field-val {
    font-size: 0.76rem;
    font-weight: 800;
    color: #0F172A;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.notif-cred-copy-btn {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #2563EB;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.notif-cred-copy-btn:hover {
    background: #DBEAFE;
    color: #1D4ED8;
    transform: scale(1.05);
}

.notif-cred-actions {
    margin-top: 0.55rem;
    display: flex;
    justify-content: flex-end;
}

.notif-cred-btn-copyall {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.15s ease;
}

.notif-cred-btn-copyall:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.notif-item-card:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.notif-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.notif-icon-red {
    background: #FEE2E2;
    color: #EF4444;
    border: 1px solid #FECACA;
}

.notif-icon-yellow {
    background: #FEF3C7;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.notif-icon-green {
    background: #DCFCE7;
    color: #10B981;
    border: 1px solid #A7F3D0;
}

.notif-item-content {
    flex: 1;
    min-width: 0;
}

.notif-item-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.notif-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F172A;
}

.notif-status-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.notif-status-badge.red {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.notif-status-badge.yellow {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.notif-status-badge.green {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.notif-item-desc {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.35;
}

/* Bottom 3 Colored Pills (Matching sketch & website colors) */
.notif-center-pills-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid #F1F5F9;
}

.notif-bottom-pill {
    flex: 1;
    height: 32px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
}

.notif-bottom-pill:hover {
    transform: translateY(-1.5px);
}

.notif-bottom-pill:active {
    transform: scale(0.96);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.notif-bottom-pill.pill-red {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
}

.notif-bottom-pill.pill-red .pill-dot {
    background: #DC2626;
}

.notif-bottom-pill.pill-yellow {
    background: #FEF3C7;
    border-color: #FCD34D;
    color: #D97706;
}

.notif-bottom-pill.pill-yellow .pill-dot {
    background: #D97706;
}

.notif-bottom-pill.pill-green {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #16A34A;
}

.notif-bottom-pill.pill-green .pill-dot {
    background: #16A34A;
}

.notif-bottom-pill.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .notif-center-panel {
        position: fixed !important;
        top: 66px !important;
        left: 12px !important;
        right: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 380px !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        padding: 1.2rem 1.05rem 1rem !important;
        box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
        z-index: 1099 !important;
    }
}

.saas-dropdown-user-meta {
    padding: 0.85rem 1rem;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
}

.saas-dropdown-user-meta strong {
    font-size: 0.88rem;
    color: #0F172A;
}

.saas-dropdown-user-meta span {
    font-size: 0.74rem;
    color: #64748B;
    font-weight: 600;
}

.saas-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    border-bottom: 1px solid #F8FAFC;
    transition: background 0.15s ease, color 0.15s ease;
}

.saas-dropdown-link:hover {
    background: #F8FAFC;
    color: #2563EB;
}

.saas-dropdown-link.danger {
    color: #EF4444;
    border-bottom: none;
}

.saas-dropdown-link.danger:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.saas-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #0F172A;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    flex-shrink: 0;
}

.saas-mobile-toggle:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #2563EB;
}

.saas-mobile-toggle:active {
    transform: scale(0.94);
    background: #EFF6FF;
}

/* --------------------------------------------------------------------------
   2. HERO / WELCOME SECTION (.saas-hero) WITH CAMPUS ARCHITECTURE
   -------------------------------------------------------------------------- */
.saas-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 3.25rem 3.25rem;
    min-height: 420px;
    margin-bottom: 2rem;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 34px -12px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.saas-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background-image: url('/static/images/hero_campus_bg.jpg');
    background-size: cover;
    background-position: center right;
    z-index: 1;
    pointer-events: none;
}

.saas-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        #FFFFFF 0%,
        #FFFFFF 44%,
        rgba(255, 255, 255, 0.92) 52%,
        rgba(255, 255, 255, 0.22) 64%,
        transparent 78%
    );
    z-index: 1;
    pointer-events: none;
}

.saas-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 610px;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: #2563EB;
    border: 1px solid #DBEAFE;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.hero-badge i {
    color: #3B82F6;
    font-size: 0.82rem;
}

.hero-title {
    font-size: clamp(1.65rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0F172A;
    letter-spacing: -0.03em;
    margin-bottom: 1.15rem;
    word-break: break-word;
}

.hero-highlight-blue {
    color: #2563EB;
}

.hero-highlight-purple {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 60%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-underline-svg {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.hero-desc {
    font-size: 1.04rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.85rem;
    max-width: 560px;
}

/* Hero Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.btn-saas-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 0.92rem 1.55rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.38);
    transition: all 0.2s ease;
}

.btn-saas-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.48);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

.btn-saas-primary .btn-arrow-icon {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-saas-primary:hover .btn-arrow-icon {
    transform: translateX(3px);
}

.btn-saas-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.88rem 1.35rem;
    font-family: var(--font-main);
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.btn-saas-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.play-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-avatar-stack {
    display: flex;
    align-items: center;
}

.stack-initial {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-left: -8px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

.stack-initial:first-child { margin-left: 0; }
.stack-initial.blue { background: #2563EB; }
.stack-initial.purple { background: #7C3AED; }
.stack-initial.emerald { background: #10B981; }
.stack-initial.amber { background: #F59E0B; }

.hero-trust-text {
    font-size: 0.84rem;
    color: #64748B;
    font-weight: 500;
}

.hero-trust-text strong {
    color: #334155;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. HERO RIGHT COLUMN: PURE CSS/SVG AI TELEMETRY CLUSTER
   -------------------------------------------------------------------------- */
.saas-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    z-index: 3;
    pointer-events: none;
}

.hero-visual-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    padding: 0.75rem 1.5rem 0.75rem 0;
}

.hero-resume-preview-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 1.5rem 1.65rem;
    width: 100%;
    max-width: 415px;
    box-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.14), 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    transform: rotate(-1.35deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
}

.hero-resume-preview-card:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 24px 48px -12px rgba(37, 99, 235, 0.13);
}

.hrp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.hrp-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.2;
}

.hrp-role {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
}

.hrp-avatar-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DBEAFE 0%, #EDE9FE 100%);
    color: #2563EB;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}

.hrp-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.95rem;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 500;
}

.hrp-contact-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.hrp-contact-strip i {
    color: #3B82F6;
}

.hrp-section {
    margin-bottom: 0.95rem;
}

.hrp-section.mb-0 {
    margin-bottom: 0;
}

.hrp-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.hrp-edu-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
}

.hrp-edu-degree {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1E293B;
}

.hrp-edu-sub {
    font-size: 0.71rem;
    color: #64748B;
}

.hrp-edu-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    flex-shrink: 0;
}

.hrp-year-tag {
    font-size: 0.7rem;
    color: #64748B;
    font-weight: 600;
}

.hrp-status-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hrp-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hrp-chip {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    padding: 0.24rem 0.68rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.hrp-chip.accent {
    background: #EFF6FF;
    color: #2563EB;
    border-color: #BFDBFE;
    font-weight: 700;
}

.hrp-project-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hrp-project-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.hrp-proj-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.hrp-proj-dot.blue { background: #2563EB; }
.hrp-proj-dot.purple { background: #8B5CF6; }

.hrp-proj-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.25;
}

.hrp-proj-tech {
    font-size: 0.7rem;
    color: #64748B;
}

/* Floating Telemetry Cards */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 38px -10px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    z-index: 3;
    transition: transform 0.25s ease;
}

.hero-float-card.float-score-card {
    top: -10px;
    right: -6px;
    width: 148px;
    padding: 1rem 0.9rem;
    text-align: center;
    transform: rotate(3deg);
}

.hero-float-card.float-score-card:hover {
    transform: rotate(0deg) translateY(-3px);
}

.hfc-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.55rem;
}

.hfc-gauge-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 0.45rem;
}

.hfc-circular-Readout {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hfc-circle-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 3.6;
}

.hfc-circle-fill {
    fill: none;
    stroke: #10B981;
    stroke-width: 3.6;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.hfc-score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0F172A;
}

.hfc-score-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: #10B981;
}

.hero-float-card.float-match-card {
    bottom: -12px;
    right: -12px;
    width: 228px;
    padding: 1.05rem 1.15rem;
    transform: rotate(1.5deg);
}

.hero-float-card.float-match-card:hover {
    transform: rotate(0deg) translateY(-3px);
}

.hfc-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.75rem;
}

.hfc-live-pill {
    background: #F5F3FF;
    color: #7C3AED;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    border: 1px solid #DDD6FE;
}

.hfc-match-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hfc-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.73rem;
    margin-bottom: 0.22rem;
}

.hfc-role-name {
    color: #334155;
    font-weight: 600;
}

.hfc-role-pct {
    color: #0F172A;
    font-weight: 800;
}

.hfc-bar-track {
    width: 100%;
    height: 6px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
}

.hfc-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
}

.hfc-bar-fill.emerald { background: linear-gradient(90deg, #10B981, #059669); }
.hfc-bar-fill.indigo { background: linear-gradient(90deg, #6366F1, #8B5CF6); }
.hfc-bar-fill.amber { background: linear-gradient(90deg, #F59E0B, #D97706); }

/* --------------------------------------------------------------------------
   4. FEATURE / MODULE CARDS (.saas-features-grid)
   -------------------------------------------------------------------------- */
.saas-features-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.85rem;
}

.saas-feature-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1.35rem 1.25rem;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: stretch;
    gap: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.03);
}

.saas-feature-card.active-module-card {
    border-color: #93C5FD;
    box-shadow: 0 8px 22px -6px rgba(37, 99, 235, 0.1);
}

.saas-feature-card:hover {
    transform: translateY(-3px);
    border-color: #93C5FD;
    box-shadow: 0 14px 28px -8px rgba(37, 99, 235, 0.12);
}

.sf-left-rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    gap: 0.85rem;
}

.sf-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.sf-icon.blue { background: #EFF6FF; color: #2563EB; }
.sf-icon.orange { background: #FFF7ED; color: #EA580C; }
.sf-icon.green { background: #ECFDF5; color: #10B981; }
.sf-icon.purple { background: #F5F3FF; color: #7C3AED; }
.sf-icon.amber { background: #FEF3C7; color: #D97706; }

.sf-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.saas-feature-card:hover .sf-arrow {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
    transform: translateX(2px);
}

.sf-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sf-content h3 {
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 0.35rem 0;
    color: #0F172A;
    line-height: 1.25;
}

.sf-content p {
    font-size: 0.79rem;
    color: #64748B;
    line-height: 1.45;
    margin: 0;
}

/* --------------------------------------------------------------------------
   5. PERSONALIZED DASHBOARD SUMMARY SECTION (.saas-dashboard-summary)
   -------------------------------------------------------------------------- */
.saas-dashboard-summary {
    display: grid;
    grid-template-columns: 1.1fr 2.2fr 1.15fr;
    gap: 1.5rem;
    background: #FFFFFF;
    border-radius: 22px;
    padding: 1.4rem 1.75rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 26px -8px rgba(15, 23, 42, 0.04);
    align-items: center;
    margin-bottom: 1.75rem;
}

.summary-welcome {
    padding-right: 0.5rem;
}

.summary-platform-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.48rem 1rem;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.75rem;
}

.summary-platform-card i {
    font-size: 0.95rem;
    color: #2563EB;
}

.summary-platform-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1E40AF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.summary-greeting-label {
    display: block;
    font-size: 0.84rem;
    color: #64748B;
    font-weight: 600;
}

.summary-user-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0.15rem 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: -0.02em;
}

.summary-verified-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FEF3C7;
    color: #D97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.summary-subtext {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
}

.summary-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.summary-stat-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.summary-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.summary-stat-card.tint-blue { background: #F4F7FF; border-color: #E0E7FF; }
.summary-stat-card.tint-green { background: #F0FDF4; border-color: #DCFCE7; }
.summary-stat-card.tint-purple { background: #F5F3FF; border-color: #EDE9FE; }
.summary-stat-card.tint-amber { background: #FFFBEB; border-color: #FEF3C7; }

.ss-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    flex-shrink: 0;
}

.ss-icon.blue { background: #DBEAFE; color: #2563EB; }
.ss-icon.green { background: #D1FAE5; color: #059669; }
.ss-icon.purple { background: #EDE9FE; color: #7C3AED; }
.ss-icon.orange { background: #FEF3C7; color: #D97706; }

.ss-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ss-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}

.ss-label {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 600;
    margin-top: 0.18rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   5B. CIRCULAR GRAPH DASHBOARD TELEMETRY (.summary-circular-grid)
   -------------------------------------------------------------------------- */
.summary-circular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.circ-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 0.5rem 0.75rem;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.circ-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -6px rgba(15, 23, 42, 0.08);
}

.circ-stat-card.tint-purple {
    background: linear-gradient(180deg, #FBF9FF 0%, #FFFFFF 100%);
    border-color: #EDE9FE;
}
.circ-stat-card.tint-purple:hover {
    border-color: #C4B5FD;
}

.circ-stat-card.tint-green {
    background: linear-gradient(180deg, #F6FDF9 0%, #FFFFFF 100%);
    border-color: #DCFCE7;
}
.circ-stat-card.tint-green:hover {
    border-color: #86EFAC;
}

.circ-stat-card.tint-blue {
    background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%);
    border-color: #DBEAFE;
}
.circ-stat-card.tint-blue:hover {
    border-color: #93C5FD;
}

.circ-stat-card.tint-amber {
    background: linear-gradient(180deg, #FFFDF6 0%, #FFFFFF 100%);
    border-color: #FEF3C7;
}
.circ-stat-card.tint-amber:hover {
    border-color: #FDE68A;
}

.circ-chart-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circ-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circ-bg {
    fill: none;
    stroke: #E8EEF5;
    stroke-width: 3.5;
}

.circ-fill {
    fill: none;
    stroke-width: 3.6;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.circ-fill.purple {
    stroke: #8B5CF6;
}

.circ-fill.green {
    stroke: #10B981;
}

.circ-fill.blue {
    stroke: #2563EB;
}

.circ-fill.amber {
    stroke: #F59E0B;
}

.circ-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.circ-num {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.circ-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
}

.circ-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.circ-sub {
    font-size: 0.68rem;
    color: #64748B;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
}

.summary-action-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.05rem 1.15rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border: 1px solid #DBEAFE;
    border-radius: 18px;
}

.sac-icon {
    width: 38px;
    height: 38px;
    background: #DBEAFE;
    color: #2563EB;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sac-content h4 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
}

.sac-content p {
    margin: 0.2rem 0 0.65rem 0;
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
}

.btn-sac-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    padding: 0.42rem 1rem;
    font-family: var(--font-main);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    transition: all 0.18s ease;
}

.btn-sac-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
    .saas-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .saas-dashboard-summary {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .nav-left-group {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }
    .saas-mobile-toggle {
        display: inline-flex;
    }
    .saas-brand {
        gap: 0;
    }
    .saas-brand-logo-wrap {
        width: 42px;
        height: 42px;
    }
    .saas-brand-logo-wrap .brand-logo-img {
        width: 32px;
        height: 32px;
    }
    .nav-menu.saas-nav-menu {
        display: none;
    }
    .nav-menu.saas-nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 8px);
        left: 1rem;
        right: 1rem;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 20px;
        padding: 0.75rem;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
        z-index: 1050;
        gap: 0.35rem;
    }
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.8rem 1.15rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: #1E293B;
        border-radius: 12px;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        text-decoration: none;
        transition: all 0.18s ease;
    }
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link i {
        font-size: 1.05rem;
        color: #2563EB;
        width: 22px;
        text-align: center;
    }
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link:hover,
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link:active {
        background: #EFF6FF;
        color: #2563EB;
        border-color: #BFDBFE;
    }
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link.active {
        background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
        color: #FFFFFF;
        border-color: #2563EB;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    }
    .nav-menu.saas-nav-menu.mobile-open .nav-link.saas-nav-link.active i {
        color: #FFFFFF;
    }
    .saas-hero {
        grid-template-columns: 1fr;
        padding: 2.25rem 1.75rem;
        min-height: auto;
        text-align: center;
    }
    .saas-hero::before {
        width: 100%;
        height: 100%;
        opacity: 0.16;
        background-position: center;
    }
    .saas-hero::after {
        background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.85) 100%);
    }
    .saas-hero-visual {
        display: none;
    }
    .saas-hero-content {
        align-items: center;
        margin: 0 auto;
    }
    .hero-cta-group,
    .hero-trust {
        justify-content: center;
    }
    .hero-visual-stage {
        padding: 1rem 0;
        margin: 0 auto;
    }
    .hero-resume-preview-card {
        margin: 0 auto;
        text-align: left;
        transform: none;
    }
    .saas-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .summary-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .summary-circular-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.65rem;
    }
    /* Mobile footer rules consolidated in modern footer section */
}

@media (max-width: 640px) {
    .saas-main-container {
        padding: 1.25rem 1rem 0.75rem !important;
    }
    .saas-nav-container {
        padding: 0 0.85rem;
    }
    .saas-profile-name {
        display: none;
    }
    .summary-platform-card {
        padding: 0.38rem 0.8rem;
        border-radius: 10px;
        margin-bottom: 0.55rem;
        gap: 0.45rem;
    }
    .summary-platform-name {
        font-size: 0.74rem;
    }
    .summary-user-name {
        font-size: 1.35rem;
    }
    .saas-hero {
        padding: 1.75rem 1.25rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-saas-primary,
    .btn-saas-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-float-card.float-score-card,
    .hero-float-card.float-match-card {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 0.85rem;
    }
    .saas-features-grid {
        grid-template-columns: 1fr;
    }
    .summary-stats-grid {
        grid-template-columns: 1fr;
    }
    .summary-circular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .circ-chart-wrap {
        width: 62px;
        height: 62px;
    }
    .circ-num {
        font-size: 1rem;
    }
}


/* ==========================================================================
   AI RESUME PDF ANALYZER REDESIGN
   ========================================================================== */

/* ==========================================================================
   AI RESUME PDF ANALYZER REDESIGN - HERO CARD
   ========================================================================== */

/* Hero Card Container (Matching Home Page SaaS Hero Card Structure) */
.analyzer-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 3rem;
    min-height: 400px;
    margin-bottom: 2rem;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 34px -12px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.analyzer-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(139, 92, 246, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.analyzer-hero-left {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.analyzer-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563EB;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}

.analyzer-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.18;
    color: #0F172A;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.analyzer-hero-desc {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.62;
    margin-bottom: 1.75rem;
    max-width: 580px;
}

.analyzer-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.analyzer-hero-trust {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
    width: 100%;
}

.aht-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
}

.aht-item i {
    font-size: 0.88rem;
}

/* Right Column Preview Dock */
.analyzer-hero-right {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.analyzer-hero-preview-dock {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 1.5rem 0.5rem;
    width: 100%;
    max-width: 470px;
    perspective: 1000px;
}

.analyzer-preview-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 1.35rem 1.2rem;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ats-preview-card {
    width: 185px;
    flex-shrink: 0;
    text-align: center;
    align-items: center;
    transform: rotate(-4.5deg) translateY(8px);
    transform-origin: center right;
    box-shadow: -8px 18px 36px -10px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
    z-index: 2;
}

.ats-preview-card:hover {
    transform: rotate(-1deg) translateY(-4px) scale(1.03);
    box-shadow: -10px 24px 48px -10px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
    z-index: 5;
}

.company-preview-card {
    width: 240px;
    flex-shrink: 0;
    transform: rotate(3.5deg) translateY(-8px);
    transform-origin: center left;
    box-shadow: 8px 18px 36px -10px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
    z-index: 1;
}

.company-preview-card:hover {
    transform: rotate(0.5deg) translateY(-14px) scale(1.03);
    box-shadow: 10px 24px 48px -10px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
    z-index: 5;
}

.apc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.apc-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.apc-title i {
    color: #2563EB;
}

.apc-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: #E2E8F0;
    color: #475569;
}

.apc-tag.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.apc-dial-wrap {
    margin: 0.4rem auto;
}

.c-match-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.c-match-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0;
}

.c-match-row:last-child {
    margin-bottom: 0;
}

.c-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.c-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.c-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-score {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 500;
}

/* ==========================================================================
   HERO INTERACTIVE DARK ELEMENTS (SMOOTH MOUSE-TRACKING BACKGROUND)
   ========================================================================== */
.hero-dark-elements-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    contain: layout style paint;
}

/* Frosted Glass Blur Veil between dark elements (z-index: 1) and text (z-index: 3) */
.hero-blur-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: radial-gradient(ellipse at 32% 50%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.3) 100%);
    contain: layout style paint;
}

/* Ambient Dynamic Cursor Spotlight */
.hero-dark-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(460px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(15, 23, 42, 0.045) 0%, rgba(15, 23, 42, 0.012) 48%, transparent 75%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Base Dark Floating Element */
.hero-dark-element {
    position: absolute;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    z-index: 1;
}

.hero-dark-element .hde-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform-origin: center center;
    transition: box-shadow 0.3s ease;
}

/* 1. Dark Pill Badges */
.hde-badge-1 .hde-inner,
.hde-badge-2 .hde-inner,
.hde-badge-3 .hde-inner,
.hde-badge-4 .hde-inner,
.hde-badge-5 .hde-inner,
.hde-badge-6 .hde-inner,
.hde-badge-7 .hde-inner {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #F8FAFC;
    box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.32), 0 3px 8px rgba(15, 23, 42, 0.2);
}

.hde-badge-1 { top: 3%; left: 4%; }
.hde-badge-2 { top: 3.5%; left: 48%; }
.hde-badge-3 { bottom: 3.5%; left: 40%; }
.hde-badge-4 { top: 36%; left: 47%; }
.hde-badge-5 { top: 42%; left: 8%; }
.hde-badge-6 { top: 18%; right: 2%; }
.hde-badge-7 { bottom: 2%; left: 24%; }

/* Cards & Mini-Panels */
.hde-card-1 { top: 70%; left: 45%; }
.hde-card-2 { bottom: 16%; right: 4%; }

.hde-card-1 .hde-inner,
.hde-card-2 .hde-inner {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.38rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #F8FAFC;
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.32), 0 3px 8px rgba(15, 23, 42, 0.2);
}

.hde-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.hde-dot.emerald {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.hde-dot.cyan {
    background: #06B6D4;
    box-shadow: 0 0 8px #06B6D4;
}

.hde-dot.purple {
    background: #A855F7;
    box-shadow: 0 0 8px #A855F7;
}

.hde-dot.amber {
    background: #F59E0B;
    box-shadow: 0 0 8px #F59E0B;
}

/* 2. 3D Obsidian Glossy Spheres */
.hde-orb-1 { top: 74%; left: 2%; }
.hde-orb-2 { top: 56%; left: 50%; }
.hde-orb-3 { top: 28%; left: 2%; }
.hde-orb-4 { bottom: 24%; right: 28%; }

.hde-orb-1 .hde-inner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #475569 0%, #1E293B 38%, #0F172A 70%, #020617 100%);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.38), inset 0 2px 5px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hde-orb-2 .hde-inner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #475569 0%, #1E293B 38%, #0F172A 70%, #020617 100%);
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hde-orb-3 .hde-inner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #475569 0%, #1E293B 38%, #0F172A 70%, #020617 100%);
    box-shadow: 0 10px 20px -4px rgba(15, 23, 42, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hde-orb-4 .hde-inner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #475569 0%, #1E293B 38%, #0F172A 70%, #020617 100%);
    box-shadow: 0 12px 24px -5px rgba(15, 23, 42, 0.32), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Dark Geometric Diamond Prisms */
.hde-diamond-1 { top: 16%; right: 38%; }
.hde-diamond-2 { top: 48%; left: 22%; }

.hde-diamond-1 .hde-inner {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px -5px rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.75rem;
    transform: rotate(45deg);
}

.hde-diamond-1 .hde-inner i {
    transform: rotate(-45deg);
}

.hde-diamond-2 .hde-inner {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.28);
    transform: rotate(45deg);
}

/* 4. Dark Orbital Dashed Rings */
.hde-ring-1 { bottom: 4%; right: 11%; }
.hde-ring-2 { top: 22%; left: 52%; }
.hde-ring-3 { top: 44%; right: 34%; }

.hde-ring-1 .hde-inner {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px dashed rgba(15, 23, 42, 0.22);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hde-ring-2 .hde-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px dashed rgba(15, 23, 42, 0.22);
}

.hde-ring-3 .hde-inner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px dashed rgba(15, 23, 42, 0.2);
}

.hde-ring-satellite {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0F172A;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
}

/* 5. Dark Code Tags */
.hde-tag-1 { top: 5%; right: 5%; }
.hde-tag-2 { top: 66%; left: 16%; }

.hde-tag-1 .hde-inner,
.hde-tag-2 .hde-inner {
    background: #0B0F19;
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 8px;
    padding: 0.32rem 0.7rem;
    color: #818CF8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.28);
}

/* 6. Constellation Micro Dots */
.hde-dot-node .hde-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0F172A;
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.45);
}

.hde-dot-1 { top: 18%; left: 36%; }
.hde-dot-2 { bottom: 6%; left: 18%; }
.hde-dot-3 { top: 84%; right: 36%; }
.hde-dot-4 { top: 52%; left: 44%; }
.hde-dot-5 { top: 24%; right: 18%; }
.hde-dot-6 { bottom: 12%; right: 8%; }
.hde-dot-7 { top: 12%; left: 24%; }
.hde-dot-8 { bottom: 8%; left: 34%; }

/* 7. Ambient Dark Glow Blobs */
.hde-glow-blob-1 { top: 25%; left: 44%; }
.hde-glow-blob-2 { bottom: 10%; right: 18%; }

.hde-glow-blob-1 .hde-inner,
.hde-glow-blob-2 .hde-inner {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.15) 50%, transparent 70%);
    filter: blur(14px);
}

/* Smooth Floating & Pulsing Keyframes */
@keyframes hdeFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(2deg); }
}

@keyframes hdeFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(13px) rotate(-3deg); }
}

@keyframes hdeFloat3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-9px) scale(1.04); }
}

@keyframes hdePulse1 {
    0%, 100% { transform: scale(0.85); opacity: 0.35; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes hdePulse2 {
    0%, 100% { transform: scale(1.1); opacity: 0.75; }
    50% { transform: scale(0.8); opacity: 0.3; }
}

.hde-float-1 { animation: hdeFloat1 7s ease-in-out infinite; }
.hde-float-2 { animation: hdeFloat2 9s ease-in-out infinite; }
.hde-float-3 { animation: hdeFloat3 8s ease-in-out infinite; }
.hde-pulse-1 { animation: hdePulse1 4.5s ease-in-out infinite; }
.hde-pulse-2 { animation: hdePulse2 5.5s ease-in-out infinite; }

/* Main Grid */
.analyzer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Upload Panel */
.upload-panel {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.upload-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.u-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.u-chip.red { background: rgba(239, 68, 68, 0.1); color: #EF4444; border-color: rgba(239, 68, 68, 0.2); }
.u-chip.green { background: rgba(16, 185, 129, 0.1); color: #10B981; border-color: rgba(16, 185, 129, 0.2); }
.u-chip.blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; border-color: rgba(59, 130, 246, 0.2); }
.u-chip.purple { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; border-color: rgba(139, 92, 246, 0.2); }

.upload-dropzone {
    border: 2px dashed #93C5FD;
    border-radius: var(--radius-md);
    background: #F8FAFC;
    padding: 3.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto 2rem auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.upload-dropzone:hover {
    background: #EFF6FF;
    border-color: var(--primary);
}

.upload-dropzone .selected-file-info {
    margin: 1.25rem auto 0 auto;
    padding: 0.65rem 1rem;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    color: #10B981;
    font-weight: 700;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.dz-icon {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dz-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.dz-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.dz-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.dz-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
}

.upload-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-gradient {
    background: linear-gradient(135deg, #2563EB, #8B5CF6);
    border: none;
    padding: 0.8rem 1.5rem;
    color: white;
    font-weight: 600;
}
.btn-gradient:hover {
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Info Panel */
.info-panel {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-row:last-child { margin-bottom: 0; }

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.info-icon.blue { background: #EFF6FF; color: #3B82F6; }
.info-icon.green { background: #ECFDF5; color: #10B981; }
.info-icon.purple { background: #F5F3FF; color: #8B5CF6; }
.info-icon.orange { background: #FFF7ED; color: #F59E0B; }

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.info-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.stat-icon.blue { background: #EFF6FF; color: #3B82F6; }
.stat-icon.green { background: #ECFDF5; color: #10B981; }
.stat-icon.purple { background: #F5F3FF; color: #8B5CF6; }
.stat-icon.orange { background: #FFF7ED; color: #F59E0B; }

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}
.stat-content p strong {
    color: var(--text-secondary);
}

/* Responsive for Resume Analyzer */
@media (max-width: 1024px) {
    .analyzer-main-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .hero-dark-elements-layer,
    .hero-blur-veil {
        display: none !important;
    }
    .analyzer-hero {
        grid-template-columns: 1fr;
        padding: 2.25rem 1.75rem;
        gap: 2rem;
    }
    .analyzer-hero-left {
        align-items: center;
        text-align: center;
    }
    .analyzer-hero-title {
        font-size: 2rem;
    }
    .analyzer-hero-cta-group,
    .analyzer-hero-trust {
        justify-content: center;
    }
    .analyzer-hero-right {
        justify-content: center;
        width: 100%;
    }
    .analyzer-hero-preview-dock {
        flex-direction: row;
        justify-content: center;
        max-width: 470px;
        margin: 0 auto;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .stats-row,
    .analyzer-stats-row,
    #analyzer-section .stats-row {
        display: none !important;
    }
    .upload-panel {
        padding: 1.25rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }
    .upload-dropzone {
        padding: 2.25rem 0.85rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 1.5rem auto !important;
        box-sizing: border-box !important;
    }
    .upload-chips {
        justify-content: center !important;
        gap: 0.5rem !important;
        margin-bottom: 1.25rem !important;
        width: 100% !important;
    }
    .upload-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.75rem !important;
    }
    .sample-loader-dropdown,
    .sample-loader-dropdown .btn,
    #btn-analyze-resume {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .hero-dark-elements-layer,
    .hero-blur-veil {
        display: none !important;
    }
    .analyzer-hero {
        display: none !important;
    }
    .analyzer-hero-title {
        font-size: 1.65rem;
    }
    .analyzer-hero-preview-dock {
        flex-direction: row;
        justify-content: center;
        gap: 1.15rem;
        max-width: 100%;
    }
    .ats-preview-card {
        width: 160px;
        transform: rotate(-3.5deg) translateY(6px);
    }
    .company-preview-card {
        width: 200px;
        transform: rotate(2.5deg) translateY(-6px);
    }
}

@media (max-width: 480px) {
    .upload-panel {
        padding: 1rem 0.65rem !important;
        border-radius: 14px !important;
    }
    .upload-dropzone {
        padding: 1.75rem 0.5rem !important;
        border-radius: 12px !important;
    }
    .dz-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0.85rem !important;
    }
    .dz-title {
        font-size: 1.05rem !important;
    }
    .dz-sub {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }
    .dz-meta {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    .u-chip {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.6rem !important;
    }
    .selected-file-info {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.75rem !important;
        border-radius: 12px !important;
    }
    .analyzer-hero-preview-dock {
        flex-direction: column;
        align-items: center;
        gap: 1.15rem;
    }
    .ats-preview-card {
        width: 100%;
        max-width: 270px;
        transform: rotate(-1.5deg);
    }
    .company-preview-card {
        width: 100%;
        max-width: 270px;
        transform: rotate(1.5deg);
    }
}

/* ==========================================================================
   MOCK TEST PLATFORM REDESIGN
   ========================================================================== */

/* Hero */
.mocktest-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 3rem;
    min-height: 400px;
    margin-bottom: 2rem;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 34px -12px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.mocktest-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(139, 92, 246, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mocktest-hero-left {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mocktest-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #FFFFFF;
    color: #2563EB;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.08);
    margin-bottom: 1.25rem;
}

.mocktest-hero-badge i {
    color: #F59E0B;
}

.mocktest-hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.mocktest-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.mocktest-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.mocktest-hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.mht-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.mht-item i {
    font-size: 0.88rem;
}

/* Right Column Preview Dock */
.mocktest-hero-right {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mocktest-hero-preview-dock {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 1.5rem 0.5rem;
    width: 100%;
    max-width: 470px;
    perspective: 1000px;
}

.mocktest-preview-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 1.35rem 1.2rem;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.quiz-preview-card {
    width: 175px;
    flex-shrink: 0;
    transform: rotate(-4.5deg) translateY(8px);
    transform-origin: center right;
    box-shadow: -8px 18px 36px -10px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
    border-color: rgba(226, 232, 240, 0.9);
    z-index: 2;
}

.quiz-preview-card:hover {
    transform: rotate(-1deg) translateY(-4px) scale(1.03);
    box-shadow: -10px 24px 44px -8px rgba(37, 99, 235, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    z-index: 5;
}

.company-test-card {
    width: 220px;
    flex-shrink: 0;
    transform: rotate(3.5deg) translateY(-8px);
    transform-origin: center left;
    box-shadow: 8px 18px 36px -10px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
    border-color: rgba(226, 232, 240, 0.9);
    z-index: 1;
}

.company-test-card:hover {
    transform: rotate(0.5deg) translateY(-14px) scale(1.03);
    box-shadow: 10px 24px 44px -8px rgba(139, 92, 246, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
    z-index: 5;
}

.mpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.mpc-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mpc-title i {
    color: #2563EB;
}

.mpc-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: #E2E8F0;
    color: #475569;
}

.mpc-tag.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.mpc-dial-wrap {
    margin: 0.4rem auto;
}

/* Main Configuration Card */
.mocktest-main-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.m-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2.5rem;
}

.m-header-left {
    display: flex;
    gap: 1.25rem;
}

.m-header-icon {
    width: 48px;
    height: 48px;
    background: #EEF2FF;
    color: #4F46E5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.m-header-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-primary); }
.m-header-sub { font-size: 0.95rem; color: var(--text-secondary); margin: 0; max-width: 500px; }

.m-header-right {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #F5F3FF;
    border: 1px solid #E0E7FF;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    max-width: 320px;
}
.m-header-right i { color: #8B5CF6; margin-top: 0.2rem; }
.m-header-right strong { display: block; color: #4C1D95; font-size: 0.85rem; font-weight: 700; }
.m-header-right span { color: #6D28D9; font-size: 0.75rem; line-height: 1.3; display: block; }

.m-config-grid {
    display: grid;
    grid-template-columns: 60% 35%;
    gap: 5%;
}

.m-step-group {
    margin-bottom: 2rem;
}

.m-step-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.m-step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.m-step-header h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; color: var(--text-primary); }
.m-step-header p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

.m-step-content {
    padding-left: calc(28px + 1rem);
}

/* Skill Chips */
#mocktest-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.m-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.m-skill-chip.selected {
    background: #EFF6FF;
    color: #2563EB;
    border-color: #BFDBFE;
}
.m-skill-chip.unselected {
    background: white;
    color: var(--text-secondary);
    border-color: var(--border-color);
}
.m-skill-chip.unselected:hover { border-color: var(--primary); color: var(--primary); }

.m-skill-chip.custom {
    background: white;
    color: var(--primary);
    border-color: #BFDBFE;
    border-style: dashed;
}
.m-skill-chip.custom:hover { background: #EFF6FF; }

/* Mini Upload */
.m-mini-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}
.m-mini-upload:hover { border-color: var(--primary); background: white; }
.m-mini-upload-left { display: flex; align-items: center; gap: 1rem; }
.m-mini-icon { width: 40px; height: 40px; background: white; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.m-mini-upload-left strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.m-mini-upload-left span { display: block; font-size: 0.8rem; color: var(--text-secondary); }

/* Settings */
.m-settings-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.m-setting-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.m-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #F8FAFC;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.m-select:focus { border-color: var(--primary); outline: none; background: white; }

.m-btn-start {
    width: 100%;
    margin-top: 3rem;
    background: linear-gradient(135deg, #2563EB, #8B5CF6);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(37,99,235,0.3);
    transition: all 0.3s ease;
}
.m-btn-start:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgba(37,99,235,0.4); }

/* Bottom Features */
.m-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.m-feature-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.m-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.m-feat-icon.green { background: #ECFDF5; color: #10B981; }
.m-feat-icon.blue { background: #EFF6FF; color: #3B82F6; }
.m-feat-icon.orange { background: #FFF7ED; color: #F59E0B; }
.m-feat-icon.purple { background: #F5F3FF; color: #8B5CF6; }

.m-feat-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-primary); }
.m-feat-text p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; line-height: 1.4; }

/* Responsive */
@media (max-width: 1024px) {
    .mocktest-hero {
        grid-template-columns: 1fr;
        padding: 2.25rem 1.75rem;
        gap: 2rem;
    }
    .mocktest-hero-left {
        align-items: center;
        text-align: center;
    }
    .mocktest-hero-title {
        font-size: 2rem;
    }
    .mocktest-hero-cta-group,
    .mocktest-hero-trust {
        justify-content: center;
    }
    .mocktest-hero-right {
        justify-content: center;
        width: 100%;
    }
    .mocktest-hero-preview-dock {
        flex-direction: row;
        justify-content: center;
        max-width: 470px;
        margin: 0 auto;
        padding: 1rem 0;
    }
    .m-config-grid { grid-template-columns: 1fr; gap: 3rem; }
    .m-features-row { grid-template-columns: repeat(2, 1fr); }
    .m-card-header { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .mocktest-hero {
        display: none !important;
    }
    .mocktest-hero-title {
        font-size: 1.65rem;
    }
    .mocktest-hero-preview-dock {
        flex-direction: row;
        justify-content: center;
        gap: 1.15rem;
        max-width: 100%;
    }
    .quiz-preview-card {
        width: 160px;
        transform: rotate(-3.5deg) translateY(6px);
    }
    .company-test-card {
        width: 200px;
        transform: rotate(2.5deg) translateY(-6px);
    }
    .m-features-row,
    .mocktest-features-row {
        display: none !important;
    }
    .m-mini-upload { flex-direction: column; align-items: stretch; gap: 1rem; text-align: center; }
    .m-mini-upload-left { flex-direction: column; }
}

@media (max-width: 480px) {
    .mocktest-hero-preview-dock {
        flex-direction: column;
        align-items: center;
        gap: 1.15rem;
    }
    .quiz-preview-card {
        width: 100%;
        max-width: 270px;
        transform: rotate(-1.5deg);
    }
    .company-test-card {
        width: 100%;
        max-width: 270px;
        transform: rotate(1.5deg);
    }
}

/* ==========================================================================
   ALUMNI HALL OF FAME REDESIGN
   ========================================================================== */

/* Hero Section */
.hof-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 0 4rem;
}

.hof-hero-left {
    flex: 1;
    max-width: 850px;
}

.h-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #D97706; /* Gold/Amber */
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-subtle);
}

.h-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.h-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Achievement Composition (Right Side) */
.hof-hero-right {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-achievement-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.h-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, rgba(251,191,36,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.h-main-award {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    z-index: 2;
    min-width: 220px;
}

.h-award-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FDE68A, #F59E0B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.h-main-award h3 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.h-award-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D97706;
    line-height: 1;
}

.h-float-badge {
    position: absolute;
    background: white;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
    border: 1px solid var(--border-glass);
    z-index: 3;
    color: var(--text-primary);
}
.h-float-badge.b-top { top: 20px; right: 20px; color: #4F46E5; }
.h-float-badge.b-bottom { bottom: 20px; left: 20px; color: #059669; }

/* Main Container */
.hof-main-container {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.hof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.hof-header-left { display: flex; align-items: center; gap: 1.25rem; }
.hof-icon { width: 48px; height: 48px; background: #FFFBEB; color: #D97706; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.hof-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-primary); }
.hof-sub { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }

.hof-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.h-search-wrap {
    flex: 1;
    min-width: 280px;
    position: relative;
    display: flex;
    align-items: center;
}
.h-search-wrap i { position: absolute; left: 1rem; color: var(--text-muted); }
.h-search-wrap input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); font-size: 0.9rem; background: #F8FAFC; }
.h-search-wrap input:focus { outline: none; border-color: var(--primary); background: white; }

.h-select { padding: 0.75rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); font-size: 0.9rem; background: #F8FAFC; color: var(--text-primary); cursor: pointer; }
.h-select:focus { outline: none; border-color: var(--primary); }

/* Alumni Grid */
.hof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hof-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.hof-card:hover {
    transform: translateY(-3px);
    border-color: #BFDBFE;
    box-shadow: 0 12px 24px -8px rgba(37,99,235,0.15);
}

.hc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.hc-rank-ribbon {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 28px;
    padding: 0.4rem 0;
    border-radius: 4px;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2;
}
.hc-rank-ribbon.rank-gold { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.hc-rank-ribbon.rank-silver { background: linear-gradient(135deg, #E2E8F0, #94A3B8); }
.hc-rank-ribbon.rank-bronze { background: linear-gradient(135deg, #FDBA74, #D97706); }
.hc-rank-ribbon.rank-neutral { background: #CBD5E1; }
.hc-rank-ribbon i { font-size: 0.8rem; margin-bottom: 2px; }

.hc-avatar-wrap { position: relative; margin-left: 0; }
.hc-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #E0E7FF, #C7D2FE); color: #4F46E5; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; border: 2px solid white; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

.hc-user-info { flex: 1; min-width: 0; }
.hc-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.hc-role { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.3; }
.hc-role strong { color: var(--text-primary); }
.hc-package { font-size: 0.75rem; color: #059669; font-weight: 600; margin-top: 0.25rem; }

.hc-score-ring { width: 48px; height: 48px; flex-shrink: 0; }
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 250px; }
.circle-bg { fill: none; stroke: #F1F5F9; stroke-width: 3.8; }
.circle { fill: none; stroke-width: 2.8; stroke-linecap: round; }
.circular-chart.green .circle { stroke: #10B981; }
.percentage { fill: #10B981; font-family: sans-serif; font-size: 0.5em; text-anchor: middle; font-weight: 800; }

.hc-divider { height: 1px; background: var(--border-color); margin: 1.25rem 0; }

.hc-challenge-info { flex: 1; margin-bottom: 1.25rem; }
.hc-chal-title { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.3; }
.hc-chal-title i { color: #D97706; margin-top: 0.1rem; }

.hc-skills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.h-skill-chip { background: #F1F5F9; color: var(--text-secondary); font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; }

.hc-btn-solve {
    width: 100%;
    margin-top: auto;
    background: #EFF6FF;
    color: #2563EB;
    border: none;
    padding: 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hc-btn-solve:hover { background: linear-gradient(135deg, #2563EB, #8B5CF6); color: white; }

/* Responsive */
@media (max-width: 1024px) {
    .hof-hero { flex-direction: column; text-align: center; }
    .hof-hero-right { margin-top: 2rem; }
    .hof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; }
    .hof-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
    .hof-hero {
        padding: 1.25rem 0 1.5rem !important;
    }
    .hof-main-container {
        padding: 1.25rem 0.6rem !important;
        border-radius: 20px !important;
        margin-bottom: 1.5rem !important;
    }
    .hof-header {
        margin-bottom: 1rem !important;
    }
    .hof-header-left {
        gap: 0.75rem !important;
    }
    .hof-title {
        font-size: 1.15rem !important;
    }
    .hof-sub {
        font-size: 0.8rem !important;
    }
    .hof-filters {
        flex-direction: column !important;
        gap: 0.6rem !important;
        margin-bottom: 1.25rem !important;
    }
    .h-search-wrap, .h-select {
        width: 100% !important;
    }
    .hof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hof-card {
        padding: 0.85rem 0.55rem !important;
        border-radius: 14px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
    }
    .hc-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.4rem !important;
        position: relative !important;
        width: 100% !important;
        margin-bottom: 0.6rem !important;
    }
    .hc-avatar-wrap {
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
    .hc-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.92rem !important;
        border: 2px solid white !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
    }
    .hc-user-info {
        width: 100% !important;
        margin-top: 0 !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
    .hc-name {
        font-size: 0.86rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin-bottom: 0.15rem !important;
        word-break: break-word !important;
        color: #0F172A !important;
    }
    .hc-role {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        color: #475569 !important;
        word-break: break-word !important;
    }
    .hc-role strong {
        color: #0F172A !important;
    }
    .hc-package {
        font-size: 0.78rem !important;
        font-weight: 800 !important;
        color: #059669 !important;
        margin-top: 0.3rem !important;
    }
    .hc-btn-solve {
        width: 100% !important;
        margin-top: auto !important;
        padding: 0.5rem 0.3rem !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        justify-content: center !important;
        gap: 0.3rem !important;
        line-height: 1.15 !important;
        box-sizing: border-box !important;
    }
    .hc-btn-solve i {
        font-size: 0.65rem !important;
    }
    .hc-btn-solve i.fa-arrow-right {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hof-main-container {
        padding: 0.85rem 0.35rem !important;
        border-radius: 16px !important;
        margin-left: -0.45rem !important;
        margin-right: -0.45rem !important;
        width: calc(100% + 0.9rem) !important;
        box-sizing: border-box !important;
    }
    .hof-filters {
        gap: 0.45rem !important;
        margin-bottom: 0.85rem !important;
    }
    .hof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.35rem !important;
        width: 100% !important;
    }
    .hof-card {
        padding: 0.75rem 0.45rem !important;
        border-radius: 12px !important;
    }
    .hc-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }
    .hc-name {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.12rem !important;
    }
    .hc-role {
        font-size: 0.66rem !important;
        line-height: 1.25 !important;
    }
    .hc-package {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        margin-top: 0.25rem !important;
    }
    .hc-btn-solve {
        font-size: 0.68rem !important;
        padding: 0.45rem 0.2rem !important;
        letter-spacing: -0.01em !important;
    }
    .hc-btn-solve i {
        font-size: 0.6rem !important;
    }
}

/* ==========================================================================
   ALUMNI PORTAL DASHBOARD REDESIGN
   ========================================================================== */

/* Premium Hero */
.alumni-premium-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px -10px rgba(37,99,235,0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: #ffffff;
}

.ap-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, #F0F9FF 0%, #E0E7FF 50%, #F5F3FF 100%);
    opacity: 0.8;
    z-index: 1;
}

.ap-hero-bg::after {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -20%);
}

.ap-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ap-profile-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 300px;
}

.ap-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    border: 4px solid white;
    box-shadow: 0 12px 24px -8px rgba(59,130,246,0.4);
    flex-shrink: 0;
}

.ap-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.ap-name {
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
}

.ap-verified-badge {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ap-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.ap-chip {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(203, 213, 225, 0.5);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(4px);
}

.ap-actions-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.ap-btn-primary {
    background: linear-gradient(135deg, #0A66C2, #004182);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(10,102,194,0.2);
    transition: all 0.2s ease;
}
.ap-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(10,102,194,0.3); color: white; }

.ap-btn-secondary {
    background: white;
    color: #3B82F6;
    border: 1px solid #BFDBFE;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ap-btn-secondary:hover { background: #F8FAFC; border-color: #93C5FD; color: #2563EB; }

.ap-quote-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid var(--border-subtle);
    position: relative;
}
.ap-quote-icon { position: absolute; top: -10px; left: -10px; background: #3B82F6; color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; box-shadow: 0 4px 6px rgba(59,130,246,0.3); }
.ap-quote-text { font-size: 0.95rem; font-weight: 600; color: #1E293B; line-height: 1.4; margin: 0 0 1rem 0; font-style: italic; }
.ap-quote-label { font-size: 0.75rem; font-weight: 700; color: #8B5CF6; display: flex; align-items: center; gap: 0.4rem; }

/* Metrics Row */
.ap-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.ap-metric-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    transition: transform 0.2s ease;
}
.ap-metric-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.08); }

.ap-metric-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.ap-m-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ap-m-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); flex: 1; }
.ap-m-arrow { color: #CBD5E1; font-size: 0.75rem; }

.ap-metric-body { position: relative; }
.ap-m-value { font-size: 2.2rem; font-weight: 800; color: var(--text-primary); margin: 0 0 0.25rem 0; line-height: 1; }
.ap-m-trend { font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.2rem; }
.ap-m-trend.neutral { color: #94A3B8; }

.ap-sparkline {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 30px;
    background-size: 100% 100%;
    opacity: 0.6;
}
.ap-sparkline.red { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 30 Q20 10, 40 30 T80 10 L100 20 L100 40 L0 40 Z' fill='rgba(239,68,68,0.1)'/%3E%3Cpath d='M0 30 Q20 10, 40 30 T80 10 L100 20' fill='none' stroke='%23EF4444' stroke-width='2'/%3E%3C/svg%3E"); }
.ap-sparkline.blue { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 20 Q30 30, 50 10 T100 20 L100 40 L0 40 Z' fill='rgba(59,130,246,0.1)'/%3E%3Cpath d='M0 20 Q30 30, 50 10 T100 20' fill='none' stroke='%233B82F6' stroke-width='2'/%3E%3C/svg%3E"); }
.ap-sparkline.green { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 35 Q20 5, 50 25 T100 15 L100 40 L0 40 Z' fill='rgba(16,185,129,0.1)'/%3E%3Cpath d='M0 35 Q20 5, 50 25 T100 15' fill='none' stroke='%2310B981' stroke-width='2'/%3E%3C/svg%3E"); }
.ap-sparkline.purple { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 10 Q25 40, 60 20 T100 10 L100 40 L0 40 Z' fill='rgba(139,92,246,0.1)'/%3E%3Cpath d='M0 10 Q25 40, 60 20 T100 10' fill='none' stroke='%238B5CF6' stroke-width='2'/%3E%3C/svg%3E"); }

/* Dashboard Grid */
.ap-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 1.5rem;
}

.ap-panel {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.ap-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ap-panel-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; }

.ap-panel-actions { display: flex; align-items: center; gap: 1rem; }
.ap-verified-badge.small { padding: 0.2rem 0.6rem; font-size: 0.7rem; }

.ap-btn-edit { background: white; border: 1px solid #E2E8F0; color: #475569; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.ap-btn-edit:hover { background: #F8FAFC; border-color: #CBD5E1; color: #0F172A; }

/* Profile Table */
.ap-profile-table {
    display: flex;
    flex-direction: column;
}
.ap-row {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid #F1F5F9;
}
.ap-row:last-child { border-bottom: none; }
.ap-label { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.ap-val { color: var(--text-primary); font-size: 0.85rem; font-weight: 500; text-align: right; }

/* Donut Chart */
.ap-donut-container { position: relative; width: 100%; max-width: 200px; margin: 0 auto 1.5rem; }
.ap-donut-svg { width: 100%; height: auto; transform: rotate(-90deg); }
.ap-donut-bg { fill: none; stroke: #F1F5F9; stroke-width: 4; }
.ap-donut-segment { fill: none; stroke-width: 4; stroke-linecap: round; transition: stroke-dasharray 1s ease; }
.ap-donut-segment.red { stroke: #EF4444; }
.ap-donut-segment.blue { stroke: #3B82F6; }

.ap-donut-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center;
}
.ap-donut-center strong { display: block; font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.ap-donut-center span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; display: block; margin-top: 0.2rem; }

.ap-chart-legend { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.ap-legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.ap-legend-item span { margin-left: auto; color: var(--text-secondary); font-weight: 500; }
.ap-dot { width: 8px; height: 8px; border-radius: 50%; }
.ap-dot.red { background: #EF4444; }
.ap-dot.blue { background: #3B82F6; }
.ap-chart-sub { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin: 0; }

/* Activity Panel */
.ap-icon-btn { color: #CBD5E1; cursor: pointer; }
.ap-icon-btn:hover { color: #64748B; }

.ap-activity-feed { display: flex; flex-direction: column; gap: 1rem; }
.ap-activity-empty { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text-muted); padding: 2rem 0; }
.ap-activity-empty i { font-size: 2rem; margin-bottom: 1rem; color: #E2E8F0; }
.ap-activity-empty span { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.2rem; }
.ap-activity-empty small { font-size: 0.75rem; }

.ap-activity-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.75rem; background: #F8FAFC; border-radius: 12px; border: 1px solid transparent; transition: border-color 0.2s ease; cursor: default; }
.ap-activity-item:hover { border-color: #E2E8F0; }
.ap-act-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.ap-act-icon.red { background: #FEE2E2; color: #EF4444; }
.ap-act-icon.blue { background: #DBEAFE; color: #3B82F6; }
.ap-act-info strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.1rem; }
.ap-act-info span { font-size: 0.75rem; color: var(--text-secondary); }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .ap-dashboard-grid { grid-template-columns: 1fr 1fr; }
    .ap-activity-panel { grid-column: span 2; }
    .ap-activity-feed { flex-direction: row; flex-wrap: wrap; }
    .ap-activity-item { flex: 1; min-width: 200px; }
}

@media (max-width: 1024px) {
    .ap-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-profile-main { flex-direction: column; text-align: center; }
    .ap-name-row, .ap-chips-row, .ap-actions-row { justify-content: center; }
    .ap-hero-content { flex-direction: column; }
}

@media (max-width: 768px) {
    .ap-dashboard-grid { grid-template-columns: 1fr; }
    .ap-activity-panel { grid-column: auto; }
    .ap-activity-feed { flex-direction: column; }
    .ap-row { flex-direction: column; text-align: left; gap: 0.25rem; padding: 0.6rem 0; }
    .ap-val { text-align: left; }
    .ap-hero-content { padding: 1.5rem; }
    .ap-quote-card { max-width: 100%; width: 100%; }
}

.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 2rem; }

/* ========================================================
   RESUME ANALYZER: SCROLL-TRIGGERED TEXT REVEAL COMPONENT
   Smooth Word-by-Word Animations & Background Highlights
   ======================================================== */
.resume-reveal-container {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 24px;
    padding: 2.25rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
    position: relative;
    overflow: hidden;
    animation: revealContainerFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes revealContainerFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #F1F5F9;
    flex-wrap: wrap;
}

.reveal-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reveal-radar-spinner {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
    flex-shrink: 0;
}

.reveal-radar-spinner .radar-circle {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid rgba(37, 99, 235, 0.35);
    animation: radarPulse 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.reveal-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 0.2rem;
    letter-spacing: -0.01em;
}

.reveal-main-subtitle {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

.reveal-progress-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #2563EB;
}

.reveal-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.reveal-progress-track {
    width: 100%;
    height: 6px;
    background: #F1F5F9;
    border-radius: 9999px;
    margin: 1.25rem 0 1.5rem;
    overflow: hidden;
    position: relative;
}

.reveal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563EB 0%, #7C3AED 50%, #10B981 100%);
    border-radius: 9999px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.reveal-stream-viewport {
    max-height: 290px;
    overflow-y: auto;
    padding: 0.5rem 0.4rem;
    margin: 0 -0.4rem;
    scroll-behavior: smooth;
}

.reveal-stream-viewport::-webkit-scrollbar {
    width: 6px;
}
.reveal-stream-viewport::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 4px;
}
.reveal-stream-viewport::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.reveal-lines-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reveal-line {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.45;
    transform: scale(0.99);
}

.reveal-line.is-active {
    opacity: 1;
    background: #FFFFFF;
    border-color: #93C5FD;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
    transform: scale(1);
}

.reveal-line.is-done {
    opacity: 0.92;
    background: #F0FDF4;
    border-color: #BBF7D0;
    transform: scale(1);
}

.reveal-line-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    background: #E2E8F0;
    color: #475569;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: all 0.25s ease;
}

.reveal-line.is-active .reveal-line-badge {
    background: #DBEAFE;
    color: #1D4ED8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.reveal-line.is-done .reveal-line-badge {
    background: #DCFCE7;
    color: #15803D;
}

.reveal-line-body {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    font-weight: 500;
    font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.reveal-word {
    display: inline-block;
    opacity: 0.18;
    transform: translateY(5px);
    filter: blur(2px);
    color: #94A3B8;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.32s ease,
                color 0.32s ease;
    white-space: pre-wrap;
}

.reveal-word.is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    color: #0F172A;
}

.reveal-line.is-done .reveal-word.is-revealed {
    color: #1E293B;
}

.reveal-highlight {
    display: inline;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.12) 0%, rgba(139, 92, 246, 0.14) 100%);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition: background 0.4s ease;
}

.reveal-highlight.accent-green {
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.16) 100%);
}

.reveal-highlight.accent-amber {
    background: linear-gradient(120deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.16) 100%);
}

.reveal-line.is-done .reveal-highlight {
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.16) 100%);
}

.reveal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
    flex-wrap: wrap;
}

.reveal-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.reveal-status-chip i {
    color: #2563EB;
}

.reveal-secure-note {
    font-size: 0.78rem;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 640px) {
    .resume-reveal-container {
        padding: 1.5rem 1.15rem;
        border-radius: 20px;
    }
    .reveal-header-left {
        gap: 0.75rem;
    }
    .reveal-radar-spinner {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .reveal-main-title {
        font-size: 1rem;
    }
    .reveal-line {
        padding: 0.85rem;
        gap: 0.65rem;
    }
    .reveal-line-body {
        font-size: 0.88rem;
    }
}



/* ==========================================================================
   ALUMNI HUB & LEADERBOARD REDESIGN (Podium & Table UI)
   ========================================================================== */

.alumni-hub-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

/* Top Hero Section */
.alumni-hub-hero {
    display: grid;
    grid-template-columns: 1.15fr 1.65fr 1fr;
    align-items: flex-end;
    gap: 2rem;
    padding: 2.5rem 0 3.5rem;
    position: relative;
}

/* Left Hero Info */
.ahh-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ahh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.ahh-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.ahh-title .highlight-blue {
    color: #2563EB;
}

.ahh-subtitle-sub {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0F172A;
}

.ahh-desc {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

/* Center Olympic Podium */
.ahh-podium-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}

.alumni-podium-display {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 520px;
}

.podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex: 1;
}

.podium-col:hover {
    transform: translateY(-6px);
}

.podium-crown {
    font-size: 1.3rem;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.crown-gold { color: #F59E0B; }
.crown-silver { color: #94A3B8; }
.crown-bronze { color: #EA580C; }

.podium-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E2E8F0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rank-1-col .podium-avatar-wrap {
    width: 76px;
    height: 76px;
    border-color: #FBBF24;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}
.rank-2-col .podium-avatar-wrap {
    border-color: #CBD5E1;
}
.rank-3-col .podium-avatar-wrap {
    border-color: #FDBA74;
}

.podium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #FFFFFF;
}

.podium-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin: 0.45rem 0 0.35rem;
    text-align: center;
}

.podium-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    white-space: nowrap;
}

.podium-company {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    line-height: 1.2;
    white-space: nowrap;
}

.podium-flag {
    display: none !important;
}

.podium-problems-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.pill-gold { background: #2563EB; color: #FFFFFF; }
.pill-silver { background: #6366F1; color: #FFFFFF; }
.pill-bronze { background: #3B82F6; color: #FFFFFF; }

/* 3D Podium Bases */
.podium-base {
    width: 100%;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.base-1 {
    height: 165px;
    background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.4);
}

.base-2 {
    height: 120px;
    background: linear-gradient(180deg, #93C5FD 0%, #3B82F6 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.4);
}

.base-3 {
    height: 95px;
    background: linear-gradient(180deg, #FDBA74 0%, #EA580C 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.4);
}

.podium-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.wreath-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.laurel-svg {
    position: absolute;
    width: 110px;
    height: 110px;
    pointer-events: none;
}

/* Right Side: Total Alumni Card & Trophy Art */
.ahh-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    padding-top: 1rem;
}

.total-alumni-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    z-index: 2;
    position: relative;
}

.tac-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tac-content {
    display: flex;
    flex-direction: column;
}

.tac-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748B;
    text-transform: capitalize;
}

.tac-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.tac-sub {
    font-size: 0.72rem;
    color: #94A3B8;
}

.hero-trophy-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

.hero-trophy-watermark svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   MAIN LEADERBOARD CARD
   ========================================================================== */
.alumni-leaderboard-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    padding: 1.75rem;
    margin-top: 0.5rem;
}

/* Toolbar */
.alumni-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.alumni-filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.alumni-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
    padding: 0.65rem 1.25rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alumni-tab-btn:hover {
    background: #F8FAFC;
    color: #2563EB;
    border-color: #BFDBFE;
}

.alumni-tab-btn.active {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.alumni-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alumni-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.alumni-search-input-wrap i {
    position: absolute;
    left: 1rem;
    color: #94A3B8;
    font-size: 0.88rem;
    pointer-events: none;
}

.alumni-search-input-wrap input {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    font-size: 0.85rem;
    color: #0F172A;
    width: 260px;
    transition: all 0.2s ease;
}

.alumni-search-input-wrap input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.alumni-time-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.alumni-time-select-wrap > i:first-child {
    position: absolute;
    left: 0.9rem;
    color: #64748B;
    font-size: 0.88rem;
    pointer-events: none;
}

.alumni-time-select-wrap select {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.65rem 2.2rem 0.65rem 2.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
}

.alumni-time-select-wrap select:focus {
    outline: none;
    border-color: #2563EB;
}

.select-chevron {
    position: absolute;
    right: 0.9rem;
    color: #94A3B8;
    font-size: 0.72rem;
    pointer-events: none;
}

/* Leaderboard Table */
.alumni-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.alumni-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.55rem;
    min-width: 840px;
}

.alumni-table thead th {
    padding: 0.65rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    text-transform: capitalize;
    border-bottom: 1px solid #F1F5F9;
    letter-spacing: 0.02em;
}

.alumni-table tbody tr.alumni-row {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.alumni-table tbody tr.alumni-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.alumni-table tbody tr.alumni-row td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    background: inherit;
}

.alumni-table tbody tr.alumni-row td:first-child {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.alumni-table tbody tr.alumni-row td:last-child {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

/* Highlighted Rows */
.alumni-table tbody tr.alumni-row.rank-row-1 {
    background: #FFFDF0 !important;
    border: 1px solid #FEF08A;
}

.alumni-table tbody tr.alumni-row.rank-row-2 {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0;
}

.alumni-table tbody tr.alumni-row.rank-row-3 {
    background: #FFF7ED !important;
    border: 1px solid #FED7AA;
}

.alumni-table tbody tr.alumni-row.rank-row-other {
    background: #FFFFFF !important;
    border: 1px solid #F1F5F9;
}

/* Rank Badges */
.rank-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 auto;
}

.badge-gold {
    background: #FEF3C7;
    color: #D97706;
}

.badge-silver {
    background: #F1F5F9;
    color: #64748B;
}

.badge-bronze {
    background: #FFEDD5;
    color: #C2410C;
}

.badge-neutral {
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748B;
    background: transparent;
}

/* User Cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #EFF6FF;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #FFFFFF;
}

.user-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.user-full-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}

.user-company-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748B;
    line-height: 1.2;
    white-space: nowrap;
}

.user-handle,
.user-subtitle {
    display: none !important;
}

/* Experience */
.td-xp strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
}

/* Badges count */
.td-badges span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

/* Problem tags */
.problems-tags-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.prob-tag {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: 8px;
    white-space: nowrap;
}

.tag-easy {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.tag-med {
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.tag-hard {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* Achievements */
.achievements-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.achieve-icon {
    font-size: 1rem;
    line-height: 1;
}

.achieve-pill {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

/* Action button */
.btn-view-profile {
    background: transparent;
    color: #2563EB;
    border: 1.5px solid #BFDBFE;
    border-radius: 12px;
    padding: 0.45rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-view-profile:hover {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Pagination */
.alumni-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
}

.pg-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pg-btn:hover:not(:disabled) {
    background: #F8FAFC;
    color: #2563EB;
    border-color: #BFDBFE;
}

.pg-btn.active {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
}

.pg-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pg-ellipsis {
    padding: 0 0.35rem;
    color: #94A3B8;
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .alumni-hub-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 0 2rem;
        text-align: center;
    }
    .ahh-left {
        align-items: center;
        text-align: center;
    }
    .ahh-desc {
        max-width: 500px;
    }
    .ahh-right {
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .alumni-hub-hero {
        display: none !important;
    }
    .alumni-hub-wrapper {
        padding: 1rem 0.5rem 2rem;
    }
    .alumni-leaderboard-card {
        padding: 1.15rem 0.85rem;
        border-radius: 18px;
    }
    .ahh-title {
        font-size: 2.15rem;
    }
    .ahh-subtitle-sub {
        font-size: 1.45rem;
    }
    .alumni-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .alumni-filter-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.35rem;
        flex-wrap: nowrap;
    }
    .alumni-toolbar-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .alumni-search-input-wrap input {
        width: 100%;
    }
    .alumni-time-select-wrap select {
        width: 100%;
    }
    .podium-base {
        width: 100px;
    }
    .base-1 { height: 130px; width: 115px; }
    .base-2 { height: 95px; width: 100px; }
    .base-3 { height: 75px; width: 100px; }
    .podium-number { font-size: 2rem; }
    .podium-avatar-wrap { width: 52px; height: 52px; }
    .rank-1-col .podium-avatar-wrap { width: 62px; height: 62px; }
    .podium-identity {
        margin: 0.3rem 0 0.2rem;
    }
    .podium-name {
        font-size: 0.80rem;
    }
    .podium-company {
        font-size: 0.68rem;
    }
    .user-full-name {
        font-size: 0.86rem;
    }
    .user-company-name {
        font-size: 0.72rem;
    }
}


/* ==========================================================================
   MOBILE HERO DISPLAY POLICY
   Hides promotional hero sections from inner pages and tabs on mobile screens (<= 768px).
   The Home page hero (.saas-hero & .saas-dashboard-summary) is strictly kept intact.
   ========================================================================== */
@media (max-width: 768px) {
    .analyzer-hero,
    .prep-hero-banner,
    .mocktest-hero,
    .alumni-hub-hero,
    .hist-hero-banner,
    .dir-hero,
    .admin-hero,
    .stats-row,
    .analyzer-stats-row,
    .m-features-row,
    .mocktest-features-row {
        display: none !important;
    }
}


/* ==========================================================================
   MOCK ASSESSMENT STRICT LOCK & ALUMNI HUB TEST STYLES
   ========================================================================== */
.mocktest-locked-card {
    background: #FFFFFF;
    border: 1px dashed rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .mocktest-locked-card {
    background: #111827;
    border-color: rgba(239, 68, 68, 0.35);
}

.mocktest-locked-icon-wrap {
    transition: transform 0.3s ease;
}

.mocktest-locked-card:hover .mocktest-locked-icon-wrap {
    transform: scale(1.08);
}

.btn-alumni-test {
    padding: 0.38rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.btn-alumni-test:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.alumni-test-modal-card {
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .alumni-test-modal-card {
    background: #1E293B;
    color: #F8FAFC;
}
