:root {
    --bg: #000000;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f6;
    --text-dim: #9a9aa5;
    --text-faint: #5c5c66;
    --white: #ffffff;
    --accent: #e8e8ee;
    --maxw: 1180px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Manrope", -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

::selection {
    background: var(--white);
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Three.js arka plan ---------- */
#bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    display: block;
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, transparent 30%, rgba(0, 0, 0, 0.55) 78%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 25%, transparent 70%, rgba(0, 0, 0, 0.85) 100%);
}

/* ---------- Loader ---------- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    position: relative;
    animation: pulse 1.8s var(--ease) infinite;
}

.loader-ring::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.7);
    animation: spin 1s linear infinite;
}

.loader-text {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    letter-spacing: 0.35em;
    font-size: 13px;
    color: var(--text-dim);
    padding-left: 0.35em;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(0.94); opacity: 0.55; } }

/* ---------- Navigasyon ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 5vw, 56px);
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--surface-border);
    padding-top: 16px;
    padding-bottom: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.brand-mark i { transform: translateX(1px); }

.brand-text {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 17px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.35s var(--ease);
}

.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    border: 1px solid var(--surface-border);
    padding: 9px 20px;
    border-radius: 100px;
    color: var(--text) !important;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--white);
    color: #000 !important;
    border-color: var(--white);
}

/* ---------- Genel yerleşim ---------- */
main { position: relative; z-index: 2; }

.section {
    position: relative;
    padding: clamp(90px, 14vh, 160px) clamp(20px, 5vw, 56px);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
}

.kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 22px;
}

.section-title {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    max-width: 16ch;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero-inner {
    max-width: 880px;
}

.eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--text-faint);
    margin-bottom: 28px;
}

.hero-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 8vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-title .accent {
    background: linear-gradient(180deg, #ffffff 0%, #8a8a93 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 52px;
    font-weight: 400;
}

/* İstatistikler */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 72px);
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
    letter-spacing: 0.04em;
    max-width: 16ch;
}

.stat-divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent, var(--surface-border), transparent);
}

/* Butonlar */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
    will-change: transform;
}

.btn i { font-size: 16px; }

.btn-primary {
    background: var(--white);
    color: #000;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
    border: 1px solid var(--surface-border);
    color: var(--text);
    background: var(--surface);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* Kaydırma ipucu */
.scroll-hint {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-hint span {
    width: 3px;
    height: 8px;
    border-radius: 4px;
    background: var(--text-dim);
    animation: scrollMove 1.8s var(--ease) infinite;
}

@keyframes scrollMove {
    0% { transform: translateY(0); opacity: 0; }
    35% { opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { opacity: 0; }
}

/* ---------- Hakkımızda ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 56px;
}

.about-lead {
    grid-column: 1 / -1;
    font-family: "Syne", sans-serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 18px;
}

.about-body {
    color: var(--text-dim);
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

/* ---------- Neden Biz ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 38px 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 26px;
}

.card h3 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.card p {
    color: var(--text-dim);
    font-size: 0.97rem;
}

/* ---------- Platformlar / Trafik Ağı ---------- */
.platforms-lead {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    max-width: 760px;
    margin: -28px 0 44px;
    line-height: 1.7;
}

.platforms-lead strong {
    color: var(--text);
    font-weight: 600;
}

.platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.platform {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 30px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: var(--surface);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.platform:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.22);
}

.platform i {
    font-size: 34px;
    color: var(--white);
    width: 40px;
    text-align: center;
}

.platform span {
    font-family: "Syne", sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

/* ---------- İletişim ---------- */
.contact {
    text-align: center;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.contact-sub {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 520px;
    margin-bottom: 44px;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--surface-border);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 56px clamp(20px, 5vw, 56px) 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.brand-footer .brand-mark {
    box-shadow: none;
}

.footer-ig {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dim);
    transition: color 0.3s var(--ease);
}

.footer-ig:hover { color: var(--white); }
.footer-ig i { font-size: 18px; }

.legal {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-faint);
    max-width: 760px;
    margin-bottom: 32px;
}

.legal strong { color: var(--text-dim); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--surface-border);
    font-size: 13px;
    color: var(--text-faint);
}

.footer-links a {
    color: var(--text-faint);
    cursor: pointer;
    transition: color 0.3s var(--ease);
}

.footer-links a:hover { color: var(--white); }
.footer-links .dot { margin: 0 8px; }

/* ---------- Modal (Glassmorphism) ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    backdrop-filter: blur(26px) saturate(140%);
    -webkit-backdrop-filter: blur(26px) saturate(140%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(28px) scale(0.98);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(22px, 4vw, 38px) 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.modal-title {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--white);
}

.modal-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.modal-close:hover {
    background: var(--white);
    color: #000;
    border-color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 26px clamp(22px, 4vw, 38px) 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}
.modal-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

.modal-updated {
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--text-faint);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.modal-body h4 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.04rem;
    color: var(--white);
    letter-spacing: -0.005em;
    margin: 26px 0 10px;
}

.modal-body h4:first-of-type { margin-top: 0; }

.modal-body p {
    font-size: 0.95rem;
    line-height: 1.74;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.modal-body strong { color: var(--text); font-weight: 600; }

.modal-note {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12.5px !important;
    font-style: italic;
    color: var(--text-faint) !important;
}

/* ---------- Reveal animasyonları ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav-links { gap: 20px; }
    .nav-links a:not(.nav-cta):nth-child(-n + 3) { display: none; }

    .about-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }

    .stat-divider { display: none; }
    .stats { gap: 36px; }

    .platforms-lead { margin-top: -12px; }
}

@media (max-width: 520px) {
    .nav { padding: 18px 20px; }
    .brand-text { font-size: 15px; }
    .hero { padding-top: 110px; }
    .btn { padding: 14px 24px; font-size: 14px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .modal { max-height: 90vh; border-radius: 18px; }
    .modal-head { padding: 22px 20px 16px; }
    .modal-body { padding: 22px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .modal { transform: none; }
}
