/* ============================================================
   HERO 0 — "Webrano · Renkli Bir Web Ajansı" (açık tonlu)
   Çift taraflı yüzen 3D küpler + halkalarda gezinen renk noktaları
   + harf harf renk dalgası geçen slogan ızgarası
   Prefix: wh0-
   ============================================================ */

.wh0 {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
            radial-gradient(58% 48% at 14% 18%, rgba(64, 105, 177, .16), transparent 62%),
            radial-gradient(48% 44% at 86% 22%, rgba(238, 66, 109, .13), transparent 60%),
            radial-gradient(52% 48% at 82% 82%, rgba(240, 188, 26, .15), transparent 62%),
            radial-gradient(48% 44% at 16% 84%, rgba(14, 162, 128, .13), transparent 60%),
            linear-gradient(180deg, #fdfeff 0%, #eef3fa 100%);
}

.wh0__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.wh0__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
            linear-gradient(180deg, rgba(14, 43, 92, .62) 0%, rgba(14, 43, 92, .48) 50%, rgba(14, 43, 92, .72) 100%);
    pointer-events: none;
}

/* --- Derinlik katmanları --- */
.wh0__scene {
    position: absolute;
    inset: -6%;
    perspective: 1100px;
    z-index: 2;
}

.wh0__layer {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .35s cubic-bezier(.22,.68,.36,1);
}

/* --- Yüzen 3D küpler (wireframe, hero1 tarzı) --- */
.wh0__cube-wrap {
    position: absolute;
    perspective: 400px;
    animation: wh0-bob var(--bd, 7s) ease-in-out infinite;
}

.wh0__cube {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(32deg);
    animation: wh0-spin var(--sd, 17s) linear infinite;
}

.wh0__cube i {
    position: absolute;
    inset: 0;
    border: 1.2px solid var(--cc);
    background: var(--cf);
}

.wh0__cube i:nth-child(1) { transform: translateZ(var(--h)); }
.wh0__cube i:nth-child(2) { transform: rotateY(180deg) translateZ(var(--h)); }
.wh0__cube i:nth-child(3) { transform: rotateY(90deg)  translateZ(var(--h)); }
.wh0__cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--h)); }
.wh0__cube i:nth-child(5) { transform: rotateX(90deg)  translateZ(var(--h)); }
.wh0__cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--h)); }

@keyframes wh0-spin {
    to { transform: rotateX(-22deg) rotateY(392deg); }
}

@keyframes wh0-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}

/* Konumlar — çift taraflı, çeşitli boyut/renk */
.wh0__cube-wrap--blue   { --cc: rgba(64,105,177,.72);  --cf: rgba(64,105,177,.08);  --h: 34px; width: 68px; height: 68px; top: 18%;  left: 6%;   --bd: 7.6s; --sd: 16s; }
.wh0__cube-wrap--pink   { --cc: rgba(238,66,109,.72);  --cf: rgba(238,66,109,.08);  --h: 22px; width: 44px; height: 44px; top: 26%;  right: 8%;  --bd: 6.2s; --sd: 21s; animation-delay: -2s; }
.wh0__cube-wrap--yellow { --cc: rgba(240,188,26,.78);  --cf: rgba(240,188,26,.10);  --h: 28px; width: 56px; height: 56px; bottom: 22%; left: 11%; --bd: 7s;   --sd: 14s; animation-delay: -3.2s; }
.wh0__cube-wrap--green  { --cc: rgba(14,162,128,.72);  --cf: rgba(14,162,128,.08);  --h: 30px; width: 60px; height: 60px; bottom: 24%; right: 12%; --bd: 8.4s; --sd: 19s; animation-delay: -1.6s; }
.wh0__cube-wrap--purple { --cc: rgba(133,83,160,.70);  --cf: rgba(133,83,160,.08);  --h: 18px; width: 36px; height: 36px; top: 52%;  left: 3%;   --bd: 9s;   --sd: 23s; animation-delay: -4.4s; }

/* --- İçerik --- */
.wh0__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 20px 110px;
    max-width: 1040px;
    margin: 0 auto;
}

.wh0__title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #ffffff;
    margin: 0 0 6px;
}

.wh0__title em {
    font-style: normal;
}

/* Beş renkli ayraç çubuğu */
.wh0__bar {
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    margin: 18px 0 26px;
}

.wh0__bar i {
    height: 7px;
    border-radius: 999px;
    display: inline-block;
    animation: wh0-bar-grow 2.6s cubic-bezier(.6,0,.3,1) infinite alternate;
}

.wh0__bar i:nth-child(1) { width: 54px; background: #4069b1; animation-delay: 0s;   }
.wh0__bar i:nth-child(2) { width: 26px; background: #ee426d; animation-delay: .18s; }
.wh0__bar i:nth-child(3) { width: 64px; background: #f0bc1a; animation-delay: .36s; }
.wh0__bar i:nth-child(4) { width: 26px; background: #0ea280; animation-delay: .54s; }
.wh0__bar i:nth-child(5) { width: 54px; background: #8553a0; animation-delay: .72s; }

@keyframes wh0-bar-grow {
    from { transform: scaleX(.55); opacity: .75; }
    to   { transform: scaleX(1);   opacity: 1; }
}

/* --- Slogan ızgarası: harf harf geçen kurumsal renk dalgası --- */
.wh0__slogan {
    font-size: clamp(1.15rem, 3vw, 1.85rem);
    font-weight: 300;
    letter-spacing: .04em;
    line-height: 1.5;
    max-width: 720px;
    margin: 0 auto 26px;
}

.wh0__slogan .char {
    display: inline-block;
    color: #ffffff;
    animation: wh0-wave 3.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 95ms);
}

.wh0__slogan .sp {
    display: inline-block;
    width: .45em;
}

@keyframes wh0-wave {
    0%, 100% { color: #35507e; transform: translateY(0); }
    22%      { color: #ee426d; transform: translateY(-7px); }
    46%      { color: #8553a0; transform: translateY(0); }
    70%      { color: #0ea280; transform: translateY(-4px); }
}

.wh0__desc {
    color: #ffffff;
    font-size: clamp(.97rem, 1.6vw, 1.13rem);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 40px;
}

.wh0__desc strong {color: #ffffff;}

.wh0__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.wh0__btn {
    display: inline-block;
    padding: 16px 44px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.wh0__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #0ea280, #0b7f63);
    box-shadow: 0 12px 32px rgba(14, 162, 128, .38);
}

.wh0__btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(14,162,128,.5); }

.wh0__btn--ghost {
    color: #16325f;
    border: 1.5px solid rgba(22, 50, 95, .28);
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(6px);
}

.wh0__btn--ghost:hover { transform: translateY(-3px); border-color: #16325f; }

/* --- Scroll işareti --- */
.wh0__scroll {
    position: absolute;
    left: 50%; bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(22, 50, 95, .55);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.wh0__scroll span {
    width: 1px; height: 42px;
    background: linear-gradient(to bottom, rgba(22,50,95,.5), transparent);
    position: relative;
    overflow: hidden;
}

.wh0__scroll span::after {
    content: "";
    position: absolute;
    top: -40%; left: 0;
    width: 100%; height: 40%;
    background: #f0bc1a;
    animation: wh0-drip 2.2s ease-in-out infinite;
}

@keyframes wh0-drip {
    to { top: 110%; }
}

/* --- Mobil: dikey tam sayfa --- */
@media (max-width: 767px) {
    .wh0__content { padding: 108px 18px 96px; }
    .wh0__cube-wrap--purple,
    .wh0__cube-wrap--green { display: none; }
    .wh0__cube-wrap--blue   { transform: scale(.65); top: 14%; left: 3%; }
    .wh0__cube-wrap--pink   { transform: scale(.65); top: 22%; right: 3%; }
    .wh0__cube-wrap--yellow { transform: scale(.55); bottom: 14%; left: 5%; }
    .wh0__cta .wh0__btn { width: 100%; max-width: 320px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .wh0__cube,
    .wh0__cube-wrap,
    .wh0__bar i,
    .wh0__slogan .char,
    .wh0__scroll span::after {
        animation: none !important;
    }
}
