/* =================================================================
   VERTICAL PAGE STYLES
   Extends pitch.css for individual vertical pages
   ================================================================= */

/* =================================================================
   VERTICAL HERO
   ================================================================= */

.vertical-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vertical-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.vertical-hero .hero-subtitle {
    font-size: 1.15rem;
    max-width: 650px;
}

/* =================================================================
   PROBLEM SECTION
   ================================================================= */

.problem-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =================================================================
   PROCESS SECTION - THE CUSTOMER FLOW
   ================================================================= */

.process-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.process-timeline {
    margin-top: 3rem;
    position: relative;
}

/* Vertical line connecting steps */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--gold-primary) 0%, 
        var(--gold-dark) 50%, 
        var(--gold-primary) 100%);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bg-primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.step-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.step-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.step-action h4,
.step-outcome h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.step-action ul,
.step-outcome ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-action li,
.step-outcome li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-action li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

.step-outcome li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

.step-outcome li strong {
    color: var(--text-primary);
}

.step-time {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--gold-muted);
    font-weight: 500;
}

/* =================================================================
   DEPLOYMENT SECTION
   ================================================================= */

.deployment-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.deployment-diagram {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.deployment-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    width: 380px;
    transition: all 0.3s ease;
}

.deployment-box:hover {
    box-shadow: var(--shadow-gold);
}

.deployment-box h3 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.your-side {
    border-color: var(--gold-primary);
}

.your-side h3 {
    color: var(--gold-primary);
    border-color: var(--border-gold);
}

.our-side h3 {
    color: var(--text-secondary);
}

.deployment-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deployment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.deployment-item .check {
    color: var(--gold-primary);
    font-size: 1.25rem;
    font-weight: bold;
}

.deployment-item .arrow {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.deployment-item .x {
    color: #ef4444;
    font-size: 1.25rem;
    font-weight: bold;
}

.deployment-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.deployment-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.deployment-item.blocked {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.deployment-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.deployment-divider span {
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.divider-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
}

.deployment-note {
    text-align: center;
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.deployment-note strong {
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* =================================================================
   COMPLIANCE SECTION
   ================================================================= */

.compliance-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.compliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    border-color: var(--gold-primary);
}

.compliance-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

.compliance-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 900px) {
    .step-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deployment-diagram {
        flex-direction: column;
        align-items: center;
    }
    
    .deployment-box {
        width: 100%;
        max-width: 400px;
    }
    
    .deployment-divider {
        flex-direction: row;
        padding: 1rem 0;
    }
    
    .deployment-divider span {
        writing-mode: horizontal-tb;
    }
    
    .divider-line {
        width: 60px;
        height: 2px;
    }
    
    /* Ensure boxes don't stack awkwardly */
    .deployment-items {
        gap: 0.75rem;
    }
    
    .deployment-item {
        padding: 0.875rem;
    }
}

@media (max-width: 600px) {
    .process-timeline::before {
        left: 24px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
}
