/* Pan Portal — Landing Page (Government / Official Theme) */

.landing-page {
    font-family: 'Noto Sans', 'Segoe UI', Tahoma, sans-serif;
    color: #1a1a1a;
    background: #f0f2f5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.landing-page a {
    text-decoration: none;
    color: inherit;
}

.landing-bg {
    display: none;
}

.landing-topbar {
    background: #0d2137;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 0.82rem;
}

.landing-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-container {
    width: min(100% - 32px, 1140px);
    margin: 0 auto;
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #cbd5e0;
}

.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0d2137;
}

.landing-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.landing-brand-text {
    font-size: 1.05rem;
    line-height: 1.2;
}

.landing-brand-tagline {
    font-size: 0.78rem;
    font-weight: 500;
    color: #4a5568;
}

.landing-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8eef5;
    color: #1a4480;
    border: 2px solid #1a4480;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.landing-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.landing-nav-links a:not(.landing-btn) {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    transition: color 0.2s;
}

.landing-nav-links a:not(.landing-btn):hover {
    color: #1a4480;
}

.landing-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.landing-nav-toggle span {
    display: block;
    height: 2px;
    background: #334155;
    border-radius: 2px;
}

/* Buttons */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.landing-btn:hover {
    transform: none;
}

.landing-btn-sm {
    padding: 8px 14px;
    font-size: 0.88rem;
}

.landing-btn-lg {
    padding: 12px 22px;
    font-size: 1rem;
}

.landing-btn-primary {
    background: #1a4480;
    color: #fff;
    border-color: #0d2137;
}

.landing-btn-primary:hover {
    background: #0d2137;
}

.landing-btn-outline {
    background: #fff;
    color: #1a4480;
    border-color: #1a4480;
}

.landing-btn-outline:hover {
    background: #e8eef5;
}

.landing-btn-ghost {
    background: transparent;
    color: #4a5568;
}

.landing-btn-ghost:hover {
    color: #1a4480;
    background: #e8eef5;
}

.landing-btn-light {
    background: #fff;
    color: #1a4480;
    border: 1px solid #fff;
}

.landing-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.landing-hero {
    padding: 0;
    background: #1a4480;
    color: #fff;
}

.landing-hero-grid {
    display: block;
    padding: 40px 0 48px;
}

.landing-pill {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-hero-copy h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 14px;
    font-weight: 700;
    max-width: 720px;
}

.landing-hero-copy h1 span {
    color: #ff9933;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.landing-hero-copy > p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    margin-bottom: 22px;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.landing-hero-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-hero-points li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 500;
}

.landing-hero-points li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff9933;
    font-weight: 700;
}

.landing-notice {
    margin: 0;
    padding: 14px 0;
    background: #fffbeb;
    border-top: 1px solid #fcd34d;
    border-bottom: 1px solid #fcd34d;
    border-left: 4px solid #ff9933;
}

.landing-notice-inner {
    font-size: 0.9rem;
    color: #1a1a1a;
}

.landing-notice strong {
    color: #92400e;
}

/* Stats */
.landing-stats {
    margin-top: 0;
    padding: 32px 0;
    background: #f0f2f5;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #cbd5e0;
    border: 1px solid #cbd5e0;
}

.landing-stats-grid article {
    padding: 22px 20px;
    border-radius: 0;
    background: #fff;
    border: none;
    box-shadow: none;
    text-align: center;
}

.landing-stats-grid strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1.1;
    color: #1a4480;
    font-weight: 700;
    margin-bottom: 4px;
}

.landing-stats-grid span {
    color: #4a5568;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Sections */
.landing-section {
    padding: 56px 0;
}

.landing-section-alt {
    background: #fff;
    border-block: 1px solid #cbd5e0;
}

.landing-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.landing-section-head-left {
    text-align: left;
    margin: 0;
}

.landing-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #1a4480;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-section-head h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: 0;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0d2137;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4480;
    display: inline-block;
}

.landing-section-head p {
    color: #4a5568;
}

/* Services */
.landing-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.landing-service-card {
    padding: 22px 20px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-top: 3px solid #1a4480;
    box-shadow: none;
    transition: border-color 0.2s;
}

.landing-service-card:hover {
    transform: none;
    border-color: #1a4480;
    box-shadow: 0 2px 8px rgba(13, 33, 55, 0.08);
}

.landing-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}

.landing-service-icon.tone-blue { background: #1a4480; }
.landing-service-icon.tone-purple { background: #4a3066; }
.landing-service-icon.tone-teal { background: #138808; }
.landing-service-icon.tone-gold { background: #ff9933; color: #1a1a1a; }

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

.landing-service-card p {
    color: #4a5568;
    font-size: 0.88rem;
}

/* Steps */
.landing-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.landing-steps li {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #cbd5e0;
}

.landing-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #e8eef5;
    color: #1a4480;
    font-weight: 700;
}

.landing-steps h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0d2137;
}

.landing-steps p {
    color: #4a5568;
    font-size: 0.88rem;
}

/* Features */
.landing-features-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.landing-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.landing-feature-list article {
    padding: 18px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-left: 3px solid #138808;
}

.landing-feature-list h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0d2137;
}

.landing-feature-list p {
    color: #4a5568;
    font-size: 0.86rem;
}

.landing-section-head-left .landing-btn {
    margin-top: 20px;
}

/* CTA */
.landing-cta {
    padding: 0 0 56px;
}

.landing-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px 36px;
    border-radius: 4px;
    background: #0d2137;
    border: 1px solid #1a4480;
    border-top: 3px solid #ff9933;
    color: #fff;
    box-shadow: 0 2px 12px rgba(13, 33, 55, 0.15);
}

.landing-cta-inner h2 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.landing-cta-inner p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
}

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Footer */
.landing-footer {
    padding: 40px 0 20px;
    background: #0d2137;
    color: #94a3b8;
    border-top: 3px solid #ff9933;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer-brand strong {
    display: block;
    color: #f1f5f9;
    font-size: 1.05rem;
    margin: 12px 0 8px;
}

.landing-footer h4 {
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.landing-footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-footer a {
    color: #94a3b8;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: #fff;
}

.landing-footer-bottom {
    padding-top: 18px;
    text-align: center;
    font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 992px) {
    .landing-features-grid {
        grid-template-columns: 1fr;
    }

    .landing-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-nav-toggle {
        display: flex;
    }

    .landing-nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 20px;
        background: #fff;
        border-bottom: 1px solid #cbd5e0;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.25s;
    }

    .landing-nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .landing-nav-links a {
        padding: 12px 8px;
        border-bottom: 1px solid #edf2f7;
    }

    .landing-nav-links .landing-btn {
        margin-top: 8px;
        width: 100%;
    }

    .landing-brand-tagline {
        display: none;
    }

    .landing-steps,
    .landing-feature-list,
    .landing-services-grid,
    .landing-footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-cta-inner {
        padding: 24px 20px;
    }
}
