/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== TOKENS ===== */
:root {
  /* Backgrounds — koyu uzay teması, üç katmanlı derinlik */
  --bg-0: #06090F;   /* Ana zemin, en koyu nokta */
  --bg-1: #0B111C;   /* Bir ton açık, panel/card için */
  --bg-2: #11192A;   /* Daha açık, vurgulanmış yüzeyler */

  /* Surfaces — yarı şeffaf cam katmanlar */
  --surface: rgba(255, 255, 255, 0.035);         /* Standart cam yüzey */
  --surface-strong: rgba(255, 255, 255, 0.06);   /* Hover/aktif durum */

  /* Borders — solid yok, her zaman yarı şeffaf beyaz */
  --border: rgba(255, 255, 255, 0.08);           /* Standart kenarlık */
  --border-strong: rgba(255, 255, 255, 0.16);    /* Vurgulanmış kenarlık */

  /* Text — üç seviyeli hiyerarşi */
  --text-1: #F0F4FA;   /* Birincil — başlıklar, vurgu, önemli metin */
  --text-2: #A8B2C5;   /* İkincil — paragraf, açıklama, body */
  --text-3: #6B7488;   /* Üçüncül — meta, label, footer, timestamp */

  /* Accent — marka rengi (açık mavi gradient) */
  --accent: #6BB7FF;        /* Ana marka rengi — link, ikon, vurgu */
  --accent-soft: #88C7FF;   /* Açık ton — em vurgular, badge */
  --accent-deep: #2C7FD9;   /* Koyu ton — gradient base, gölge */
  --glow: 107, 183, 255;    /* RGB değerleri — rgba(var(--glow), 0.x) için */

  /* Fonts */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;  /* Başlık, sayı, marka */
  --serif: 'Instrument Serif', Georgia, serif;              /* Rezerve — ileride italic vurgular */

  /* Layout */
  --container: 1200px;
}

/* ===== BASE ===== */
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: #06090F;
  color: var(--text-1);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* ===== ATMOSPHERE ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(44, 127, 217, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(107, 183, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(80, 160, 240, 0.08), transparent 70%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' /><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.005em;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  color: #06121F;
  background: linear-gradient(180deg, #88C7FF, #4F9CE8);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(var(--glow), 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(var(--glow), 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--text-1);
  border: 1px solid var(--border);
  background: var(--surface);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.btn-arrow {
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: backdrop-filter 0.3s, background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(6, 9, 15, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-logo:hover {
  transform: scale(1.02);
}
.nav-logo img {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:hover {
  color: var(--text-1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  padding: 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-1);
  position: absolute;
  left: 5px;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.active span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: rgba(6, 9, 15, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.3s;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.mobile-menu-links a {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-menu-links a:hover {
  color: var(--accent);
}
.mobile-menu-cta {
  padding: 14px 32px;
  font-size: 16px;
}

/* ===== HERO ===== */
section[id] {
  scroll-margin-top: 110px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  padding: 172px 0 112px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--text-1);
}
.hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  color: var(--accent-soft);
}
.hero .lead {
  font-size: 18px;
  line-height: 1.68;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-lg {
  font-size: 15px;
  padding: 13px 24px;
}
.btn-wide {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}
.hero-trust {
  display: flex;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero visual — açık, kutusuz "akan yörünge" kompozisyonu */
.hero-viz {
  position: relative;
  aspect-ratio: 1 / 1.12;
  overflow: visible;
}

/* SVG bağlantı eğrisi — node merkezlerinden JS ile çizilir, node'ların ARKASINDA kalır */
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}
.flow-path-bg {
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 2;
  stroke-linecap: round;
}
.flow-path-fill {
  stroke: url(#flowGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(var(--glow), 0.55));
}
.flow-comet {
  fill: #EAF5FF;
  filter: drop-shadow(0 0 8px rgba(var(--glow), 0.95));
}

/* Adımlar — kartlar dış kenarlarda, node'lar merkez koridorda hafif zigzag.
   Bağlantı eğrisi yalnızca merkez koridordan geçer; kartların üzerinden geçmez. */
.flow-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.8vh, 28px);
  padding: 8px 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  width: 100%;
}
/* Kart, node'un karşısındaki dış sütunda; node ise kartın TERS yönüne kayar */
.flow-step.left  { --nx: 26px; }
.flow-step.right { --nx: -26px; }
.flow-step.left  .flow-card { grid-column: 1; justify-self: end; text-align: right; }
.flow-step.right .flow-card { grid-column: 3; justify-self: start; text-align: left; }

.flow-node {
  position: relative;
  grid-column: 2;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateX(var(--nx, 0));
  transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.flow-icon, .flow-check {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: opacity 0.35s, transform 0.35s;
}
.flow-check { opacity: 0; transform: scale(0.5); }

.flow-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 14px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.5;
  transition: opacity 0.4s, border-color 0.4s, background 0.4s;
}
.flow-step.right .flow-card { text-align: right; }
.flow-title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-1);
  line-height: 1.2;
  white-space: nowrap;
}
.flow-sub {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
  white-space: nowrap;
}

/* Aktif ve tamamlanmış kartlar tam görünür; pasifler soluk (node'lar HER ZAMAN opak kalır
   ki arkadaki bağlantı çizgisi dairelerin içinden görünmesin) */
.flow-step.active .flow-card,
.flow-step.done .flow-card { opacity: 1; }

/* Tamamlanmış adım — komet geçti */
.flow-step.done .flow-node {
  color: var(--accent);
  border-color: rgba(var(--glow), 0.35);
  background: var(--bg-2);
}
.flow-step.done .flow-icon { opacity: 0; transform: scale(0.5); }
.flow-step.done .flow-check { opacity: 1; transform: scale(1); color: var(--accent); }

/* Aktif adım — komet burada */
.flow-step.active .flow-card {
  border-color: rgba(var(--glow), 0.3);
  background: var(--surface-strong);
}
.flow-step.active .flow-node {
  color: #06121F;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-deep));
  border-color: transparent;
  transform: translateX(var(--nx, 0)) scale(1.08);
  box-shadow: 0 0 0 5px rgba(var(--glow), 0.14), 0 10px 28px rgba(var(--glow), 0.35);
}
.flow-step.active .flow-icon { opacity: 1; transform: scale(1); }
.flow-step.active .flow-check { opacity: 0; }
.flow-step.active .flow-node::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--glow), 0.5);
  animation: flow-ring 1.8s ease-out infinite;
}
@keyframes flow-ring {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step, .flow-node, .flow-icon, .flow-check, .flow-card { transition: none; }
  .flow-step.active .flow-node::after { animation: none; }
  .flow-comet { display: none; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 112px 0;
  position: relative;
}
.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 20px;
}
.section-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  color: var(--accent-soft);
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 640px;
}

/* Workflow (Nasıl çalışır) */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.workflow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.workflow-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.workflow-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--glow), 0.18), rgba(var(--glow), 0.05));
  border: 1px solid rgba(var(--glow), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.workflow-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.2;
}
.workflow-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.workflow-note {
  background: rgba(var(--glow), 0.05);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}
.workflow-note strong {
  color: var(--accent-soft);
  font-weight: 500;
}
.workflow-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.workflow-meta svg {
  color: var(--accent);
}

/* Feature (Hekimler & Akademisyenler) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--glow), 0.15), rgba(var(--glow), 0.05));
  border: 1px solid rgba(var(--glow), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-1);
  margin-bottom: 12px;
  line-height: 1.2;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.feature-list {
  list-style: none;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
}
.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(var(--glow), 0.15);
  border: 1px solid rgba(var(--glow), 0.3);
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

/* Security */
.security-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.security-content {
  position: sticky;
  top: 100px;
}
.security-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  font-weight: 400;
}
.security-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s, background 0.3s;
}
.stat-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.stat-value {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* CTA Section */
.section-cta {
  padding: 72px 0 120px;
}
.cta-band {
  background: linear-gradient(135deg, rgba(44, 127, 217, 0.10), rgba(11, 17, 28, 0.4));
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--glow), 0.10), transparent 60%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-band h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  color: var(--accent-soft);
}
.cta-band p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-actions .btn-wide {
  flex: 0 1 240px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  margin-top: 120px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}
.footer-logo {
  height: 40px;
  display: block;
}

.footer-col h5 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-3);
  display: inline-block;
  transition: color 0.2s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.footer-col a:hover {
  color: var(--text-1);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-3);
  font-size: 13px;
  gap: 24px;
  flex-wrap: wrap;
}
.by-ozyurt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(
    100deg,
    var(--text-3) 0%,
    var(--text-3) 38%,
    #ffffff 50%,
    var(--accent-soft) 58%,
    var(--text-3) 70%,
    var(--text-3) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ozyurt-shimmer 3.6s linear infinite;
  transition: filter 0.3s, transform 0.3s;
}
.by-ozyurt:hover {
  filter: drop-shadow(0 0 10px rgba(var(--glow), 0.7));
  transform: translateY(-1px);
}
@keyframes ozyurt-shimmer {
  0%   { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .by-ozyurt { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }

  .footer { padding: 60px 0 32px; margin-top: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  section[id] { scroll-margin-top: 92px; }
  .hero { padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-viz { width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: auto; height: clamp(480px, 132vw, 580px); }
  /* Dar ekran: node solda, kart sağda — büyütülmüş, kartlar tam genişliğe yayılır,
     adımlar panele dağıtılır; çizgi solda dikey kalır, içerik üstünden geçmez */
  .flow-steps { gap: clamp(18px, 4vh, 38px); padding: 12px 4px 12px 12px; }
  /* Node'ları kaydırmayı kapat (specificity için .left/.right ile) — düz dikey hat */
  .flow-step.left, .flow-step.right { --nx: 0; }
  .flow-step { grid-template-columns: auto 1fr; column-gap: 16px; }
  .flow-step .flow-node { grid-column: 1; width: 58px; height: 58px; }
  .flow-icon, .flow-check { width: 25px; height: 25px; }
  .flow-step.left .flow-card,
  .flow-step.right .flow-card { grid-column: 2; justify-self: stretch; text-align: left; padding: 13px 16px; }
  .flow-title { font-size: 16px; white-space: normal; }
  .flow-sub { font-size: 13px; white-space: normal; }
  .hero-trust { gap: 14px 18px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  
  .security-layout { grid-template-columns: 1fr; gap: 48px; }
  .security-content { position: static; }
  .security-stats { grid-template-columns: 1fr 1fr; }
  
  .cta-band { max-width: none; }
  .cta-band { padding: 56px 32px; }
  .section-cta { padding: 40px 0 80px; }
}

@media (max-width: 600px) {
  section[id] { scroll-margin-top: 86px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .security-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }
}
