/* ITM Hosting — Neden Bizi Seçmelisiniz (itm-hwhy) v2 */

#home .itm-hwhy {
    --hwhy-ink: #f8fafc;
    --hwhy-muted: rgba(226, 232, 240, 0.72);
    --hwhy-glass: rgba(255, 255, 255, 0.06);
    --hwhy-glass-border: rgba(255, 255, 255, 0.1);
    --hwhy-radius: 22px;

    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(72px, 9vw, 108px) clamp(16px, 4vw, 28px) clamp(104px, 12vw, 148px);
    background: linear-gradient(165deg, #070b14 0%, #0f172a 38%, #1e1b4b 100%);
    overflow: hidden;
}

#home .itm-hwhy__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#home .itm-hwhy__mesh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
}

#home .itm-hwhy__mesh-glow--1 {
    width: 50vw;
    max-width: 560px;
    height: 50vw;
    max-height: 560px;
    top: -20%;
    left: -10%;
    background: rgba(37, 99, 235, 0.28);
}

#home .itm-hwhy__mesh-glow--2 {
    width: 42vw;
    max-width: 480px;
    height: 42vw;
    max-height: 480px;
    bottom: -25%;
    right: -8%;
    background: rgba(124, 58, 237, 0.22);
}

#home .itm-hwhy__mesh-dots {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 72%);
}

#home .itm-hwhy__container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

/* — Header — */
#home .itm-hwhy__header {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px 40px;
    align-items: end;
    margin-bottom: 48px;
}

#home .itm-hwhy__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd !important;
}

#home .itm-hwhy__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

#home .itm-hwhy__header h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.06 !important;
    color: var(--hwhy-ink) !important;
}

#home .itm-hwhy__header p {
    margin: 0 !important;
    max-width: 38ch;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: var(--hwhy-muted) !important;
}

#home .itm-hwhy__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#home .itm-hwhy__chip {
    min-width: 108px;
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
    background: var(--hwhy-glass);
    border: 1px solid var(--hwhy-glass-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#home .itm-hwhy__chip strong {
    display: block;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
}

#home .itm-hwhy__chip span {
    display: block;
    margin-top: 4px;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55) !important;
}

/* — Grid — */
#home .itm-hwhy__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

#home .itm-hwhy__card {
    position: relative;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding: 24px 24px 22px;
    border-radius: var(--hwhy-radius);
    background: var(--hwhy-glass);
    border: 1px solid var(--hwhy-glass-border);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

#home .itm-hwhy__card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

#home .itm-hwhy__card--spot {
    grid-column: 1 / -1;
    grid-row: span 1;
    min-height: 220px;
    padding: 28px 30px 26px;
    background:
        radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.22), transparent 42%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(79, 70, 229, 0.2) 100%);
    border-color: rgba(96, 165, 250, 0.28);
}

#home .itm-hwhy__card:nth-child(2) { grid-column: 1 / span 4; }
#home .itm-hwhy__card:nth-child(3) { grid-column: 5 / span 4; }
#home .itm-hwhy__card:nth-child(4) { grid-column: 9 / span 4; }
#home .itm-hwhy__card:nth-child(5) { grid-column: 1 / -1; }

#home .itm-hwhy__card-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    top: -50px;
    right: -40px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#home .itm-hwhy__card--blue .itm-hwhy__card-glow { background: #2563eb; }
#home .itm-hwhy__card--violet .itm-hwhy__card-glow { background: #7c3aed; }
#home .itm-hwhy__card--green .itm-hwhy__card-glow { background: #059669; }
#home .itm-hwhy__card--orange .itm-hwhy__card-glow { background: #ea580c; }
#home .itm-hwhy__card--pink .itm-hwhy__card-glow { background: #db2777; }
#home .itm-hwhy__card--indigo .itm-hwhy__card-glow { background: #4f46e5; }

#home .itm-hwhy__card:hover .itm-hwhy__card-glow {
    opacity: 0.45;
}

#home .itm-hwhy__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

#home .itm-hwhy__card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s ease, background 0.35s ease;
}

#home .itm-hwhy__card:hover .itm-hwhy__card-icon {
    transform: scale(1.06) rotate(-3deg);
    background: rgba(255, 255, 255, 0.14);
}

#home .itm-hwhy__card--blue .itm-hwhy__card-icon { color: #60a5fa; box-shadow: 0 0 24px rgba(37, 99, 235, 0.35); }
#home .itm-hwhy__card--violet .itm-hwhy__card-icon { color: #a78bfa; box-shadow: 0 0 24px rgba(124, 58, 237, 0.35); }
#home .itm-hwhy__card--green .itm-hwhy__card-icon { color: #34d399; box-shadow: 0 0 24px rgba(5, 150, 105, 0.35); }
#home .itm-hwhy__card--orange .itm-hwhy__card-icon { color: #fb923c; box-shadow: 0 0 24px rgba(234, 88, 12, 0.35); }
#home .itm-hwhy__card--pink .itm-hwhy__card-icon { color: #f472b6; box-shadow: 0 0 24px rgba(219, 39, 119, 0.35); }
#home .itm-hwhy__card--indigo .itm-hwhy__card-icon { color: #818cf8; box-shadow: 0 0 24px rgba(79, 70, 229, 0.35); }

#home .itm-hwhy__card-stat {
    text-align: right;
    margin-left: auto;
}

#home .itm-hwhy__card-stat strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

#home .itm-hwhy__card-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55) !important;
}

#home .itm-hwhy__card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.015em !important;
    color: var(--hwhy-ink) !important;
}

#home .itm-hwhy__card--spot h3 {
    font-size: 1.35rem !important;
}

#home .itm-hwhy__card p {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
    color: var(--hwhy-muted) !important;
}

#home .itm-hwhy__card--spot p {
    max-width: none;
}

/* — Responsive — */
@media (max-width: 1024px) {
    #home .itm-hwhy__header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #home .itm-hwhy__chips {
        justify-content: flex-start;
    }

    #home .itm-hwhy__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #home .itm-hwhy__card,
    #home .itm-hwhy__card--spot,
    #home .itm-hwhy__card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    #home .itm-hwhy__card--spot {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    #home .itm-hwhy {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #home .itm-hwhy__header {
        margin-bottom: 32px;
    }

    #home .itm-hwhy__chips {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    #home .itm-hwhy__chip {
        min-width: 0;
        padding: 12px 10px;
    }

    #home .itm-hwhy__chip strong {
        font-size: 1.1rem !important;
    }

    #home .itm-hwhy__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #home .itm-hwhy__card {
        min-height: 0;
        padding: 20px 18px 18px;
    }

    #home .itm-hwhy__card--spot {
        padding: 22px 20px 20px;
    }
}

html.itm-dark-mode #home .itm-hwhy {
    background: linear-gradient(165deg, #030508 0%, #0a0f18 42%, #100e22 100%) !important;
}

html.itm-dark-mode #home .itm-hwhy__chip,
html.itm-dark-mode #home .itm-hwhy__card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.itm-dark-mode #home .itm-hwhy__card--spot {
    background:
        radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.15), transparent 42%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(79, 70, 229, 0.12) 100%) !important;
}
