/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

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

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #000000;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #333333;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
}

.stat-label {
    font-size: 0.875rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.card-preview {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #000000;
}

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

.advantage-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.advantage-card p {
    color: #666666;
    line-height: 1.6;
}

/* Apply Section & Stepper */
.apply-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stepper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.stepper-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.step {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: -1;
    transform: translateY(-50%);
}

.step.active {
    background: #000000;
    color: #ffffff;
}

.step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    line-height: 32px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step:not(.active) .step-number {
    background: #e5e7eb;
    color: #666666;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.stepper-content {
    padding: 3rem;
}

.step-body {
    display: none;
}

.step-body.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-body h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #000000;
    text-align: center;
}

.loan-calculator {
    margin-bottom: 2rem;
}

.loan-calculator label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #000000;
}

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

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

#amount-value, #term-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    display: block;
    margin-top: 0.5rem;
}

.payment-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.payment-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.payment-info span {
    font-weight: 700;
    color: #000000;
}

.loan-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loan-form input {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.loan-form input:focus {
    outline: none;
    border-color: #000000;
}

.confirmation {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.confirmation p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.confirmation span {
    font-weight: 700;
    color: #000000;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

    .nav {
        display: none; /* Hamburger menu JS would show this */
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .stepper-content {
        padding: 2rem 1rem;
    }

    .step-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-large {
        width: 100%;
    }
}