* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
}

.logo span {
    color: #6c2cff;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
}

.nav a:hover {
    color: #6c2cff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    font-weight: 600;
    color: #111827;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 13px 22px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: #6c2cff;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(108, 44, 255, 0.25);
}

.btn-primary:hover {
    background: #5720d8;
}

.btn-secondary {
    background: #111827;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #000000;
}

.large {
    padding: 16px 28px;
    font-size: 16px;
}

.hero {
    padding: 90px 0;
    background:
        radial-gradient(circle at top right, rgba(108, 44, 255, 0.16), transparent 35%),
        #f8fafc;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.badge {
    display: inline-flex;
    background: #ede9fe;
    color: #6c2cff;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 42px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 24px;
    color: #111827;
}

.hero-stats span {
    color: #6b7280;
    font-size: 14px;
}

.hero-card {
    display: flex;
    justify-content: center;
}

.dashboard-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.12);
    border: 1px solid #e5e7eb;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-header span {
    color: #6b7280;
    font-size: 14px;
}

.card-header h3 {
    font-size: 34px;
    margin-top: 8px;
}

.status {
    background: #dcfce7;
    color: #16a34a !important;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.mini-chart {
    height: 170px;
    display: flex;
    align-items: end;
    gap: 12px;
    margin: 32px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 22px;
}

.mini-chart span {
    flex: 1;
    background: linear-gradient(180deg, #6c2cff, #a78bfa);
    border-radius: 999px;
}

.transactions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.transactions div {
    display: flex;
    justify-content: space-between;
    padding: 14px;
    background: #f9fafb;
    border-radius: 16px;
}

.transactions span {
    color: #6b7280;
}

.transactions strong {
    color: #111827;
}

.features {
    padding: 90px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: auto;
    margin-bottom: 54px;
}

.section-title span {
    color: #6c2cff;
    font-weight: 800;
}

.section-title h2 {
    font-size: 42px;
    margin: 12px 0;
    letter-spacing: -1px;
}

.section-title p {
    color: #6b7280;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 28px;
    border-radius: 24px;
}

.icon {
    width: 52px;
    height: 52px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

.rates {
    padding: 90px 0;
}

.rates-content,
.loans-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

.rates h2,
.loans h2,
.cta h2 {
    font-size: 42px;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.rates p,
.loans p,
.cta p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.rates ul {
    list-style: none;
    margin-bottom: 30px;
}

.rates li {
    margin-bottom: 12px;
    font-weight: 600;
}

.rates li::before {
    content: "✓";
    color: #16a34a;
    margin-right: 10px;
}

.rate-box {
    background: #111827;
    color: #ffffff;
    border-radius: 34px;
    padding: 60px;
    text-align: center;
}

.rate-box span {
    color: #c4b5fd;
    font-weight: 700;
}

.rate-box h3 {
    font-size: 76px;
    margin: 10px 0;
}

.rate-box p {
    color: #d1d5db;
}

.loans {
    padding: 90px 0;
    background: #ffffff;
}

.loan-card {
    background: linear-gradient(135deg, #6c2cff, #111827);
    color: #ffffff;
    border-radius: 34px;
    padding: 46px;
    box-shadow: 0 30px 80px rgba(108, 44, 255, 0.25);
}

.loan-card span {
    color: #ddd6fe;
    font-weight: 700;
}

.loan-card h3 {
    font-size: 52px;
    margin: 16px 0;
}

.loan-card p {
    color: #e5e7eb;
}

.loan-progress {
    height: 12px;
    background: rgba(255,255,255,0.22);
    border-radius: 999px;
    margin-top: 28px;
    overflow: hidden;
}

.loan-progress span {
    display: block;
    height: 100%;
    width: 72%;
    background: #ffffff;
    border-radius: 999px;
}

.cta {
    padding: 90px 0;
    background: #f8fafc;
}

.cta-content {
    background: #111827;
    color: #ffffff;
    text-align: center;
    border-radius: 36px;
    padding: 70px 30px;
}

.cta p {
    color: #d1d5db;
    max-width: 620px;
    margin: 0 auto 30px;
}

.footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 28px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    color: #6b7280;
}

.footer div {
    display: flex;
    gap: 18px;
}

.footer a {
    color: #4b5563;
    font-weight: 500;
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero-content,
    .rates-content,
    .loans-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 44px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .header-actions {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons,
    .hero-stats {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .rates h2,
    .loans h2,
    .cta h2,
    .section-title h2 {
        font-size: 32px;
    }

    .rate-box h3 {
        font-size: 54px;
    }
}

.logo-img {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img img {
    height: 100px;
    width: auto;
    display: block;
}

.header-content {
    min-height: 85px;
}

@media (max-width: 768px) {
    .logo-img img {
        height: 36px;
    }
}

.how-it-works {
    padding: 90px 0;
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    transition: 0.25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #6c2cff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #0f172a;
}

.step-card p {
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.commission-calculator {
    padding: 90px 0;
    background: #f8fafc;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
}

.calculator-content h2 {
    font-size: 42px;
    margin: 16px 0;
    color: #0f172a;
}

.calculator-content p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

.calculator-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid #e5e7eb;
}

.calculator-card label {
    display: block;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.calculator-card input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    font-size: 18px;
    outline: none;
}

.calculator-card input:focus {
    border-color: #6c2cff;
    box-shadow: 0 0 0 4px rgba(108, 44, 255, 0.12);
}

.calculator-result {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.calculator-result div {
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.calculator-result span {
    color: #64748b;
    font-size: 14px;
}

.calculator-result strong {
    color: #0f172a;
    font-size: 18px;
}

@media (max-width: 900px) {
    .calculator-content {
        grid-template-columns: 1fr;
    }

    .calculator-content h2 {
        font-size: 34px;
    }
}

.integrations {
    padding: 90px 0;
    background: #ffffff;
}

.integrations-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
}

.integrations-content h2 {
    font-size: 42px;
    margin: 16px 0;
    color: #0f172a;
}

.integrations-content p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.integration-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.integration-list div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    border-radius: 16px;
    color: #0f172a;
    font-weight: 700;
}

.integration-card {
    background: linear-gradient(135deg, #6c2cff, #8b5cf6);
    border-radius: 30px;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 30px 70px rgba(108, 44, 255, 0.25);
}

.integration-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.integration-header span {
    opacity: 0.85;
}

.integration-header strong {
    background: rgba(255,255,255,0.18);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.integration-flow {
    display: grid;
    gap: 14px;
}

.integration-flow div {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
}

.integration-flow span {
    opacity: 0.85;
}

.integration-flow strong {
    color: #ffffff;
}

@media (max-width: 900px) {
    .integrations-content {
        grid-template-columns: 1fr;
    }

    .integrations-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .integration-list {
        grid-template-columns: 1fr;
    }

    .integration-flow div {
        flex-direction: column;
        gap: 6px;
    }
}