/* ============================================================
   ALFA PROTOTİP — Web Sitesi v2
   Tasarım Sistemi / Ortak Stil Dosyası
   Marka paleti: #0F172A lacivert ailesi + #EA580C turuncu
   ============================================================ */

/* ---------- 1. TASARIM TOKENLARI ---------- */
:root {
  /* Marka renkleri */
  --navy-950: #070A12;
  --navy-900: #0F172A;
  --navy-850: #16213A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-600: #475569;

  --orange: #EA580C;
  --orange-light: #F97316;
  --orange-dark: #C2410C;
  --orange-soft: #FFEDD5;

  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;

  --platinum: #F8FAFC;
  --white: #FFFFFF;

  /* Fonksiyonel */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #38BDF8;

  /* Tipografi */
  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Ölçüler */
  --container: 1240px;
  --container-narrow: 880px;
  --header-h: 110px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Gölgeler */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-orange: 0 8px 30px rgba(234, 88, 12, .25);

  /* Geçişler */
  --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
  --t: .3s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .6s cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. TEMEL SIFIRLAMA ---------- */
*, *::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(--navy-950);
  color: var(--slate-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--orange); color: #fff; }

/* Odak erişilebilirliği */
:focus-visible {
  outline: 2px solid var(--orange-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 6px; border: 3px solid var(--navy-950); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-dark); }

/* Ekran okuyucu */
.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; top: -60px; left: 16px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* ---------- 3. YERLEŞİM ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--navy { background: var(--navy-900); }
.section--dark { background: var(--navy-950); }
.section--line { border-top: 1px solid var(--navy-800); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Blueprint / teknik ızgara dokusu */
.bg-blueprint::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(234, 88, 12, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234, 88, 12, .055) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}
.bg-blueprint > * { position: relative; z-index: 1; }

/* Turuncu ışıma */
.glow-orange::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(234, 88, 12, .16) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 4. BÖLÜM BAŞLIKLARI ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: var(--orange); display: block; flex: none;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { color: var(--slate-400); font-size: 1.03rem; }

.lead { font-size: 1.1rem; color: var(--slate-300); }

/* ---------- 5. BUTONLAR ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700; font-size: .92rem;
  letter-spacing: .01em;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg, .btn i { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-light); box-shadow: 0 12px 34px rgba(234, 88, 12, .38); }

.btn-outline { border-color: var(--navy-700); color: var(--slate-200); background: rgba(30, 41, 59, .4); }
.btn-outline:hover { border-color: var(--orange); color: var(--white); background: rgba(234, 88, 12, .1); }

.btn-ghost { color: var(--orange-light); padding-inline: 4px; }
.btn-ghost:hover { color: var(--white); }

.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--slate-200); }

.btn-sm { padding: 9px 18px; font-size: .84rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 6. KARTLAR ---------- */
.card {
  background: linear-gradient(160deg, rgba(30, 41, 59, .72) 0%, rgba(15, 23, 42, .85) 100%);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 88, 12, .45);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--slate-400); font-size: .95rem; margin-bottom: 0; }

/* Üst kenarda ince turuncu vurgu çizgisi */
.card--accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.card--accent:hover::before { transform: scaleX(1); }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(234, 88, 12, .12);
  border: 1px solid rgba(234, 88, 12, .28);
  color: var(--orange-light);
  margin-bottom: 18px;
}
.card-icon svg, .card-icon i { width: 24px; height: 24px; }

/* Kart içi liste */
.card-list { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .89rem; color: var(--slate-400);
}
.card-list li::before {
  content: ''; flex: none;
  width: 5px; height: 5px; margin-top: .62em;
  background: var(--orange); border-radius: 50%;
}

/* ---------- 7. ROZET / ETİKET ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .04em;
  background: rgba(234, 88, 12, .12);
  color: var(--orange-light);
  border: 1px solid rgba(234, 88, 12, .25);
  font-family: var(--font-mono);
}
.badge--neutral { background: rgba(51, 65, 85, .5); color: var(--slate-300); border-color: var(--navy-700); }
.badge--success { background: rgba(16, 185, 129, .12); color: var(--success); border-color: rgba(16, 185, 129, .3); }

/* ---------- 8. ÜST MENÜ ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7, 10, 18, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 41, 59, .9);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  background: rgba(7, 10, 18, .95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: height var(--t);
}
.site-header.is-scrolled .brand img { height: 66px; }
@media (max-width: 640px) {
  :root { --header-h: 88px; }
  .brand img { height: 60px; }
  .site-header.is-scrolled .brand img { height: 54px; }
}

.nav { display: flex; align-items: center; gap: 1px; }
.nav a {
  padding: 9px 11px;
  font-size: .855rem; font-weight: 500;
  color: var(--slate-300);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--white); background: rgba(30, 41, 59, .7); }
.nav a.is-active { color: var(--orange-light); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  color: var(--slate-300);
  place-items: center;
  border: 1px solid var(--navy-800);
}
.nav-toggle:hover { color: var(--white); border-color: var(--navy-700); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-800);
  padding: 14px 20px 24px;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; animation: slideDown .25s ease; }
.mobile-nav a {
  display: block; padding: 13px 4px;
  border-bottom: 1px solid rgba(30, 41, 59, .8);
  font-weight: 500; color: var(--slate-300);
}
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--orange-light); }
.mobile-nav .btn { margin-top: 18px; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1240px) { .header-cta { display: none; } }
@media (max-width: 1120px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}

main { padding-top: var(--header-h); }

/* ---------- 9. HERO ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 8vw, 96px);
  background: var(--navy-900);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--slate-400);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--navy-800);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 800; color: var(--white);
  line-height: 1.1;
}
.hero-stats dd {
  margin: 4px 0 0;
  font-size: .8rem; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: .07em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-800);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--navy-850);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 18, .38), transparent 45%);
}
.hero-visual-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: .76rem;
  color: var(--slate-300);
  background: rgba(7, 10, 18, .82);
  border: 1px solid var(--navy-700);
  padding: 7px 13px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- 10. LOGO / GÜVEN BANDI ---------- */
.trust-bar {
  border-block: 1px solid var(--navy-800);
  background: var(--navy-950);
  padding: 22px 0;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 34px; align-items: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--slate-500); letter-spacing: .05em;
}
.trust-item svg, .trust-item i { width: 16px; height: 16px; color: var(--orange); }

/* ---------- 11. SÜREÇ ADIMLARI ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, .6);
  transition: border-color var(--t), transform var(--t);
}
.step:hover { border-color: rgba(234, 88, 12, .4); transform: translateY(-4px); }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700;
  color: rgba(234, 88, 12, .28);
  display: block; margin-bottom: 12px; line-height: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4em; }
.step p { font-size: .89rem; color: var(--slate-400); margin: 0; }

/* ---------- 12. PROJE / BLOG KARTLARI ---------- */
.tile {
  display: block;
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  height: 100%;
}
.tile:hover { transform: translateY(-6px); border-color: rgba(234, 88, 12, .45); box-shadow: var(--shadow-lg); }
.tile-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-850); position: relative; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.tile:hover .tile-media img { transform: scale(1.06); }
.tile-body { padding: 22px; }
.tile-body h3 { font-size: 1.1rem; margin-bottom: .45em; }
.tile-body p { font-size: .9rem; color: var(--slate-400); margin-bottom: 0; }
.tile-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono); font-size: .74rem; color: var(--slate-500);
}
.tile-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 600; font-size: .87rem; color: var(--orange-light);
}
.tile:hover .tile-more { gap: 10px; }
.tile-more { transition: gap var(--t-fast); }

/* ---------- 13. FORM ELEMANLARI ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label {
  font-size: .82rem; font-weight: 600; color: var(--slate-300);
  letter-spacing: .01em;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.field .hint { font-size: .74rem; color: var(--slate-500); font-weight: 400; font-family: var(--font-mono); }

.input, .select, .textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-size: .94rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-600); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, .16);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-500); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
  cursor: pointer;
}
.select option { background: var(--navy-900); color: var(--white); }

/* Sayısal girdilerde ok tuşlarını sadeleştir */
.input[type="number"]::-webkit-outer-spin-button,
.input[type="number"]::-webkit-inner-spin-button { opacity: .35; }

.input-group { display: flex; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .unit {
  flex: none; display: grid; place-items: center;
  padding-inline: 13px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700); border-left: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-mono); font-size: .82rem; color: var(--slate-400);
  min-width: 56px;
}

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--slate-400); }
.checkbox-row input { margin-top: .25em; accent-color: var(--orange); width: 16px; height: 16px; }

/* ---------- 14. SEKMELER ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 28px;
}
.tab {
  flex: 1 1 auto; min-width: 140px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .88rem;
  color: var(--slate-400);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--t-fast), color var(--t-fast);
}
.tab:hover { color: var(--white); background: rgba(51, 65, 85, .5); }
.tab.is-active { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.tab svg, .tab i { width: 17px; height: 17px; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 15. HESAP ARACI DÜZENİ ---------- */
.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 940px) { .tool { grid-template-columns: 1fr; } }

.panel {
  background: linear-gradient(165deg, rgba(30, 41, 59, .58), rgba(15, 23, 42, .82));
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.panel h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.08rem;
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--navy-800);
}
.panel h3 svg, .panel h3 i { width: 19px; height: 19px; color: var(--orange); flex: none; }

.result-panel { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 940px) { .result-panel { position: static; } }

/* Teknik çizim kutusu */
.figure-box {
  background:
    linear-gradient(to right, rgba(148, 163, 184, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, rgba(148, 163, 184, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--navy-950);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 18px;
  overflow: hidden;
}
.figure-box svg { width: 100%; height: auto; }
.figure-cap {
  font-family: var(--font-mono);
  font-size: .73rem;
  color: var(--slate-500);
  text-align: center;
  margin: -10px 0 18px;
  letter-spacing: .02em;
}
/* Çizimdeki parça konturuna hafif giriş animasyonu */
.figure-box svg path, .figure-box svg rect, .figure-box svg circle, .figure-box svg polygon {
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.result-main {
  text-align: center;
  padding: 24px 18px;
  background: rgba(234, 88, 12, .07);
  border: 1px solid rgba(234, 88, 12, .28);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.result-main .label {
  font-family: var(--font-mono); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--orange-light);
  margin-bottom: 8px;
}
.result-main .value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.7rem); color: var(--white);
  line-height: 1.05;
  word-break: break-word;
}
.result-main .value small { font-size: .42em; font-weight: 600; color: var(--slate-400); margin-left: 6px; }

.result-list { list-style: none; display: grid; gap: 1px; background: var(--navy-800); border-radius: var(--radius); overflow: hidden; }
.result-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 15px;
  background: var(--navy-900);
  font-size: .89rem;
}
.result-list .k { color: var(--slate-400); }
.result-list .v { font-family: var(--font-mono); color: var(--white); font-weight: 600; text-align: right; }

.formula-box {
  margin-top: 20px;
  padding: 15px 17px;
  background: var(--navy-950);
  border: 1px dashed var(--navy-700);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--slate-400);
  line-height: 1.8;
  overflow-x: auto;
}
.formula-box b { color: var(--orange-light); font-weight: 600; }

.note {
  display: flex; gap: 11px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  line-height: 1.6;
  background: rgba(56, 189, 248, .07);
  border: 1px solid rgba(56, 189, 248, .22);
  color: var(--slate-300);
  margin-top: 18px;
}
.note svg, .note i { width: 17px; height: 17px; flex: none; margin-top: .2em; color: var(--info); }
.note--warn { background: rgba(245, 158, 11, .07); border-color: rgba(245, 158, 11, .25); }
.note--warn svg, .note--warn i { color: var(--warning); }
.note strong { color: var(--white); }

/* ---------- 16. TABLOLAR ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--navy-800); border-radius: var(--radius); }
table.data {
  width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 480px;
}
table.data th, table.data td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--navy-800); }
table.data th {
  background: var(--navy-850); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
table.data td { color: var(--slate-300); }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td { background: rgba(30, 41, 59, .45); }
table.data td.num, table.data th.num { text-align: right; font-family: var(--font-mono); }

/* ---------- 17. AKORDİYON / SSS ---------- */
.accordion { border: 1px solid var(--navy-800); border-radius: var(--radius); overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--navy-800); }
.accordion-trigger {
  width: 100%; text-align: left;
  padding: 17px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem; color: var(--white);
  background: var(--navy-900);
  transition: background var(--t-fast), color var(--t-fast);
}
.accordion-trigger:hover { background: var(--navy-850); color: var(--orange-light); }
.accordion-trigger .chev { flex: none; transition: transform var(--t-fast); color: var(--orange); width: 18px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-body { display: none; padding: 4px 20px 20px; color: var(--slate-400); font-size: .93rem; background: var(--navy-900); }
.accordion-body.is-open { display: block; }

/* ---------- 18. MAKALE / BLOG İÇERİĞİ ---------- */
.article-hero { padding: clamp(40px, 6vw, 72px) 0 0; background: var(--navy-900); position: relative; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--slate-500);
  margin-bottom: 18px;
}
.article-cover {
  margin: 34px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-800);
  aspect-ratio: 16 / 8;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.02rem; line-height: 1.85; color: var(--slate-300); }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 2.1em 0 .7em;
  padding-left: 15px;
  border-left: 3px solid var(--orange);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 1.7em 0 .55em; color: var(--slate-100);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose p { margin-bottom: 1.35em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.5em; }
.prose ul > li::before {
  content: ''; position: absolute; left: .25em; top: .72em;
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
}
.prose ol > li::marker { color: var(--orange); font-weight: 700; }
.prose a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--white); }
.prose strong { color: var(--white); font-weight: 600; }
.prose img { border-radius: var(--radius); border: 1px solid var(--navy-800); margin: 1.6em 0; }
.prose figure figcaption {
  font-size: .82rem; color: var(--slate-500); text-align: center;
  margin-top: -1em; margin-bottom: 1.8em; font-style: italic;
}
.prose blockquote {
  margin: 1.8em 0; padding: 18px 22px;
  border-left: 3px solid var(--orange);
  background: rgba(234, 88, 12, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate-200);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--navy-850); padding: 2px 7px; border-radius: 4px; color: var(--orange-soft);
}
.prose hr { border: none; border-top: 1px solid var(--navy-800); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92rem; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--navy-800); text-align: left; }
.prose th { background: var(--navy-850); color: var(--white); font-family: var(--font-display); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } }

.toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--navy-900);
  font-size: .88rem;
}
.toc h4 {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange-light); margin-bottom: 14px;
}
.toc ul { list-style: none; display: grid; gap: 3px; }
.toc a {
  display: block; padding: 6px 10px; border-radius: var(--radius-sm);
  color: var(--slate-400); border-left: 2px solid transparent;
  transition: all var(--t-fast);
}
.toc a:hover, .toc a.is-active { color: var(--white); background: rgba(30, 41, 59, .7); border-left-color: var(--orange); }
@media (max-width: 980px) { .toc { position: static; } }

/* Filtre çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip {
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid var(--navy-700);
  font-size: .85rem; font-weight: 500; color: var(--slate-400);
  transition: all var(--t-fast);
  background: rgba(15, 23, 42, .6);
}
.chip:hover { color: var(--white); border-color: var(--navy-600); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }

/* ---------- 19. CTA BANDI ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, #1a1024 55%, var(--navy-900) 100%);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 54px);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(234, 88, 12, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234, 88, 12, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--slate-400); max-width: 620px; margin-inline: auto; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 20. ALT BİLGİ ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--navy-800);
  padding: clamp(44px, 6vw, 64px) 0 28px;
  font-size: .9rem;
  color: var(--slate-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px; } }
.footer-grid h4 {
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--slate-300); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { color: var(--slate-500); transition: color var(--t-fast); }
.footer-grid a:hover { color: var(--orange-light); }
.footer-brand img { height: 76px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; max-width: 300px; }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  border: 1px solid var(--navy-800);
  color: var(--slate-400);
  transition: all var(--t-fast);
}
.social a:hover { border-color: var(--orange); color: var(--orange-light); background: rgba(234, 88, 12, .1); transform: translateY(-2px); }
.social svg, .social i { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--navy-800);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: .82rem;
}

/* ---------- 21. WHATSAPP YÜZEN BUTON ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .38);
  transition: transform var(--t-fast);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- 22. GİRİŞ ANİMASYONLARI ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 23. YARDIMCI SINIFLAR ---------- */
.text-center { text-align: center; }
.text-orange { color: var(--orange-light); }
.text-white { color: var(--white); }
.text-muted { color: var(--slate-500); }
.mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* Yazdırma */
@media print {
  .site-header, .site-footer, .wa-float, .mobile-nav, .toc, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0; }
  h1, h2, h3, h4 { color: #000; }
  .prose { color: #000; }
}
