:root {
    /* Primary Palette - Red Theme */
    --primary-red: #E35844;
    --primary-red-hover: #C54433;
    --primary-red-light: #FFF1EF;

    /* Neutral Palette */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
.btn {
    cursor: pointer;
    font-family: inherit;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-red);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-300);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 48px;
}

/* Navbar */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
    height: 72px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--gray-600);
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 16px;
    display: block;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-600);
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

.legal-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    section {
        padding: 60px 0;
    }
}

/* Home Page Specifics */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-red-light) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-red-light);
    color: var(--primary-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
}

.loan-details-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.detail-item h5 {
    color: var(--gray-500);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-item p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.screenshots-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.screenshots-row::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 280px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-100);
}

.testimonial-content {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 700;
}

.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    text-align: center;
    padding: 80px 40px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-btns,
    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    section {
        padding: 40px 0;
    }

    .detail-item p {
        font-size: 1.25rem;
    }
}
