/* MUST eCampus Landing — matches portal mockup */
:root {
    --must-navy: #0f1f3d;
    --must-navy-dark: #0a1628;
    --must-maroon: #8b2332;
    --must-maroon-hover: #6e1b27;
    --must-gold: #f0b429;
    --must-white: #ffffff;
    --must-gray: #6b7280;
    --must-gray-light: #f3f4f6;
    --must-border: #e5e7eb;
    --must-card-shadow: 0 12px 40px rgba(15, 31, 61, 0.12);
}

* {
    box-sizing: border-box;
}

body.ecampus-landing {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    background: var(--must-white);
    overflow-x: hidden;
}

.ecampus-landing a,
.ecampus-landing a:hover,
.ecampus-landing a:focus,
.ecampus-landing a:active,
.ecampus-landing a:visited {
    text-decoration: none;
    color: inherit;
}

/* ========== HEADER ========== */
.landing-header {
    background: var(--must-navy);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.landing-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1.5rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.landing-brand img {
    height: 48px;
    width: auto;
}

.landing-brand-text h1 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--must-white);
    line-height: 1.25;
}

.landing-brand-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--must-gold);
    margin-top: 2px;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.landing-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.landing-nav a:hover,
.landing-nav a.active {
    color: var(--must-white);
    border-bottom-color: var(--must-white);
}

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.landing-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--must-white);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
}

.landing-lang:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landing-notify {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: var(--must-white);
    font-size: 1.1rem;
}

.landing-guest-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--must-white);
    font-size: 0.8rem;
    transition: background 0.2s;
}

.landing-guest-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--must-white);
}

.landing-guest-btn .guest-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-guest-btn .guest-label {
    line-height: 1.2;
    text-align: left;
}

.landing-guest-btn .guest-label strong {
    display: block;
    font-weight: 600;
}

.landing-guest-btn .guest-label small {
    opacity: 0.75;
    font-size: 0.7rem;
}

/* ========== HERO ========== */
.landing-hero {
    position: relative;
    min-height: 520px;
    background:
        linear-gradient(105deg, rgba(15, 31, 61, 0.96) 0%, rgba(15, 31, 61, 0.9) 50%, rgba(139, 35, 50, 0.4) 100%),
        url('../img/landing/hero-reference.png') center center / cover no-repeat;
    background-color: var(--must-navy);
    padding: 3rem 2rem 5rem;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 280px;
    height: 280px;
    border: 3px solid rgba(139, 35, 50, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(240, 180, 41, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.landing-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.landing-hero-content {
    max-width: 560px;
}

.landing-hero-overline {
    color: var(--must-maroon);
    background: rgba(255, 255, 255, 0.95);
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.landing-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--must-white);
    line-height: 1.15;
    margin: 0 0 1.25rem;
}

.landing-hero-title .highlight {
    color: var(--must-gold);
}

.landing-hero-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 480px;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-landing-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--must-maroon);
    color: var(--must-white) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-landing-primary:hover {
    background: var(--must-maroon-hover);
    color: var(--must-white);
    transform: translateY(-1px);
}

.btn-landing-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--must-white) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: background 0.2s, border-color 0.2s;
}

.btn-landing-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--must-white);
    border-color: var(--must-white);
}

/* Feature cards panel */
.landing-features-panel {
    background: var(--must-white);
    border-radius: 16px;
    box-shadow: var(--must-card-shadow);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.landing-feature-card {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--must-border);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
    min-height: 140px;
}

.landing-feature-card:hover {
    box-shadow: 0 8px 24px rgba(15, 31, 61, 0.08);
    border-color: #d1d5db;
}

.landing-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--must-white);
}

.landing-feature-icon.hr { background: #8b2332; }
.landing-feature-icon.finance { background: #1e3a5f; }
.landing-feature-icon.approvals { background: #0d9488; }
.landing-feature-icon.grants { background: #b45309; }

.landing-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}

.landing-feature-card p {
    font-size: 0.8rem;
    color: var(--must-gray);
    line-height: 1.5;
    margin: 0;
    padding-right: 24px;
}

.landing-feature-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--must-maroon);
    font-size: 1rem;
}

/* ========== STATS BAR ========== */
.landing-stats {
    max-width: 1320px;
    margin: -48px auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.landing-stats-inner {
    background: var(--must-navy);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 16px 48px rgba(15, 31, 61, 0.25);
}

.landing-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.landing-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--must-maroon);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--must-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.landing-stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--must-white);
    line-height: 1.2;
}

.landing-stat-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ========== BENEFITS ========== */
.landing-benefits {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.landing-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.landing-benefit-item {
    text-align: left;
}

.landing-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(139, 35, 50, 0.1);
    color: var(--must-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.landing-benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #111827;
}

.landing-benefit-item p {
    font-size: 0.875rem;
    color: var(--must-gray);
    line-height: 1.6;
    margin: 0;
}

.landing-access-card {
    background: var(--must-gray-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--must-border);
}

.landing-access-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.landing-access-card p {
    font-size: 0.85rem;
    color: var(--must-gray);
    margin-bottom: 1rem;
}

.landing-phone-mockup {
    position: relative;
    width: 140px;
    height: 260px;
    margin: 0 auto 1rem;
    background: #1f2937;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.landing-phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 6px;
    background: #374151;
    border-radius: 3px;
    z-index: 2;
}

.landing-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--must-navy);
}

.landing-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.landing-access-link {
    color: var(--must-maroon);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.landing-access-link:hover {
    color: var(--must-maroon-hover);
}

/* ========== FOOTER ========== */
.landing-footer {
    border-top: 1px solid var(--must-border);
    padding: 2.5rem 2rem;
    background: var(--must-white);
}

.landing-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.landing-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.landing-footer-brand img {
    height: 44px;
    width: auto;
}

.landing-footer-contact {
    font-size: 0.8rem;
    color: var(--must-gray);
    line-height: 1.7;
}

.landing-footer-contact a {
    color: var(--must-maroon);
}

.landing-footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--must-gray);
}

.landing-footer-right {
    text-align: right;
}

.landing-footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.landing-footer-links a {
    font-size: 0.85rem;
    color: var(--must-gray);
    font-weight: 500;
}

.landing-footer-links a:hover {
    color: var(--must-maroon);
}

.landing-social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.landing-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--must-navy);
    color: var(--must-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.landing-social a:hover {
    background: var(--must-maroon);
    color: var(--must-white);
}

/* Mobile menu toggle */
.landing-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--must-white);
    font-size: 1.5rem;
    padding: 8px;
    cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
    }

    .landing-features-panel {
        max-width: 560px;
    }

    .landing-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-access-card {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .landing-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--must-navy-dark);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }

    .landing-nav.open {
        display: flex;
    }

    .landing-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .landing-menu-toggle {
        display: block;
    }

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

    .landing-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .landing-footer-brand {
        justify-content: center;
    }

    .landing-footer-right,
    .landing-footer-links,
    .landing-social {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .landing-header {
        padding: 0 1rem;
    }

    .landing-hero {
        padding: 2rem 1rem 4rem;
    }

    .landing-features-panel {
        grid-template-columns: 1fr;
    }

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

    .landing-benefits-grid {
        grid-template-columns: 1fr;
    }

    .landing-header-actions .landing-lang span:not(.fe-globe) {
        display: none;
    }

    .landing-guest-btn .guest-label {
        display: none;
    }
}
