/* =========================================================
   Umut Akseloğlu — Kişisel Site
   Tek stil dosyası. Renkler ve ölçüler :root değişkenlerinde.
   ========================================================= */

:root {
  --bg: #0a0c0f;
  --surface: #111418;
  --surface-2: #171b21;
  --border: #232830;
  --text: #e9ecef;
  --muted: #8b949e;
  --accent: #7ee2a8;
  --accent-ink: #06140c;
  --accent-soft: rgba(126, 226, 168, 0.12);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --header-h: 68px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #eeefeb;
  --border: #e0e2dc;
  --text: #0f1214;
  --muted: #5a626a;
  --accent: #0e8a4e;
  --accent-ink: #ffffff;
  --accent-soft: rgba(14, 138, 78, 0.1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
}
.logo-text small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; font-family: var(--font-mono); line-height: 1.2; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--muted); transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); transition: border-color .15s;
}
.icon-btn:hover { border-color: var(--muted); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

[hidden] { display: none !important; }
.header-actions .header-cta { display: none; }
.logo-text { white-space: nowrap; }
@media (max-width: 480px) { .logo-text small { display: none; } }

@media (min-width: 900px) {
  .nav { display: block; }
  .header-actions .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobil menü */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg);
  padding: 24px 20px;
  display: none; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 4px; font-size: 22px; font-weight: 500;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.mobile-nav .btn { margin-top: 24px; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }
.section + .section { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); max-width: 600px; }
@media (min-width: 768px) {
  .section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .section-head { margin-bottom: 56px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 56px 72px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-block: 96px 112px; } }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero .container { position: relative; display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 1000px) { .hero .container { flex-direction: row; align-items: center; gap: 64px; } }

.hero-content { flex: 1.3; display: flex; flex-direction: column; gap: 24px; }
.status-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; color: var(--muted);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

.hero h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.035em; font-weight: 600; }
.hero h1 .accent { display: block; }
.hero-lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 580px; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.terminal-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.terminal-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.9; }
.terminal-body .k { color: var(--muted); }
.terminal-body .v { color: var(--text); }
.terminal-body .s { color: var(--accent); }
.terminal-body .cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.typewriter-cursor { display: inline-block; color: var(--accent); margin-left: 2px; font-weight: 300; animation: blink .9s steps(1) infinite; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 20px; border-right: 1px solid var(--border); }
.stat:nth-child(2n) { border-right: 0; }
@media (max-width: 767px) { .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (min-width: 768px) { .stat:nth-child(2n) { border-right: 1px solid var(--border); } .stat:last-child { border-right: 0; } .stat { padding: 36px 32px; } }
.stat strong { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; }
.stat strong sup { font-size: .5em; color: var(--accent); vertical-align: super; }
.stat span { font-size: 14px; color: var(--muted); }

/* Marquee (logo/teknoloji şeridi) */
.tech-strip { padding-block: 28px; border-bottom: 1px solid var(--border); overflow: hidden; }
.tech-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.tech-track span { font-family: var(--font-mono); font-size: 14px; color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tech-track { animation: none; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.4fr; gap: 72px; } }
.about-text { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: var(--muted); }
.about-text strong { color: var(--text); font-weight: 500; }
.info-list { list-style: none; display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list span:first-child { color: var(--muted); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.info-list span:last-child { text-align: right; }

/* ---------- Cards / Projects ---------- */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.project-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); transform: translateY(-3px); }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.project-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.project-body h3 { font-size: 20px; }
.project-body p { color: var(--muted); font-size: 15px; flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag {
  font-family: var(--font-mono); font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); background: var(--bg);
}

/* Featured (büyük proje) */
.featured {
  display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
@media (min-width: 900px) { .featured { grid-template-columns: 1.2fr 1fr; } }
.featured .project-media { aspect-ratio: auto; min-height: 260px; }
.featured-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 900px) { .featured-body { padding: 44px; } }
.featured-body h3 { font-size: clamp(24px, 3vw, 34px); }
.featured-body p { color: var(--muted); }
.feature-list { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: "→"; color: var(--accent); font-family: var(--font-mono); }

/* Filtre çipleri */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  transition: all .15s;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.is-hidden { display: none !important; }

/* ---------- Timeline (Kariyer) ---------- */
.timeline { list-style: none; display: flex; flex-direction: column; }
.timeline-item {
  display: grid; gap: 10px; padding: 28px 0; border-top: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .timeline-item { grid-template-columns: 220px 1fr auto; gap: 40px; padding: 36px 0; } }
.timeline-date { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.timeline-date .now { color: var(--accent); }
.timeline-main { display: flex; flex-direction: column; gap: 8px; }
.timeline-main h3 { font-size: 21px; }
.timeline-main .company { color: var(--accent); font-size: 15px; font-weight: 500; }
.timeline-main p { color: var(--muted); font-size: 15px; max-width: 640px; }
.timeline-loc { font-size: 13px; color: var(--muted); font-family: var(--font-mono); padding-top: 4px; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
.skill-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.skill-card header { display: flex; align-items: center; gap: 12px; }
.skill-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.skill-icon svg { width: 20px; height: 20px; }
.skill-card h3 { font-size: 17px; }

/* ---------- Certificates ---------- */
.cert-list { list-style: none; border-top: 1px solid var(--border); }
.cert-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cert-list strong { font-weight: 500; }
.cert-list span { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

.two-col { display: grid; gap: 56px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- References / Testimonials ---------- */
.ref-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
.ref-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.ref-card blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.ref-card blockquote::before { content: "“"; display: block; font-size: 48px; line-height: .6; color: var(--accent); margin-bottom: 12px; font-family: Georgia, serif; }
.ref-person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.ref-person strong { display: block; font-size: 15px; font-weight: 500; }
.ref-person span { font-size: 13px; color: var(--muted); }

.client-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.client-row span { padding: 10px 16px; border: 1px dashed var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-card { display: flex; flex-direction: column; gap: 14px; }
.blog-card .project-media { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 16 / 9; }
.blog-card h3 { font-size: 20px; transition: color .15s; }
.blog-card:hover h3 { color: var(--accent); }
.blog-card p { color: var(--muted); font-size: 15px; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.blog-meta .cat { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

.blog-list { list-style: none; border-top: 1px solid var(--border); }
.blog-row { border-bottom: 1px solid var(--border); }
.blog-row a { display: grid; gap: 8px; padding: 24px 0; transition: padding .2s; }
@media (min-width: 800px) { .blog-row a { grid-template-columns: 140px 1fr 120px; gap: 32px; align-items: baseline; } }
.blog-row a:hover { padding-inline: 8px; }
.blog-row a:hover h3 { color: var(--accent); }
.blog-row h3 { font-size: 20px; transition: color .15s; }
.blog-row p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.blog-row time, .blog-row .read { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
@media (min-width: 800px) { .blog-row .read { text-align: right; } }

.search-box { position: relative; max-width: 360px; width: 100%; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search-box input { padding-left: 40px; }

/* Makale (prose) */
.article-head { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.article-head h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.03em; }
.article-head .lead { font-size: 19px; color: var(--muted); }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 48px; padding-block: 56px 96px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: 1fr 260px; gap: 72px; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: none; }
@media (min-width: 1000px) { .toc { display: block; } }
.toc h2 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 10px; border-left: 1px solid var(--border); }
.toc a { display: block; padding-left: 16px; font-size: 14px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }

.prose { max-width: 720px; font-size: 18px; line-height: 1.75; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 28px; color: var(--text); margin-top: 2em; }
.prose h3 { font-size: 22px; color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--text); font-size: 20px; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border); }
.prose pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); }

.author-box { display: flex; gap: 16px; align-items: center; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: 56px; max-width: 720px; }
.author-box p { font-size: 14px; color: var(--muted); }

.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.share span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }

/* ---------- Page header (alt sayfalar) ---------- */
.page-hero { padding-block: 64px 48px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .page-hero { padding-block: 96px 64px; } }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.035em; }
.page-hero p { color: var(--muted); max-width: 620px; font-size: 18px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--text); }

/* Proje detay */
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
@media (min-width: 800px) { .detail-meta { grid-template-columns: repeat(4, 1fr); } }
.detail-meta div { background: var(--surface); padding: 18px 20px; }
.detail-meta dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.detail-meta dd { margin: 6px 0 0; font-weight: 500; }

.gallery { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.pager { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s; }
.pager a:hover { border-color: var(--accent); }
.pager small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.pager .next { text-align: right; }

/* ---------- CTA ---------- */
.cta {
  padding: 40px 28px; border-radius: 20px; border: 1px solid var(--border);
  background:
    radial-gradient(600px 240px at 90% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 900px) { .cta { padding: 64px; flex-direction: row; align-items: center; justify-content: space-between; } }
.cta h2 { font-size: clamp(28px, 4vw, 44px); max-width: 620px; }
.cta p { color: var(--muted); margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .7; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox input { margin-top: 4px; accent-color: var(--accent); }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--text); }
.form-alert.error { border-color: #f87171; background: rgba(248, 113, 113, .1); }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .15s; }
.contact-list a:hover { border-color: var(--accent); }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list strong { font-weight: 500; word-break: break-all; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; list-style: none; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 14px; font-family: var(--font-mono); }
.pagination [aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pagination a:hover { border-color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 56px 32px; margin-top: 0; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-top p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-col h2 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.socials { display: flex; gap: 8px; margin-top: 20px; }

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Admin Paneli
   ========================================================= */
.admin-body { background: var(--bg); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 248px; flex-shrink: 0; border-right: 1px solid var(--border); background: var(--surface);
  padding: 20px 14px; display: none; flex-direction: column; gap: 24px;
  position: sticky; top: 0; height: 100vh;
}
@media (min-width: 960px) { .admin-sidebar { display: flex; } }
.admin-sidebar.is-open { display: flex; position: fixed; inset: 0 auto 0 0; z-index: 60; }
.admin-nav { list-style: none; display: grid; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.admin-nav svg { width: 16px; height: 16px; }
.admin-nav-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 12px 8px; }
.admin-sidebar .admin-user { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px; border-top: 1px solid var(--border); font-size: 14px; }
.admin-sidebar .admin-user small { display: block; color: var(--muted); font-size: 12px; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { height: 64px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); z-index: 10; }
.admin-topbar h1 { font-size: 18px; }
.admin-content { padding: 24px 20px 64px; display: flex; flex-direction: column; gap: 24px; max-width: 1200px; width: 100%; }
@media (min-width: 768px) { .admin-content { padding: 32px; } }
.admin-sidebar-toggle { display: grid; }
@media (min-width: 960px) { .admin-sidebar-toggle { display: none; } }

.kpi-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.kpi small { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 16px; }
.panel-body { padding: 20px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th { text-align: left; font-weight: 500; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.table td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.table .title-cell { display: flex; align-items: center; gap: 12px; }
.table .title-cell img { width: 52px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.table .row-actions { display: flex; gap: 6px; justify-content: flex-end; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); font-family: var(--font-mono); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status.published::before { background: var(--accent); }
.status.draft::before { background: #f5b83d; }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; border: 1px solid var(--border); width: fit-content; }
.tabs button { padding: 7px 16px; border-radius: 999px; border: 0; background: transparent; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.2); }

.editor-grid { display: grid; gap: 24px; }
@media (min-width: 1100px) { .editor-grid { grid-template-columns: 1fr 320px; align-items: start; } }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--surface-2); }
.editor-toolbar button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; border: 0; background: transparent; color: var(--muted); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.editor-toolbar button:hover { background: var(--surface); color: var(--text); }
.editor-toolbar + .textarea { border-radius: 0 0 var(--radius-sm) var(--radius-sm); min-height: 360px; font-family: var(--font-mono); font-size: 14px; }

.dropzone { border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; transition: border-color .15s, background .15s; cursor: pointer; }
.dropzone:hover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { width: 24px; height: 24px; }
.dropzone strong { color: var(--text); font-weight: 500; }
.preview-img { border-radius: var(--radius-sm); border: 1px solid var(--border); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.seo-preview { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; }
.seo-preview .url { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.seo-preview .t { color: #8ab4f8; font-size: 17px; margin: 4px 0; }
[data-theme="light"] .seo-preview .t { color: #1a0dab; }
.seo-preview .d { color: var(--muted); font-size: 13px; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 400px; padding: 32px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 24px; }
.login-card h1 { font-size: 24px; }
.login-card p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Typewriter Cursor & Animation */
.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  margin-left: 3px;
  animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-lead strong { color: var(--accent); font-weight: 600; }

/* =========================================================
   HEMEN KURULABİLİR DİJİTAL ÜRÜNLER & ÇÖZÜMLER (TURNKEY SAAS)
   ========================================================= */

.product-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
}

.product-grid-pro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .product-grid-pro {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .product-grid-pro {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card-pro {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}
.product-card-pro:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.product-media-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}
.product-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card-pro:hover .product-media-wrap img {
  transform: scale(1.05);
}
.product-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,15,0.1) 40%, rgba(10,12,15,0.7) 100%);
  pointer-events: none;
}

/* Kart Üzeri Rozetler */
.badge-delivery {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-delivery .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
  animation: pulse 1.8s infinite;
}

.badge-cat-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Kart İçeriği */
.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.product-card-body h3 {
  font-size: 20px;
  line-height: 1.3;
}
.product-card-body h3 a {
  transition: color 0.15s;
}
.product-card-body h3 a:hover {
  color: var(--accent);
}
.product-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Özellikler Maddeleri */
.product-feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
}
.product-feature-list li svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--accent);
}

/* Buton ve Aksiyon Alanı */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
@media (max-width: 400px) {
  .product-actions {
    grid-template-columns: 1fr;
  }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* 3 Adımda Canlıya Geçiş (Process Banner) */
.process-box {
  margin-top: 48px;
  padding: 32px 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.process-box-head {
  text-align: center;
  margin-bottom: 28px;
}
.process-box-head h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.process-box-head p {
  color: var(--muted);
  font-size: 14.5px;
}
.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.process-step-item {
  position: relative;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process-step-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}
.process-step-item h4 {
  font-size: 16px;
  font-weight: 600;
}
.process-step-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* İnteraktif Ürün İnceleme Modalı (Product Quick View Modal) */
.prod-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.prod-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.prod-modal {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.prod-modal-overlay.is-active .prod-modal {
  transform: scale(1) translateY(0);
}
.prod-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 12, 15, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.prod-modal-close:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(90deg);
}
.prod-modal-close svg {
  width: 18px;
  height: 18px;
}
.prod-modal-media {
  aspect-ratio: 16 / 9;
  max-height: 340px;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}
.prod-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-modal-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 600px) {
  .prod-modal-content {
    padding: 20px;
  }
}
.prod-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prod-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--surface-2);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
@media (min-width: 600px) {
  .prod-modal-meta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.prod-modal-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.prod-modal-meta-item strong {
  display: block;
  font-size: 14px;
  margin-top: 3px;
  color: var(--text);
}
.prod-modal-modules {
  display: grid;
  gap: 10px;
}
@media (min-width: 600px) {
  .prod-modal-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}
.prod-module-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.prod-module-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.prod-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Sabit Yüzen WhatsApp Butonu (Floating WhatsApp) */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 1px rgba(255,255,255,0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
@media (max-width: 600px) {
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 12px;
    bottom: 20px;
    right: 20px;
  }
}

/* Blog İçi Hazır Ürün Dönüşüm Kartı */
.blog-product-cta {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-product-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(126, 226, 168, 0.45);
}
@media (max-width: 640px) {
  .blog-product-cta {
    padding: 18px !important;
  }
  .blog-product-cta img {
    width: 100% !important;
    height: 180px !important;
  }
}

/* =========================================================
   Ortada Kayan Yazı Slider (Middle Ticker Slider)
   ========================================================= */
.middle-ticker-slider {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 75%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px -15px rgba(0, 0, 0, 0.5);
  margin-block: 10px 0;
}
.middle-ticker-slider::before,
.middle-ticker-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.middle-ticker-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.middle-ticker-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.middle-ticker-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marquee-ticker 38s linear infinite;
  will-change: transform;
}
.middle-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .middle-ticker-track {
    animation: none;
    overflow-x: auto;
  }
}
.middle-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.middle-ticker-item:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 16px var(--accent-soft);
}
.middle-ticker-item .ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite ease-in-out;
}
.middle-ticker-item .ticker-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
}
.middle-ticker-item .ticker-text {
  font-weight: 500;
  color: var(--text);
}
.middle-ticker-item .ticker-sub {
  color: var(--muted);
  font-size: 13px;
  margin-left: 2px;
}
@media (max-width: 768px) {
  .middle-ticker-slider {
    padding: 18px 0;
  }
  .middle-ticker-item {
    padding: 8px 14px;
    font-size: 13px;
    gap: 8px;
  }
  .middle-ticker-item .ticker-sub {
    display: none;
  }
}

/* ==================== MOBIL UYGULAMA VITRINI ==================== */
.mobile-app-section {
  padding-top: 10px;
  padding-bottom: 40px;
}
.mobile-app-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 26, 36, 0.85), rgba(12, 16, 22, 0.95));
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.mobile-app-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.mobile-app-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}
.mobile-app-content h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
}
.mobile-app-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.mobile-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 12px 0;
}
.mobile-app-badges .tag {
  background: rgba(0, 242, 254, 0.08);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.22);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.mobile-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mobile-app-mockup {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mobile-app-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 242, 254, 0.25);
}
.mobile-app-mockup img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .mobile-app-card {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    gap: 24px;
  }
}



