* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Arial, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf0f5;
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand>span:last-child>span {
    color: #3f63f3;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #3f63f3;
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #626b7c;
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3f63f3;
}

.nav-button {
    padding: 11px 18px;
    border-radius: 9px;
    background: #3f63f3;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 95px 0 90px;
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #3f63f3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #3f63f3;
}

.hero-text {
    max-width: 580px;
    color: #687286;
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.primary-button {
    background: #3f63f3;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(63, 99, 243, 0.18);
}

.secondary-button {
    border: 1px solid #dfe4ed;
    color: #3d4658;
    background: #ffffff;
}


/* =========================
   PAYMENT DASHBOARD
========================= */

.payment-dashboard {
    padding: 25px;
    border: 1px solid #e6eaf2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(32, 45, 80, 0.12);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dashboard-label {
    font-size: 10px;
    color: #929bad;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.dashboard-header h3 {
    margin-top: 2px;
    font-size: 19px;
}

.status-dot {
    font-size: 14px;
    color: #39a86b;
}

.amount-card {
    padding: 22px;
    border-radius: 14px;
    background: #f5f7ff;
}

.amount-card span {
    display: block;
    color: #747e91;
    font-size: 12px;
    margin-bottom: 5px;
}

.amount-card strong {
    display: block;
    font-size: 31px;
    letter-spacing: -1px;
}

.amount-card small {
    color: #39a86b;
    font-weight: 600;
    font-size: 12px;
}

.payment-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 14px 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
}

.stat-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.stat-icon.received {
    background: #eaf8f0;
    color: #26955b;
}

.stat-icon.pending {
    background: #fff6e6;
    color: #d58a18;
}

.stat small {
    display: block;
    color: #8a93a3;
    font-size: 11px;
}

.stat strong {
    font-size: 13px;
}

.recent-payment {
    border-top: 1px solid #edf0f5;
    padding-top: 17px;
}

.recent-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.recent-heading span:last-child {
    color: #3f63f3;
}

.payment-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f6;
}

.customer-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef2ff;
    color: #3f63f3;
    font-size: 11px;
    font-weight: 800;
}

.customer {
    flex: 1;
}

.customer strong,
.customer small {
    display: block;
}

.customer strong {
    font-size: 12px;
}

.customer small {
    color: #8a93a3;
    font-size: 10px;
}

.paid {
    color: #26955b;
    font-size: 12px;
}

.pending {
    color: #d58a18;
    font-size: 12px;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 105px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-heading p {
    color: #737d8f;
    font-size: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border: 1px solid #e8ebf1;
    border-radius: 16px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(30, 45, 80, 0.08);
}

.feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef2ff;
    color: #3f63f3;
    font-size: 20px;
    font-weight: 800;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #737d8f;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   WORKFLOW
========================= */

.workflow {
    padding: 100px 0;
    background: #f7f9fc;
}

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.workflow-step {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 16px;
}

.step-number {
    display: inline-block;
    margin-bottom: 14px;
    color: #3f63f3;
    font-size: 12px;
    font-weight: 800;
}

.workflow-step h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.workflow-step p {
    color: #747e90;
    font-size: 14px;
}

.workflow-arrow {
    color: #3f63f3;
    font-size: 26px;
    font-weight: 700;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;
}

.cta-content {
    padding: 65px 30px;
    text-align: center;
    border-radius: 22px;
    background: #f5f7ff;
}

.cta-content .eyebrow {
    margin-bottom: 12px;
}

.cta h2 {
    max-width: 700px;
    margin: 0 auto 15px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.cta p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #747e90;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 70px 0 25px;
    border-top: 1px solid #edf0f5;
    background: #fafbfc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    margin-bottom: 15px;
}

.footer p {
    max-width: 290px;
    color: #7b8494;
    font-size: 14px;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-grid>div:not(:first-child) a {
    display: block;
    margin-bottom: 10px;
    color: #737d8f;
    font-size: 13px;
}

.footer-grid>div:not(:first-child) a:hover {
    color: #3f63f3;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid #e9ecf1;
    color: #8a92a0;
    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 16px;
    }

    .payment-dashboard {
        padding: 18px;
    }

    .payment-stats {
        grid-template-columns: 1fr;
    }

    .features,
    .workflow,
    .cta {
        padding: 70px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .copyright {
        flex-direction: column;
        margin-top: 35px;
    }

    .nav-button {
        display: none;
    }
}