/* Ajans ana site — dark glassmorphism */

:root {
    --bg: #031427;
    --bg-deep: #000f21;
    --surface: #0b1c30;
    --surface-high: #1b2b3f;
    --ink: #d3e4fe;
    --muted: #c3c6d7;
    --primary: #b4c5ff;
    --primary-solid: #2563eb;
    --apple: #f5f5f7;
    --ink-light: #1d1d1f;
    --muted-light: #86868b;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --glass-edge: rgba(255, 255, 255, 0.12);
    --blur: 40px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2.5rem;
    --shell: min(1280px, calc(100% - 3rem));
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --section-gap: clamp(4.5rem, 10vw, 7.5rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

/* Atmosphere */
.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.14) 0, transparent 50%),
        radial-gradient(at 100% 40%, rgba(180, 197, 255, 0.08) 0, transparent 45%),
        var(--bg);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.7;
}

.blob--a {
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    top: -10%;
    left: -12%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
    animation: drift 18s ease-in-out infinite;
}

.blob--b {
    width: min(36vw, 440px);
    height: min(36vw, 440px);
    top: 28%;
    right: -10%;
    background: radial-gradient(circle, rgba(180, 197, 255, 0.22), transparent 70%);
    animation: drift 22s ease-in-out infinite reverse;
}

.blob--c {
    width: min(30vw, 360px);
    height: min(30vw, 360px);
    bottom: 8%;
    left: 28%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
    animation: drift 26s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, -4%) scale(1.06); }
}

/* Glass panels */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-edge);
    box-shadow: var(--shadow);
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(3, 20, 39, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-edge);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.is-scrolled {
    background: rgba(3, 20, 39, 0.88);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand__logo {
    display: block;
    height: 2.15rem;
    width: auto;
    max-width: min(180px, 46vw);
    object-fit: contain;
}

.brand--footer .brand__logo {
    height: 1.9rem;
}

.brand__mark {
    font-size: 1.35rem;
    color: var(--primary);
}

.nav {
    display: none;
    align-items: center;
    gap: 2.25rem;
}

.nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--ink);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: #000 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.28);
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--glass-edge);
    border-radius: 999px;
    background: var(--glass);
    color: var(--ink);
    cursor: pointer;
}

body.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(3, 20, 39, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-edge);
}

body.nav-open .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.nav-open .nav__cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-bottom: 0;
}

@media (min-width: 900px) {
    .nav { display: flex; }
    .menu-btn { display: none; }
}

/* Main */
main {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    position: relative;
    padding: 8.5rem 0 5rem;
}

.hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero {
        padding: 10.5rem 0 7rem;
    }

    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
    }
}

.brand-signal {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
}

.hero h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 3.8vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    max-width: 18ch;
}

.hero__lead {
    margin: 0 0 2rem;
    max-width: 36rem;
    font-size: 1.125rem;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn .material-symbols-outlined {
    font-size: 1.05rem;
}

.btn--solid {
    background: #fff;
    color: #000;
}

.btn--solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.3);
}

.btn--glass {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--ink);
    background: transparent;
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #fff;
}

.btn--dark {
    background: var(--ink-light);
    color: #fff;
}

.btn--dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn--ghost-dark {
    border: 1px solid rgba(29, 29, 31, 0.15);
    color: var(--ink-light);
    background: transparent;
}

.btn--ghost-dark:hover {
    background: rgba(29, 29, 31, 0.05);
}

.hero__stage {
    position: relative;
    margin-top: 1rem;
}

.hero__glow {
    position: absolute;
    inset: 10%;
    background: rgba(180, 197, 255, 0.22);
    filter: blur(120px);
    border-radius: 50%;
}

.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    overflow: hidden;
    transform: rotate(0deg);
    transition: transform 0.7s ease;
}

@media (min-width: 1024px) {
    .hero__media {
        transform: rotate(3deg);
    }

    .hero__media:hover {
        transform: rotate(0deg);
    }
}

.hero__media img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    filter: grayscale(0.35);
    transition: filter 0.7s ease;
}

.hero__media:hover img {
    filter: grayscale(0);
}

.float-chip {
    display: none;
    position: absolute;
    left: -1rem;
    bottom: -1rem;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-lg);
    animation: floaty 3s ease-in-out infinite;
}

.float-chip .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
}

.float-chip strong {
    display: block;
    font-size: 0.95rem;
}

.float-chip span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .float-chip { display: flex; }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* References marquee */
.refs {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 4rem;
    background: rgba(0, 15, 33, 0.55);
    border-block: 1px solid var(--glass-edge);
    overflow: hidden;
}

.refs__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.75rem;
}

.refs__title h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.refs__all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
    transition: color 0.2s ease, transform 0.2s ease;
}

.refs__all .material-symbols-outlined {
    font-size: 1.05rem;
}

.refs__all:hover {
    color: #fff;
    transform: translateX(2px);
}

.refs__marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.refs__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.refs__marquee.is-paused .refs__track {
    /* hover / reduced-motion pause handled in JS */
}

.refs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 4.5rem;
    min-width: 8.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.refs__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.refs__item img {
    max-height: 2.6rem;
    max-width: 8rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.15);
}

/* Light sections */
.light-section {
    background: var(--apple);
    color: var(--ink-light);
}

.block {
    position: relative;
    z-index: 1;
    padding: var(--section-gap) 0;
}

.block__head {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .block__head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow--blue {
    color: var(--primary-solid);
}

.block__head h2 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.block__aside {
    margin: 0;
    max-width: 18rem;
    color: var(--muted-light);
    text-align: left;
}

@media (min-width: 768px) {
    .block__aside { text-align: right; }
}

/* Service cards */
.cards {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    border-radius: 0.85rem;
    background: var(--ink-light);
    color: #fff;
}

.service-card h3 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    margin: 0 0 1.75rem;
    color: var(--muted-light);
}

.service-card__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--apple);
    color: var(--ink-light);
    transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-card__go {
    background: var(--ink-light);
    color: #fff;
}

/* Stats */
.stat-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #eef2ff 0%, #f5f7ff 100%);
}

.stat-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 55%);
    pointer-events: none;
}

.stat-panel__grid {
    position: relative;
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 960px) {
    .stat-panel__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3.5rem;
        align-items: center;
    }
}

.stat-panel__nums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-panel__nums strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink-light);
}

.stat-panel__nums span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.stat-panel__copy {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.75rem;
}

@media (min-width: 960px) {
    .stat-panel__copy {
        border-top: 0;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        padding-top: 0;
        padding-left: 2.5rem;
    }
}

.stat-panel__copy h3 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
}

.stat-panel__copy p {
    margin: 0 0 1.5rem;
    color: var(--muted-light);
}

/* CTA */
.cta-panel {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 6vw, 5.5rem) 1.5rem;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.cta-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: var(--ink-light);
    color: #fff;
    font-size: 1.5rem;
}

.cta-panel h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-panel p {
    margin: 0 0 2rem;
    color: var(--muted-light);
    font-size: 1.125rem;
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: var(--ink-light);
    color: #fff;
    padding: 3.5rem 0 2rem;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.brand--footer {
    color: #fff;
    margin-bottom: 1rem;
}

.brand--footer .brand__mark {
    color: #fff;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--muted-light);
    font-size: 0.9rem;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: #fff;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted-light);
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .footer__legal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer__legal p {
    margin: 0;
}

/* Reveal: JS yoksa görünür kalsın */
.reveal {
    opacity: 1;
    transform: none;
}

html.js-ready .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

html.js-ready .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .blob,
    .float-chip { animation: none; }
    .refs__marquee[data-static] .refs__track {
        flex-wrap: wrap;
        width: auto;
        max-width: var(--shell);
        margin-inline: auto;
        justify-content: center;
        transform: none !important;
    }
    html.js-ready .reveal:not(.is-in),
    html.js-ready .reveal.is-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
