/* How It Works Page Specific Styles */

html {
    scroll-behavior: smooth;
}

.how-it-works-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
}

.how-it-works-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.how-it-works-hero p {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Start Section */
.quick-start-section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.step-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Feature Cards Grid */
.features-section {
    margin-bottom: 4rem;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card-content {
    margin-bottom: 1.5rem;
}

.feature-card-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.feature-card-content p:last-child {
    margin-bottom: 0;
}

.feature-card-content strong {
    color: var(--primary);
    font-weight: 600;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.05);
}

.feature-cta:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(4px);
}

/* Tips Section */
.tips-section {
    margin-bottom: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.tip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.tip-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-compact-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-compact-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.faq-compact-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-compact-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.faq-compact-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.faq-compact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-compact-item a:hover {
    text-decoration: underline;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    background: white;
    color: var(--primary);
    border: none;
    cursor: pointer;
}

.final-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-it-works-hero h1 {
        font-size: 1.75rem;
    }

    .how-it-works-hero p {
        font-size: 1rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

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

    .final-cta h2 {
        font-size: 1.5rem;
    }

    .final-cta p {
        font-size: 1rem;
    }
}
