/* pages/how_it_works.css - How It Works page specific styles */

/* --- color tokens for girlie cyberpunk neon theme --- */
:root {
  --bg: #071226;                 /* deep navy/black */
  --panel: linear-gradient(135deg, rgba(22,6,38,0.9), rgba(8,18,42,0.9));
  --neon-pink: #ff1493;          /* deep pink */
  --neon-magenta: #ff2db4;       /* hot magenta */
  --neon-cyan: #00f0ff;          /* bright cyan */
  --neon-purple: #9d4edd;        /* vibrant purple */
  --neon-lime: #39ff14;          /* electric lime */
  --neon-orange: #ff6b35;        /* bright orange */
  --muted: rgba(255,255,255,0.75);
  --glass: rgba(255,255,255,0.03);
  --shadow-neon: 0 8px 32px rgba(255,20,147,0.15), 0 0 48px rgba(0,240,255,0.1) inset;
  --glow-pink: 0 0 20px rgba(255,20,147,0.6), 0 0 40px rgba(255,20,147,0.4), 0 0 60px rgba(255,20,147,0.2);
  --glow-magenta: 0 0 20px rgba(255,45,180,0.6), 0 0 40px rgba(255,45,180,0.4), 0 0 60px rgba(255,45,180,0.2);
  --glow-cyan: 0 0 20px rgba(0,240,255,0.6), 0 0 40px rgba(0,240,255,0.4), 0 0 60px rgba(0,240,255,0.2);
  --glow-purple: 0 0 20px rgba(157,78,221,0.6), 0 0 40px rgba(157,78,221,0.4), 0 0 60px rgba(157,78,221,0.2);
  --glow-lime: 0 0 20px rgba(57,255,20,0.6), 0 0 40px rgba(57,255,20,0.4), 0 0 60px rgba(57,255,20,0.2);
  --glass-border: rgba(255,20,147,0.2);
  --radius: 16px;
  --font-heading: "Orbitron", "Valorax", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-body: "Rajdhani", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.how-it-works-header {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.95), rgba(42, 15, 84, 0.9), rgba(157, 78, 221, 0.3));
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-lime), var(--neon-cyan), var(--neon-purple)) 1;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow:
        0 0 40px rgba(57, 255, 20, 0.4),
        0 0 80px rgba(0, 240, 255, 0.3),
        0 0 120px rgba(157, 78, 221, 0.2),
        inset 0 0 60px rgba(157, 78, 221, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.how-it-works-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(57,255,20,0.1), transparent, rgba(0,240,255,0.1), transparent);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

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

.page-title {
    font-family: 'Valorax', 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-lime), var(--neon-cyan), var(--neon-purple), var(--neon-magenta));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow:
        0 0 20px rgba(57, 255, 20, 0.8),
        0 0 40px rgba(0, 240, 255, 0.6),
        0 0 60px rgba(157, 78, 221, 0.4);
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    z-index: 2;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-top: 15px;
    text-shadow: var(--glow-cyan);
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Steps Section */
.steps-section {
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.step-card {
    background: var(--panel);
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple)) 1;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,240,255,0.05), rgba(157,78,221,0.05));
    pointer-events: none;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.4),
        0 0 60px rgba(157, 78, 221, 0.3);
    border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-lime)) 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.bonus-note {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(57,255,20,0.1);
    border: 1px solid rgba(57,255,20,0.3);
    border-radius: 10px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.bonus-badge {
    color: var(--neon-lime);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(57,255,20,0.6);
}

/* FAQ Section */
.faq-section {
    background: var(--panel);
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-pink), var(--neon-magenta)) 1;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-neon);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,20,147,0.05), rgba(255,45,180,0.05));
    pointer-events: none;
}

.faq-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255,20,147,0.5);
    position: relative;
    z-index: 2;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255,20,147,0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255,20,147,0.3);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--neon-magenta);
    font-size: 1.2rem;
    margin: 0 0 12px 0;
    font-family: var(--font-body);
    font-weight: 600;
}

.faq-item p {
    color: var(--muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Terms Section */
.terms-section {
    background: var(--panel);
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-orange), var(--neon-pink)) 1;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-neon);
    position: relative;
    overflow: hidden;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,107,53,0.05), rgba(255,20,147,0.05));
    pointer-events: none;
}

.terms-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255,107,53,0.5);
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.terms-group {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,107,53,0.2);
}

.terms-group:hover {
    border-color: var(--neon-orange);
    box-shadow: 0 0 15px rgba(255,107,53,0.2);
}

.terms-group h3 {
    color: var(--neon-orange);
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-family: var(--font-body);
    font-weight: 600;
}

.terms-group p {
    color: var(--muted);
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.terms-group ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-group li {
    margin-bottom: 8px;
    color: var(--muted);
    font-family: var(--font-body);
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .how-it-works-header, .steps-section, .faq-section, .terms-section {
        padding: 24px;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        padding: 20px;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-section h2, .terms-section h2 {
        font-size: 2rem;
    }

    .terms-group {
        padding: 15px;
    }
}

/* Desktop view: center content */
@media (min-width: 769px) {
    .steps-grid,
    .faq-grid {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
    }
}