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

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

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

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* How It Works Hero Section */
.how-it-works-hero {
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #1e3a8a 100%);
    padding: 128px 0 80px;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/how-it-works-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.how-it-works-hero .container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
}

.hero-content {
    text-align: center;
    margin: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-badge i {
    margin-right: 8px;
}

.how-it-works-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.how-it-works-hero .highlight {
    color: #93c5fd;
}

.how-it-works-hero p {
    font-size: 1.25rem;
    max-width: 768px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: white;
    color: #1d4ed8;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1d4ed8;
}

/* Process Steps Section */
.process-steps {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 768px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-image {
    position: relative;
    height: 256px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-content {
    padding: 32px;
}

.step-title {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.step-icon i {
    font-size: 1.25rem;
    color: #3b82f6;
}

.step-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #374151;
}

.step-features li i {
    width: 20px;
    height: 20px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.75rem;
    color: #16a34a;
    flex-shrink: 0;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.section-cta .btn-primary {
    background: #3b82f6;
    color: white;
    padding: 16px 40px;
    font-size: 1.125rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.section-cta .btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Moving Timeline Section */
.moving-timeline {
    padding: 80px 0;
    background: white;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.timeline-icon {
    width: 64px;
    height: 64px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: white;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.timeline-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.timeline-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.timeline-time {
    color: #3b82f6;
    font-weight: 500;
    font-size: 0.875rem;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
}

.timeline-cta {
    margin-top: 48px;
}

.cta-box {
    background: #dbeafe;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.cta-box p {
    color: #6b7280;
    margin-bottom: 24px;
}

.cta-box .btn-primary {
    background: #3b82f6;
    color: white;
}

.cta-box .btn-primary:hover {
    background: #2563eb;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .timeline-header h3 {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .how-it-works-hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-icon {
        margin: 0 auto 16px;
    }
}
