/* ITM Hosting — Sunucu sayfası hero v1.2 (light rack + flush header) */

.itm-server-hero {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

/* Header ile bitişik — wisecp .header padding/margin boşluğunu kapat */
.master-nav-wrapper:has(.itm-server-hero) .header.master-header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.master-nav-wrapper:has(.itm-server-hero) .header.master-header > .clear,
.master-nav-wrapper:has(.itm-server-hero) .header.master-header > .headerwhite {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.master-nav-wrapper:has(.itm-server-hero) .header.master-header .itm-header-sticky {
    border-bottom: none !important;
    box-shadow: none !important;
}

.master-nav-wrapper:has(.itm-server-hero) > .clear {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle.itm-section-head > h1,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle:first-of-type > h1,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle.itm-section-head > .itm-pakettitle-heading,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle:first-of-type > .itm-pakettitle-heading,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle.itm-section-head > h2,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle:first-of-type > h2 {
    display: none;
}

body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle.itm-section-head,
body.master-theme:not(.master-panel):has(.itm-server-hero) .master-main > #wrapper > .pakettitle:first-of-type {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.itm-server-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.itm-server-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    animation: itmServerOrbFloat 12s ease-in-out infinite;
}

.itm-server-hero-orb--1 {
    width: 380px;
    height: 380px;
    top: -100px;
    left: -60px;
    background: rgba(14, 165, 233, 0.18);
}

.itm-server-hero-orb--2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    right: 8%;
    background: rgba(99, 102, 241, 0.12);
    animation-delay: -4s;
}

.itm-server-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
}

.itm-server-hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.25);
    animation: itmServerScan 6s linear infinite;
    opacity: 0.55;
}

@keyframes itmServerOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 16px) scale(1.06); }
}

@keyframes itmServerScan {
    0% { top: -2px; opacity: 0; }
    8% { opacity: 0.55; }
    92% { opacity: 0.55; }
    100% { top: 100%; opacity: 0; }
}

.itm-server-hero-wrap {
    position: relative;
    z-index: 2;
    width: min(1200px, 94vw) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 48px 16px 28px !important;
    float: none !important;
}

.itm-server-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ─── Light mode copy ─── */
.itm-server-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #0284c7 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.itm-server-hero-copy h1,
.itm-server-hero-copy .itm-server-hero-heading {
    margin: 0 0 14px !important;
    font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    color: #0f172a !important;
    text-shadow: none !important;
    float: none !important;
    text-align: left !important;
}

.itm-server-hero-lead {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 520px;
}

.itm-server-hero .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 22px;
    color: #94a3b8;
    font-size: 13px;
    text-align: left !important;
    float: none !important;
}

.itm-server-hero .breadcrumb a {
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

.itm-server-hero .breadcrumb a:hover {
    color: #0284c7 !important;
}

.itm-server-hero .breadcrumb i.fa {
    color: #cbd5e1;
    font-size: 10px;
}

.itm-server-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.itm-server-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.itm-server-hero-pill i {
    color: #0ea5e9;
    font-size: 13px;
}

/* ─── Server rack visual ─── */
.itm-server-hero-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itm-server-rack {
    position: relative;
    width: 220px;
    padding: 12px 14px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    animation: itmServerRackFloat 5s ease-in-out infinite;
}

@keyframes itmServerRackFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.itm-server-rack-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.itm-server-rack-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    animation: itmLedPulse 2s ease-in-out infinite;
}

.itm-server-rack-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #64748b;
    flex: 1;
}

.itm-server-rack-net {
    display: flex;
    gap: 3px;
}

.itm-server-rack-net i {
    display: block;
    width: 4px;
    height: 10px;
    border-radius: 1px;
    background: rgba(14, 165, 233, 0.35);
    animation: itmNetBar 1.2s ease-in-out infinite;
}

.itm-server-rack-net i:nth-child(2) { animation-delay: 0.2s; }
.itm-server-rack-net i:nth-child(3) { animation-delay: 0.4s; }

@keyframes itmNetBar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; background: #22d3ee; }
}

.itm-server-unit {
    position: relative;
    margin-bottom: 6px;
    border-radius: 6px;
    overflow: hidden;
}

.itm-server-unit-bezel {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.itm-server-unit-num {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.06em;
}

.itm-server-unit-leds {
    display: flex;
    gap: 4px;
}

.itm-server-unit-leds .led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: itmLedPulse 1.8s ease-in-out infinite;
}

.itm-server-unit-leds .led-g { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.8); }
.itm-server-unit-leds .led-b { background: #0ea5e9; box-shadow: 0 0 6px rgba(14,165,233,0.8); animation-delay: 0.4s; }
.itm-server-unit-leds .led-a { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.8); animation-delay: 0.8s; }

.itm-server-unit--2 .itm-server-unit-leds .led-g { animation-delay: 0.3s; }
.itm-server-unit--3 .itm-server-unit-leds .led-b { animation-delay: 0.6s; }
.itm-server-unit--4 .itm-server-unit-leds .led-a { animation-delay: 1.1s; }

@keyframes itmLedPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}

.itm-server-unit-vents {
    display: flex;
    gap: 2px;
}

.itm-server-unit-vents i {
    display: block;
    width: 3px;
    height: 14px;
    border-radius: 1px;
    background: rgba(148, 163, 184, 0.35);
}

.itm-server-unit-io {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.itm-server-unit-io i {
    display: block;
    width: 14px;
    height: 3px;
    border-radius: 1px;
    background: rgba(14, 165, 233, 0.55);
    animation: itmIoBlink 2.5s ease-in-out infinite;
}

.itm-server-unit-io i:nth-child(2) { animation-delay: 0.5s; width: 10px; }
.itm-server-unit-io i:nth-child(3) { animation-delay: 1s; width: 12px; }

@keyframes itmIoBlink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; box-shadow: 0 0 8px rgba(34, 211, 238, 0.6); }
}

.itm-server-unit-flow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #22d3ee, transparent);
    opacity: 0;
    animation: itmUnitFlow 3s ease-in-out infinite;
}

.itm-server-unit--1 .itm-server-unit-flow { animation-delay: 0s; }
.itm-server-unit--2 .itm-server-unit-flow { animation-delay: 0.7s; }
.itm-server-unit--3 .itm-server-unit-flow { animation-delay: 1.4s; }
.itm-server-unit--4 .itm-server-unit-flow { animation-delay: 2.1s; }

@keyframes itmUnitFlow {
    0%, 100% { opacity: 0; transform: translateY(-100%); }
    15%, 85% { opacity: 0.8; }
    50% { transform: translateY(100%); }
}

.itm-server-rack-base {
    height: 6px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, #0ea5e9, #22d3ee, #0ea5e9);
    opacity: 0.75;
    animation: itmBaseGlow 3s ease-in-out infinite;
}

@keyframes itmBaseGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.95; box-shadow: 0 0 16px rgba(34, 211, 238, 0.45); }
}

/* Floating chips — light */
.itm-server-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    animation: itmFloatChip 4s ease-in-out infinite;
}

.itm-server-float i { color: #0ea5e9; font-size: 14px; }
.itm-server-float strong { font-size: 15px; color: #0284c7; margin-right: 4px; }

.itm-server-float--1 { top: 8%; right: 0; animation-delay: 0s; }
.itm-server-float--2 { bottom: 18%; left: -4%; animation-delay: -1.5s; }
.itm-server-float--3 { top: 42%; right: -6%; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -2.5s; }

@keyframes itmFloatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.itm-server-network {
    position: absolute;
    width: 200px;
    height: 120px;
    top: 10%;
    right: 10%;
    opacity: 0.4;
    pointer-events: none;
}

.itm-server-network-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: itmNetDraw 4s ease-in-out infinite;
}

.itm-server-network-line--2 { animation-delay: -2s; }

@keyframes itmNetDraw {
    0% { stroke-dashoffset: 200; opacity: 0.3; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -200; opacity: 0.3; }
}

.itm-server-network-node { animation: itmNodePulse 2s ease-in-out infinite; }
.itm-server-network-node--2 { animation-delay: 0.5s; }
.itm-server-network-node--3 { animation-delay: 1s; }

@keyframes itmNodePulse {
    0%, 100% { opacity: 0.4; r: 2.5; }
    50% { opacity: 1; r: 4; }
}

/* ─── Social share ─── */
.itm-server-hero-social.paypasbutonlar {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100%;
    text-align: right;
}

.itm-server-hero-social-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-right: 4px;
    flex-shrink: 0;
}

.itm-server-hero-social.paypasbutonlar a,
.itm-server-hero-social.paypasbutonlar #facepaylas,
.itm-server-hero-social.paypasbutonlar #twitpaylas,
.itm-server-hero-social.paypasbutonlar #linkedpaylas {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    line-height: 1 !important;
    font-size: 16px !important;
    text-align: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.itm-server-hero-social.paypasbutonlar a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
    color: #fff !important;
}

.itm-server-hero-social.paypasbutonlar #facepaylas:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
}

.itm-server-hero-social.paypasbutonlar #twitpaylas:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
}

.itm-server-hero-social.paypasbutonlar #linkedpaylas:hover {
    background: #0a66c2 !important;
    border-color: #0a66c2 !important;
}

/* ═══ DARK MODE ═══ */
html.itm-dark-mode .itm-server-hero {
    background: linear-gradient(160deg, #020617 0%, #0c1222 38%, #121a35 68%, #0a1628 100%);
    border-bottom-color: rgba(14, 165, 233, 0.15);
}

html.itm-dark-mode .itm-server-hero-orb--1 {
    background: rgba(14, 165, 233, 0.35);
    opacity: 0.55;
}

html.itm-dark-mode .itm-server-hero-orb--2 {
    background: rgba(99, 102, 241, 0.28);
}

html.itm-dark-mode .itm-server-hero-grid {
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
}

html.itm-dark-mode .itm-server-hero-scan {
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
    opacity: 0.7;
}

html.itm-dark-mode .itm-server-hero-badge {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
    color: #67e8f9 !important;
}

html.itm-dark-mode .itm-server-hero-copy h1,
html.itm-dark-mode .itm-server-hero-copy .itm-server-hero-heading {
    color: #fff !important;
}

html.itm-dark-mode .itm-server-hero-lead {
    color: rgba(255, 255, 255, 0.72);
}

html.itm-dark-mode .itm-server-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.45);
}

html.itm-dark-mode .itm-server-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.65) !important;
}

html.itm-dark-mode .itm-server-hero .breadcrumb a:hover {
    color: #67e8f9 !important;
}

html.itm-dark-mode .itm-server-hero .breadcrumb i.fa {
    color: rgba(255, 255, 255, 0.25);
}

html.itm-dark-mode .itm-server-hero-pill {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

html.itm-dark-mode .itm-server-hero-pill i {
    color: #22d3ee;
}

html.itm-dark-mode .itm-server-rack {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.08);
}

html.itm-dark-mode .itm-server-rack-top {
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

html.itm-dark-mode .itm-server-rack-label {
    color: rgba(255, 255, 255, 0.45);
}

html.itm-dark-mode .itm-server-rack-net i {
    background: rgba(34, 211, 238, 0.35);
}

html.itm-dark-mode .itm-server-unit-bezel {
    background: linear-gradient(180deg, #252f45 0%, #1a2235 100%);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: none;
}

html.itm-dark-mode .itm-server-unit-num {
    color: rgba(255, 255, 255, 0.35);
}

html.itm-dark-mode .itm-server-unit-vents i {
    background: rgba(0, 0, 0, 0.35);
}

html.itm-dark-mode .itm-server-unit-io i {
    background: rgba(34, 211, 238, 0.5);
}

html.itm-dark-mode .itm-server-float {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

html.itm-dark-mode .itm-server-float i { color: #22d3ee; }
html.itm-dark-mode .itm-server-float strong { color: #67e8f9; }

html.itm-dark-mode .itm-server-network {
    opacity: 0.55;
}

html.itm-dark-mode .itm-server-hero-social-label {
    color: rgba(255, 255, 255, 0.4);
}

html.itm-dark-mode .itm-server-hero-social.paypasbutonlar a,
html.itm-dark-mode .itm-server-hero-social.paypasbutonlar #facepaylas,
html.itm-dark-mode .itm-server-hero-social.paypasbutonlar #twitpaylas,
html.itm-dark-mode .itm-server-hero-social.paypasbutonlar #linkedpaylas {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.itm-dark-mode .itm-server-hero-social.paypasbutonlar a:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4) !important;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .itm-server-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .itm-server-hero-copy h1,
    .itm-server-hero-copy .itm-server-hero-heading,
    .itm-server-hero .breadcrumb {
        text-align: center !important;
        justify-content: center;
    }

    .itm-server-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .itm-server-hero-pills {
        justify-content: center;
    }

    .itm-server-hero-visual {
        min-height: 300px;
        order: -1;
    }

    .itm-server-float--2 { left: 2%; }
    .itm-server-float--3 { right: 2%; }

    .itm-server-hero-social.paypasbutonlar {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .itm-server-hero-wrap {
        padding-top: 32px !important;
        padding-bottom: 24px !important;
    }

    .itm-server-rack {
        width: 190px;
        transform: scale(0.95);
    }

    .itm-server-float { display: none; }
    .itm-server-network { display: none; }

    .itm-server-hero-social-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .itm-server-hero-orb,
    .itm-server-hero-scan,
    .itm-server-rack,
    .itm-server-float,
    .itm-server-unit-flow,
    .itm-server-network-line,
    .itm-server-network-node,
    .itm-server-rack-led,
    .itm-server-unit-leds .led,
    .itm-server-rack-net i,
    .itm-server-unit-io i,
    .itm-server-rack-base {
        animation: none !important;
    }
}
