/* ========================================
   HOW IT WORKS PAGE STYLES
   Prefix: how-
======================================== */

/* Introduction Section */
.how-intro-section {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.how-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.how-intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 2rem;
}

.how-intro-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.how-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Section Headers */
.how-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.how-section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.how-section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.how-section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Steps Section */
.how-steps-section {
    margin-bottom: 4rem;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.how-step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.how-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.how-step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f5f7fa, #e8eaf0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a90e2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.how-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.how-step-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.how-step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.how-step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-step-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.how-step-features i {
    color: #4caf50;
    font-size: 0.9rem;
}

/* Features Section */
.how-features-section {
    margin-bottom: 4rem;
}

.how-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.how-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.how-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.how-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.how-feature-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.how-feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* SERP Works Section */
.how-serp-works-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    color: white;
}

.how-serp-works-section .how-section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.how-serp-works-section .how-section-title {
    color: white;
}

.how-serp-works-section .how-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.how-serp-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

/* Diagram */
.how-serp-visual {
    display: flex;
    justify-content: center;
}

.how-serp-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.how-diagram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.how-diagram-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.how-diagram-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.how-diagram-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* SERP Content */
.how-serp-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.how-serp-step {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.how-serp-step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.how-serp-step-content h4 {
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
}

.how-serp-step-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Benefits Section */
.how-benefits-section {
    margin-bottom: 4rem;
}

.how-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.how-benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.how-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.how-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #4a90e2, #667eea);
}

.how-benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f5f7fa;
    line-height: 1;
    margin-bottom: 1rem;
}

.how-benefit-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.how-benefit-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* FAQ Section */
.how-faq-section {
    margin-bottom: 4rem;
}

.how-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.how-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.how-faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.how-faq-question:hover {
    background: #f8f9fa;
}

.how-faq-question > i:first-child {
    color: #4a90e2;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.how-faq-question h4 {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.how-faq-toggle {
    color: #7f8c8d;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.how-faq-item.active .how-faq-toggle {
    transform: rotate(180deg);
}

.how-faq-answer {
    padding: 0 2rem 1.5rem 4.5rem;
    display: none;
}

.how-faq-item.active .how-faq-answer {
    display: block;
}

.how-faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #666;
}

/* CTA Section */
.how-cta-section {
    background: linear-gradient(135deg, #4a90e2 0%, #667eea 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.how-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.how-cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.how-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.how-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.how-cta-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.how-cta-primary {
    background: white;
    color: #4a90e2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.how-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.how-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.how-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.how-cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.how-cta-note i {
    color: #4caf50;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .how-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .how-intro-title {
        font-size: 2rem;
    }

    .how-section-title {
        font-size: 2rem;
    }

    .how-serp-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .how-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-cta-buttons {
        flex-direction: column;
    }

    .how-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .how-intro-section {
        padding: 2rem 1.5rem;
    }

    .how-intro-title {
        font-size: 1.8rem;
    }

    .how-section-title {
        font-size: 1.8rem;
    }

    .how-steps-grid {
        grid-template-columns: 1fr;
    }

    .how-features-grid {
        grid-template-columns: 1fr;
    }

    .how-benefits-grid {
        grid-template-columns: 1fr;
    }

    .how-serp-works-section {
        padding: 3rem 2rem;
    }

    .how-cta-section {
        padding: 3rem 2rem;
    }

    .how-cta-title {
        font-size: 2rem;
    }

    .how-faq-question {
        padding: 1.2rem 1.5rem;
    }

    .how-faq-answer {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
}
