/* ============================================================
   canoz — Modern Koyu (tech) tema · gradyan yok, düz renkler
   ============================================================ */

:root {
  /* Renkler — düz, gradyansız */
  --bg: #0e1116;
  --surface: #161a21;
  --surface-2: #1c212b;
  --border: #272d38;
  --border-light: #333b48;
  --text: #e7e9ee;
  --muted: #98a1b2;
  --accent: #8b7cff;
  --accent-hover: #9d90ff;
  --accent-press: #7565f0;
  --ink: #0e1116;

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

  --page-max: 1120px;
  --measure: 680px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--measure); }

.dot { color: var(--accent); }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #11121a; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-light); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 14px; background: var(--accent); color: #11121a; }
.btn-sm:hover { background: var(--accent-hover); }

/* ============================================================
   Navigasyon — yapışkan, koyu
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav-logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-links + .nav-right { margin-left: 0; }
.nav-links { margin-right: 4px; }

.lang-toggle {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  width: 42px;
  height: 34px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--text);
  width: 40px; height: 36px;
  border-radius: var(--r-sm);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Eyebrow / başlıklar
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.prose {
  font-size: 18px;
  color: var(--muted);
  max-width: var(--measure);
  margin-bottom: 16px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  border-bottom: 1px solid var(--border);
  /* sade nokta dokusu — gradyan değil */
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 88px 24px;
}
.hero-name {
  font-size: clamp(52px, 9vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin: 4px 0 6px;
}
.hero-role {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stack { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stack span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}

/* ===== Cihaz (Tetris) ===== */
.hero-device { display: flex; justify-content: center; }
.device {
  width: 290px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 22px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.device-screen {
  position: relative;
  background: #0c1018;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  padding: 7px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  touch-action: none;
}
.device-screen:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(139, 124, 255, 0.35); }
#tv { display: block; width: 100%; height: 100%; border-radius: 3px; image-rendering: pixelated; }
.screen-hint {
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(12, 16, 24, 0.82);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
  transition: opacity 0.3s;
}
.device-screen.playing .screen-hint { opacity: 0; }

.device-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.dpad { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.dbtn {
  position: absolute;
  border: none;
  padding: 0;
  background: #11161f;
  border: 1px solid var(--border-light);
  cursor: pointer;
  touch-action: none;
  transition: background 0.1s;
}
.dbtn:active { background: var(--accent); }
.dbtn.up    { top: 0; left: 16px; width: 14px; height: 17px; border-radius: 4px 4px 0 0; }
.dbtn.down  { bottom: 0; left: 16px; width: 14px; height: 17px; border-radius: 0 0 4px 4px; }
.dbtn.left  { left: 0; top: 16px; width: 17px; height: 14px; border-radius: 4px 0 0 4px; }
.dbtn.right { right: 0; top: 16px; width: 17px; height: 14px; border-radius: 0 4px 4px 0; }

.btns { display: flex; gap: 10px; }
.abtn {
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #11121a;
  font-family: var(--mono);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  touch-action: none;
  transition: transform 0.1s, background 0.1s;
}
.abtn:active { transform: scale(0.9); background: var(--accent-hover); }

.crank {
  position: absolute;
  right: -9px; top: 42px;
  width: 9px; height: 64px;
  background: var(--border-light);
  border-radius: 0 6px 6px 0;
}
.crank::after {
  content: "";
  position: absolute;
  right: -15px; top: -4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--border-light);
}

/* ============================================================
   Bölümler
   ============================================================ */
.section { padding: 90px 0; border-bottom: 1px solid var(--border); }

/* ===== Feature kartları (yetenek / iş) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color 0.18s, transform 0.18s;
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.fc-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.fc-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 8px 0 10px;
}
.feature-card p { font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ===== Mini başlık + etiketler ===== */
.mini-title {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 44px 0 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: border-color 0.15s, color 0.15s;
}
.tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Form
   ============================================================ */
.form {
  max-width: var(--measure);
  margin: 34px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; gap: 14px; }
.form input,
.form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 13px 16px;
  resize: vertical;
  transition: border-color 0.15s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form .btn { align-self: flex-start; }
.form-status { font-family: var(--mono); font-size: 14px; color: var(--accent); min-height: 1.4em; }

.email-line { margin-top: 26px; font-size: 16px; }
.email-line a { color: var(--accent); font-family: var(--mono); text-decoration: none; }
.email-line a:hover { text-decoration: underline; }
.location-line { margin-top: 6px; font-family: var(--mono); font-size: 14px; color: var(--muted); }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--text); }
.footer p { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ===== Görünürlük animasyonu ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 22px; }
  .hero-device { order: -1; }

  /* Mobil navigasyon — linkler açılır panele iner */
  .nav-toggle { display: inline-flex; }
  .nav-right { margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    font-size: 16px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .form-row { flex-direction: column; }

  .hero-inner { padding: 36px 18px; }
  .hero-name { font-size: clamp(40px, 13vw, 64px); letter-spacing: -1px; }
  .hero-role { font-size: 22px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Cihaz ekranı taşmasın + dokunma hedefleri büyük */
  .device { width: min(300px, 84vw); }
  .device-controls { margin-top: 16px; }
  .dpad { width: 58px; height: 58px; }
  .dbtn.up    { left: 21px; width: 16px; height: 21px; }
  .dbtn.down  { left: 21px; width: 16px; height: 21px; }
  .dbtn.left  { top: 21px; width: 21px; height: 16px; }
  .dbtn.right { top: 21px; width: 21px; height: 16px; }
  .abtn { width: 40px; height: 40px; font-size: 15px; }

  .section-title { font-size: clamp(24px, 7vw, 34px); }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-right { gap: 10px; }
  .btn-sm { padding: 8px 12px; font-size: 13px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   Başlıklarda imleç-takipli renk efekti (Aceternity text-hover-effect)
   ============================================================ */
.section-title, .hero-name {
  --mx: 50%;
  --my: -200%;
  background-image:
    radial-gradient(170px circle at var(--mx) var(--my),
      #a78bff 0%, #8b7cff 18%, #6ee7ff 44%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(var(--text), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Dönen 3D teknoloji küresi
   ============================================================ */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 360px;
}
.globe {
  position: relative;
  width: min(360px, 78vw);
  height: min(360px, 78vw);
}
.globe span {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: var(--r-sm);
  pointer-events: none;
  will-change: transform, opacity;
}
@media (max-width: 560px) {
  .hero-visual { min-height: 300px; }
  .globe span { font-size: 12px; padding: 4px 9px; }
}

/* ============================================================
   Sayfa geneli ambians arkaplan (ince ışıklar + noktalı doku)
   ============================================================ */
body { background: #0a0c11; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(820px 560px at 88% -8%, rgba(139, 124, 255, 0.13), transparent 60%),
    radial-gradient(680px 520px at -6% 106%, rgba(110, 231, 255, 0.08), transparent 55%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 30px 30px;
  background-repeat: no-repeat, no-repeat, repeat;
}
/* kenarları hafif karart — derinlik */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 240px 40px rgba(0, 0, 0, 0.55);
}
/* hero'daki yerel ızgara artık global olduğundan kapat */
.hero { background-image: none; }

/* ============================================================
   Kartlar — kaliteli solid tasarım (glass YOK)
   ============================================================ */
.feature-grid { gap: 18px; }
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  background: var(--surface-2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.feature-card:hover::before { transform: scaleX(1); }

.fc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  transition: border-color 0.2s, color 0.2s;
}
.feature-card:hover .fc-num { border-color: var(--accent); }

.fc-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 22px; margin: 0 0 12px; }
.feature-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ===== Mobil güvenlik: yatay kaymayı engelle ===== */
html, body { overflow-x: hidden; max-width: 100%; }
