/* =============================================
   COMPARISON PAGES STYLES - RED THEME
   Main comparison page and article layouts
   ============================================= */

/* ========================================
   COMPARE HERO SECTION
======================================== */

.compare-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: linear-gradient(135deg, #0D0D0D 0%, #1a0a0e 50%, #0D0D0D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 6rem;
    overflow: hidden;
}

.compare-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(221, 2, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(221, 2, 60, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(221, 2, 60, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.compare-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.compare-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #dd023c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dd023c;
    text-shadow: 0 0 20px rgba(221, 2, 60, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(221, 2, 60, 0.3), transparent);
}

/* ========================================
   COMPARISON CARDS SECTION
======================================== */

.comparison-cards-section {
    padding: 6rem 5%;
    background: #0D0D0D;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2.5rem;
}

.comparison-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.comparison-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(221, 2, 60, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dd023c, #b00230);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    z-index: 0;
}

.comparison-card:hover .card-glow {
    opacity: 0.15;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.provider-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(221, 2, 60, 0.2), rgba(176, 2, 48, 0.2));
    border-radius: 20px;
    font-size: 2.5rem;
    color: #dd023c;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.comparison-card:hover .provider-icon {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(221, 2, 60, 0.4);
}

/* Different icons for each provider */
.apex-icon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2)); color: #3b82f6; }
.pyro-icon { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2)); color: #ef4444; }
.bisect-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2)); color: #10b981; }
.gtx-icon { background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2)); color: #a855f7; }
.physgun-icon { background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(249, 115, 22, 0.2)); color: #fb923c; }
.iceline-icon { background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.2)); color: #60a5fa; }

.provider-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.provider-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Comparison Highlights */
.comparison-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(221, 2, 60, 0.2);
}

.highlight-item i {
    color: #dd023c;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.highlight-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.highlight-item strong {
    color: #dd023c;
    font-weight: 700;
}

/* Tech Preview */
.tech-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.tech-row {
    display: grid;
    grid-template-columns: 100px 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-row:last-child {
    border-bottom: none;
}

.tech-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.our-spec {
    font-size: 0.95rem;
    font-weight: 700;
    color: #dd023c;
    text-align: right;
}

.vs {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 0 0.5rem;
}

.their-spec {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

/* Read More Button */
.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #dd023c, #b00230);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(221, 2, 60, 0.5);
}

.read-more-btn i:last-child {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i:last-child {
    transform: translateX(4px);
}

/* ========================================
   METHODOLOGY SECTION
======================================== */

.methodology-section {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, #0D0D0D, #1a0a0e);
}

.methodology-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.methodology-container h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.methodology-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.methodology-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.methodology-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(221, 2, 60, 0.3);
}

.methodology-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(221, 2, 60, 0.2), rgba(176, 2, 48, 0.2));
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #dd023c;
    transition: all 0.3s ease;
}

.methodology-card:hover .methodology-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(221, 2, 60, 0.4);
}

.methodology-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.methodology-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
======================================== */

.compare-cta-section {
    padding: 6rem 5%;
    background: #0D0D0D;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(221, 2, 60, 0.1), rgba(176, 2, 48, 0.05));
    border: 1px solid rgba(221, 2, 60, 0.3);
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(221, 2, 60, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #dd023c, #b00230);
    color: white;
    box-shadow: 0 10px 30px rgba(221, 2, 60, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(221, 2, 60, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(221, 2, 60, 0.5);
}

.cta-button.secondary:hover {
    background: rgba(221, 2, 60, 0.1);
    border-color: #dd023c;
    transform: translateY(-2px);
}

.cta-button i:last-child {
    transition: transform 0.3s ease;
}

.cta-button:hover i:last-child {
    transform: translateX(4px);
}

/* ========================================
   COMPARISON ARTICLE PAGE
======================================== */

.article-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background: linear-gradient(135deg, #0D0D0D 0%, #1a0a0e 50%, #0D0D0D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

.article-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(221, 2, 60, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: #dd023c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff0044;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.article-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.article-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: #dd023c;
}

/* Article Content */
.article-content {
    padding: 4rem 5%;
    background: #0D0D0D;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Quick Summary Box */
.quick-summary {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(221, 2, 60, 0.1), rgba(176, 2, 48, 0.05));
    border: 1px solid rgba(221, 2, 60, 0.3);
    border-radius: 20px;
    margin-bottom: 4rem;
}

.quick-summary h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-summary h2 i {
    color: #dd023c;
}

.summary-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.summary-point i {
    color: #dd023c;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.summary-point div h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.summary-point div p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Tech Specs Comparison Table */
.specs-comparison {
    margin-bottom: 4rem;
}

.specs-comparison h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
}

.specs-table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.specs-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-header-row {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.specs-cell {
    padding: 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-cell:last-child {
    border-right: none;
}

.specs-header {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 1.25rem;
}

.specs-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.our-value {
    color: #dd023c;
    font-weight: 700;
    background: rgba(221, 2, 60, 0.05);
}

.winner-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #dd023c, #b00230);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

/* Article Sections */
.article-section {
    margin-bottom: 4rem;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.article-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.article-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.article-section li {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.article-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #dd023c;
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    padding: 2rem;
    background: rgba(221, 2, 60, 0.05);
    border-left: 4px solid #dd023c;
    border-radius: 12px;
    margin: 2rem 0;
}

.highlight-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.highlight-box strong {
    color: #dd023c;
}

/* Verdict Section */
.verdict-section {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(221, 2, 60, 0.1), rgba(176, 2, 48, 0.05));
    border: 1px solid rgba(221, 2, 60, 0.3);
    border-radius: 20px;
    margin-bottom: 4rem;
}

.verdict-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.verdict-section h2 i {
    color: #dd023c;
}

.verdict-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.verdict-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
    .comparison-container {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
    
    .specs-row {
        grid-template-columns: 160px 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .compare-hero {
        padding: 6rem 5% 4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 100px;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(221, 2, 60, 0.3), transparent);
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    .tech-row {
        grid-template-columns: 80px 1fr;
        gap: 0.5rem;
    }
    
    .vs,
    .their-spec {
        display: none;
    }
    
    .our-spec {
        text-align: left;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Article responsive */
    .specs-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .specs-cell {
        text-align: left;
        padding: 0.75rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .specs-cell:last-child {
        border-bottom: none;
    }
    
    .specs-header-row {
        display: none;
    }
    
    .specs-cell::before {
        content: attr(data-label);
        font-weight: 700;
        display: block;
        margin-bottom: 0.25rem;
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .specs-label::before {
        display: none;
    }
    
    .summary-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .provider-info h3 {
        font-size: 1.5rem;
    }
    
    .comparison-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .tech-preview {
        padding: 1rem;
    }
    
    .article-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quick-summary,
    .verdict-section {
        padding: 1.5rem;
    }
}