/* --- DEEP DIVE SECTION --- */
.deep-dive-section {
    background-color: #0f172a; /* Темно-синій фон */
    padding: 100px 0;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.badge-pill {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Blocks (Zig-Zag) */
.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-info {
    flex: 1;
}

.feature-visual {
    flex: 1.2;
}

/* Typography in Features */
.feature-icon-wrapper {
    width: 80px; height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 3rem;
}

.feature-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #f8fafc;
}

.feature-subtitle {
    font-size: 1.2rem;
    color: #60a5fa; /* Blue-400 */
    margin-bottom: 25px;
    font-weight: 500;
}

.feature-info p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Benefits Grid (Checklist style) */
.benefits-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-item .check {
    /* Стиль для цифр 1, 2, 3 */
    background: #1e293b;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    width: 24px; height: 24px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
    font-family: monospace;
}

.benefit-item strong { color: #f1f5f9; display: block; margin-bottom: 4px; }
.benefit-item p { margin: 0; font-size: 0.95rem; color: #94a3b8; }

.metrics-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.metrics-tags span {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* --- VISUAL MOCKUPS (UI WINDOW BASE) --- */
.ui-window, .app-window {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3), 
        0 8px 10px -6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.ui-window:hover, .app-window:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.ui-header, .window-bar {
    height: 45px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
}

.ui-dots, .dots {
    display: flex; gap: 6px;
}
.ui-dots span, .dots span { 
    display: block; width: 10px; height: 10px; border-radius: 50%; background: #475569; 
}
.ui-dots span:nth-child(1) { background: #ef4444; }
.ui-dots span:nth-child(2) { background: #f59e0b; }
.ui-dots span:nth-child(3) { background: #22c55e; }

.ui-title {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.window-content {
    padding: 20px;
    min-height: 250px;
}

/* === NEW SCIENTIFIC ROSTER TABLE (With Blurred Data Stream) === */

.sci-table-header {
    display: grid;
    /* Grid: ID | Name | Pos | [BLURRED DATA ZONE] | Rtg */
    grid-template-columns: 30px 1.8fr 50px 3fr 50px; /* 3fr allocated for data stream */
    gap: 15px;
    padding: 12px 20px;
    background: #151f32;
    border-bottom: 1px solid #334155;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    align-items: center;
}

.sci-table-body {
    background: #1e293b;
}

.sci-row {
    display: grid;
    /* Match the header grid exactly */
    grid-template-columns: 30px 1.8fr 50px 3fr 50px; 
    gap: 15px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.2s;
}

.sci-row:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* Data Header Style (The "40+ Data Points" box) */
.c-data-header {
    text-align: center;
    letter-spacing: 2px;
    color: #475569;
    font-size: 0.65rem;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(51, 65, 85, 0.1) 10px,
      rgba(51, 65, 85, 0.1) 20px
    );
    border-radius: 4px;
    padding: 4px 0;
    border: 1px dashed rgba(51, 65, 85, 0.3);
}

/* === THE BLURRED METRICS ZONE === */
.metrics-blur-zone {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.5; /* Default transparency */
    
    /* Magic Mask: Fades out left and right edges */
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    
    /* Slight blur for "stream" effect */
    filter: blur(0.5px);
    user-select: none;
    cursor: default;
}

.metrics-blur-zone span {
    font-family: 'Courier New', monospace; /* Monospaced for data look */
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.03);
    padding: 2px 4px;
    border-radius: 2px;
    min-width: 18px;
    text-align: center;
}

/* Hover Effect: Sharpen data on row hover */
.sci-row:hover .metrics-blur-zone {
    opacity: 1;
    filter: blur(0);
    transition: all 0.3s ease;
}

/* Other Columns */
.c-id { color: #475569; font-size: 0.85rem; }

.c-pl { display: flex; align-items: center; gap: 12px; }
.c-pl .avt { 
    width: 32px; height: 32px; background: #334155; border-radius: 6px; 
    color: #94a3b8; font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.c-pl .name { display: block; color: #f1f5f9; font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.c-pl .sub { display: block; color: #64748b; font-size: 0.75rem; }

.c-pos .badge { 
    padding: 3px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-align: center; display: inline-block; min-width: 30px; 
}
.badge.gk { background: #f59e0b; color: #000; }
.badge.def { background: #3b82f6; color: #fff; }
.badge.mid { background: #22c55e; color: #000; }
.badge.fwd { background: #ef4444; color: #fff; }

/* Rating Badge (Pop-out style) */
.c-ovr { 
    font-weight: 800; font-size: 0.9rem; text-align: center;
    background: #0f172a; padding: 4px 0; border-radius: 4px; border: 1px solid #334155; color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 2;
}
.c-ovr.high { color: #22c55e; border-color: rgba(34, 197, 94, 0.3); }
.c-ovr.med { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }


/* --- LEGACY MOCKUPS (Radar/Compare) --- */
.radar-view { position: relative; display: flex; align-items: center; justify-content: center; height: 300px; }
.radar-bg {
    width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid #334155;
    background: radial-gradient(circle, transparent 20%, #334155 21%, transparent 22%, transparent 40%, #334155 41%, transparent 42%, transparent 60%, #334155 61%, transparent 62%, transparent 80%, #334155 81%, transparent 82%);
}
.radar-shape {
    position: absolute; width: 140px; height: 160px;
    background: rgba(59, 130, 246, 0.4);
    border: 2px solid #3b82f6;
    clip-path: polygon(50% 0%, 100% 25%, 85% 100%, 15% 100%, 0% 25%);
    animation: pulseRadar 3s infinite;
}
.radar-label { position: absolute; color: #94a3b8; font-size: 0.8rem; font-weight: bold; }
.radar-label.top { top: 20px; } .radar-label.bottom { bottom: 20px; }
.radar-label.left { left: 40px; } .radar-label.right { right: 40px; }

@keyframes pulseRadar {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.compare-view { display: flex; flex-direction: column; gap: 15px; }
.compare-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.p-card { background: #334155; padding: 5px 10px; border-radius: 6px; font-size: 0.85rem; color: #fff; }
.p-card.blue { border-bottom: 2px solid #3b82f6; }
.p-card.red { border-bottom: 2px solid #ef4444; }
.vs { color: #94a3b8; font-weight: bold; }
.c-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lbl { width: 80px; text-align: center; color: #94a3b8; font-size: 0.8rem; }
.val { height: 8px; border-radius: 4px; }
.val.left { background: #3b82f6; flex: 1; transform-origin: right; }
.val.right { background: #ef4444; flex: 1; transform-origin: left; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-block, .feature-block.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .sci-table-header, .sci-row {
        /* On mobile: Collapse the data zone to make it readable */
        grid-template-columns: 30px 1fr 40px 1fr 40px; 
    }
    /* Make the blur zone smaller but still visible on mobile */
    .metrics-blur-zone {
        mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
}