/* 
   Mentivex Design System 
   Premium, Modern, AI-Powered Growth Engine Aesthetic
*/

:root {
    /* Color Palette */
    --primary-indigo: #1A237E;
    --primary-blue: #1E3A8A;
    --accent-cyan: #06B6D4;
    --bg-light: #F9FAFB;
    --text-primary: #101828;
    --text-secondary: #667085;
    --white: #FFFFFF;
    --border-color: #D0D5DD;
    --error-red: #D92D20;

    /* Gradients */
    --gradient-premium: linear-gradient(135deg, #1A237E 0%, #312E81 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(6, 182, 212, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Sidebar & Layout */
    --sidebar-width: 280px;
    --sidebar-bg: #111827;
    --sidebar-text: #9CA3AF;
    --sidebar-active-bg: #1F2937;
    --sidebar-active-text: #FFFFFF;
    --header-height: 80px;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);

    /* Premium Gradients */
    --gradient-cyan: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    --gradient-modern: linear-gradient(135deg, #1A237E 0%, #06B6D4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.5;
    /* overflow: hidden; */
    /* For splash screen feel */
}

.splash-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Subtle background glow */
.splash-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    z-index: -1;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(var(--shadow-md));
}

.content {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.btn-get-started {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: var(--accent-cyan);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-get-started:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.3);
    background-color: #0891b2;
    /* Darker cyan */
}

.btn-get-started:active {
    transform: translateY(0);
}

/* Auth Pages Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bg-light);
}

.auth-card {
    background: var(--white);
    padding: 2rem;
    /* Reduced from 2.5rem */
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    /* Reduced from 440px */
    animation: fadeInUp 0.8s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
}

.auth-logo {
    width: 64px;
    /* Reduced from 80px */
    height: 64px;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
    /* Reduced from 1.5rem */
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    height: 56px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.form-control::placeholder {
    color: #98A2B3;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--primary-indigo);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

/* OTP Inputs */
.otp-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 56px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white);
    transition: all 0.2s ease;
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.resend-container {
    text-align: center;
    margin-top: 1.5rem;
}

.resend-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.resend-link {
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.5rem;
}

.resend-link.disabled {
    color: #94A3B8;
    pointer-events: none;
    cursor: default;
}

/* Premium Overview Screens (Full Page Showcase) */
.overview-wrapper {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.overview-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

.overview-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(26, 35, 126, 0.2));
}

.overview-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 100px rgba(26, 35, 126, 0.1);
    max-width: 540px;
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.overview-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1), transparent 70%);
    opacity: 0.5;
    z-index: -1;
}

.role-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.variant-12th {
    --role-color: #1A237E;
}

.variant-ug {
    --role-color: #5E35B1;
}

.variant-startup {
    --role-color: #006064;
}

.variant-mentor {
    --role-color: #1E3A8A;
}

.overview-title.role-title {
    background: linear-gradient(135deg, var(--role-color), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overview-title {
    font-size: 3rem;
    /* Larger, bolder */
    font-weight: 800;
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.overview-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.dots-container {
    display: flex;
    gap: 12px;
    margin-bottom: 3rem;
}

.dot {
    height: 10px;
    border-radius: 5px;
    background-color: #E2E8F0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot.inactive {
    width: 10px;
}

.dot.active {
    width: 32px;
    background-color: var(--accent-cyan);
}

.btn-next-overview {
    width: auto;
    min-width: 200px;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-premium);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2);
}

.btn-next-overview:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(26, 35, 126, 0.3);
}

.skip-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    z-index: 10;
}

.skip-btn:hover {
    color: var(--primary-indigo);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Base style overrides for index/splash if needed */
.auth-container {
    background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 35, 126, 0.05) 0%, transparent 40%);
}

@media (max-width: 1024px) {
    .overview-wrapper {
        flex-direction: column;
        height: auto;
        padding-top: 4rem;
    }

    .overview-info {
        padding: 3rem;
        max-width: 100%;
    }

    .overview-visual img {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .overview-title {
        font-size: 2rem;
    }

    .overview-info {
        padding: 2rem;
    }
}

/* Role Selection Screen - Ultra Premium Refinement */
.role-selection-wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-header {
    margin-bottom: 3rem;
}

.role-header .overview-title {
    font-size: 2.75rem;
    /* Reduced slightly */
    background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.role-header .overview-desc {
    margin-bottom: 0;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns side by side */
    gap: 1rem;
    /* Tighter gap */
}

.role-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 300px;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.role-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 40px 100px rgba(26, 35, 126, 0.12);
    border-color: var(--accent-cyan);
}

.role-card:hover::before {
    opacity: 1;
}

.role-icon-container {
    width: 80px;
    /* More compact */
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.role-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-card:hover .role-icon-container img {
    transform: scale(1.1) rotate(3deg);
}

.role-card-title {
    font-size: 1.15rem;
    /* Compact title */
    font-weight: 800;
    color: var(--primary-indigo);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.role-card-desc {
    font-size: 0.875rem;
    /* Compact description */
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .role-selection-wrapper {
        height: auto;
        padding: 4rem 2rem;
    }

    .role-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .role-grid {
        grid-template-columns: 1fr;
    }

    .role-header .overview-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations for slide transition */
.slide-exit {
    animation: slideOutLeft 0.5s forwards;
}

.slide-enter {
    animation: slideInRight 0.5s forwards;
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-indigo);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #121858;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary-indigo);
    text-decoration: none;
    font-weight: 700;
    margin-left: 0.25rem;
}

.auth-link:hover {
    text-decoration: underline;
}

.forgot-link {
    display: block;
    text-align: right;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: none;
}

.alert-error {
    background-color: #FEF3F2;
    color: var(--error-red);
    border: 1px solid #FECDCA;
}

.alert-success {
    background-color: #ECFDF3;
    color: #027A48;
    border: 1px solid #ABEFC6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .btn-get-started {
        width: 100%;
        text-align: center;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

/* Questionnaire & Review Screen Styles */
.questionnaire-container {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 35, 126, 0.05) 0%, transparent 40%);
}

.scroll-area {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 3rem 0;
}

.question-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 40px 100px rgba(26, 35, 126, 0.1);
    width: 100%;
    max-width: 600px;
    margin-top: 1rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-header {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 1200px;
}

.review-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-indigo);
    text-align: center;
    margin: 0;
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.back-btn:hover {
    color: var(--accent-cyan);
    transform: translateX(-4px);
}

.step-indicator {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.progress-container {
    width: 100%;
    max-width: 600px;
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-indigo), var(--accent-cyan));
    width: 0%;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.helper-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

/* Options Styling */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-item {
    position: relative;
    cursor: pointer;
}

/* Custom Checkbox/Radio */
.option-item input {
    position: absolute;
    opacity: 0;
}

.option-label {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
}

.option-item input:checked+.option-label {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
    color: var(--primary-indigo);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.option-item:hover .option-label {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Multi-select indicator for Checkboxes */
.option-item input[type="checkbox"]:checked+.option-label::after {
    content: '✓';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-weight: 900;
}

/* Chips Styling (Multi-select) */
.chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip-item {
    position: relative;
    cursor: pointer;
}

.chip-item input {
    position: absolute;
    opacity: 0;
}

.chip-label {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.chip-item input:checked+.chip-label {
    background: var(--primary-indigo);
    color: var(--white);
    border-color: var(--primary-indigo);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

.chip-item:hover .chip-label {
    border-color: var(--primary-indigo);
    background: #E2E8F0;
}

/* Review Screen Styles */
.review-container {
    width: 100%;
    max-width: 1300px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

/* Grid layout for 10 questions (12th, UG, Startup) */
.review-grid-10 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    width: 100%;
}

/* Compact layout for 5 questions (Mentor) */
.review-compact-5 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.review-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.05);
}

.review-grid-10 .review-item {
    min-height: 160px;
    text-align: center;
}

.review-compact-5 .review-item {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 2rem;
    min-height: auto;
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.01);
}

.review-content {
    flex: 1;
}

.review-question {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.review-answer {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-indigo);
    line-height: 1.3;
    word-break: break-word;
}

.review-compact-5 .review-answer {
    font-size: 1.1rem;
}

.edit-link {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(6, 182, 212, 0.05);
    margin-top: 0.5rem;
    display: inline-block;
}

.review-compact-5 .edit-link {
    margin-top: 0;
    margin-left: 1rem;
}

.edit-link:hover {
    background: rgba(6, 182, 212, 0.1);
    text-decoration: none;
}

/* Generate Roadmap Button */
.btn-generate {
    width: auto;
    min-width: 320px;
    padding: 1.125rem 2.5rem;
    background: var(--gradient-premium);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-generate:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(26, 35, 126, 0.3);
}

@media (max-width: 1024px) {
    .review-grid-10 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .review-grid-10 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .question-card {
        padding: 2rem 1.5rem;
    }

    .question-text {
        font-size: 1.5rem;
    }

    .review-grid-10 {
        grid-template-columns: 1fr;
    }

    .review-compact-5 .review-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- New Screens: Loading, Roadmap, Home --- */

/* Summit Theme Tokens */
:root {
    --summit-blue-dark: #1E3A8A;
    --summit-blue-vibrant: #3B82F6;
    --summit-cyan: #06B6D4;
    --summit-slate-50: #F8FAFC;
    --summit-slate-100: #F1F5F9;
    --summit-slate-400: #94A3B8;
    --summit-glass: rgba(255, 255, 255, 0.8);
}

/* Loading Screen Styles */
.loading-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    text-align: center;
}

.loader-modern {
    width: 80px;
    height: 80px;
    border: 5px solid var(--summit-slate-100);
    border-top: 5px solid var(--summit-blue-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.loading-subtext {
    font-size: 1rem;
    color: var(--summit-slate-400);
    transition: opacity 0.3s ease;
}

/* Header Gradients */
.header-summit {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    padding: 3rem 2rem 5rem;
    color: white;
    text-align: left;
}

.header-summit h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.header-summit p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Roadmap Grid & Milestones */
.roadmap-content {
    padding: 0 1.5rem 100px;
    margin-top: -2.5rem;
}

.roadmap-info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.goal-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--summit-blue-dark);
    margin: 0.5rem 0;
}

.interest-chip {
    display: inline-block;
    background: var(--summit-blue-dark);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.progress-section {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.circular-progress {
    position: relative;
    width: 60px;
    height: 60px;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: var(--summit-blue-dark);
}

.milestones-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 0.5rem;
}

.milestone-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.milestone-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--summit-slate-100);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #334155;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.milestone-node.active {
    background: var(--summit-blue-vibrant);
    color: white;
}

.milestone-node.completed {
    background: #22C55E;
    color: white;
}

.milestone-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--summit-blue-dark);
}

.milestone-line {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--summit-slate-100);
    z-index: 1;
}

/* Phase Cards */
.phase-card {
    background: white;
    border-radius: 1.125rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--summit-slate-100);
    transition: all 0.3s ease;
}

.phase-card.unlocked {
    border-left-color: var(--summit-blue-dark);
}

.phase-card.completed {
    border-left-color: #22C55E;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.phase-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--summit-blue-dark);
}

.phase-duration {
    font-size: 0.75rem;
    color: var(--summit-slate-400);
}

.phase-content {
    margin-top: 1rem;
    border-top: 1px solid var(--summit-slate-100);
    padding-top: 1rem;
}

.phase-content.hidden {
    display: none;
}

.tasks-list {
    list-style: none;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.btn-complete {
    width: 100%;
    padding: 0.75rem;
    background: var(--summit-blue-dark);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
}

.btn-complete:disabled {
    background: var(--summit-slate-100);
    color: var(--summit-slate-400);
}

/* Home Screen Components */
.altitude-badge {
    background: var(--summit-glass);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    color: var(--summit-blue-dark);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summit-image-container {
    background: #F0FDFA;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.summit-image {
    width: 140px;
    height: 140px;
    margin: 1rem auto;
    display: block;
}

.dashboard-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: white;
    padding: 1.25rem;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--summit-slate-100);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--summit-slate-400);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 60px;
}

.nav-item.active {
    color: var(--summit-blue-dark);
}

.nav-icon {
    width: 20px;
    height: 20px;
}

/* Mentors Screen Adjustments */
.mentors-header h1 {
    color: white !important;
}

.search-container-mentors {
    margin-top: 10px !important; /* Lower the search bar */
}

/* Summit Image Centering */
.summit-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.summit-image-container img, 
.summit-image-container svg {
    max-width: 100%;
    height: auto;
}

/* --- Premium Desktop Layout --- */

.app-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-light);
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo {
    width: 40px;
    height: auto;
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
}

.sidebar-item.active {
    background-color: var(--primary-indigo);
    color: white;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
    max-width: 1400px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 99px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

/* Responsive Hide Sidebar */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        padding-bottom: 100px; /* Space for bottom nav */
    }
    
    .bottom-nav {
        display: flex !important;
    }
}

