
/*
|--------------------------------------------------------------------------
| CAT-MULTI-INSTITUSI
| LANDING PAGE STYLESHEET
| File: assets/css/landing.css
|--------------------------------------------------------------------------
*/

:root {
    --landing-green: #087b50;
    --landing-green-dark: #065f40;
    --landing-green-light: #e8f5ee;
    --landing-dark: #183b2b;
    --landing-text: #34443b;
    --landing-muted: #7e8c83;
    --landing-bg: #f7faf8;
    --landing-white: #ffffff;
    --landing-border: #e7eeea;
    --landing-shadow: 0 12px 35px rgba(20, 50, 35, .07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.cat-landing {
    margin: 0;
    background: var(--landing-white);
    color: var(--landing-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.cat-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* NAVBAR */

.cat-landing-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--landing-border);
}

.cat-navbar-inner {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cat-landing-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.cat-landing-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--landing-green);
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.cat-landing-brand strong {
    display: block;
    color: var(--landing-dark);
    font-size: 19px;
    line-height: 1.2;
}

.cat-landing-brand small {
    color: var(--landing-muted);
    font-size: 10px;
}

.cat-navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cat-navbar-menu a {
    color: #5c6b62;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.cat-navbar-menu a:hover {
    color: var(--landing-green);
}

.cat-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-nav-login,
.cat-nav-register {
    min-height: 40px;
    padding: 9px 17px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cat-nav-login {
    color: var(--landing-green);
    border: 1px solid var(--landing-border);
}

.cat-nav-register {
    color: #fff;
    background: var(--landing-green);
}

.cat-nav-register:hover {
    color: #fff;
    background: var(--landing-green-dark);
}

/* HERO */

.cat-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 90px;
    background:
        radial-gradient(circle at 85% 20%, #d9f4e4 0, transparent 30%),
        linear-gradient(135deg, #f7fcf8 0%, #ffffff 65%);
}

.cat-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 65px;
}

.cat-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 30px;
    background: var(--landing-green-light);
    color: var(--landing-green-dark);
    font-size: 11px;
    font-weight: 750;
}

.cat-hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-green);
}

.cat-hero h1 {
    margin: 22px 0 18px;
    color: var(--landing-dark);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.13;
    letter-spacing: -2px;
    font-weight: 850;
}

.cat-hero h1 span {
    color: var(--landing-green);
}

.cat-hero-description {
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--landing-muted);
    font-size: 15px;
    line-height: 1.9;
}

.cat-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-btn-hero {
    min-height: 48px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: .2s;
}

.cat-btn-hero-primary {
    color: #fff;
    background: var(--landing-green);
    box-shadow: 0 7px 18px rgba(8,123,80,.18);
}

.cat-btn-hero-primary:hover {
    color: #fff;
    background: var(--landing-green-dark);
    transform: translateY(-2px);
}

.cat-btn-hero-secondary {
    color: var(--landing-green-dark);
    background: #fff;
    border: 1px solid var(--landing-border);
}

.cat-btn-hero-secondary:hover {
    background: var(--landing-green-light);
}

.cat-hero-note {
    margin-top: 24px;
    color: var(--landing-muted);
    font-size: 11px;
}

/* HERO DASHBOARD PREVIEW */

.cat-hero-preview {
    position: relative;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    box-shadow: 0 25px 65px rgba(20,50,35,.12);
}

.cat-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cat-preview-header strong {
    color: var(--landing-dark);
    font-size: 14px;
}

.cat-preview-status {
    padding: 5px 9px;
    border-radius: 20px;
    background: var(--landing-green-light);
    color: var(--landing-green);
    font-size: 10px;
    font-weight: 700;
}

.cat-preview-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cat-preview-stat {
    padding: 16px;
    border: 1px solid var(--landing-border);
    border-radius: 11px;
}

.cat-preview-stat small {
    color: var(--landing-muted);
    font-size: 10px;
}

.cat-preview-stat strong {
    display: block;
    margin-top: 7px;
    color: var(--landing-dark);
    font-size: 24px;
}

.cat-preview-chart {
    margin-top: 18px;
    padding: 17px;
    border: 1px solid var(--landing-border);
    border-radius: 11px;
}

.cat-preview-chart strong {
    color: var(--landing-dark);
    font-size: 12px;
}

.cat-preview-bars {
    height: 100px;
    margin-top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 10px;
    border-bottom: 1px solid var(--landing-border);
}

.cat-preview-bars span {
    width: 13%;
    min-height: 15px;
    border-radius: 5px 5px 0 0;
    background: #9bd6b4;
}

.cat-preview-bars span:nth-child(2n) {
    background: var(--landing-green);
}

/* TRUST / STATS */

.cat-trust {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid var(--landing-border);
}

.cat-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.cat-trust-item {
    padding: 10px;
}

.cat-trust-item strong {
    display: block;
    color: var(--landing-green-dark);
    font-size: 25px;
    font-weight: 800;
}

.cat-trust-item small {
    color: var(--landing-muted);
    font-size: 11px;
}

/* SECTION GENERAL */

.cat-section {
    padding: 85px 0;
}

.cat-section-soft {
    background: var(--landing-bg);
}

.cat-section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.cat-section-heading span {
    color: var(--landing-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.cat-section-heading h2 {
    margin: 12px 0;
    color: var(--landing-dark);
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.25;
    letter-spacing: -.8px;
}

.cat-section-heading p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* FEATURES */

.cat-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cat-feature-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 13px;
    transition: .25s;
}

.cat-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--landing-shadow);
    border-color: #c5e6d3;
}

.cat-feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-green-light);
    border-radius: 12px;
    color: var(--landing-green);
    font-size: 21px;
}

.cat-feature-card h3 {
    margin: 0 0 9px;
    color: var(--landing-dark);
    font-size: 15px;
}

.cat-feature-card p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* HOW IT WORKS */

.cat-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cat-step {
    position: relative;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
}

.cat-step-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-green);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.cat-step h3 {
    margin: 17px 0 8px;
    color: var(--landing-dark);
    font-size: 14px;
}

.cat-step p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 12px;
}

/* PRICING */

.cat-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.cat-price-card {
    padding: 27px 23px;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.cat-price-card.featured {
    border: 2px solid var(--landing-green);
    box-shadow: var(--landing-shadow);
    transform: translateY(-7px);
}

.cat-price-name {
    color: var(--landing-dark);
    font-size: 17px;
    font-weight: 800;
}

.cat-price-description {
    min-height: 42px;
    margin: 8px 0 18px;
    color: var(--landing-muted);
    font-size: 11px;
}

.cat-price-value {
    margin-bottom: 20px;
    color: var(--landing-green-dark);
    font-size: 28px;
    font-weight: 850;
}

.cat-price-value small {
    color: var(--landing-muted);
    font-size: 11px;
    font-weight: 500;
}

.cat-price-features {
    flex: 1;
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.cat-price-features li {
    padding: 9px 0;
    border-bottom: 1px solid #f0f3f1;
    color: #607067;
    font-size: 12px;
}

.cat-price-features li::before {
    content: "✓";
    margin-right: 9px;
    color: var(--landing-green);
    font-weight: 800;
}

.cat-price-button {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-green);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.cat-price-button:hover {
    background: var(--landing-green-dark);
    color: #fff;
}

/* CTA */

.cat-cta {
    padding: 65px 0;
    background: linear-gradient(120deg, #087b50, #065f40);
    color: #fff;
    text-align: center;
}

.cat-cta h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(26px, 4vw, 36px);
}

.cat-cta p {
    max-width: 570px;
    margin: 0 auto 25px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.cat-cta-button {
    display: inline-flex;
    min-height: 45px;
    padding: 12px 22px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--landing-green-dark);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.cat-cta-button:hover {
    color: var(--landing-green);
    background: #effaf3;
}

/* FOOTER */

.cat-landing-footer {
    padding: 50px 0 20px;
    background: #102d21;
    color: rgba(255,255,255,.72);
}

.cat-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 35px;
}

.cat-footer-brand strong {
    color: #fff;
    font-size: 19px;
}

.cat-footer-brand p {
    max-width: 340px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.8;
}

.cat-footer-column h4 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 12px;
}

.cat-footer-column a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    text-decoration: none;
}

.cat-footer-column a:hover {
    color: #fff;
}

.cat-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .cat-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cat-hero-content {
        text-align: center;
    }

    .cat-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cat-hero-actions {
        justify-content: center;
    }

    .cat-hero-preview {
        max-width: 580px;
        width: 100%;
        margin: auto;
    }

    .cat-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-price-card.featured {
        transform: none;
    }
}

@media (max-width: 650px) {

    .cat-container {
        width: min(100% - 28px, 1160px);
    }

    .cat-navbar-inner {
        min-height: 66px;
    }

    .cat-navbar-menu {
        display: none;
    }

    .cat-navbar-actions {
        gap: 6px;
    }

    .cat-nav-login,
    .cat-nav-register {
        padding: 8px 11px;
        font-size: 10px;
    }

    .cat-hero {
        padding: 65px 0;
    }

    .cat-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .cat-hero-description {
        font-size: 13px;
    }

    .cat-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cat-trust-item {
        border-bottom: 1px solid var(--landing-border);
    }

    .cat-feature-grid,
    .cat-steps-grid,
    .cat-pricing-grid {
        grid-template-columns: 1fr;
    }

    .cat-section {
        padding: 60px 0;
    }

    .cat-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cat-footer-bottom {
        flex-direction: column;
    }
}
