/* ============================================
   HOW IT WORKS PAGE SPECIFIC STYLES
   WiFiHapa - Platform Explanation Styles
   ============================================ */
/* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Section */
.how-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 48px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .how-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .how-hero {
        padding: 1.5rem;
    }

    .how-hero h1 {
        font-size: 1.8rem;
    }
}

/* Comparison Cards */
.comparison-card {
    border-radius: 28px;
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition, all 0.25s ease);
}

.comparison-card:hover {
    transform: translateY(-3px);
}

.before-card {
    background: var(--card-bg, white);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.after-card {
    background: var(--card-bg, white);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

body.dark .before-card,
body.dark .after-card {
    background: var(--card-bg, #1e2538);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comparison-badge {
    background: #dc3545;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.after-card .comparison-badge {
    background: #28a745;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #5e6f7d);
}

.comparison-list li i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Journey Headers */
.journey-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
}

.customer-header {
    background: #e4edff;
}

.owner-header {
    background: #fff3d6;
}

/* Step Cards */
.step-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    transition: var(--transition, all 0.25s ease);
    height: 100%;
    position: relative;
}

body.dark .step-card {
    background: var(--card-bg, #1e2538);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 12px 30px rgba(13, 110, 253, 0.08));
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(13, 110, 253, 0.1);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.2rem;
}

.step-icon {
    font-size: 1.8rem;
    color: #0d6efd;
    background: #e4edff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1.2rem;
}

body.dark .step-icon {
    background: #2a3448;
}

.step-icon-gold {
    background: #fff3d6;
    color: #d4a11e;
}

.step-icon-green {
    background: #e1f5e8;
    color: #198754;
}

.step-icon-red {
    background: #f8d7da;
    color: #dc3545;
}

.step-icon-teal {
    background: #d0e0e8;
    color: #0b2b40;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    padding-right: 1.5rem;
    color: var(--text-primary, #0a2c3d);
}

.step-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.step-badge {
    display: inline-block;
    background: var(--badge-light-bg, #f0f3fa);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-top: 1rem;
    color: var(--text-secondary, #5e6f7d);
}

/* Technical Note */
.tech-note {
    background: var(--badge-light-bg, #f8fafd);
    border-left: 6px solid #0d6efd;
    padding: 1.8rem;
    border-radius: 28px;
    margin: 2rem 0;
}

body.dark .tech-note {
    background: var(--badge-light-bg, #2a3448);
}

.tech-badge {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #5e6f7d);
}

.tech-list li i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.vlan-diagram {
    background: var(--card-bg, white);
    padding: 1.2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
}

/* Info Cards */
.info-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.05));
    height: 100%;
}

body.dark .info-card {
    background: var(--card-bg, #1e2538);
}

.info-badge {
    display: inline-block;
    background: #0b2b40;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.signal-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--badge-light-bg, #f0f3fa);
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.85rem;
}

body.dark .signal-item {
    background: var(--badge-light-bg, #2a3448);
}

.isp-item {
    background: var(--badge-light-bg, #f0f3fa);
    padding: 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
}

body.dark .isp-item {
    background: var(--badge-light-bg, #2a3448);
}

/* Enterprise Section */
.enterprise-section {
    background: linear-gradient(145deg, #0b2b40 0%, #0f3a4f 100%);
    border-radius: 32px;
    padding: 2rem;
    color: white;
    margin-top: 2rem;
}

.enterprise-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    margin-top: 2.5rem;
    text-align: center;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #0a2c3d);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary, #5e6f7d);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 1.2rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .tech-note {
        padding: 1.2rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    .enterprise-section {
        padding: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}