/* ========================================
   How It Works Page Specific Styles
======================================== */

/* Page Hero Section */
.page-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    font-family: 'Heebo', sans-serif;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 30px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.primary:hover {
    transform: scale(1.08) translateY(-3px);
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border-color: white;
    box-shadow:
        0 10px 40px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.4),
        inset 0 0 20px rgba(102, 126, 234, 0.1);
}

.cta-btn.primary:active {
    transform: scale(0.98);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    transform: scale(1.08) translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: white;
    box-shadow:
        0 10px 40px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.4);
}

.cta-btn.secondary:active {
    transform: scale(0.98);
}

/* Active Navigation Link - desktop only */
@media (min-width: 769px) {
    .nav-link.active {
        color: white;
        font-weight: 700;
    }

    .nav-link.active::before {
        display: none;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
        padding: 0 20px;
    }

    .page-hero {
        padding: 120px 0 80px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .cta-section {
        text-align: center;
    }

    .cta-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 32px;
        text-align: center;
    }

    .cta-content p {
        font-size: 16px;
        padding: 0 20px;
        text-align: center;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
}
