/* ============================================
   Katman 2 index — premium istatistik şeridi + özellik başlıkları
   Koşul: hero’da .layer2-hero-banner
   ============================================ */

body:has(.layer2-hero-banner) .layer-premium-stats-box {
    background: linear-gradient(145deg,
            rgba(6, 14, 22, 0.94) 0%,
            rgba(10, 22, 32, 0.92) 48%,
            rgba(8, 18, 28, 0.94) 100%) !important;
    border: 1px solid rgba(45, 212, 191, 0.22) !important;
    border-radius: 20px !important;
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(6, 182, 212, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(18px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
}

body:has(.layer2-hero-banner) .layer-premium-stats-box::before {
    height: 2px !important;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(45, 212, 191, 0.65) 22%,
            rgba(56, 189, 248, 0.85) 50%,
            rgba(94, 234, 212, 0.65) 78%,
            transparent 100%) !important;
}

body:has(.layer2-hero-banner) .layer-premium-stats-box::after {
    background:
        radial-gradient(ellipse 52% 42% at 12% 22%, rgba(45, 212, 191, 0.12), transparent 55%),
        radial-gradient(ellipse 48% 44% at 90% 78%, rgba(56, 189, 248, 0.11), transparent 55%) !important;
}

body:has(.layer2-hero-banner) .layer-premium-stats-box:hover {
    border-color: rgba(45, 212, 191, 0.38) !important;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body:has(.layer2-hero-banner) .layer-premium-stat-item {
    background: linear-gradient(160deg,
            rgba(12, 24, 32, 0.9) 0%,
            rgba(8, 14, 22, 0.94) 100%) !important;
    border: 1px solid rgba(45, 212, 191, 0.14) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body:has(.layer2-hero-banner) .layer-premium-stat-item:hover {
    background: linear-gradient(160deg,
            rgba(16, 32, 42, 0.95) 0%,
            rgba(10, 18, 28, 0.96) 100%) !important;
    border-color: rgba(56, 189, 248, 0.38) !important;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.42),
        0 0 22px rgba(45, 212, 191, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body:has(.layer2-hero-banner) .layer-premium-stat-icon {
    background: linear-gradient(145deg,
            rgba(45, 212, 191, 0.14) 0%,
            rgba(56, 189, 248, 0.18) 100%) !important;
    border: 1px solid rgba(94, 234, 212, 0.28) !important;
    color: #a5f3fc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

body:has(.layer2-hero-banner) .layer-premium-stat-item:hover .layer-premium-stat-icon {
    background: linear-gradient(145deg,
            rgba(45, 212, 191, 0.26) 0%,
            rgba(56, 189, 248, 0.24) 100%) !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
    color: #ecfeff !important;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.22);
}

body:has(.layer2-hero-banner) .layer-premium-stat-number {
    background: linear-gradient(135deg, #ecfeff 0%, #5eead4 38%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body:has(.layer2-hero-banner) .layer-premium-stat-item:hover .layer-premium-stat-number {
    filter: brightness(1.08);
}

body:has(.layer2-hero-banner) .layer-premium-stat-label {
    color: rgba(165, 200, 210, 0.92) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body:has(.layer2-hero-banner) .layer-premium-stat-item:hover .layer-premium-stat-label {
    color: #f0fdfa !important;
}

/* Derinlemesine öğrenme yolu — Katman 0 “soyutlama merdiveni” tipi premium başlık bloğu */
.layer2-index-page .l2-index-features {
    position: relative;
}

.layer2-index-page .l2-features-intro-panel {
    position: relative;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
    padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.25rem, 3vw, 2rem);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(56, 189, 248, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background-color: rgba(6, 12, 22, 0.42);
    background-image:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 62%),
        linear-gradient(168deg, rgba(14, 22, 36, 0.28) 0%, rgba(4, 10, 18, 0.32) 100%);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.layer2-index-page .l2-index-features .l2-features-intro-panel .features-header {
    text-align: left;
    max-width: 52rem;
    margin: 0;
    margin-left: 0;
    margin-right: auto;
}

.layer2-index-page .l2-features-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.layer2-index-page .l2-features-eyebrow--muted {
    color: rgba(186, 230, 253, 0.78);
}

.layer2-index-page .l2-features-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #38bdf8, #a78bfa);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.layer2-index-page .l2-premium-features-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin: 0 0 1.1rem;
    text-align: left;
    max-width: 22ch;
}

.layer2-index-page .l2-premium-features-title-accent {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 35%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.layer2-index-page .l2-features-intro-panel .features-subtitle {
    text-align: left;
    max-width: 48rem;
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.7;
    color: rgba(186, 210, 218, 0.94);
}

/* Üç adım kartı — aynı premium kabuk; üst çizgide ince ton ayrımı */
.layer2-index-page .l2-index-features .feature-card {
    background: linear-gradient(155deg, rgba(14, 22, 32, 0.4) 0%, rgba(6, 10, 18, 0.44) 100%);
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(45, 212, 191, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.layer2-index-page .l2-index-features .feature-card-primary {
    border-top-color: rgba(56, 189, 248, 0.48);
}

.layer2-index-page .l2-index-features .feature-card-secondary {
    border-top-color: rgba(45, 212, 191, 0.48);
}

.layer2-index-page .l2-index-features .feature-card-accent {
    border-top-color: rgba(129, 140, 248, 0.48);
}

.layer2-index-page .l2-index-features .feature-card:hover,
.layer2-index-page .l2-index-features .feature-card-primary:hover,
.layer2-index-page .l2-index-features .feature-card-secondary:hover,
.layer2-index-page .l2-index-features .feature-card-accent:hover {
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(45, 212, 191, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.layer2-index-page .l2-index-features .feature-card-decoration {
    top: -28px;
    right: -28px;
    bottom: auto;
    left: auto;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(22px);
    transform: none;
}

.layer2-index-page .l2-index-features .feature-card-decoration-1 {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.38), rgba(45, 212, 191, 0.22));
}

.layer2-index-page .l2-index-features .feature-card-decoration-2 {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.32), rgba(56, 189, 248, 0.2));
}

.layer2-index-page .l2-index-features .feature-card-decoration-3 {
    top: -28px;
    right: -28px;
    left: auto;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.34), rgba(99, 102, 241, 0.22));
    transform: none;
}

.layer2-index-page .l2-index-features .feature-card-title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.layer2-index-page .l2-index-features .feature-card-primary .feature-card-title {
    background: linear-gradient(135deg, #f8fafc 0%, #99f6e4 40%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ccfbf1;
}

.layer2-index-page .l2-index-features .feature-card-secondary .feature-card-title {
    background: linear-gradient(135deg, #f8fafc 0%, #a5f3fc 36%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ecfeff;
}

.layer2-index-page .l2-index-features .feature-card-accent .feature-card-title {
    background: linear-gradient(135deg, #f8fafc 0%, #bae6fd 34%, #5eead4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #f0fdfa;
}

/* Journey — .container zaten yatay padding veriyor; .journey-content ikinci padding ile daralıyordu */
.layer2-index-page .journey-section .journey-content {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Journey — Katman 2 premium (features / l2dm ile aynı dil) */
.layer2-index-page .l2-journey {
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 212, 191, 0.06), transparent 55%),
        var(--bg-primary, #0a0a12);
}

.layer2-index-page .l2-journey::before,
.layer2-index-page .l2-journey::after {
    opacity: 0.45;
}

.layer2-index-page .l2-journey-header {
    text-align: left;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    max-width: 52rem;
}

.layer2-index-page .l2-journey-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(186, 230, 253, 0.78);
    margin: 0 0 0.85rem;
}

.layer2-index-page .l2-journey-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #2dd4bf);
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

.layer2-index-page .l2-journey-heading {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin: 0;
    max-width: 22ch;
}

.layer2-index-page .l2-journey-heading-accent {
    background: linear-gradient(135deg, #e0f2fe 0%, #5eead4 42%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.layer2-index-page .l2-journey .journey-text-block {
    background-color: rgba(4, 10, 18, 0.4);
    background-image: linear-gradient(155deg, rgba(12, 22, 30, 0.32) 0%, rgba(4, 10, 16, 0.36) 100%);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 20px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(45, 212, 191, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
}

.layer2-index-page .l2-journey .journey-text-block::before {
    height: 3px;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.85), rgba(56, 189, 248, 0.75), rgba(94, 234, 212, 0.8));
}

.layer2-index-page .l2-journey .journey-text-badge-primary {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(56, 189, 248, 0.1));
    color: #99f6e4;
    border-color: rgba(45, 212, 191, 0.3);
}

.layer2-index-page .l2-journey .journey-text-badge-secondary {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.1));
    color: #bae6fd;
    border-color: rgba(56, 189, 248, 0.28);
}

.layer2-index-page .l2-journey .journey-text-icon {
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.16), rgba(56, 189, 248, 0.14));
    border-color: rgba(94, 234, 212, 0.28);
}

.layer2-index-page .l2-journey .journey-text-icon i {
    color: #5eead4;
}

.layer2-index-page .l2-journey .journey-text-item:hover .journey-text-icon {
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.35), rgba(56, 189, 248, 0.3));
    border-color: rgba(125, 211, 252, 0.45);
}

.layer2-index-page .l2-journey .journey-text-item-title {
    background: linear-gradient(135deg, #f8fafc 0%, #bae6fd 55%, #5eead4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.layer2-index-page .l2-journey .journey-paragraph {
    color: rgba(186, 210, 218, 0.95);
}

.layer2-index-page .l2-journey .journey-paragraph strong {
    color: #e2e8f0;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(56, 189, 248, 0.1));
    border-radius: 6px;
}

.layer2-index-page .l2-journey .journey-divider-line {
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.25), transparent);
}

.layer2-index-page .l2-journey .journey-divider-icon {
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.15), rgba(56, 189, 248, 0.12));
    border-color: rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

.layer2-index-page .l2-journey .journey-future-block {
    background-color: rgba(6, 10, 22, 0.4);
    background-image: linear-gradient(165deg, rgba(16, 18, 40, 0.3) 0%, rgba(4, 10, 18, 0.36) 100%);
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: 20px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(129, 140, 248, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
}

.layer2-index-page .l2-journey .journey-future-block::before {
    height: 3px;
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.75), rgba(56, 189, 248, 0.8), rgba(45, 212, 191, 0.75));
}

.layer2-index-page .l2-journey .journey-future-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    background: linear-gradient(135deg, #f8fafc 0%, #c4b5fd 40%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.03em;
}

.layer2-index-page .l2-journey .journey-future-description {
    color: rgba(186, 210, 218, 0.94);
}

.layer2-index-page .l2-journey .journey-future-description strong {
    color: #a5f3fc;
}

.layer2-index-page .l2-journey .journey-future-features {
    border-top-color: rgba(45, 212, 191, 0.15);
}

.layer2-index-page .l2-journey .journey-future-feature {
    color: rgba(203, 213, 225, 0.95);
}

.layer2-index-page .l2-journey .journey-future-feature i {
    color: #5eead4;
}

/* l2dm / l2map — cam kabuk (sayfa ızgarası arkada kalsın) */
.layer2-index-page .l2dm-root {
    background: linear-gradient(168deg,
            rgba(6, 14, 22, 0.44) 0%,
            rgba(8, 18, 28, 0.4) 45%,
            rgba(10, 22, 32, 0.44) 100%);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(56, 189, 248, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.layer2-index-page .l2dm-axis {
    background: rgba(4, 12, 18, 0.42);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.layer2-index-page .l2dm-card {
    background: linear-gradient(155deg, rgba(10, 22, 30, 0.4) 0%, rgba(4, 10, 16, 0.45) 100%);
    backdrop-filter: blur(16px) saturate(155%);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
}

.layer2-index-page .l2map-rung {
    background: linear-gradient(155deg, rgba(10, 22, 30, 0.38), rgba(4, 12, 18, 0.44));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.layer2-index-page .l2map-rung--current {
    background: linear-gradient(155deg, rgba(12, 36, 40, 0.46), rgba(6, 20, 28, 0.5));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.layer2-index-page .l2map-table-wrap {
    background: linear-gradient(180deg, rgba(6, 14, 22, 0.34), rgba(4, 10, 16, 0.42));
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

@media (max-width: 768px) {
    .layer2-index-page .l2-journey-heading {
        font-size: 1.5rem;
        max-width: none;
    }
}
