/* ============================================
   TMU LMS - MODERN SIMPLE LAYOUT STYLES
   ============================================ */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #0f172a;
    background-color: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* ---------------------- */
/* Header Navigation (Full Width) */
/* ---------------------- */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.header-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Brand & Logo */
.logo-container {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    gap: 0.65rem;
}

.tmu-logo {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.brand-orange {
    color: #f26522 !important;
    font-weight: 800;
}

.brand-slate {
    color: #0f172a !important;
    font-weight: 700;
}

.portal-tag {
    font-size: 0.6rem;
    font-weight: 700;
    background: #fff7ed;
    color: #f26522;
    border: 1px solid #ffedd5;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    margin-left: 0.45rem;
    display: inline-block;
    vertical-align: middle;
}

/* Capsule Navigation Track */
.header-nav-track {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f1f5f9;
    padding: 0.25rem 0.35rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.nav-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

    .nav-pill-item .nav-icon {
        font-size: 0.8rem;
        color: #94a3b8;
        transition: color 0.15s ease;
    }

    .nav-pill-item:hover {
        color: #0f172a;
        background: rgba(255, 255, 255, 0.8);
    }

        .nav-pill-item:hover .nav-icon {
            color: #f26522;
        }

    /* Active Page Pill Indicator */
    .nav-pill-item.active {
        background: #ffffff;
        color: #ea580c;
        font-weight: 700;
        border-color: #ffedd5;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    }

        .nav-pill-item.active .nav-icon {
            color: #f26522;
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.nav-mobile-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

    .nav-mobile-toggle:hover {
        background: #fff7ed;
        color: #f26522;
        border-color: #ffedd5;
    }

.btn-tmu-primary {
    background: linear-gradient(135deg, #f26522 0%, #ea580c 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

    .btn-tmu-primary:hover {
        background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35);
        color: #ffffff !important;
    }

.btn-tmu-outline-white {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

    .btn-tmu-outline-white:hover {
        background: #ffffff;
        color: #f26522 !important;
        border-color: #ffffff;
    }

/* ---------------------- */
/* Main Body & Layout */
/* ---------------------- */
.layout-body {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
}

main {
    flex: 1 0 auto;
    padding: 0;
    width: 100%;
}

.landing-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2.5rem 5rem 2.5rem;
}

/* ---------------------- */
/* Hero Section */
/* ---------------------- */
.hero-section {
    background: linear-gradient(145deg, #f26522 0%, #ea580c 50%, #c2410c 100%);
    color: #ffffff;
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(242, 101, 34, 0.25);
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
        top: -150px;
        right: -150px;
        pointer-events: none;
    }

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.775rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.hero-content .lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 1.75rem auto;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Hero Stats Row */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 880px;
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.hero-stat-item .stat-label {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ---------------------- */
/* Modern Page Header Banner */
/* ---------------------- */
.page-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

    .page-hero::after {
        content: '';
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(242, 101, 34, 0.18) 0%, transparent 70%);
        bottom: -100px;
        right: -50px;
        pointer-events: none;
    }

.page-hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.page-hero-lead {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0;
    line-height: 1.55;
}

/* ---------------------- */
/* Premium Cards & Tiles */
/* ---------------------- */
.stat-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    height: 100%;
}

    .stat-metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
        border-color: #fdba74;
    }

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.metric-num {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.metric-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}

.metric-sub {
    font-size: 0.775rem;
    color: #94a3b8;
}

/* Glass Card & Interactive Tiles */
.card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

    .card-modern:hover {
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
        border-color: #cbd5e1;
    }

.card-accent-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.tag-orange { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.tag-blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.tag-green { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.tag-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #ede9fe; }

/* In-Progress Alert Banner */
.in-progress-banner {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

/* ---------------------- */
/* Features Section */
/* ---------------------- */
.features-section {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.25rem 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-align: left;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
        border-color: #fdba74;
    }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.35rem;
}

    .feature-icon.icon-robot { background: #eff6ff; color: #2563eb; }
    .feature-icon.icon-users { background: #fdf2f8; color: #db2777; }
    .feature-icon.icon-chart { background: #ecfdf5; color: #059669; }
    .feature-icon.icon-mobile { background: #fff7ed; color: #ea580c; }
    .feature-icon.icon-book { background: #faf5ff; color: #9333ea; }
    .feature-icon.icon-shield { background: #f0fdf4; color: #16a34a; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ---------------------- */
/* Benefits Section */
/* ---------------------- */
.benefits-section {
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.75rem;
    transition: all 0.2s ease;
}

    .benefit-item:hover {
        border-color: #a7f3d0;
        background: #f0fdf4;
    }

    .benefit-item h4 {
        font-size: 1.05rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .benefit-item h4 i {
        color: #059669;
    }

    .benefit-item p {
        color: #64748b;
        font-size: 0.875rem;
        margin: 0;
        line-height: 1.5;
    }

/* ---------------------- */
/* University Colleges Strip */
/* ---------------------- */
.colleges-section {
    margin-bottom: 4rem;
    padding: 3.5rem 2.5rem;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.colleges-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.college-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.7rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

    .college-pill:hover {
        background: #fff7ed;
        border-color: #ffedd5;
        color: #f26522;
        transform: translateY(-2px);
    }

/* ---------------------- */
/* Call to Action Section */
/* ---------------------- */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 4rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

/* ---------------------- */
/* Footer (Full Width) */
/* ---------------------- */
.footer {
    background: #0f172a;
    color: #ffffff;
    padding: 5rem 2.5rem 2.5rem 2.5rem;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.text-muted-light {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.15s ease;
        display: inline-block;
    }

        .footer-links a:hover {
            color: #f26522;
            transform: translateX(4px);
        }

.footer-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.85rem;
}

    .footer-social-links a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.07);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        transition: all 0.2s ease;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

        .footer-social-links a:hover {
            background: #f26522;
            border-color: #f26522;
            transform: translateY(-2px);
            color: #ffffff;
        }

.footer-bottom {
    max-width: 1440px;
    margin: 3.5rem auto 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------------------- */
/* Responsive Styles */
/* ---------------------- */
@media (max-width: 992px) {
    .header {
        padding: 0 1.25rem;
    }
    .header-nav-track {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 0 0 20px 20px;
        border: 1px solid #e2e8f0;
        border-top: none;
        padding: 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        box-shadow: 0 20px 30px rgba(15, 23, 42, 0.1);
    }
    .header-nav-track.show-mobile {
        display: flex;
    }
    .nav-pill-item {
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
    }
    .landing-container {
        padding: 2rem 1.25rem 4rem 1.25rem;
    }
    .footer {
        padding: 3.5rem 1.25rem 2rem 1.25rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .page-hero-title {
        font-size: 1.75rem;
    }
    .page-hero {
        padding: 2.5rem 1.5rem;
    }
    .hero-section {
        padding: 2.5rem 1.25rem;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0.5rem 0.85rem !important;
    }
    .logo-container {
        gap: 0.45rem !important;
    }
    .tmu-logo {
        height: 32px !important;
        width: 32px !important;
    }
    .brand-text {
        font-size: 1.05rem !important;
    }
    .portal-tag {
        display: none !important;
    }
    .header-actions {
        gap: 0.45rem !important;
    }
    .btn-tmu-primary {
        padding: 0.42rem 0.85rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    .nav-mobile-toggle {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
}


