* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1264ee;
    --accent: #fee1f0;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background);
}

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

/* Header Section */
.header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--background);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #0d4bb8;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: #fdd0e8;
    transform: translateY(-2px);
}

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

.trust-line {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    padding: 40px 20px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.loan-option {
    background: linear-gradient(135deg, var(--primary), #0d4bb8);
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: center;
}

.loan-amount {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.loan-duration {
    font-size: 12px;
    opacity: 0.9;
}

/* Story Section */
.story {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.story-overlay {
    text-align: center;
    color: white;
}

.story-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.story-body {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.story-body p {
    margin-bottom: 16px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step h4 {
    font-size: 14px;
    color: var(--text-dark);
    max-width: 100px;
}

.step-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

/* Loan Info Section */
.loan-info {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.loan-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.loan-info-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.loan-details {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
}

.loan-details p {
    margin-bottom: 12px;
}

.loan-calculator-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: var(--accent);
}

.loan-calculator-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}

.calc-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 100, 238, 0.1);
    font-size: 16px;
}

.calc-row:last-of-type {
    border-bottom: none;
}

.calc-value {
    font-weight: 700;
    color: var(--primary);
}

.calc-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

/* Eligibility Section */
.eligibility {
    padding: 80px 0;
    background-color: var(--background);
}

.eligibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eligibility-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    font-size: 120px;
    opacity: 0.8;
}

.eligibility-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.eligibility-list {
    list-style: none;
}

.eligibility-list li {
    font-size: 16px;
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.eligibility-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background-color: var(--background);
    color: var(--text-dark);
    text-align: center;
}

.trust h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.trust-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.left-card {
    background-color: var(--accent);
    color: var(--text-dark);
}

.right-card {
    background-color: var(--primary);
    color: white;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.compliance-details {
    margin-bottom: 20px;
}

.compliance-details p {
    font-size: 14px;
    margin: 8px 0;
}

.card-description {
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive Design for Trust Cards */
@media (max-width: 768px) {
    .trust-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-card {
        padding: 30px;
    }

    .trust h2 {
        font-size: 28px;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 700;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #0d4bb8);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* Contact Us Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.contact-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18, 100, 238, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.privacy-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
    }
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .story-title {
        font-size: 28px;
    }

    .story-body {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .loan-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .eligibility-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .placeholder-image {
        font-size: 80px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-headline {
        font-size: 24px;
    }

    .hero-subheadline {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 20px;
    }

    .loan-calculator-card {
        padding: 20px;
    }

    .story {
        padding: 50px 0;
    }

    .story-title {
        font-size: 22px;
    }

    .story-body {
        font-size: 14px;
    }

    .trust {
        padding: 50px 0;
    }

    .trust h2 {
        font-size: 24px;
    }

    .final-cta {
        padding: 50px 0;
    }

    .final-cta h2 {
        font-size: 22px;
    }
}
