/* ══════════════════════════════════════════════════════
   MARKAROTA — Premium 3D Agency Website
   ══════════════════════════════════════════════════════ */

:root {
    --bg:        #050810;
    --bg2:       #080d1a;
    --blue:      #2563eb;
    --blue-l:    #3b82f6;
    --purple:    #7c3aed;
    --cyan:      #06b6d4;
    --white:     #ffffff;
    --text:      rgba(255,255,255,.85);
    --muted:     rgba(255,255,255,.45);
    --dim:       rgba(255,255,255,.22);
    --border:    rgba(255,255,255,.08);
    --card-bg:   rgba(255,255,255,.04);
    --card-bg-h: rgba(255,255,255,.07);
    --radius:    20px;
    --font:      'Inter', system-ui, sans-serif;
    --font-head: 'Space Grotesk', 'Inter', sans-serif;
    --ease:      cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Gradient text ─────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--blue-l), var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 0;
    transition: background .35s var(--ease), backdrop-filter .35s;
}
.nav.scrolled {
    background: rgba(5,8,16,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1180px; margin: 0 auto; padding: 22px 24px;
    transition: padding .35s;
}
.nav.scrolled .nav-inner { padding: 14px 24px; }

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.logo-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 900; font-size: 18px; color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,.4);
}
.logo-text {
    font-family: var(--font-head); font-weight: 700; font-size: 20px;
    color: var(--white); letter-spacing: -.02em;
}

.nav-links {
    display: flex; gap: 8px; list-style: none;
}
.nav-links a {
    color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
    padding: 7px 14px; border-radius: 99px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }

.nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700;
    padding: 10px 22px; border-radius: 99px;
    box-shadow: 0 4px 18px rgba(37,99,235,.35);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 28px rgba(37,99,235,.45); }

.nav-actions {
    display: flex; align-items: center; gap: 10px;
}

.nav-crm-btn {
    display: flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700;
    padding: 10px 22px; border-radius: 99px;
    box-shadow: 0 4px 18px rgba(37,99,235,.35);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.nav-crm-btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 28px rgba(37,99,235,.45); }

.nav-crm-btn.exploding {
    filter: brightness(1.3);
    box-shadow: 0 0 40px rgba(124,58,237,.8), 0 0 80px rgba(37,99,235,.4);
}

.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
#heroCanvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* Radial gradient overlay */
.hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.18), transparent 70%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(124,58,237,.14), transparent 60%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(6,182,212,.1), transparent 60%);
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    border-radius: 99px; padding: 8px 18px;
    font-size: 12.5px; font-weight: 700; color: var(--muted);
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 28px;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74,222,128,.2);
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
    50%      { box-shadow: 0 0 0 8px rgba(74,222,128,.1); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 900; letter-spacing: -.04em;
    line-height: 1.04; color: var(--white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--muted); line-height: 1.75;
    max-width: 620px; margin: 0 auto 40px;
}

.hero-actions {
    display: flex; gap: 14px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 64px;
}

.btn-primary-hero {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff; text-decoration: none;
    font-size: 15px; font-weight: 700;
    padding: 15px 30px; border-radius: 99px;
    box-shadow: 0 8px 30px rgba(37,99,235,.35);
    transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,99,235,.45); filter: brightness(1.1); }

.btn-ghost-hero {
    display: inline-flex; align-items: center;
    color: var(--muted); text-decoration: none;
    font-size: 15px; font-weight: 600;
    padding: 15px 28px; border-radius: 99px;
    border: 1px solid var(--border);
    transition: color .2s, border-color .2s, background .2s;
}
.btn-ghost-hero:hover { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 0;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 20px; padding: 20px 0; max-width: 520px; margin: 0 auto;
}
.hstat { flex: 1; text-align: center; padding: 0 24px; }
.hstat-num { font-family: var(--font-head); font-size: 30px; font-weight: 900; color: var(--white); }
.hstat span { font-size: 20px; font-weight: 900; color: var(--blue-l); }
.hstat-lbl { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.hstat-div { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

.hero-scroll-hint {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--dim));
    animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim { 0%,100%{opacity:.3;transform:scaleY(.7);} 50%{opacity:1;transform:scaleY(1);} }

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee-wrap {
    background: rgba(255,255,255,.035);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden; padding: 18px 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
    display: flex; align-items: center; gap: 32px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.marquee-inner span { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.marquee-inner .dot { color: var(--blue-l); font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.section { padding: 120px 0; }
.section-dark { background: var(--bg2); }
.section-numbers {
    background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(124,58,237,.06));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}
.section-tech { background: var(--bg2); }
.section-cta { background: var(--bg); padding: 100px 0 120px; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.25);
    border-radius: 99px; padding: 6px 16px;
    font-size: 11.5px; font-weight: 800; color: var(--blue-l);
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900; letter-spacing: -.035em;
    color: var(--white); line-height: 1.12; margin-bottom: 16px;
}
.section-sub {
    font-size: 16px; color: var(--muted); max-width: 520px;
    margin: 0 auto; line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media(max-width:1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative; overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, background .35s;
    cursor: default;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.15);
    background: var(--card-bg-h);
}
.service-card:hover .service-glow { opacity: 1; }

.service-glow {
    position: absolute; top: -60px; right: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0;
}
.service-card > *:not(.service-glow) { position: relative; z-index: 1; }

.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.service-icon svg { width: 24px; height: 24px; stroke: #fff; }

.service-num {
    font-size: 10px; font-weight: 800; letter-spacing: .1em;
    color: var(--dim); text-transform: uppercase; margin-bottom: 10px;
}
.service-card h3 {
    font-family: var(--font-head); font-size: 18px; font-weight: 800;
    color: var(--white); margin-bottom: 12px; letter-spacing: -.02em;
}
.service-card p {
    font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 20px;
}

.service-list {
    list-style: none; margin-bottom: 24px;
    display: flex; flex-direction: column; gap: 7px;
}
.service-list li {
    font-size: 12.5px; color: var(--muted); padding-left: 16px;
    position: relative;
}
.service-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--blue-l); font-weight: 800; font-size: 11px;
}

.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--blue-l);
    text-decoration: none; transition: gap .2s;
}
.service-link:hover { gap: 10px; }

/* ══════════════════════════════════════════════════════
   NEDEN BİZ
══════════════════════════════════════════════════════ */
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media(max-width:900px) { .why-grid { grid-template-columns: 1fr; gap: 48px; } }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:500px) { .why-cards { grid-template-columns: 1fr; } }

.why-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 22px;
    display: flex; gap: 14px; align-items: flex-start;
    transition: transform .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.15); }
.why-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.why-card h4 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.why-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   NUMBERS
══════════════════════════════════════════════════════ */
.numbers-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
@media(max-width:768px) { .numbers-grid { grid-template-columns: repeat(2,1fr); } }

.number-item {
    text-align: center; padding: 40px 20px;
    border-right: 1px solid var(--border);
}
.number-item:last-child { border-right: none; }
@media(max-width:768px) {
    .number-item:nth-child(2) { border-right: none; }
    .number-item:nth-child(3) { border-right: 1px solid var(--border); }
    .number-item { border-bottom: 1px solid var(--border); }
    .number-item:nth-child(3), .number-item:nth-child(4) { border-bottom: none; }
}

.number-val {
    font-family: var(--font-head); font-size: clamp(36px, 5vw, 56px);
    font-weight: 900; letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--white), rgba(255,255,255,.55));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 8px;
}
.number-lbl { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ══════════════════════════════════════════════════════
   SÜREÇ
══════════════════════════════════════════════════════ */
.process-track { position: relative; margin-top: 16px; }
.process-line {
    position: absolute; left: 32px; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, var(--blue), var(--purple), transparent);
}
.process-steps { display: flex; flex-direction: column; gap: 0; padding-left: 64px; }
.process-step {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 32px 0; border-bottom: 1px solid var(--border);
    transition: transform .3s;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { transform: translateX(6px); }

.step-num {
    font-family: var(--font-head); font-size: 36px; font-weight: 900;
    color: var(--blue-l); opacity: .25; letter-spacing: -.04em;
    min-width: 60px; line-height: 1;
}
.step-content h4 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.step-content p  { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 560px; }

/* ══════════════════════════════════════════════════════
   TEKNOLOJİLER
══════════════════════════════════════════════════════ */
.tech-grid {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.tech-item {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 99px; padding: 10px 22px;
    font-size: 13px; font-weight: 700; color: var(--muted);
    transition: color .2s, border-color .2s, background .2s, transform .2s;
    cursor: default;
}
.tech-item:hover {
    color: var(--white); border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.06); transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════
   CTA & FORM
══════════════════════════════════════════════════════ */
.cta-box {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 28px; padding: 70px 40px; text-align: center;
}
.cta-glow {
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(37,99,235,.2), transparent 70%);
    pointer-events: none;
}

.cta-form {
    max-width: 680px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%; padding: 14px 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px; color: var(--white);
    font-family: var(--font); font-size: 14px;
    outline: none; transition: border-color .2s, background .2s;
    -webkit-appearance: none;
}
.cta-form select option { background: #0d1117; color: #fff; }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: var(--dim); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    border-color: rgba(37,99,235,.6);
    background: rgba(37,99,235,.07);
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.cta-form textarea { resize: vertical; min-height: 120px; }

.btn-form-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none; border-radius: 14px;
    color: #fff; font-family: var(--font); font-size: 15px; font-weight: 800;
    cursor: pointer; letter-spacing: -.01em;
    box-shadow: 0 8px 30px rgba(37,99,235,.35);
    transition: transform .25s, box-shadow .25s, filter .25s;
    margin-top: 6px;
}
.btn-form-submit:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,99,235,.45); filter: brightness(1.1); }
.btn-form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
    background: #020408;
    border-top: 1px solid var(--border);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 56px; border-bottom: 1px solid var(--border);
}
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h5 {
    font-size: 12px; font-weight: 800; color: var(--white);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 13.5px; color: var(--muted); text-decoration: none;
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.social-links {
    display: flex; gap: 10px; margin-top: 22px;
}
.social-links a {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--card-bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); text-decoration: none;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); transform: translateY(-3px); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 0;
    font-size: 12.5px; color: var(--dim); flex-wrap: wrap; gap: 8px;
}

/* ══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════ */
.reveal-up, .reveal-left {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-left { transform: translateX(-40px); }

.reveal-up.visible, .reveal-left.visible {
    opacity: 1; transform: translate(0,0);
}

.reveal-up[data-delay="1"] { transition-delay: .1s; }
.reveal-up[data-delay="2"] { transition-delay: .2s; }
.reveal-up[data-delay="3"] { transition-delay: .3s; }
.reveal-up[data-delay="4"] { transition-delay: .4s; }
.reveal-up[data-delay="5"] { transition-delay: .5s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE NAV
══════════════════════════════════════════════════════ */
@media(max-width:768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-burger { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(5,8,16,.97); backdrop-filter: blur(20px);
        padding: 24px; gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    .hero-sub br { display: none; }
    .process-line { display: none; }
    .process-steps { padding-left: 0; }
    .process-step { flex-direction: column; gap: 8px; }
    .step-num { font-size: 24px; }
}

/* ══════════════════════════════════════════════════════
   CUSTOM SCROLLBAR
══════════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

/* ══════════════════════════════════════════════════════
   SELECTION
══════════════════════════════════════════════════════ */
::selection { background: rgba(37,99,235,.4); color: #fff; }

/* ══════════════════════════════════════════════════════
   EXPLOSION EFFECTS
══════════════════════════════════════════════════════ */
.shockwave-ring {
    position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    animation: shockwave 1s cubic-bezier(.2,.6,.3,1) forwards;
}
@keyframes shockwave {
    0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}
.particle-flash {
    position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    background: radial-gradient(ellipse at var(--fx) var(--fy), rgba(124,58,237,.5) 0%, transparent 65%);
    animation: flash-fade .7s ease forwards;
}
@keyframes flash-fade {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   PUBLIC PAGES — Blog / Kaynaklar / Article (eklenen)
══════════════════════════════════════════════════════ */
.container-narrow { max-width: 780px; }

/* ── Page hero (nav sabit ~80px) ── */
.page-hero {
    padding: 140px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse 60% 80% at 50% -10%, rgba(37,99,235,.16), transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 0%, rgba(124,58,237,.10), transparent 60%);
}
.page-hero .section-badge { margin: 0 auto 20px; }
.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900; letter-spacing: -.03em; line-height: 1.08;
    color: var(--white); margin-bottom: 16px;
}
.page-hero-sub {
    font-size: 17px; color: var(--muted); line-height: 1.7;
    max-width: 560px; margin: 0 auto;
}

/* ── Blog toolbar (sekme + arama) ── */
.blog-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; padding: 40px 0 32px;
}
.blog-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tab {
    padding: 9px 18px; border-radius: 999px;
    font-size: 13.5px; font-weight: 600; color: var(--muted);
    text-decoration: none; border: 1px solid var(--border);
    background: var(--card-bg); transition: all .25s var(--ease, ease);
}
.blog-tab:hover { color: var(--white); border-color: rgba(255,255,255,.2); background: var(--card-bg-h); }
.blog-tab.active {
    color: #fff; border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}
.blog-search { position: relative; display: flex; align-items: center; }
.blog-search svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.blog-search input {
    width: 240px; max-width: 100%; padding: 11px 16px 11px 40px;
    border-radius: 999px; border: 1px solid var(--border);
    background: var(--card-bg); color: var(--text);
    font-size: 14px; font-family: var(--font); outline: none;
    transition: border-color .25s ease, background .25s ease;
}
.blog-search input:focus { border-color: var(--blue-l); background: var(--card-bg-h); }
.blog-search input::placeholder { color: var(--dim); }
.blog-result-note { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.blog-result-note strong { color: var(--white); }

/* ── Blog / Resource grid ── */
.blog-grid, .res-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.blog-card, .res-card {
    display: flex; flex-direction: column;
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    text-decoration: none; transition: transform .3s var(--ease, ease), border-color .3s ease, background .3s ease;
}
.blog-card:hover, .res-card:hover {
    transform: translateY(-6px); border-color: rgba(255,255,255,.16);
    background: var(--card-bg-h); box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.blog-card-cover, .res-card-cover {
    position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(255,255,255,.03);
}
.blog-card-cover img, .res-card-cover img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease, ease);
}
.blog-card:hover .blog-card-cover img, .res-card:hover .res-card-cover img { transform: scale(1.06); }
.blog-card-ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,.25), rgba(124,58,237,.25));
}
.blog-card-ph span { font-family: var(--font-head); font-size: 46px; font-weight: 900; color: rgba(255,255,255,.5); }
.blog-card-body, .res-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat, .res-client {
    display: inline-block; align-self: flex-start;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--blue-l); margin-bottom: 12px;
}
.res-client { color: var(--muted); }
.blog-card-title {
    font-family: var(--font-head); font-size: 18px; font-weight: 800;
    color: var(--white); line-height: 1.35; letter-spacing: -.01em; margin-bottom: 10px;
}
.blog-card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.blog-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 4px;
}
.blog-card-date { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.blog-card-more { font-size: 13px; font-weight: 700; color: var(--blue-l); }

/* ── Resource extras ── */
.res-metric {
    position: absolute; top: 12px; left: 12px;
    padding: 6px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 6px 18px rgba(37,99,235,.4);
}
.res-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.res-tag {
    font-size: 11.5px; font-weight: 600; color: var(--muted);
    padding: 4px 10px; border-radius: 999px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
}
.res-tabs { display: flex; gap: 10px; padding: 40px 0 32px; }
.res-tab {
    padding: 11px 22px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none;
    border: 1px solid var(--border); background: var(--card-bg); transition: all .25s ease;
}
.res-tab:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.res-tab.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--blue), var(--purple)); }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.page-link {
    min-width: 42px; padding: 10px 14px; text-align: center;
    border-radius: 12px; border: 1px solid var(--border); background: var(--card-bg);
    color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .25s ease;
}
.page-link:hover { color: var(--white); border-color: rgba(255,255,255,.2); background: var(--card-bg-h); }
.page-link.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--blue), var(--purple)); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 90px 20px; max-width: 460px; margin: 0 auto; }
.empty-icon {
    width: 72px; height: 72px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 30px; color: var(--blue-l);
    background: rgba(37,99,235,.1); border: 1px solid var(--border);
}
.empty-state h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.empty-state p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }

/* ── Article ── */
.article { padding: 130px 0 40px; }
.article-head { text-align: center; margin-bottom: 40px; }
.article-back { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.article-back:hover { color: var(--white); }
.article-cat { display: inline-block; margin-bottom: 16px; text-decoration: none; }
.article-title {
    font-family: var(--font-head); font-size: clamp(28px, 4.4vw, 46px);
    font-weight: 900; letter-spacing: -.03em; line-height: 1.15; color: var(--white); margin-bottom: 20px;
}
.article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--muted); }
.article-meta .dot { color: var(--dim); }
.res-metric-inline {
    padding: 4px 12px; border-radius: 999px; font-weight: 800; color: #fff; font-size: 12.5px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; border: 1px solid var(--border); }
.article-cover img { width: 100%; height: auto; display: block; }

/* ── Article typography ── */
.article-body { font-size: 17px; line-height: 1.85; color: var(--text); }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 24px; }
.article-body h2 { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -.02em; line-height: 1.3; margin: 48px 0 18px; }
.article-body h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.01em; margin: 36px 0 14px; }
.article-body h4 { font-size: 18px; font-weight: 700; color: var(--white); margin: 28px 0 12px; }
.article-body a { color: var(--blue-l); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--cyan); }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 28px 0; border: 1px solid var(--border); }
.article-body blockquote {
    margin: 28px 0; padding: 18px 26px; border-left: 3px solid var(--blue-l);
    background: var(--card-bg); border-radius: 0 12px 12px 0; color: var(--muted); font-style: italic;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { background: rgba(0,0,0,.4); border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow-x: auto; margin: 0 0 24px; font-size: 14px; }
.article-body code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.article-body pre code { background: none; padding: 0; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--card-bg); color: var(--white); font-weight: 700; }

/* ── Share buttons ── */
.article-share {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
}
.article-share-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.share-btn {
    padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: var(--muted); text-decoration: none; cursor: pointer;
    border: 1px solid var(--border); background: var(--card-bg);
    font-family: var(--font); transition: all .25s ease;
}
.share-btn:hover { color: var(--white); border-color: rgba(255,255,255,.22); background: var(--card-bg-h); }

/* ── Resource detail actions ── */
.res-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ── Responsive ── */
@media (max-width: 920px) {
    .blog-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .blog-grid, .res-grid { grid-template-columns: 1fr; }
    .blog-toolbar { flex-direction: column; align-items: stretch; }
    .blog-search input { width: 100%; }
    .article-body { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════
   TEMA DEĞİŞTİRME DÜĞMESİ
══════════════════════════════════════════════════════ */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--card-bg); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; padding: 0;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.theme-toggle:hover { color: var(--white); border-color: var(--blue-l); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-sun  { display: block; }
/* Açık temada güneş yerine ay göster */
html[data-theme="light"] .theme-toggle .ic-sun  { display: none; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }
.theme-toggle-m { display: none; margin-left: auto; margin-right: 10px; }
@media(max-width:860px){
    .nav-actions .theme-toggle { display: none; }
    .theme-toggle-m { display: inline-flex; }
}

/* ══════════════════════════════════════════════════════
   AÇIK TEMA
══════════════════════════════════════════════════════ */
html[data-theme="light"] {
    --bg:        #f4f7fc;
    --bg2:       #e9eff7;
    --white:     #0f1b2d;
    --text:      rgba(15,27,45,.86);
    --muted:     rgba(15,27,45,.56);
    --dim:       rgba(15,27,45,.4);
    --border:    rgba(15,27,45,.1);
    --card-bg:   #ffffff;
    --card-bg-h: #ffffff;
}
/* Açık temada TÜM bölümler açık olur; koyuya özel sabit renkleri düzelt */
html[data-theme="light"] .footer { background: #eef2f8; }
html[data-theme="light"] .cta-box { border-color: rgba(15,27,45,.1); }
html[data-theme="light"] .cta-form input,
html[data-theme="light"] .cta-form select,
html[data-theme="light"] .cta-form textarea { background: rgba(15,27,45,.03); border-color: rgba(15,27,45,.12); }
html[data-theme="light"] .cta-form input:focus,
html[data-theme="light"] .cta-form select:focus,
html[data-theme="light"] .cta-form textarea:focus { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.5); }
html[data-theme="light"] .cta-form select option { background: #ffffff; color: #0f1b2d; }
html[data-theme="light"] .social-links a:hover { border-color: rgba(15,27,45,.2); background: rgba(15,27,45,.05); }
/* Nav */
html[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.82); border-bottom-color: var(--border); }
html[data-theme="light"] .nav-links a:hover { background: rgba(15,27,45,.06); }
/* Marquee + tech hover */
html[data-theme="light"] .marquee-wrap { background: rgba(15,27,45,.03); }
html[data-theme="light"] .tech-item:hover { color: var(--white); border-color: rgba(15,27,45,.18); background: rgba(15,27,45,.05); }
html[data-theme="light"] .btn-ghost-hero:hover { color: var(--white); border-color: rgba(15,27,45,.22); background: rgba(15,27,45,.04); }
/* Kartlara açık zeminde derinlik */
html[data-theme="light"] .service-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .res-card,
html[data-theme="light"] .why-card { box-shadow: 0 12px 34px -20px rgba(15,27,45,.35); }
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .blog-card:hover,
html[data-theme="light"] .res-card:hover { box-shadow: 0 22px 48px -22px rgba(15,27,45,.4); }
/* Hero'daki gradient parıltı açık zeminde biraz daha belirgin dursun */
html[data-theme="light"] .section-numbers { background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.08)); }
/* Hero'daki yarı saydam beyaz kutular açık zeminde görünür olsun */
html[data-theme="light"] .hero-badge { background: rgba(15,27,45,.05); border-color: rgba(15,27,45,.12); }
html[data-theme="light"] .hero-stats { background: rgba(15,27,45,.03); }
