.hero {
    padding-top: 68px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 68px);
}

/* ─── Sol: metin + stats ─────────────────────────────────── */
.hero__text {
    width: 440px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* içerik yukarıdan başlar */
    padding: 56px 32px 40px 44px;  /* üstte sabit boşluk, başlık + stats yukarıda kalır */
    position: relative;
    z-index: 2;
    background: var(--color-bg);
}

.hero__logo {
    font-size: 18px;
    margin-bottom: 8px;
}

.hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 18px;
    font-style: normal;
}

/* ─── Title: DAHA hizalı flex yapısı ────────────────────── */
.hero__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.hero__title-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    white-space: nowrap; /* her satır tek satırda kalır, taşmaz */
    line-height: 1.55;
}

.hero__title-daha {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    color: var(--color-white);
    flex-shrink: 0; /* DAHA sütunu daralmaz */
}

.hero__title-word {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    color: var(--color-white);
}

.hero__title-accent {
    color: var(--color-accent);
}

.hero__desc {
    font-size: 13.5px;
    color: var(--color-gray-light);
    line-height: 1.65;
    margin-bottom: 26px;
    max-width: 300px;
}
.hero__desc-span{
    color: var(--color-accent);
}

.hero__cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* ─── Stats: 4 üstte + 2 altta (4-sütun grid) ───────────── */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* İlk 4 stat: üst satır, son 2 stat: alt satırda ilk 2 hücre */
/* 4-col grid ile doğal olarak 4+2 düzeni oluşur */

.hero__stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.hero__stat-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--color-gray);
    text-transform: uppercase;
    line-height: 1.3;
}

/* ─── Accordion: "/" parallelogram + border ──────────────── */
.hero__accordion {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.hero__panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 52px;
}

.hero__panel.active {
    flex: 4.5;
}

/* Lime-green border her panel için ::before pseudo-element */
.hero__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(197, 226, 46, 0.18);
    z-index: 8;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.hero__panel.active::before {
    border-color: rgba(197, 226, 46, 0.55);
    border-width: 1.5px;
}

.hero__panel:hover::before {
    border-color: rgba(197, 226, 46, 0.35);
}

/* ─── Video desteği ──────────────────────────────────────── */
.hero__panel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero__panel-video--loaded {
    opacity: 1;
}

/* Video yüklenince bg image solar */
.hero__panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease, filter 0.5s ease, opacity 0.5s ease;
    filter: brightness(0.42) saturate(0.85);
    z-index: 2;
}

/* Video varsa bg'yi gizle */
.hero__panel:has(.hero__panel-video--loaded) .hero__panel-bg {
    opacity: 0;
}

.hero__panel.active .hero__panel-bg {
    filter: brightness(0.55) saturate(1);
}

.hero__panel:hover .hero__panel-bg {
    transform: scale(1.06);
}

/* ─── Panel içeriği ──────────────────────────────────────── */

/* Overlay: hem üstte hem altta koyu — numara ve buton okunabilsin */
.hero__panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.08) 38%,
        rgba(0, 0, 0, 0.08) 55%,
        rgba(0, 0, 0, 0.82) 100%
    );
    z-index: 3;
}

/* Panel body: inset 0, flex column → top ve bottom ayrışır */
.hero__panel-body {
    position: absolute;
    inset: 0;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 4;
}

/* Üst alan: numara + başlık */
.hero__panel-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Alt alan: açıklama + buton */
.hero__panel-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Numara */
.hero__panel-num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    opacity: 0.25;
    transition: opacity 0.5s ease, font-size 0.45s ease;
}

.hero__panel.active .hero__panel-num {
    opacity: 1;
    font-size: 52px;
}

/* Başlık */
.hero__panel-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1.2;
    transition: font-size 0.45s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero__panel.active .hero__panel-title {
    font-size: 20px;
    white-space: normal;
    text-overflow: clip;
}

/* Açıklama metni — sadece aktif panelde görünür */
.hero__panel-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.45s ease;
}

.hero__panel.active .hero__panel-desc {
    max-height: 100px;
    opacity: 1;
}

/* DETAYLARI GÖR butonu — sadece aktif panelde görünür */
.hero__panel-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.hero__panel.active .hero__panel-link {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1300px) {
    .hero__text {
        width: 400px;
        padding-left: 36px;
    }

    .hero__title-daha,
    .hero__title-word {
        font-size: 42px;
    }
}

@media (max-width: 1100px) {
    .hero__wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .hero__text {
        width: 100%;
        padding: 44px 32px 32px;
        justify-content: flex-start;
    }

    .hero__title-daha,
    .hero__title-word {
        font-size: 44px;
    }

    .hero__accordion {
        height: 480px;
        flex: none;
    }

    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero__title-daha,
    .hero__title-word {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero__title-row {
        gap: 10px;
    }

    .hero__accordion {
        height: 380px;
    }

    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px 8px;
    }

    .hero__stat-num {
        font-size: 18px;
    }

    .hero__stat-label {
        font-size: 7.5px;
    }
}

@media (max-width: 600px) {
    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero__text {
        padding: 36px 16px;
    }

    .hero__title-daha,
    .hero__title-word {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .hero__title-row {
        gap: 8px;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__accordion {
        height: 320px;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 16px;
    }

}
