/* ========================================
   TECH COMPARISON SECTION - CREATIVE DESIGN
   ======================================== */
.tech-compare-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tech-compare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 350px;
    background: linear-gradient(135deg, var(--nc-navy, #001538) 0%, var(--nc-navy-deep, #00102A) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 0;
}

.tech-compare-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.tech-header {
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 184, 201, 0.15);
    color: var(--nc-teal, #1AB8C9);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(26, 184, 201, 0.3);
    animation: fadeInDown 0.6s ease-out;
}

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

.tech-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: 'Pinar-VF', sans-serif;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.tech-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Main Grid */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

/* Comparison Card */
.tech-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 21, 56, 0.08);
    border: 1px solid rgba(0, 21, 56, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.tech-card:nth-child(1) { animation-delay: 0.3s; }
.tech-card:nth-child(2) { animation-delay: 0.4s; }

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 184, 201, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 21, 56, 0.12);
    border-color: rgba(26, 184, 201, 0.3);
}

/* Card Header */
.tech-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.tech-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--nc-navy, #001538) 0%, var(--nc-navy-deep, #00102A) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--nc-teal, #1AB8C9);
}

.tech-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nc-navy, #001538);
    margin: 0 0 6px 0;
    font-family: 'Pinar-VF', sans-serif;
}

.tech-card-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Comparison Bars */
.tech-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-bar-item {
    position: relative;
}

.tech-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tech-bar-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--nc-navy, #001538);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-bar-name .winner-badge {
    background: linear-gradient(135deg, var(--nc-teal, #1AB8C9) 0%, var(--nc-blue, #1654E0) 100%);
    color: #ffffff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 100px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.tech-bar-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--nc-navy, #001538);
    direction: ltr;
}

.tech-bar-track {
    height: 12px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.tech-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 0;
}

.tech-bar-fill.litespeed {
    background: linear-gradient(90deg, var(--nc-teal, #1AB8C9) 0%, var(--nc-blue, #1654E0) 100%);
}

.tech-bar-fill.nginx {
    background: linear-gradient(90deg, #3b82f6 0%, var(--nc-blue, #1654E0) 100%);
}

.tech-bar-fill.apache {
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}

.tech-bar-fill.nvme {
    background: linear-gradient(90deg, var(--nc-teal, #1AB8C9) 0%, var(--nc-blue, #1654E0) 100%);
}

.tech-bar-fill.ssd {
    background: linear-gradient(90deg, #3b82f6 0%, var(--nc-blue, #1654E0) 100%);
}

.tech-bar-fill.sata {
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}

.tech-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

/* Stats Row */
.tech-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px dashed #e5e7eb;
}

.tech-stat {
    text-align: center;
    padding: 16px 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-stat:hover {
    background: rgba(26, 184, 201, 0.1);
    transform: scale(1.02);
}

.tech-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--nc-teal, #1AB8C9);
    line-height: 1;
    margin-bottom: 6px;
    direction: ltr;
}

.tech-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Info Box */
.tech-info-box {
    background: linear-gradient(135deg, rgba(26, 184, 201, 0.08) 0%, rgba(26, 184, 201, 0.03) 100%);
    border: 1px solid rgba(26, 184, 201, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tech-info-box svg {
    width: 24px;
    height: 24px;
    color: var(--nc-teal, #1AB8C9);
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-info-box p {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    margin: 0;
}

/* Bottom CTA */
.tech-bottom-cta {
    text-align: center;
    margin-top: 60px;
    padding: 48px;
    background: linear-gradient(135deg, var(--nc-navy, #001538) 0%, var(--nc-navy-deep, #00102A) 100%);
    border-radius: 24px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.tech-bottom-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 184, 201, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.tech-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    font-family: 'Pinar-VF', sans-serif;
}

.tech-cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    position: relative;
}

.tech-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--nc-teal, #1AB8C9);
    color: var(--nc-navy, #001538);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.tech-cta-btn:hover {
  background: var(--nc-blue, #1654E0);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 73, 201, 0.4);
  }

.tech-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.tech-cta-btn:hover svg {
    transform: translateX(-4px);
}

/* Source Links */
.tech-sources {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    position: relative;
}

.tech-source-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    direction: ltr;
}

.tech-source-link:hover {
    color: var(--nc-teal, #1AB8C9);
    border-color: rgba(26, 184, 201, 0.3);
    background: rgba(26, 184, 201, 0.1);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 991px) {
    .tech-compare-section {
        padding: 80px 0;
    }

    .tech-compare-section::before {
        height: 350px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tech-title {
        font-size: 2rem;
    }

    .tech-card {
        padding: 32px;
    }

    .tech-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tech-stat-value {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .tech-compare-section {
        padding: 60px 0;
    }

    .tech-compare-section::before {
        height: 320px;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .tech-header {
        margin-bottom: 40px;
    }

    .tech-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .tech-desc {
        font-size: 15px;
    }

    .tech-card {
        padding: 24px;
        border-radius: 20px;
    }

    .tech-card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .tech-card-icon {
        width: 48px;
        height: 48px;
    }

    .tech-card-title {
        font-size: 18px;
    }

    .tech-stats-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .tech-stat {
        padding: 12px 8px;
    }

    .tech-stat-value {
        font-size: 18px;
    }

    .tech-stat-label {
        font-size: 10px;
    }

    .tech-info-box {
        padding: 16px;
    }

    .tech-info-box p {
        font-size: 13px;
    }

    .tech-bottom-cta {
        padding: 32px 20px;
        margin-top: 40px;
        border-radius: 20px;
    }

    .tech-cta-title {
        font-size: 20px;
    }

    .tech-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .tech-sources {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .tech-compare-section {
        padding: 50px 0;
    }

    .tech-compare-section .container {
        padding: 0 16px;
    }

    .tech-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .tech-title {
        font-size: 1.5rem;
    }

    .tech-card {
        padding: 20px;
    }

    .tech-bar-name {
        font-size: 13px;
    }

    .tech-bar-value {
        font-size: 12px;
    }

    .tech-bar-track {
        height: 10px;
    }
}
