
/* Layout: koyu tek tema, büyük tipografili hero + terminal penceresi, ardından dar bir içerik kolonu */
:root {
  --bg: #0B0C10;
  --surface: #14161C;
  --line: #272A33;
  --fg: #F2F2EC;
  --muted: #A4A7B3;
  --accent: #C6F432;
  --accent-ink: #0B0C10;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }

/* Üst menü */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand b { color: var(--accent); font-weight: 700; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav ul a:hover { color: var(--fg); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
@media (max-width: 820px) { .nav ul { display: none; } }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { display: flex; padding: 6px 8px; border-radius: 999px; opacity: 0.5; transition: opacity .15s ease; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="page"] { opacity: 1; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent); }
.lang svg { display: block; border-radius: 3px; }
.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; }
@media (max-width: 480px) { .nav .btn { display: none; } }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Terminal penceresi */
.term {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  font-family: var(--mono); font-size: 0.88rem; line-height: 1.75; min-width: 0;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar span.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.term-bar .url { margin-left: 12px; color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body { padding: 20px 20px 24px; overflow-x: auto; }
.term-body .c { color: var(--muted); }
.term-body .ok { color: var(--accent); }
.term-body .cursor { display: inline-block; width: 9px; height: 1.1em; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.vitals div { padding: 14px 16px; border-right: 1px solid var(--line); }
.vitals div:last-child { border-right: 0; }
.vitals small { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }
.vitals strong { font-family: var(--display); font-size: 1.15rem; color: var(--fg); }

/* Bölümler */
section.block { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.head p { color: var(--muted); font-size: 1.1rem; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.service { background: var(--bg); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 14px; }
.service svg { color: var(--accent); }
.service p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .services { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--accent); }
.steps .n { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.shot { display: block; text-decoration: none;background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.shot:hover { transform: translateY(-4px); border-color: var(--accent); }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot-bar .url { margin-left: 12px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { display: block; width: 100%; height: auto; }
.project-info { display: flex; flex-direction: column; gap: 18px; }
.project-info h3 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.project-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.project-info li { display: flex; gap: 10px; color: var(--muted); font-size: 0.97rem; }
.project-info li svg { flex-shrink: 0; margin-top: 5px; color: var(--accent); }
.project-info .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 900px) { .project { grid-template-columns: minmax(0, 1fr); } }
.projects-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 40px); margin-top: clamp(48px, 7vw, 80px); }
.project-card { display: flex; flex-direction: column; gap: 24px; }
.project-card .project-info h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
div.shot:hover { transform: none; border-color: var(--line); }
.link-out { align-self: flex-start; font-weight: 600; text-decoration: none; }
.link-out:hover { text-decoration: underline; }
@media (max-width: 1000px) { .projects-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .projects-more { grid-template-columns: minmax(0, 1fr); } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.plan.featured { border-color: var(--accent); background: var(--surface); }
.plan .tag { align-self: flex-start; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; }
.plan .price { font-family: var(--display); font-size: 2.2rem; font-weight: 700; }
.plan .price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 0.97rem; }
.plan li svg { flex-shrink: 0; margin-top: 5px; color: var(--accent); }
.plan .btn { justify-content: center; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 65ch; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.channels { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.channel { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; }
.channel small { font-family: var(--mono); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.channel span, .channel a { font-weight: 600; font-size: 1.05rem; color: var(--fg); text-decoration: none; user-select: all; }
form.contact { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field textarea, .field select {
  font: 400 1rem var(--body); color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-note a { font-weight: 600; }

footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 40px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; max-width: 36ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h3 { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 0.95rem; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--fg); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.foot { border-top: 1px solid var(--line); padding-top: 24px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; color: var(--muted); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .term-body .cursor { animation: none; }
  .btn { transition: none; }
}