.site-header {
    position: fixed;
    z-index: var(--z-header);
    top: 55px;
    left: 50%;
    width: min(calc(100% - 30px), var(--container-header));
    transform: translateX(-50%);
    transition: top 400ms var(--ease-standard), transform 400ms var(--ease-standard);
}

.site-header.is-sticky {
    top: 10px;
}

.site-header.is-hidden {
    transform: translate(-50%, -190%);
}

.site-header__pill {
    min-height: 96px;
    margin-inline: 15px;
    padding: 10px 15px 10px 24px;
    display: grid;
    grid-template-columns: 170px 1fr 225px;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--color-accent-line);
    border-radius: var(--radius-header);
    background: rgba(23, 22, 25, 0.97);
    box-shadow:
        1.78px 0.91px 32px 2.8px rgba(101, 221, 255, 0.19),
        0 18px 60px rgba(0, 0, 0, 0.26);
}

.brand {
    width: 142px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.brand__logo {
    width: 142px;
    height: auto;
}

.desktop-navigation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 60px;
    min-width: 0;
}

.nav-link {
    position: relative;
    padding-block: 24px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.nav-link__mask {
    display: block;
    height: 24px;
    overflow: hidden;
}

.nav-link__track {
    display: flex;
    flex-direction: column;
    transition: transform 600ms var(--ease-brand);
}

.nav-link__track > span:last-child {
    color: var(--color-accent);
}

.nav-link:hover .nav-link__track,
.nav-link:focus-visible .nav-link__track {
    transform: translateY(-24px);
}

.button {
    position: relative;
    min-height: 65px;
    padding: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    isolation: isolate;
}

.button--accent {
    width: 225px;
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.button--dark {
    min-width: 238px;
    padding-left: 30px;
    border-color: rgba(255, 255, 255, 0.17);
    background: var(--color-surface-3);
    color: var(--color-white);
    transition: color 450ms var(--ease-brand), background 450ms var(--ease-brand), border-color 450ms var(--ease-brand);
}

.button--dark:hover,
.button--dark:focus-visible {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.button__orb {
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--color-accent-ink);
    color: var(--color-accent);
}

.button--dark .button__orb {
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.button__arrows {
    width: 102px;
    height: 51px;
    display: flex;
    transition: transform 500ms var(--ease-brand);
}

.button__arrows > span {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.button:hover .button__arrows,
.button:focus-visible .button__arrows {
    transform: translateX(-51px);
}

.button__label-mask {
    height: 18px;
    overflow: hidden;
}

.button__label-track {
    display: flex;
    flex-direction: column;
    transition: transform 500ms var(--ease-brand);
}

.button__label-track > span {
    height: 18px;
    display: block;
    white-space: nowrap;
}

.button:hover .button__label-track,
.button:focus-visible .button__label-track {
    transform: translateY(-18px);
}

.menu-toggle {
    width: 55px;
    height: 55px;
    padding: 0;
    display: none;
    place-items: center;
    align-content: center;
    gap: 7px;
    border: 0;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--color-accent-ink);
    transition: transform 300ms ease;
}

.menu-overlay {
    position: fixed;
    z-index: calc(var(--z-menu) - 1);
    inset: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: opacity 200ms ease-in-out, visibility 200ms step-end;
}

.mobile-menu {
    position: fixed;
    z-index: var(--z-menu);
    top: 0;
    right: 0;
    width: min(360px, calc(100% - 15px));
    height: 100dvh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #f5f6f6;
    color: #111;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 500ms ease-in-out, opacity 200ms ease-in-out, visibility 500ms step-end;
    visibility: hidden;
}

.menu-open .menu-overlay {
    visibility: visible;
    opacity: 1;
    transition: opacity 200ms ease-in-out;
}

.menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: transform 500ms ease-in-out, opacity 200ms ease-in-out;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__brand img {
    width: 142px;
}

.mobile-menu__close {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu__nav {
    margin-block: 64px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.13);
}

.mobile-menu__nav a {
    min-height: 78px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 650;
}

.mobile-menu__nav small {
    color: #687075;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
}

.mobile-menu__note {
    margin-top: auto;
    padding: 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    border-radius: 20px;
    background: #111;
    color: #fff;
}

.mobile-menu__note-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-accent-ink);
    font-family: var(--font-display);
    font-weight: 700;
}

.mobile-menu__note p {
    margin: 0;
    color: #d6d6d6;
    font-size: 14px;
    line-height: 1.5;
}

.custom-cursor {
    position: fixed;
    z-index: var(--z-cursor);
    inset: 0;
    pointer-events: none;
    visibility: hidden;
}

.custom-cursor.is-visible {
    visibility: visible;
}

.custom-cursor__dot,
.custom-cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.custom-cursor__dot {
    width: 5px;
    height: 5px;
    background: var(--color-accent);
    box-shadow: 0 0 12px rgba(101, 221, 255, 0.8);
}

.custom-cursor__ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(101, 221, 255, 0.7);
    background: rgba(101, 221, 255, 0.02);
    transition: width 350ms var(--ease-brand), height 350ms var(--ease-brand), background 350ms ease, border-color 350ms ease;
}

.custom-cursor.is-pointer .custom-cursor__ring {
    width: 64px;
    height: 64px;
    border-color: rgba(101, 221, 255, 0.24);
    background: rgba(101, 221, 255, 0.11);
}

.custom-cursor.is-active .custom-cursor__ring {
    width: 28px;
    height: 28px;
}


/* === HEADER INNER ALIGN FIX START === */

/*
Header'ın kendi ölçülerine ve scroll davranışına dokunmaz.
Sadece logo, navigation ve CTA iç hizasını düzenler.
*/

.site-header__pill {
    align-items: center;
}

.brand {
    align-self: center;
    justify-self: start;
}

.brand__logo {
    display: block;
}

.desktop-navigation {
    align-self: center;
}

.nav-link {
    align-self: center;
}

.header-cta {
    align-self: center;
    justify-self: end;
}

/* Logo artık mouse'u takip etmez. */
.brand {
    transform: none;
}

/* CTA artık mouse'u takip etmez.
   Mevcut arrow + label hover animasyonu korunur. */
.header-cta {
    transform: none;
}

/* === HEADER INNER ALIGN FIX END === */
