/* Zeytrade — Temel Reset, Fontlar ve Tipografi (cinematic dark tema) */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+20AC;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/barlow-semi-condensed/barlow-semi-condensed-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+20AC;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/barlow-semi-condensed/barlow-semi-condensed-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/barlow-semi-condensed/barlow-semi-condensed-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+20AC;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/barlow-semi-condensed/barlow-semi-condensed-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/assets/fonts/jetbrains-mono/jetbrains-mono-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+20AC;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/assets/fonts/jetbrains-mono/jetbrains-mono-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    opacity: 0;
}

body.is-ready {
    opacity: 1;
    transition: opacity 0.3s var(--ease-standard);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--lh-tight);
    color: var(--zt-white);
    margin: 0 0 var(--space-4);
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, var(--fs-4xl)); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, var(--fs-2xl)); }
h3 { font-size: clamp(1.25rem, 2vw + 0.75rem, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p {
    margin: 0 0 var(--space-4);
    color: var(--color-text-muted);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s var(--ease-standard);
}

a:hover {
    color: var(--zt-amber-400);
}

img, svg {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--zt-amber-500);
    color: var(--zt-navy-950);
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--zt-amber-500);
    color: var(--zt-navy-950);
    padding: var(--space-3) var(--space-5);
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--zt-amber-500);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    max-width: 640px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Kurumsal buton stilleri — keskin köşe (2px), büyük harf, dar aralıklı tipografi */
.btn-zt-primary,
.btn-zt-white,
.btn-zt-secondary,
.btn-zt-invert {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1.05rem 1.9rem;
    border-radius: 2px;
    border: none;
    transition: box-shadow 0.3s var(--ease-standard), transform 0.3s var(--ease-standard), background 0.3s var(--ease-standard);
    cursor: pointer;
}

.btn-zt-primary {
    background: var(--zt-amber-500);
    color: var(--zt-navy-950);
    box-shadow: var(--shadow-glow-amber);
}

.btn-zt-primary:hover,
.btn-zt-primary:focus-visible {
    background: var(--zt-amber-400);
    color: var(--zt-navy-950);
    transform: translateY(-2px);
}

.btn-zt-white {
    background: var(--zt-white);
    color: var(--zt-navy-950);
}

.btn-zt-white:hover,
.btn-zt-white:focus-visible {
    background: var(--zt-silver-100);
    color: var(--zt-navy-950);
    transform: translateY(-2px);
}

.btn-zt-invert {
    background: var(--zt-navy-950);
    color: var(--zt-amber-500);
}

.btn-zt-invert:hover,
.btn-zt-invert:focus-visible {
    background: var(--zt-navy-900);
    color: var(--zt-amber-400);
    transform: translateY(-2px);
}

.btn-zt-secondary {
    background: transparent;
    color: var(--zt-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 600;
}

.btn-zt-secondary:hover,
.btn-zt-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Genel glassmorphism kart yardımcı sınıfı */
.glass-panel {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.font-mono {
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------
   Film grain overlay — sabit, tüm sayfa üzerinde çok düşük opaklıkta
   doku. Statik CSS/SVG'dir, JS'e bağımlı değildir.
   -------------------------------------------------------------------- */
.zt-grain {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* --------------------------------------------------------------------
   Özel imleç (custom cursor) — yalnızca JS başarıyla kurulum yaptıysa
   body'e "zt-custom-cursor" sınıfı eklenir; aksi halde tarayıcının
   normal imleci hep görünür kalır (asla salt CSS ile cursor:none olmaz).
   -------------------------------------------------------------------- */
.zt-custom-cursor,
.zt-custom-cursor a,
.zt-custom-cursor button {
    cursor: none;
}

.zt-cursor-ring,
.zt-cursor-dot {
    display: none;
}

.zt-custom-cursor .zt-cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 168, 61, 0.75);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.25s var(--ease-standard), height 0.25s var(--ease-standard), margin 0.25s var(--ease-standard), background 0.25s var(--ease-standard);
}

.zt-custom-cursor .zt-cursor-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    background: var(--zt-amber-500);
    border-radius: 50%;
    pointer-events: none;
}
