:root {
    --navy-dark: #0B1B2D;
    --navy-light: #1F3A8A;
    --blue: #2F80ED;
    --teal: #00C9A7;
    --gray-bg: #F3F6FA;
    --white: #FFFFFF;
    --text-main: #0B1B2D;
    --text-muted: #5A6B7C;
    --gradient-hero: linear-gradient(135deg, #0B1B2D 0%, #1F3A8A 100%);
    --gradient-btn: linear-gradient(135deg, #2F80ED 0%, #00C9A7 100%);

    --font-primary: 'Outfit', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(47, 128, 237, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--gray-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-teal {
    color: var(--teal);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--navy-dark);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-btn);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.full-width {
    width: 100%;
}

.mt-2rem {
    margin-top: 2rem;
}

.mt-3rem {
    margin-top: 3rem;
}

.mb-3rem {
    margin-bottom: 3rem;
}

/* === NAVIGATION === */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 10;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 4rem;
    /* For fixed nav space */
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    width: 150%;
    animation: flowLines 8s linear infinite;
}

.line-1 {
    top: 30%;
    left: -20%;
    animation-duration: 10s;
}

.line-2 {
    top: 60%;
    left: -50%;
    animation-duration: 15s;
}

.line-3 {
    top: 80%;
    left: -30%;
    animation-duration: 12s;
}

.floating-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--teal);
    animation: pulse 3s infinite ease-in-out;
}

.node-1 {
    top: 20%;
    right: 20%;
}

.node-2 {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.node-3 {
    top: 60%;
    right: 40%;
    animation-delay: 2s;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.micro-copy {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.7;
    max-width: 250px;
}

/* === BUTTONS === */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0, 201, 167, 0.5);
}

.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 5s infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* === PROBLEM SECTION === */
.problem-section {
    background: var(--navy-dark);
    padding: 5rem 0;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* === HOW IT WORKS === */
.how-it-works-section {
    padding: 6rem 0;
    background: var(--gray-bg);
}

.steps-timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E0E7F0;
}

.step-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    z-index: 1;
    flex-shrink: 0;
}

.step-number.highlight {
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    font-size: 1rem;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

.highlight-box {
    border: 2px solid var(--teal);
    background: rgba(0, 201, 167, 0.05);
}

.check-list {
    list-style: none;
    margin-top: 1rem;
}

.check-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-list i {
    color: var(--teal);
}

/* === AUDIENCE SECTIONS === */
.audience-section {
    padding: 6rem 0;
}

.lenders-bg {
    background: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: var(--navy-dark);
    color: var(--teal);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: var(--blue);
    background: rgba(47, 128, 237, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

.pricing-card {
    background: linear-gradient(135deg, #0B1B2D 0%, #162447 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(47, 128, 237, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
    margin: 1rem 0 0.5rem;
}

.pricing-features {
    text-align: left;
    margin: 1.5rem 0;
    list-style: disc;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.business-bg {
    background: #E8EEF5;
    /* Slightly darker than gray-bg */
}

.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.benefit-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 180px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--blue);
}

/* === TRUST & COMPARISON === */
/* === TRUST & COMPARISON === */
.testimonials-section {
    padding: 6rem 0;
    background: var(--gray-bg);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.scroll-left {
    animation: scroll 60s linear infinite;
}

.scroll-right {
    animation: scroll-reverse 60s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 0 0 400px;
    /* Fixed width for marquee */
    border: 1px solid #E0E7F0;
}

.client-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--teal);
}

.client-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.2rem;
}

.role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quote {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats {
    border-top: 1px solid #E0E7F0;
    padding-top: 1rem;
    font-weight: 600;
    color: var(--blue);
    font-size: 0.9rem;
}

.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-left: 3px solid var(--teal);
    flex: 0 0 300px;
    /* Fixed width for marquee */
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
}

.review-card .stars {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.mt-4rem {
    margin-top: 4rem;
}

.text-gold {
    color: #FFD700;
}

.trust-section {
    padding: 3rem 0;
    border-bottom: 1px solid #E0E7F0;
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
    font-weight: 500;
}

.badge-item::before {
    content: '★';
    color: var(--teal);
    margin-right: 0.5rem;
}

.comparison-section {
    padding: 6rem 0;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-table .col {
    padding: 2rem;
    border-radius: 12px;
}

.traditional {
    background: #E0E7F0;
    opacity: 0.7;
}

.us {
    background: var(--navy-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    /* Slight emphasized scale */
}

.comparison-table h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table ul {
    list-style: none;
}

.comparison-table li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-table .us li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.us .positive::before {
    content: '✓';
    color: var(--teal);
}

.traditional .negative::before {
    content: '✗';
    color: #888;
}

/* === FINAL CTA === */
.final-cta-section {
    padding: 5rem 0;
    background: var(--white);
}

.cta-group {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* === FOOTER === */
footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.4);
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* === MODALS === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 27, 45, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    /* JS will toggle flex */
    justify-content: flex-end;
    /* Slide from right */
    align-items: flex-start;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
}

.modal-overlay.active .modal-content {
    transform: translateX(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--navy-dark);
}

.modal-header {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy-dark);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E0E7F0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="checkbox"] {
    width: auto;
}

/* === ANIMATIONS === */
@keyframes flowLines {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

    /* simple linear flow */
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Helper */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .steps-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-row {
        gap: 1rem;
    }

    .testimonials-section {
        padding: 3rem 0;
    }
}