/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-1 { flex: 0 0 8.333%; }
.col-2 { flex: 0 0 16.667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333%; }
.col-5 { flex: 0 0 41.667%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333%; }
.col-8 { flex: 0 0 66.667%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333%; }
.col-11 { flex: 0 0 91.667%; }
.col-12 { flex: 0 0 100%; }

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #f57c00;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #f57c00;
}

/* Hero Section */
.hero {
    background: #fef8f2;
    padding: 140px 0 100px;
    border-bottom: 1px solid #e0e0e0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #f57c00;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #ef6c00;
}

.btn-secondary {
    background: white;
    color: #f57c00;
    border: 1px solid #f57c00;
}

.btn-secondary:hover {
    background: #fff3e0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* App Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.loan-amount {
    font-size: 36px;
    font-weight: 700;
    color: #f57c00;
}

.loan-term {
    font-size: 18px;
    color: #6b7280;
}

.approval-status {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.approved {
    background: #dcfce7;
    color: #166534;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #fef8f2, #ffffff);
    z-index: -1;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.5;
}

/* Loan Info Section */
.loan-info {
    padding: 80px 0;
    background: #fef8f2;
}

.loan-info-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.loan-info-text {
    flex: 1;
}

.loan-info-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.loan-details {
    display: grid;
    gap: 20px;
}

.loan-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.detail-label {
    font-weight: 500;
    color: #4b5563;
}

.detail-value {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 18px;
}

.loan-info-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rate-calculator {
    background: white;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    width: 100%;
    max-width: 400px;
}

.rate-calculator h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.calculator-input {
    margin-bottom: 25px;
}

.calculator-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4b5563;
}

.calculator-input input[type="range"] {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #f57c00;
    border-radius: 50%;
    cursor: pointer;
}

.calculator-result {
    background: #f8fafc;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.monthly-payment {
    font-size: 24px;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 10px;
}

.total-interest {
    color: #6b7280;
    font-size: 14px;
}

/* Application Process Section */
.process {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.process h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #f57c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.step-content p {
    color: #6b7280;
    line-height: 1.5;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: #fef8f2;
}

.trust-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.trust-text {
    flex: 1;
}

.trust-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.trust-features {
    display: grid;
    gap: 25px;
}

.trust-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.trust-feature p {
    color: #6b7280;
    line-height: 1.5;
}

.trust-badges {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.badge {
    background: white;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    color: #f57c00;
    border: 1px solid #e0e0e0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #ffffff;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial {
    background: #f8fafc;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1a1a1a;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 10px;
}

.stat-label {
    color: #6b7280;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #fef8f2;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: #6b7280;
    font-weight: 300;
}

.faq-answer {
    padding: 0 25px 25px;
    display: none;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Section */
.cta {
    background: #f57c00;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 40px 0;
    border-radius: 8px;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: #f57c00;
}

.cta .btn-primary:hover {
    background: #f8fafc;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .features-grid,
    .process-steps,
    .testimonials-grid,
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .loan-info-content,
    .trust-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav {
        display: none;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}