/* Pan Portal — Landing Page */

.landing-page {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.landing-page a:not(.landing-btn) {
    color: inherit;
}

.landing-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(59, 91, 219, 0.12), transparent 40%),
        radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.1), transparent 35%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

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

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.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: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
}

.landing-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b5bdb 0%, #748ffc 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(59, 91, 219, 0.35);
}

.landing-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

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

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

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

.landing-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    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: 12px 20px;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.landing-btn:hover {
    transform: translateY(-1px);
}

.landing-btn-sm {
    padding: 9px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
}

.landing-btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
}

.landing-btn-primary {
    background: linear-gradient(135deg, #3b5bdb 0%, #5c7cfa 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(59, 91, 219, 0.32);
}

.landing-btn-primary:hover {
    box-shadow: 0 16px 34px rgba(59, 91, 219, 0.38);
}

.landing-btn-outline {
    background: #fff;
    color: #3b5bdb;
    border-color: #c7d2fe;
}

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

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

.landing-btn-ghost:hover {
    color: #3b5bdb;
    background: #f1f5f9;
}

.landing-btn-light {
    background: #fff;
    color: #364fc7;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.landing-btn-light:hover {
    background: #f8fafc;
    color: #364fc7;
}

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

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

.landing-page a.landing-btn-light,
.landing-page a.landing-btn-light:hover {
    color: #364fc7;
}

.landing-page a.landing-btn-outline-light,
.landing-page a.landing-btn-outline-light:hover {
    color: #fff;
}

/* Hero */
.landing-hero {
    padding: 56px 0 72px;
}

.landing-hero-grid {
    display: block;
    max-width: 720px;
}

.landing-pill {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(59, 91, 219, 0.1);
    color: #3b5bdb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-hero-copy h1 {
    font-size: clamp(2rem, 4.8vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.landing-hero-copy h1 span {
    background: linear-gradient(135deg, #3b5bdb 0%, #6366f1 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-hero-copy > p {
    max-width: 520px;
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 28px;
}

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

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

.landing-hero-points li {
    position: relative;
    padding-left: 26px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
}

.landing-hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 800;
}

/* Hero visual cards removed */

/* Stats */
.landing-stats {
    margin-top: -24px;
    padding-bottom: 48px;
}

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

.landing-stats-grid article {
    padding: 22px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.landing-stats-grid strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #3b5bdb;
    margin-bottom: 4px;
}

.landing-stats-grid span {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

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

.landing-section-alt {
    background: rgba(255, 255, 255, 0.65);
    border-block: 1px solid #e2e8f0;
}

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

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

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

.landing-section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.landing-section-head p {
    color: #64748b;
}

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

.landing-service-card {
    padding: 26px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}

.landing-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(59, 91, 219, 0.12);
}

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

.landing-service-icon.tone-blue { background: linear-gradient(135deg, #3b5bdb, #748ffc); }
.landing-service-icon.tone-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.landing-service-icon.tone-teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.landing-service-icon.tone-gold { background: linear-gradient(135deg, #d97706, #fbbf24); }

.landing-service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.landing-service-card p {
    color: #64748b;
    font-size: 0.92rem;
}

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

.landing-steps li {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.landing-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #3b5bdb;
    font-weight: 800;
}

.landing-steps h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.landing-steps p {
    color: #64748b;
    font-size: 0.9rem;
}

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

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

.landing-feature-list article {
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.landing-feature-list h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.landing-feature-list p {
    color: #64748b;
    font-size: 0.88rem;
}

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

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

.landing-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 40px 36px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0b1220 0%, #162447 45%, #3b5bdb 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(59, 91, 219, 0.28);
}

.landing-cta-inner h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 8px;
}

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

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.landing-cta-actions .landing-btn {
    min-width: 148px;
}

/* Footer */
.landing-footer {
    padding: 48px 0 24px;
    background: #0b1220;
    color: #94a3b8;
}

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

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

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

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

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

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

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

/* 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: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #e2e8f0;
        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 #f1f5f9;
    }

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

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

    .landing-cta-inner {
        padding: 28px 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .landing-cta-actions {
        width: 100%;
    }

    .landing-cta-actions .landing-btn {
        flex: 1 1 148px;
    }
}
