/* IFSU OnTime — Landing (light theme only, Bootstrap-assisted) */
:root {
    --ifsu-green: #0a6b3c;
    --ifsu-green-dark: #06532e;
    --ifsu-green-soft: #e8f5ee;
    --ifsu-green-mid: #1a8f55;
    --text: #1e293b;
    --text-muted: #64748b;
    --surface: #fff;
    --page-bg: #f4f7f5;
    --border: #e2e8e6;
    --shadow: 0 18px 50px rgba(10, 50, 30, 0.12);
    --shadow-sm: 0 8px 24px rgba(10, 50, 30, 0.08);
    --radius: 14px;
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

    --lp-admin-btn-height: 2.35rem;
    --lp-officer-btn-height: 2.35rem;
    --lp-student-btn-height: 2.55rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(
            1200px 600px at 10% -10%,
            rgba(26, 143, 85, 0.18),
            transparent 55%
        ),
        radial-gradient(
            900px 500px at 100% 20%,
            rgba(10, 107, 60, 0.12),
            transparent 50%
        ),
        var(--page-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lp-container {
    width: min(1280px, calc(100% - 2.5rem));
    margin-inline: auto;
}

/* Header */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.lp-brand__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.lp-brand__name {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ifsu-green);
    line-height: 1.2;
}

.lp-brand__motto {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lp-nav {
    display: flex;
    justify-content: start;
    gap: 0.25rem;
}

.lp-nav__link {
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lp-nav__link:hover,
.lp-nav__link.is-active {
    color: var(--ifsu-green);
    background: var(--ifsu-green-soft);
}

.lp-header__end {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.lp-header__logins {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    width: min(22rem, 100%);
    flex: 0 1 22rem;
    margin-left: 0;
    margin-right: 0;
}

.lp-header__logins .lp-login-btn {
    padding: 0.28rem 0.85rem 0.28rem 0.4rem;
}

.lp-header__logins .lp-login-btn__glyph {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.95rem;
}

.lp-header__logins .lp-login-btn__copy strong {
    font-size: 0.78rem;
    white-space: nowrap;
}

.lp-header__actions {
    display: none;
}

.lp-nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ifsu-green);
    cursor: pointer;
}

/* Hero + role login share the campus photo (no white band under roles) */
.lp-hero-stage {
    --hero-img: url("../images/landing/hero-building.webp");
    background:
        linear-gradient(
            105deg,
            rgba(6, 20, 14, 0.88) 0%,
            rgba(6, 20, 14, 0.72) 42%,
            rgba(6, 20, 14, 0.35) 70%,
            rgba(6, 20, 14, 0.18) 100%
        ),
        var(--hero-img) right center / cover no-repeat;
}

.lp-hero {
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: transparent;
}

.lp-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: auto;
}

.lp-hero__copy {
    max-width: 36rem;
    margin: 0;
}

.lp-badge {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.lp-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(2.35rem, 5vw, 3.5rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.lp-hero__title span {
    color: #5ee9a0;
}

.lp-hero__tagline {
    margin: 0 0 0.75rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
}

.lp-hero__desc {
    margin: 0 0 1.25rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
}

.lp-hero__cta {
    width: 100%;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 2px solid transparent;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.lp-btn--primary {
    color: #fff;
    background: var(--ifsu-green);
    border-color: var(--ifsu-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.lp-btn--primary:hover {
    background: var(--ifsu-green-mid);
    border-color: var(--ifsu-green-mid);
    color: #fff;
}

.lp-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.lp-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
}

/* Roles */
.lp-roles-section {
    padding: 1rem 0 2.25rem;
    background: transparent;
    border-top: 0;
}

.lp-roles-banner__head {
    text-align: center;
    margin-bottom: 0.75rem;
}

.lp-roles-banner__head h2 {
    margin: 0;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    font-weight: 800;
    color: #fff;
}

.lp-roles-banner__head h2 span.roles-title-login {
    color: #5ee9a0;
}

.lp-roles-arrow {
    position: relative;
    width: 2rem;
    height: 2.75rem;
    margin: 0.5rem auto 0.25rem;
    overflow: visible;
}

.lp-roles-arrow span {
    display: block;
    width: 10px;
    height: 10px;
    margin: -8px auto;
    border-bottom: 4px solid #5ee9a0;
    border-right: 4px solid #5ee9a0;
    rotate: 45deg;
    animation: lpRolesArrow 2s infinite;
    -webkit-animation: lpRolesArrow 2s infinite;
}

.lp-roles-arrow span:nth-child(2) {
    animation-delay: -0.2s;
    -webkit-animation-delay: -0.2s;
}

.lp-roles-arrow span:nth-child(3) {
    animation-delay: -0.4s;
    -webkit-animation-delay: -0.4s;
}

@keyframes lpRolesArrow {
    0% {
        opacity: 0;
        translate: 0 -20px;
    }
    50% {
        opacity: 1;
        translate: 0 0;
    }
    100% {
        opacity: 0;
        translate: 0 20px;
    }
}

@-webkit-keyframes lpRolesArrow {
    0% {
        opacity: 0;
        translate: 0 -20px;
    }
    50% {
        opacity: 1;
        translate: 0 0;
    }
    100% {
        opacity: 0;
        translate: 0 20px;
    }
}

.lp-roles-glass {
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 48px rgba(6, 20, 14, 0.18);
    backdrop-filter: blur(18px) saturate(165%);
    -webkit-backdrop-filter: blur(18px) saturate(165%);
}

.lp-roles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.9rem;
}

.lp-login-btn {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0.55rem 0.5rem;
    border-radius: 20px;
    border: 0;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow:
        0 12px 28px rgba(6, 20, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

.lp-login-btn:hover,
.lp-login-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.lp-login-btn__glyph {
    position: relative;
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    line-height: 1;
}

.lp-login-btn__shield {
    position: absolute;
    right: -0.1rem;
    bottom: -0.05rem;
    font-size: 0.72rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.lp-login-btn__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.lp-login-btn__copy strong {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.lp-login-btn__copy span {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
}

.lp-login-btn--admin {
    height: var(--lp-admin-btn-height);
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
}

.lp-login-btn--officer {
    height: var(--lp-officer-btn-height);
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.lp-login-btn--student {
    height: var(--lp-student-btn-height);
    background: linear-gradient(135deg, #0eb24f);
}

/* Features */
.lp-features,
.lp-about,
.lp-contact {
    padding: 2rem 0;
    background:
        radial-gradient(
            700px 280px at 20% 10%,
            rgba(26, 143, 85, 0.16),
            transparent 70%
        ),
        radial-gradient(
            600px 260px at 90% 80%,
            rgba(10, 107, 60, 0.12),
            transparent 65%
        );
}

.lp-section-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.lp-section-head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
}

.lp-section-head p {
    margin: 0.5rem auto 0;
    max-width: 36rem;
    color: var(--text-muted);
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.lp-feature {
    background: rgba(232, 245, 238, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    box-shadow: 0 10px 28px rgba(10, 50, 30, 0.08);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.lp-feature__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--ifsu-green-soft);
    color: var(--ifsu-green);
    display: grid;
    place-items: center;
    margin-bottom: 0.75rem;
}

.lp-feature h3 {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ifsu-green);
}

.lp-feature p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About / Contact */

.lp-about__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: start;
}

.lp-about h2,
.lp-contact h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
}

.lp-about p {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
}

.lp-about__card {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    padding: 1.25rem;
    background: rgba(232, 245, 238, 0.28);
    box-shadow: 0 10px 28px rgba(10, 50, 30, 0.08);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.lp-about__card strong {
    color: var(--ifsu-green);
    display: block;
    margin-bottom: 0.55rem;
}

.lp-about__card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.lp-about__card li + li {
    margin-top: 0.35rem;
}

.lp-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.lp-contact-card {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    padding: 1.15rem;
    background: rgba(232, 245, 238, 0.28);
    box-shadow: 0 10px 28px rgba(10, 50, 30, 0.08);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.lp-contact-card strong {
    display: block;
    color: var(--ifsu-green);
    margin-bottom: 0.3rem;
}

/* Stats */
.lp-stats {
    background: linear-gradient(
        90deg,
        rgba(6, 83, 46, 0.82),
        rgba(10, 107, 60, 0.78) 55%,
        rgba(13, 122, 69, 0.82)
    );
    color: #fff;
    padding: 1.6rem 0;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.lp-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.35fr;
    gap: 0.85rem;
    align-items: center;
}

.lp-stat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lp-stat__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-stat__value {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
}

.lp-stat__label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.lp-excellence {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.lp-excellence__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #f6d365, #d4a017);
    color: #5c4300;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-excellence strong {
    display: block;
    font-size: 0.92rem;
}
.lp-excellence span {
    font-size: 0.72rem;
    opacity: 0.9;
}

.lp-footer {
    padding: 1.1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* Responsive — no min-width floors (iPhone ~390px must match) */
@media (max-width: 1100px) {
    .lp-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .lp-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-excellence {
        border-left: 0;
        padding-left: 0;
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .lp-hero__grid,
    .lp-about__inner,
    .lp-contact__grid,
    .lp-mock__panels,
    .lp-roles__grid {
        grid-template-columns: 1fr;
    }

    .lp-mock__kpis {
        grid-template-columns: 1fr 1fr;
    }

    .lp-header {
        overflow: visible;
    }

    .lp-header__inner {
        position: relative;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .lp-header__actions {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
    }

    .lp-nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .lp-header__end {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 60;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-left: 0;
        padding: 0.75rem;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }

    .lp-header__end.is-open {
        display: flex;
    }

    .lp-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-header__logins {
        width: 100%;
        flex: 1 1 auto;
        max-width: none;
    }

    .lp-header__logins .lp-login-btn {
        justify-content: center;
    }

    .lp-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .lp-feature-grid,
    .lp-roles__grid,
    .lp-contact__grid,
    .lp-about__inner,
    .lp-mock__panels,
    .lp-stats__inner {
        grid-template-columns: 1fr;
    }

    .lp-brand__text {
        display: none;
    }

    .lp-hero__visual {
        order: -1;
    }

    .lp-mock__kpis {
        grid-template-columns: 1fr 1fr;
    }
}
