/* ============================================
   HOW IT WORKS PAGE STYLES
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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.02'%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;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.page-badge svg {
    width: 18px;
    height: 18px;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* ============================================
   DE-RISK SECTION
   ============================================ */
.derisk-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

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

.derisk-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.derisk-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.derisk-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.derisk-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.derisk-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.derisk-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: 3px;
    opacity: 0.3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.phase-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
    position: relative;
}

.phase-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.timeline-header {
    margin-bottom: 16px;
}

.timeline-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-duration svg {
    width: 14px;
    height: 14px;
}

.timeline-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.timeline-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.timeline-deliverables {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
}

.timeline-deliverables h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.timeline-deliverables ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.timeline-deliverables li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-deliverables li svg {
    width: 18px;
    height: 18px;
    color: #22C55E;
    flex-shrink: 0;
}

/* ============================================
   WHAT YOU GET SECTION
   ============================================ */
.what-you-get {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.deliverable-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.deliverable-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.deliverable-card > svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.deliverable-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.deliverable-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SUPPORT SECTION
   ============================================ */
.support-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.support-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.support-list li svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.support-list li strong {
    color: var(--text-primary);
}

.support-image {
    display: flex;
    justify-content: center;
}

.support-visual {
    display: flex;
    gap: 24px;
}

.support-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    min-width: 160px;
    transition: all 0.3s ease;
}

.support-stat:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-visual {
        justify-content: center;
    }

    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .derisk-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 27px;
    }

    .timeline-item {
        grid-template-columns: 56px 1fr;
        gap: 20px;
    }

    .phase-number {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .phase-number::before {
        inset: -3px;
    }

    .timeline-header h3 {
        font-size: 1.25rem;
    }

    .timeline-deliverables ul {
        grid-template-columns: 1fr;
    }

    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .support-content h2 {
        font-size: 2rem;
    }

    .support-visual {
        flex-direction: column;
        align-items: center;
    }

    .support-stat {
        width: 100%;
        max-width: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.875rem;
    }

    .derisk-card {
        padding: 24px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-deliverables {
        padding: 16px;
    }

    .deliverable-card {
        padding: 24px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}