/* ==========================================================================
   SinUp Digital — Tasarım Sistemi
   Tek font: Sora (değişken). Koyu, kurumsal, premium tema.
   ========================================================================== */

:root {
  /* Renkler — varsayılan: AÇIK tema (ferah, kurumsal) */
  --bg: #f5f8fc;
  --bg-2: #edf2f9;
  --surface: #ffffff;
  --surface-2: #e3ecf7;
  --border: rgba(16, 42, 84, 0.12);
  --border-strong: rgba(16, 42, 84, 0.24);
  --text: #0e1a30;
  --text-soft: #35486a;
  --text-muted: #5d6f8a;
  --accent: #2563eb;
  --accent-2: #0e9fbe;
  --accent-deep: #2563eb;
  --gradient: linear-gradient(120deg, #1d4ed8 0%, #2563eb 45%, #0ea5c4 100%);
  --glow: 0 0 60px rgba(37, 99, 235, 0.2);

  /* Tema bileşen değişkenleri */
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-overlay: rgba(248, 250, 253, 0.98);
  --grid-line: rgba(37, 99, 235, 0.07);
  --hero-tint-1: rgba(37, 99, 235, 0.12);
  --hero-tint-2: rgba(14, 165, 196, 0.1);
  --orb-1c: rgba(37, 99, 235, 0.18);
  --orb-2c: rgba(14, 165, 196, 0.16);
  --badge-bg: rgba(255, 255, 255, 0.75);
  --input-bg: #f2f6fb;
  --card-shadow: 0 24px 48px rgba(23, 43, 77, 0.14);
  --cta-glow: rgba(37, 99, 235, 0.16);
  --status-ok-bg: rgba(22, 163, 74, 0.1);
  --status-ok-text: #15803d;
  --status-err-bg: rgba(220, 38, 38, 0.08);
  --status-err-text: #b91c1c;
  --feature-hover-bg: rgba(255, 255, 255, 0.9);

  /* Tipografi ölçeği */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-hero: clamp(2.4rem, 1.6rem + 4.2vw, 4.6rem);

  /* Boşluk ritmi */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: clamp(4.5rem, 3rem + 6vw, 8rem);

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   KOYU TEMA (gece modu) — isteğe bağlı, html[data-theme="dark"] ile açılır
   -------------------------------------------------------------------------- */
html[data-theme="dark"] {
  --bg: #070b14;
  --bg-2: #0a101f;
  --surface: #0e1628;
  --surface-2: #13203a;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #eef3fb;
  --text-soft: #b9c5d8;
  --text-muted: #8494ac;
  --accent: #3b82f6;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(120deg, #2563eb 0%, #3b82f6 45%, #22d3ee 100%);
  --glow: 0 0 60px rgba(59, 130, 246, 0.35);

  --nav-bg: rgba(7, 11, 20, 0.82);
  --nav-overlay: rgba(7, 11, 20, 0.97);
  --grid-line: rgba(148, 163, 184, 0.05);
  --hero-tint-1: rgba(37, 99, 235, 0.22);
  --hero-tint-2: rgba(34, 211, 238, 0.12);
  --orb-1c: rgba(37, 99, 235, 0.35);
  --orb-2c: rgba(34, 211, 238, 0.22);
  --badge-bg: rgba(14, 22, 40, 0.7);
  --input-bg: rgba(7, 11, 20, 0.6);
  --card-shadow: 0 24px 48px rgba(2, 6, 16, 0.6);
  --cta-glow: rgba(37, 99, 235, 0.4);
  --status-ok-bg: rgba(22, 163, 74, 0.14);
  --status-ok-text: #86efac;
  --status-err-bg: rgba(220, 38, 38, 0.12);
  --status-err-text: #fca5a5;
  --feature-hover-bg: rgba(14, 22, 40, 0.6);
}

/* Tema geçişini yumuşat */
body, .nav, .card, .step, .feature, .form-card, .contact-line, .faq details,
.cta-band, .trustbar, .footer, .field input, .field select, .field textarea {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
}

/* Logo: açık temada renkli, koyu temada beyaz versiyon */
.logo-dark { display: none; }
.logo-light { display: block; }
html[data-theme="dark"] .logo-dark { display: block; }
html[data-theme="dark"] .logo-light { display: none; }

/* --------------------------------------------------------------------------
   Reset & taban
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection { background: rgba(37, 99, 235, 0.85); color: #fff; }

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

/* Klavye kullanıcıları için içeriğe atla bağlantısı */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 8px;
  font-size: var(--fs-sm);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Yerleşim yardımcıları
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-7); position: relative; }
.section--tight { padding-block: var(--space-6); }

.section-head { max-width: 720px; margin-bottom: var(--space-5); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

h2 { font-size: var(--fs-h2); margin-bottom: var(--space-2); }

.lead { color: var(--text-soft); font-size: var(--fs-lg); line-height: 1.65; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Özel imleç + iz efekti (yalnızca fare/iğne işaretçisi olan cihazlarda)
   -------------------------------------------------------------------------- */
#cursor-canvas {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  display: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, 0.55);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  display: none;
}

body.has-cursor #cursor-canvas,
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { display: block; }

body.has-cursor.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(34, 211, 238, 0.9);
  background: rgba(34, 211, 238, 0.08);
}

/* --------------------------------------------------------------------------
   Üst menü
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav.hidden { transform: translateY(-100%); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-inner nav { margin-left: auto; }

/* Dil seçimi */
.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  flex-shrink: 0;
}
.language-switch button {
  min-width: 34px;
  height: 32px;
  padding-inline: 8px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.language-switch button:hover { color: var(--text); }
.language-switch button.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Tema değiştirme düğmesi */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-spring), background 0.25s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(-14deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.25s;
}
.brand:hover { opacity: 0.85; }
.brand img { height: 44px; width: auto; }
.footer .brand img { height: 56px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  list-style: none;
}
.nav-links a:not(.btn) {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn)[aria-current="page"] { color: var(--text); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--space-3) var(--space-4);
    background: var(--nav-overlay);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.3s, visibility 0.35s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: var(--space-2); }
  .nav-links a:not(.btn) { display: block; padding: 14px 4px; font-size: var(--fs-base); }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .nav-inner { gap: 6px; }
  .brand img { height: 38px; }
  .language-switch button { min-width: 30px; padding-inline: 6px; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s var(--ease-out),
              background-color 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.5);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(148, 163, 184, 0.05);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.45);
}

.btn-sm { padding: 10px 22px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 45% at 18% 18%, var(--hero-tint-1), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 70%, var(--hero-tint-2), transparent 65%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  animation: orb-float 14s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; top: -140px; left: -120px; background: var(--orb-1c); }
.orb-2 { width: 380px; height: 380px; bottom: -80px; right: -60px; background: var(--orb-2c); animation-delay: -7s; }

@keyframes orb-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 36px) scale(1.12); }
}

.hero-inner {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--badge-bg);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-soft);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero .lead { max-width: 640px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--accent-2);
  animation: scroll-hint 1.8s var(--ease-out) infinite;
}
@keyframes scroll-hint {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Logo şeridi / güven satırı
   -------------------------------------------------------------------------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: var(--space-3);
  overflow: hidden;
}
.trustbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.trustbar strong { color: var(--text-soft); font-weight: 600; }

/* --------------------------------------------------------------------------
   Kartlar — hizmetler
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-3); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(59, 130, 246, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--card-shadow);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent-2);
  transition: transform 0.35s var(--ease-spring), background 0.35s;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: rgba(59, 130, 246, 0.2); }

.card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.card p { color: var(--text-soft); font-size: var(--fs-sm); }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-3);
  list-style: none;
}
.card-tags li {
  font-size: var(--fs-xs);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Süreç adımları
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); counter-reset: step; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.step:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-2);
}
.step h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.step p { font-size: var(--fs-sm); color: var(--text-soft); }

/* --------------------------------------------------------------------------
   İstatistikler
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat .num {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Referanslar — etkileşimli proje vitrini
   Solda akordeon sekmeler (özellikler kayarak açılır), sağda her projeye
   özel animasyonlu önizleme. Otomatik geçiş JS ile sürülür (--progress).
   -------------------------------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
}

.showcase-list { display: flex; flex-direction: column; justify-content: center; }

.showcase-item { position: relative; border-bottom: 1px solid var(--border); }
.showcase-item:last-child { border-bottom: none; }

/* Otomatik geçiş ilerleme çizgisi */
.showcase-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgb(var(--t1)), rgb(var(--t2)));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.showcase-item-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  transition: background 0.3s;
}
.showcase-item:not(.is-active) .showcase-item-head:hover { background: rgba(var(--t1), 0.06); }

.showcase-num {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.showcase-item.is-active .showcase-num {
  background: linear-gradient(120deg, rgb(var(--t1)), rgb(var(--t2)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.showcase-title { display: grid; gap: 2px; flex: 1; min-width: 0; }
.showcase-title strong { font-size: var(--fs-lg); letter-spacing: -0.02em; }
.showcase-title em { font-style: normal; font-size: var(--fs-xs); color: var(--text-muted); }

.showcase-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}
.showcase-item.is-active .showcase-chevron { transform: rotate(180deg); color: rgb(var(--t2)); }

/* Açılır gövde: 0fr → 1fr geçişiyle pürüzsüz yükseklik animasyonu */
.showcase-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.showcase-item.is-active .showcase-item-body { grid-template-rows: 1fr; }
.showcase-item-inner {
  overflow: hidden;
  min-height: 0;
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}
/* Kenar boşlukları padding yerine çocuklara verilir; padding 0fr çöküşünü engeller */
.showcase-item-inner > * { margin-inline: var(--space-4); }
.showcase-item-inner > :last-child { margin-bottom: var(--space-4); }
.showcase-item-inner > p { font-size: var(--fs-sm); color: var(--text-soft); }

.showcase-feats { list-style: none; display: grid; gap: 10px; }
.showcase-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.showcase-feats li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: linear-gradient(120deg, rgb(var(--t1)), rgb(var(--t2)));
  box-shadow: 0 0 8px rgba(var(--t2), 0.6);
}
.showcase-item.is-active .showcase-feats li { opacity: 1; transform: none; }
.showcase-item.is-active .showcase-feats li:nth-child(1) { transition-delay: 0.3s; }
.showcase-item.is-active .showcase-feats li:nth-child(2) { transition-delay: 0.42s; }
.showcase-item.is-active .showcase-feats li:nth-child(3) { transition-delay: 0.54s; }
.showcase-item.is-active .showcase-feats li:nth-child(4) { transition-delay: 0.66s; }

/* Sahne: üst üste binen görseller, aktif olan 3D dönüşle gelir */
.showcase-stage {
  position: relative;
  display: grid;
  border-left: 1px solid var(--border);
  min-height: 540px;
  overflow: hidden;
}
.showcase-visual {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background:
    radial-gradient(ellipse at 30% 18%, rgba(var(--t1), 0.22), transparent 60%),
    radial-gradient(ellipse at 80% 85%, rgba(var(--t2), 0.16), transparent 55%),
    var(--surface-2);
  opacity: 0;
  visibility: hidden;
  transform: perspective(1400px) rotateY(-7deg) translateX(48px) scale(0.95);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), visibility 0.65s;
}
.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--t1), 0.2) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 75%);
}
.showcase-visual.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; }

/* Mockup çerçeveleri: gerçek site ekran görüntüsü içeride yavaşça gezinir */
.mock {
  position: relative;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  box-shadow: var(--card-shadow);
}
.mock-browser { max-width: 500px; }
.showcase-visual.is-active .mock {
  animation: mock-in 0.8s var(--ease-out) 0.05s both,
             mock-float 6.5s ease-in-out 1.2s infinite alternate;
}
@keyframes mock-in { from { opacity: 0; transform: translateY(26px) scale(0.97); } }
@keyframes mock-float { to { transform: translateY(-8px); } }

/* Masaüstü ↔ telefon geçişli ikili cihaz kompozisyonu */
.device-duo {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: grid;
  place-items: center;
}
.duo-item {
  grid-area: 1 / 1;
  width: 100%;
  display: grid;
  place-items: center;
}
.duo-phone { opacity: 0; }
.showcase-visual.is-active .duo-desktop { animation: duo-front 12s ease-in-out infinite; }
.showcase-visual.is-active .duo-phone { animation: duo-back 12s ease-in-out infinite; }
@keyframes duo-front {
  0%, 42% { opacity: 1; transform: none; }
  52%, 90% { opacity: 0; transform: perspective(1200px) rotateY(-10deg) translateX(-36px) scale(0.93); }
  100% { opacity: 1; transform: none; }
}
@keyframes duo-back {
  0%, 42% { opacity: 0; transform: perspective(1200px) rotateY(10deg) translateX(36px) scale(0.93); }
  52%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: perspective(1200px) rotateY(10deg) translateX(36px) scale(0.93); }
}

/* Aktifleşince parlama süpürmesi */
.showcase-visual.is-active .mock-browser::after,
.showcase-visual.is-active .phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: mock-shine 1.4s var(--ease-out) 0.6s forwards;
}
@keyframes mock-shine { to { transform: translateX(120%); } }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: 13px 13px 0 0;
  background: var(--surface);
}
.mock-bar > i { width: 9px; height: 9px; border-radius: 50%; }
.mock-bar > i:nth-child(1) { background: #f87171; }
.mock-bar > i:nth-child(2) { background: #fbbf24; }
.mock-bar > i:nth-child(3) { background: #34d399; }
.mock-url {
  flex: 1;
  margin-left: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-muted);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ekran görüntüsü penceresi: görüntü sayfada geziniyormuş gibi kayar */
.mock-shot {
  position: relative;
  height: var(--shot-h, 300px);
  overflow: hidden;
  background: var(--surface-2);
}
.mock-browser .mock-shot { border-radius: 0 0 13px 13px; }
.mock-shot img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}
.showcase-visual.is-active .mock-shot img {
  animation: shot-pan var(--shot-t, 18s) ease-in-out 1.4s infinite alternate;
}
@keyframes shot-pan {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% + var(--shot-h, 300px))); }
}
/* Alt kenarda hafif karartma: kaymanın devam ettiğini hissettirir */
.mock-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 20, 0.18));
  pointer-events: none;
}

/* Telefon çerçevesi */
.mock-phone { width: 240px; border-radius: 32px; padding: 10px; }
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 58px;
  height: 9px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.85);
  box-shadow: 0 1px 4px rgba(7, 11, 20, 0.3);
}

/* Yüzen özellik rozetleri */
.mock-chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--badge-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--card-shadow);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  opacity: 0;
}
.mock-chip i { font-style: normal; font-size: 0.8rem; }
.mock-chip-1 { top: 12%; left: -26px; }
.mock-chip-2 { bottom: 12%; right: -26px; }
.mock-phone .mock-chip-1 { left: -78px; }
.mock-phone .mock-chip-2 { right: -66px; }
.showcase-visual.is-active .mock-chip {
  animation: chip-in 0.6s var(--ease-spring) both, chip-float 5s ease-in-out infinite alternate;
}
.showcase-visual.is-active .mock-chip-1 { animation-delay: 1.3s, 2s; }
.showcase-visual.is-active .mock-chip-2 { animation-delay: 1.6s, 2.6s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(12px) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes chip-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-stage {
    order: -1;
    border-left: none;
    border-bottom: 1px solid var(--border);
    min-height: 400px;
  }
}

/* --------------------------------------------------------------------------
   Neden biz — özellik listesi
   -------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 680px) { .features { grid-template-columns: 1fr; } }

.feature {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.feature:hover { border-color: var(--border); background: var(--feature-hover-bg); }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent-2);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.feature p { font-size: var(--fs-sm); color: var(--text-soft); }

/* --------------------------------------------------------------------------
   SSS
   -------------------------------------------------------------------------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: var(--space-2); }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq details[open] { border-color: rgba(59, 130, 246, 0.4); }
.faq summary {
  padding: var(--space-3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-2);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 var(--space-3) var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   CTA bandı
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 5rem);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, var(--cta-glow), transparent 70%),
    var(--surface);
}
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 540px; margin: var(--space-2) auto var(--space-4); color: var(--text-soft); }
.cta-band .hero-cta { justify-content: center; }

/* --------------------------------------------------------------------------
   İletişim
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: var(--space-3); }
.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.contact-line:hover { border-color: rgba(59, 130, 246, 0.45); transform: translateX(6px); }
.contact-line .feature-icon { width: 48px; height: 48px; }
.contact-line strong { display: block; font-size: var(--fs-sm); }
.contact-line span { font-size: var(--fs-xs); color: var(--text-muted); }

.form-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--text-soft); letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238494ac' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-2); }
.form-note a { color: var(--accent-2); text-decoration: underline; }

.form-status {
  display: none;
  margin-top: var(--space-2);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-status.ok { display: block; background: var(--status-ok-bg); border: 1px solid rgba(22, 163, 74, 0.4); color: var(--status-ok-text); }
.form-status.err { display: block; background: var(--status-err-bg); border: 1px solid rgba(220, 38, 38, 0.4); color: var(--status-err-text); }

/* --------------------------------------------------------------------------
   Alt bilgi
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: var(--space-6) var(--space-4);
  margin-top: var(--space-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .brand { margin-bottom: var(--space-2); }
.footer-about { color: var(--text-muted); font-size: var(--fs-sm); max-width: 320px; }

.footer h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  transition: color 0.25s, padding-left 0.25s;
}
.footer ul a:hover { color: var(--accent-2); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Sayfa başlığı (iç sayfalar)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-6);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; max-width: 760px; }
.page-hero .lead { margin-top: var(--space-2); max-width: 640px; }

/* Yasal sayfalar */
.legal { max-width: 780px; }
.legal h2 { font-size: var(--fs-xl); margin-top: var(--space-5); }
.legal p, .legal li { color: var(--text-soft); font-size: var(--fs-sm); margin-top: var(--space-2); }
.legal ul { padding-left: 1.4rem; }

/* --------------------------------------------------------------------------
   Scroll-reveal animasyonları
   -------------------------------------------------------------------------- */
/* JS kapalıysa içerik gizli kalmasın diye .js köküne bağlıdır */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.in-view { opacity: 1; transform: none; }

.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-scale { transform: scale(0.92); }
.js .reveal.in-view.reveal-left,
.js .reveal.in-view.reveal-right,
.js .reveal.in-view.reveal-scale { transform: none; }

/* --------------------------------------------------------------------------
   Mobil: kompakt ölçek — içerikler ekranı boğmasın
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --fs-base: 0.9375rem;
    --fs-sm: 0.875rem;
    --fs-lg: 1.05rem;
    --fs-xl: 1.25rem;
    --fs-hero: clamp(1.85rem, 1.35rem + 3.6vw, 2.5rem);
    --fs-h2: clamp(1.45rem, 1.2rem + 2vw, 1.9rem);
    --space-7: 3.5rem;
    --space-6: 2.75rem;
    --space-5: 2.25rem;
    --space-4: 1.5rem;
    --nav-h: 62px;
    --radius-lg: 18px;
  }
  body { line-height: 1.6; }
  .hero { min-height: auto; padding: 0; }
  .hero-inner { gap: 1.25rem; padding-block: calc(var(--nav-h) + 2.25rem) 3rem; }
  .hero h1 br, .page-hero h1 br { display: none; }
  .hero-scroll { display: none; }
  .lead { font-size: 1rem; }
  .btn { padding: 12px 22px; }
  .btn-sm { padding: 9px 18px; }
  .brand img { height: 36px; }
  .footer .brand img { height: 46px; }
  .card, .form-card { padding: var(--space-3); }
  .step { padding: var(--space-3); }
  .step::before { font-size: 1.5rem; margin-bottom: var(--space-1); }
  .section-head { margin-bottom: var(--space-4); }
  .showcase-item-head { padding: var(--space-3); }
  .showcase-item-inner > * { margin-inline: var(--space-3); }
  .showcase-item-inner > :last-child { margin-bottom: var(--space-3); }
  .showcase-stage { min-height: 340px; }
  .showcase-visual { padding: var(--space-3); }
  .mock-chip-1, .mock-phone .mock-chip-1 { left: -10px; }
  .mock-chip-2, .mock-phone .mock-chip-2 { right: -10px; }
  .cta-band { padding: 2rem 1.25rem; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { width: 40px; height: 40px; }
  .contact-line { padding: var(--space-2); }
  .trustbar .container { gap: var(--space-1) var(--space-3); font-size: var(--fs-xs); }
}

/* --------------------------------------------------------------------------
   Erişilebilirlik: hareket azaltma
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #cursor-canvas, .cursor-dot, .cursor-ring { display: none !important; }
}
