/* ============================================
   CWV Comparison Cards — web-design.html
   ============================================ */
.cwv-header {
    text-align: center;
    margin-bottom: 2rem;
}
.cwv-header h2 {
    font-size: 2rem;
    font-weight: 700;
}
.cwv-header h2 span {
    color: #4EBFAB;
}
.cwv-header p {
    color: #666;
    max-width: 600px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}

.cwv-industry {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4EBFAB;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cwv-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 2rem;
}

.cwv-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cwv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.cwv-card.rek { border-top: 4px solid #4EBFAB; }
.cwv-card.wp { border-top: 4px solid #e0e0e0; }

.cwv-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.cwv-card-header .cwv-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}
.cwv-card.rek .cwv-tag { background: #e8f5f1; color: #2a7d6b; }
.cwv-card.wp .cwv-tag { background: #f5f5f5; color: #888; }
.cwv-card-header h3 { font-size: 1.1rem; font-weight: 700; }
.cwv-card-header .cwv-tech { font-size: 0.8rem; color: #999; }

.cwv-score { text-align: center; margin-bottom: 1.5rem; }
.cwv-score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}
.cwv-card:hover .cwv-score-circle {
    transform: scale(1.08);
}
.cwv-card.rek .cwv-score-circle {
    background: #e8f5f1;
    color: #2a7d6b;
    border: 3px solid #4EBFAB;
}
.cwv-score-circle.orange {
    background: #fff3e0;
    color: #e67700;
    border: 3px solid #ffa726;
}
.cwv-score-circle.red {
    background: #fce4ec;
    color: #cc0000;
    border: 3px solid #ef5350;
}
.cwv-score-label { font-size: 0.85rem; font-weight: 600; color: #333; }
.cwv-score-sublabel { font-size: 0.7rem; color: #aaa; }

.cwv-metric {
    display: flex;
    align-items: center;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.cwv-metric:hover {
    background: #fafafa;
}
.cwv-card.wp .cwv-metric:hover {
    background: #fef8f8;
}
.cwv-metric:last-child { border-bottom: none; }
.cwv-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.cwv-metric:hover .cwv-metric-icon {
    transform: scale(1.1);
}
.cwv-card.rek .cwv-metric-icon { background: #e8f5f1; color: #4EBFAB; }
.cwv-metric-icon.bad { background: #fce4ec; color: #cc0000; }
.cwv-metric-icon.ok { background: #fff3e0; color: #e67700; }
.cwv-metric-info { flex: 1; }
.cwv-metric-name { font-size: 0.85rem; font-weight: 600; color: #333; }
.cwv-metric-tech { font-size: 0.65rem; color: #bbb; }
.cwv-metric-value { font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.cwv-metric-value.green { color: #2a7d6b; }
.cwv-metric-value.red { color: #cc0000; }
.cwv-metric-value.orange { color: #e67700; }
.cwv-metric-badge {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 0.4rem;
    background: #fce4ec;
    color: #cc0000;
    vertical-align: middle;
    animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.cwv-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cwv-vs-badge {
    background: #02062f;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(2,6,47,0.3);
    transition: transform 0.3s ease;
}
.cwv-vs-badge:hover {
    transform: scale(1.15) rotate(5deg);
}

.cwv-source {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}

@media (max-width: 768px) {
    .cwv-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cwv-vs { display: none; }
    .cwv-card { padding: 1.5rem; }
    .cwv-card:hover { transform: none; }
    .cwv-score-circle { width: 80px; height: 80px; font-size: 1.6rem; }
}


/* ============================================
   SEO Comparison Cards — seo.html
   ============================================ */
.seo-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.seo-compare-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.seo-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.seo-compare-card.featured:hover {
    box-shadow: 0 8px 30px rgba(78,191,171,0.25);
}
.seo-compare-card.featured {
    border: 2px solid #4EBFAB;
    padding-top: 3rem;
}
.seo-compare-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #4EBFAB;
    color: #fff;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 700;
    padding: 0.35rem;
}

.seo-compare-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.seo-compare-card:hover .seo-compare-card-icon {
    transform: scale(1.1);
}
.seo-compare-card.featured .seo-compare-card-icon { background: #e8f5f1; color: #4EBFAB; }
.seo-compare-card:not(.featured) .seo-compare-card-icon { background: #f5f5f5; color: #999; }

.seo-compare-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.seo-compare-card .seo-compare-subtitle { font-size: 0.8rem; color: #999; margin-bottom: 1.25rem; }

.seo-compare-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #f8f8f8;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.seo-compare-item:hover {
    background: #fafafa;
}
.seo-compare-card.featured .seo-compare-item:hover {
    background: #f0faf7;
}
.seo-compare-item:last-child { border-bottom: none; }
.seo-compare-item i {
    margin-top: 0.15rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.seo-compare-card.featured .seo-compare-item i { color: #4EBFAB; }
.seo-compare-card:not(.featured) .seo-compare-item i { color: #ccc; }
.seo-compare-item .seo-compare-label { font-size: 0.75rem; color: #999; }
.seo-compare-card.featured .seo-compare-item .seo-compare-val { font-weight: 600; color: #02062f; }
.seo-compare-card:not(.featured) .seo-compare-item .seo-compare-val { color: #666; }

@media (max-width: 768px) {
    .seo-compare-grid {
        grid-template-columns: 1fr;
    }
    /* Show REK card first on mobile */
    .seo-compare-card.featured { order: -1; }
    .seo-compare-card { padding: 1.5rem; }
    .seo-compare-card.featured { padding-top: 2.5rem; }
    .seo-compare-card:hover { transform: none; }
}


/* ============================================
   Custom vs Templates Cards — web-design.html
   ============================================ */
.cvt-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cvt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.cvt-card.custom:hover {
    box-shadow: 0 8px 30px rgba(78,191,171,0.25);
}
.cvt-card.templates { border-top: 4px solid #e0e0e0; }
.cvt-card.custom { border-top: 4px solid #4EBFAB; }

.cvt-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.cvt-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}
.cvt-card.templates .cvt-tag { background: #f5f5f5; color: #888; }
.cvt-card.custom .cvt-tag { background: #e8f5f1; color: #2a7d6b; }
.cvt-card-header h3 { font-size: 1.1rem; font-weight: 700; }
.cvt-card-header .cvt-tech { font-size: 0.8rem; color: #999; }

.cvt-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f5f5f5;
    gap: 0.75rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.cvt-item:hover {
    background: #fafafa;
}
.cvt-card.custom .cvt-item:hover {
    background: #f0faf7;
}
.cvt-card.templates .cvt-item:hover {
    background: #fef8f8;
}
.cvt-item:last-child { border-bottom: none; }

.cvt-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: transform 0.2s ease;
}
.cvt-item:hover .cvt-item-icon {
    transform: scale(1.1);
}
.cvt-item-icon.green { background: #e8f5f1; color: #4EBFAB; }
.cvt-item-icon.red { background: #fce4ec; color: #cc0000; }

.cvt-item-content { flex: 1; }
.cvt-item-title { font-size: 0.85rem; font-weight: 600; color: #333; margin-bottom: 0.15rem; }
.cvt-item-desc { font-size: 0.75rem; color: #999; line-height: 1.4; }

.cvt-indicator { flex-shrink: 0; font-size: 1rem; margin-top: 0.25rem; }
.cvt-indicator.green { color: #4EBFAB; }
.cvt-indicator.red { color: #ccc; }

@media (max-width: 768px) {
    .cvt-card { padding: 1.5rem; }
    .cvt-card:hover { transform: none; }
    .cvt-item-desc { display: none; }
}


/* ============================================
   SEO Results Cards — seo.html
   ============================================ */
.seo-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.seo-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.seo-result-industry {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #4EBFAB;
    margin-bottom: 1rem;
}

.seo-result-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0;
    border: 1px solid #f0f0f0;
}

.seo-result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #02062f;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.seo-result-metric {
    font-size: 0.9rem;
    font-weight: 600;
    color: #02062f;
    margin-bottom: 0.75rem;
}

.seo-result-context {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.seo-result-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #e8f5f1;
    color: #2a7d6b;
}

@media (max-width: 768px) {
    .seo-result-card { padding: 1.25rem; }
    .seo-result-card:hover { transform: none; }
    .seo-result-number { font-size: 2rem; }
}


/* ============================================
   Lightbox — seo.html result images
   ============================================ */
.seo-result-img-wrap {
    position: relative;
    cursor: pointer;
    margin-bottom: 1.25rem;
}
.seo-result-img-wrap:hover .seo-result-img {
    border-color: #4EBFAB;
    box-shadow: 0 2px 12px rgba(78,191,171,0.2);
}
.seo-result-img-wrap:hover .seo-result-zoom-hint {
    opacity: 1;
}

.seo-result-zoom-hint {
    font-size: 0.7rem;
    color: #4EBFAB;
    margin-top: 0.4rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-align: center;
}

.seo-result-img {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.seo-lightbox.active {
    display: flex;
}

.seo-lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.seo-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}
.seo-lightbox-close:hover {
    background: rgba(255,255,255,0.15);
}


/* ============================================
   SEO Stat Card — seo.html "What SEO Really Is"
   ============================================ */
.seo-stat-card {
    background: #02062f;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.seo-stat-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(78,191,171,0.1);
}
.seo-stat-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(78,191,171,0.06);
}

.seo-stat-content {
    position: relative;
    z-index: 1;
}

.seo-stat-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.seo-stat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.seo-stat-dot.filled {
    background: #4EBFAB;
}
.seo-stat-dot.empty {
    background: rgba(255,255,255,0.15);
}

.seo-stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.seo-stat-number span {
    color: #4EBFAB;
}

.seo-stat-caption {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.seo-stat-divider {
    width: 60px;
    height: 3px;
    background: #4EBFAB;
    margin: 1rem auto;
    border-radius: 2px;
}

.seo-stat-tagline {
    font-size: 0.95rem;
    color: #4EBFAB;
    font-weight: 700;
}

.seo-stat-source {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .seo-stat-card { padding: 2rem 1.5rem; }
    .seo-stat-number { font-size: 3.5rem; }
    .seo-stat-caption { font-size: 1rem; }
}
