/* ============================================
   Compare - Billvate vs Wave Styles
   /assets/css/compare/billvate-vs-wave.css

   Styles ONLY for the /compare/billvate-vs-wave/
   page (.cwv- prefix). No other page loads this file.
   Colors reference the global public palette from
   public.css.
   ============================================ */

/* =================================
   PAGE LAYOUT
   ================================= */

.cwv-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.cwv-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 120px 0 56px;
    text-align: center;
}

.cwv-title {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}

.cwv-title span {
    color: var(--accent-light);
}

.cwv-intro {
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray-100);
}

/* =================================
   MATRIX
   ================================= */

.cwv-matrix-section {
    background: var(--white);
    padding: 48px 0;
}

.cwv-section-title {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.cwv-note {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.cwv-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cwv-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--white);
}

.cwv-table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--border);
    padding: 16px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.cwv-table tbody th {
    padding: 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    background: var(--gray-50);
}

.cwv-table tbody td {
    padding: 16px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.cwv-table tbody tr:last-child th,
.cwv-table tbody tr:last-child td {
    border-bottom: none;
}

/* =================================
   WIN BLOCKS
   ================================= */

.cwv-block {
    background: var(--gray-50);
    padding: 48px 0;
}

.cwv-block-alt {
    background: var(--white);
}

.cwv-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    max-width: 760px;
}

.cwv-list {
    margin: 0;
    padding: 0 0 0 20px;
    max-width: 760px;
}

.cwv-list li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cwv-list li strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* =================================
   CTA
   ================================= */

.cwv-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 56px 0;
    text-align: center;
}

.cwv-cta-title {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}

.cwv-cta-btn {
    display: inline-block;
    min-height: 44px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.cwv-cta-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.cwv-cta-note {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-100);
    margin: 16px 0 0;
}

/* =================================
   RESPONSIVE - Mobile First
   ================================= */

@media (min-width: 768px) {
    .cwv-hero {
        padding: 140px 0 72px;
    }

    .cwv-matrix-section,
    .cwv-block {
        padding: 64px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cwv-cta-btn {
        transition: none;
    }

    .cwv-cta-btn:hover {
        transform: none;
    }
}
