/* ==========================================================================
   SUITABLE EDGE - HOW IT WORKS PAGE CSS (PREMIUM EDITION)
   ========================================================================== */

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-main), var(--orange-light));
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.header-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--orange-light);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.page-header h1 .orange {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== STEPS SECTION ===== */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--gray-border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 0, 0.3);
}

.step-card:hover::before {
    opacity: 1;
}

.step-highlight {
    background: var(--orange-bg);
    border-color: var(--orange-light);
}

.step-highlight .step-number {
    color: var(--orange-main);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--gray-border);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.step-card:hover .step-number {
    color: var(--orange-main);
}

.step-icon {
    width: 72px;
    height: 72px;
    background: var(--orange-bg);
    color: var(--orange-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--orange-main);
    color: var(--white);
    transform: scale(1.05);
}

.step-highlight .step-icon {
    background: var(--orange-main);
    color: var(--white);
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-mid);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-bg);
    color: var(--orange-main);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.step-tag i {
    font-size: 0.85rem;
}

/* ===== CONNECTING LINE ===== */
.connecting-line {
    padding: 0 0 40px 0;
    background: var(--white);
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.line {
    flex: 1;
    height: 2px;
    background: var(--gray-border);
    position: relative;
}

.line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--orange-gradient);
    animation: lineGrow 2s ease forwards;
}

@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 100%; }
}

.line-dot {
    width: 48px;
    height: 48px;
    background: var(--orange-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.section-badge {
    display: inline-block;
    background: var(--orange-bg);
    color: var(--orange-main);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.section-title .orange {
    color: var(--orange-main);
}

.section-subtitle {
    color: var(--text-mid);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.08rem;
    font-weight: 400;
}

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

.benefit-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--gray-border);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 0, 0.3);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--orange-bg);
    color: var(--orange-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 60px 0;
    background: var(--primary-dark);
    border-top: 4px solid var(--orange-main);
    border-bottom: 4px solid var(--orange-main);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--orange-main);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-box .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 500;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
    border-top: 4px solid var(--orange-main);
    border-bottom: 4px solid var(--orange-main);
}

.cta-title {
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.cta-title .orange {
    color: var(--orange-main);
}

.cta-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    max-width: 700px;
    margin: 0 auto 38px;
    font-weight: 400;
}

.btn-cta {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .line-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step-card {
        padding: 32px 24px;
    }
    
    .step-number {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-desc {
        font-size: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 24px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stat-box .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .step-card {
        padding: 24px 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .stat-box .stat-number {
        font-size: 1.8rem;
    }
}