/* CAM ERP — Landing (zengin, pure CSS) */

:root {
  --navy: #0c1a2e;
  --navy-mid: #152a45;
  --navy-soft: #1e3a5f;
  --blue: #2b6cb0;
  --blue-bright: #3b82f6;
  --cyan: #38bdf8;
  --white: #ffffff;
  --bg: #eef2f7;
  --bg-card: #ffffff;
  --text: #4a5f78;
  --ink: #0f1f33;
  --muted: #7a8fa6;
  --line: #d8e0ea;
  --green: #10b981;
  --green-bg: #ecfdf5;
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --accent: #d75a27;
  --shadow: 0 4px 20px rgba(12, 26, 46, 0.06);
  --shadow-md: 0 12px 40px rgba(12, 26, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(12, 26, 46, 0.14);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --pad-x: clamp(1.5rem, 5vw, 4.5rem);
  --text-base: clamp(1.0625rem, 0.4vw + 0.95rem, 1.3125rem);
  --text-lead: clamp(1.2rem, 0.55vw + 0.95rem, 1.55rem);
  --text-kicker: clamp(0.8rem, 0.2vw + 0.72rem, 0.95rem);
  --text-h1: clamp(3rem, 5.5vw + 1rem, 5.25rem);
  --text-h2: clamp(2.15rem, 3.5vw + 0.5rem, 3.65rem);
  --text-h3: clamp(1.35rem, 1.4vw + 0.65rem, 1.9rem);
  --text-h4: clamp(1.1rem, 0.8vw + 0.5rem, 1.45rem);
  --card-pad: clamp(2rem, 2.8vw, 3.25rem);
  --section-y: clamp(5.5rem, 8vw, 8.5rem);
  --gap-grid: clamp(1.35rem, 2.2vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.yukleniyor {
  overflow: hidden;
}

/* Sayfa yüklenirken — icon loader */
.yukleme-perde {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.yukleme-perde.gizle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.yukleme-perde-ic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.yukleme-perde-ikon {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9);
  animation: yuklemeIkon 0.45s var(--ease) forwards;
}

@keyframes yuklemeIkon {
  to { opacity: 1; transform: scale(1); }
}

.yukleme-perde-cubuk {
  display: block;
  width: 7.5rem;
  height: 3px;
  background: var(--line);
  overflow: hidden;
  opacity: 0;
  animation: yuklemeBelir 0.35s ease 0.12s forwards;
}

.yukleme-perde-cubuk i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--navy-soft), var(--blue));
  animation: yuklemeCubuk 0.65s var(--ease) 0.2s forwards;
}

@keyframes yuklemeBelir {
  to { opacity: 1; }
}

@keyframes yuklemeCubuk {
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .yukleme-perde-ikon,
  .yukleme-perde-cubuk,
  .yukleme-perde-cubuk i {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .yukleme-perde-cubuk i {
    width: 100%;
  }

  .yukleme-perde {
    transition-duration: 0.2s;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Background */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  filter: blur(80px);
}
.bg-glow-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: rgba(43, 108, 176, 0.12);
}
.bg-glow-2 {
  width: 500px; height: 500px;
  bottom: 20%; left: -150px;
  background: rgba(56, 189, 248, 0.08);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 26, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 26, 46, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 1.85rem;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(12, 26, 46, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(12, 26, 46, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border-color: var(--line);
}
.btn-glass:hover {
  background: var(--white);
  border-color: var(--navy-soft);
}

.btn-sm { padding: 0.8rem 1.4rem; font-size: var(--text-base); }
.btn-lg { padding: 1.25rem 2.35rem; font-size: var(--text-lead); font-weight: 700; }
.btn-block { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, padding 0.25s;
}

.header.scrolled {
  box-shadow: var(--shadow);
  padding: 0.65rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.logo-img {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-mark { color: var(--blue); }

.logo-footer .logo-img {
  width: 2.1rem;
  height: 2.1rem;
}

.logo-footer .logo-word {
  font-size: 1.15rem;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.2vw, 2.5rem);
  min-width: 0;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: rgba(43, 108, 176, 0.35);
}

.nav a.nav-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-cta.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.menu-btn span {
  display: block; height: 2px;
  margin: 0 10px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: clamp(4rem, 6vw, 6rem) 0 3rem;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  padding: 0.5rem 1.1rem;
  font-size: var(--text-kicker);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: var(--text-kicker);
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid #a7f3d0;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.35rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: var(--text-lead);
  max-width: 42ch;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  color: var(--text);
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric { display: flex; flex-direction: column; gap: 0.1rem; }

.metric-val {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.metric-suf {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
}

.metric-label {
  font-size: var(--text-kicker);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-divider {
  width: 1px;
  height: 52px;
  background: var(--line);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.browser {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.35rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  display: block;
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.2);
}
.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 0.75rem;
  background: rgba(0,0,0,0.25);
  font-family: ui-monospace, monospace;
}

.browser-live {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

/* Ekran çerçevesi — 16:10 laptop oranı; görsel üstten hizalı, alttan kırpılır */
.screen-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce4ed;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.browser-screen {
  background: #e8eef4;
}

.screen-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(rgba(12, 26, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 26, 46, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #e8eef4 0%, #d4dde8 100%);
  background-size: 24px 24px, 24px 24px, auto;
  border: 2px dashed #9fb0c4;
}

.screen-placeholder-label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.screen-placeholder-path {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.screen-placeholder-size {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.45;
}

/* Floating cards */
.float-card {
  position: absolute;
  padding: 1.15rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.float-card-1 { top: 12%; left: -8%; animation-delay: 0s; }
.float-card-2 { top: 45%; right: -6%; animation-delay: -2s; }
.float-card-3 { bottom: 8%; left: 5%; animation-delay: -4s; min-width: 180px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-label {
  display: block;
  font-size: var(--text-kicker);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.fc-value {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}
.fc-value small { font-size: var(--text-kicker); font-weight: 600; color: var(--muted); }

.fc-trend {
  display: block;
  font-size: var(--text-kicker);
  font-weight: 600;
  margin-top: 0.15rem;
}
.fc-trend.up { color: var(--green); }

.fc-bar {
  height: 4px;
  margin-top: 0.4rem;
  background: var(--bg);
  overflow: hidden;
}
.fc-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.fc-stages {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0.35rem;
}
.fc-stages span {
  display: block;
  height: 3px;
  width: var(--w);
  background: var(--blue);
  opacity: 0.7;
}
.fc-stages span:nth-child(2) { opacity: 0.5; }
.fc-stages span:nth-child(3) { opacity: 0.35; }

/* Sectors */
.sectors {
  margin-top: 3rem;
  /* Yatay boşluk .container (--pad-x); padding kısayolu kullanmayın */
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
}

.sectors-label {
  font-size: var(--text-kicker);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sector-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sector-chips li {
  padding: 0.75rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sector-chips li:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

/* Sections common */
.section { padding: var(--section-y) 0; }

.section-head {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: var(--text-kicker);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: var(--font);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 4px solid var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.6;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.12s; }

/* Modules bento */
.modules { background: var(--white); }

.module-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid);
  align-items: stretch;
}

.module-card {
  position: relative;
  padding: var(--card-pad);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.module-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c5d3e3;
}
.module-card:hover::before { opacity: 1; }

.module-card-lg {
  grid-row: span 2;
  min-height: 100%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: #b8c9dc;
}
.module-card-lg::before { opacity: 1; background: linear-gradient(90deg, var(--cyan), var(--blue-bright)); }
.module-card-lg h3,
.module-card-lg .module-num { color: var(--white); }
.module-card-lg p { color: #94a8be; }

.module-card-accent {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-color: #fed7aa;
}

.module-card-wide {
  grid-column: span 2;
}

.module-num {
  font-family: var(--display);
  font-size: var(--text-kicker);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.module-card p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.65;
}

.module-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.module-tags li {
  padding: 0.5rem 0.95rem;
  font-size: var(--text-kicker);
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
}

.module-card-lg .module-tags li {
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
}

.module-tags--light li {
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid);
}

.feature-card {
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  background: #eff6ff;
  color: var(--blue);
}
.feature-icon.icon-green { background: var(--green-bg); color: var(--green); }
.feature-icon.icon-amber { background: var(--amber-bg); color: var(--amber); }
.feature-icon.icon-red { background: var(--red-bg); color: var(--red); }

.feature-card h3 {
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.feature-card p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.65;
}

/* Flow */
.flow { background: var(--white); border-block: 1px solid var(--line); }

.flow-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.flow-track::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--line) 0%, var(--blue) 50%, var(--line) 100%);
  z-index: 0;
  pointer-events: none;
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  padding: 1rem 0.85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.flow-step:hover {
  border-color: #c5d3e3;
  box-shadow: var(--shadow);
}

.flow-step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  border: 2px solid var(--white);
  box-shadow: 0 3px 10px rgba(12, 26, 46, 0.15);
}

.flow-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.flow-step h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  text-wrap: balance;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}

/* Command center */
.command {
  background: linear-gradient(180deg, var(--bg) 0%, #e8eef5 100%);
}

.command-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.command-copy .section-tag { display: block; margin-bottom: 0.5rem; }

.command-copy h2 {
  font-family: var(--font);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--ink);
}

.command-copy > p {
  margin-bottom: 2rem;
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--text);
}

.command-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.command-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.command-list li:hover { box-shadow: var(--shadow); }

.cl-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--blue);
  background: #eff6ff;
}

.command-list strong {
  display: block;
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.command-list span { font-size: var(--text-base); color: var(--muted); }

.command-panel {
  position: relative;
}

.mini-dash {
  position: relative;
  z-index: 2;
  margin-bottom: -3rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.mini-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: var(--text-kicker);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-live {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #4ade80;
  font-size: var(--text-kicker);
}
.mini-live i {
  width: 6px; height: 6px;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mini-kpi {
  padding: 0.75rem 0.85rem;
  background: rgba(255,255,255,0.06);
  text-align: center;
}
.mini-kpi small {
  display: block;
  font-size: var(--text-kicker);
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.2rem;
}
.mini-kpi b {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--white);
}
.mini-kpi.accent b { color: #7dd3fc; }

.mini-prod p {
  font-size: var(--text-kicker);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prod-row {
  display: grid;
  grid-template-columns: minmax(4.75rem, max-content) 1fr 2.35rem;
  align-items: center;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
}

.prod-label {
  font-size: var(--text-kicker);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.prod-val {
  font-size: var(--text-kicker);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  white-space: nowrap;
}

.prod-bar {
  min-width: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.prod-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
}

.command-shot {
  margin: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.command-shot.screen-frame {
  aspect-ratio: 16 / 10;
}

/* CTA */
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: clamp(2.5rem, 4vw, 4rem);
  background: linear-gradient(145deg, var(--navy) 0%, #0f2744 50%, var(--navy-mid) 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-copy { position: relative; z-index: 1; }

.cta-copy h2 {
  font-family: var(--font);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-copy > p {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: #94a8be;
  margin-bottom: 1.75rem;
}

.cta-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cta-perks li {
  padding-left: 1.5rem;
  position: relative;
  font-size: var(--text-base);
  line-height: 1.55;
  color: #c8d6e4;
}
.cta-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

.cta-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-size: var(--text-kicker);
  font-weight: 600;
  color: #8fa3bc;
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 1rem 1.15rem;
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #6b8299; }
.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.1);
}

.cta-form .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
  margin-top: 0.25rem;
}
.cta-form .btn-primary:hover {
  background: #f0f6fc;
}

.form-note {
  min-height: 1.2rem;
  font-size: var(--text-base);
  color: #86efac;
  text-align: center;
}

/* Footer */
.footer {
  padding: 4rem 0 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 28ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links strong {
  font-size: var(--text-kicker);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.footer-links a {
  font-size: var(--text-base);
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-bottom p {
  font-size: var(--text-base);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1400px) {
  .flow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-grid);
  }
  .flow-track::before { display: none; }

  .flow-step {
    padding: 1.35rem 1.2rem 1.4rem;
    gap: 1rem;
  }

  .flow-step-num {
    width: 2.75rem;
    height: 2.75rem;
    font-size: var(--text-kicker);
  }

  .flow-step h4 { font-size: var(--text-h4); }
  .flow-step p { font-size: var(--text-base); }
}

@media (max-width: 1024px) {
  .hero-wrap,
  .command-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy { order: 1; }
  .hero-visual { order: 0; }

  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }

  .module-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-card-lg { grid-row: span 1; }
  .module-card-wide { grid-column: span 2; }

  .flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-grid);
  }

  .flow-step {
    padding: 1.5rem 1.35rem;
  }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .mini-dash { margin-bottom: -2rem; }
}

@media (max-width: 1024px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav {
    flex: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 199;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) var(--pad-x) 1.25rem;
    background: var(--white);
    border: none;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    justify-self: stretch;
    max-width: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }

  .nav a:hover {
    border-bottom-color: var(--line);
  }

  .nav a.nav-active {
    font-weight: 600;
    border-bottom: 2px solid var(--blue);
  }

  .nav a:last-child { border-bottom: none; }

  .header-cta { display: none; }
  .menu-btn { display: flex; }
}

@media (max-width: 640px) {

  .float-card { display: none; }

  .module-bento,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .module-card-wide { grid-column: span 1; }

  .flow-track {
    grid-template-columns: 1fr;
    gap: var(--gap-grid);
  }

  .flow-step {
    padding: var(--card-pad);
    gap: 1.15rem;
  }

  .flow-step-num {
    width: 3rem;
    height: 3rem;
    font-size: var(--text-kicker);
  }

  .flow-step h4 { font-size: var(--text-h4); }
  .flow-step p { font-size: var(--text-base); }

  .mini-kpis { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

}

/* Optimizasyon — gerçek kesim planı (cam_erp opti-sonuc.json) */
.opti {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.opti-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.opti-head-left h2 {
  font-family: var(--font);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--ink);
}

.opti-head-right {
  max-width: 48ch;
  font-size: var(--text-lead);
  color: var(--muted);
  line-height: 1.65;
}

.opti-head-right strong {
  color: var(--ink);
  font-weight: 600;
}

.opti-stats {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-bottom: 1.25rem;
}

.opti-stat {
  flex: 1 1 0;
  min-width: 140px;
  padding: 2rem 2rem;
  border-right: 1px solid var(--line);
}

.opti-stat:last-child {
  border-right: none;
}

.opti-stat b {
  display: block;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.opti-stat-accent b {
  color: var(--accent);
}

.opti-stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--text-kicker);
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.opti-viewer {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.viewer-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.35rem 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.viewer-title {
  font-weight: 800;
  font-size: var(--text-h4);
  color: var(--ink);
}

.viewer-plaka {
  font-size: var(--text-base);
  color: var(--muted);
}

.viewer-verim {
  margin-left: auto;
  font-weight: 800;
  font-size: var(--text-h4);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.viewer-verim::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
}

.viewer-canvas {
  position: relative;
  padding: 2rem;
  background: #e8eef4;
  min-height: 360px;
}

.viewer-canvas svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.viewer-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.viewer-thumbs {
  display: flex;
  gap: 0.75rem;
  padding: 1.35rem 2rem;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mini-board {
  flex: 0 0 auto;
  width: 110px;
  padding: 8px;
  border: 2px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  font: inherit;
  text-align: center;
}

.mini-board:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.mini-board.aktif {
  border-color: var(--accent);
}

.mini-board svg {
  width: 100%;
  height: auto;
  display: block;
}

.mini-board-label {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--text-kicker);
  font-weight: 600;
  color: var(--muted);
}

.mini-board.aktif .mini-board-label {
  color: var(--accent);
}

.viewer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 2rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-base);
  color: var(--muted);
}

.viewer-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.leg-box {
  display: inline-block;
  width: 18px;
  height: 18px;
}

.leg-piece {
  background: #f7f9fb;
  border: 2px solid #16273b;
}

.leg-waste {
  background: rgba(215, 90, 39, 0.08);
  border: 2px dashed rgba(215, 90, 39, 0.55);
}

.viewer-legend-note {
  margin-left: auto;
  color: var(--muted);
}

.opti-integrate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.opti-integrate-label {
  font-size: var(--text-kicker);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.opti-badge {
  padding: 0.55rem 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
}

.opti-integrate-note {
  flex: 1 1 200px;
  font-size: var(--text-base);
  color: var(--muted);
}

@media (max-width: 760px) {
  .opti-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .opti-stat {
    flex-basis: 33.33%;
    border-bottom: 1px solid var(--line);
  }

  .opti-stat:nth-child(3n) {
    border-right: none;
  }

  .viewer-legend-note {
    margin-left: 0;
    width: 100%;
  }

  .viewer-verim {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .opti-stat {
    flex-basis: 50%;
  }

  .opti-stat:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .opti-stat:nth-child(2n) {
    border-right: none;
  }
}

/* İç sayfalar */
.ic-sayfa .header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.sayfa-bas,
.page-hero {
  padding: clamp(4rem, 6vw, 6rem) var(--pad-x) 3rem;
  width: 100%;
  max-width: none;
}

.page-title {
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.25rem;
  max-width: none;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--ink);
}

.page-title em {
  font-style: normal;
  color: var(--blue);
}

.page-lead {
  color: var(--muted);
  font-size: var(--text-lead);
  max-width: 65ch;
  line-height: 1.65;
}

.page-lead.ortali,
.page-title.ortali {
  margin-inline: auto;
  text-align: center;
  max-width: none;
}

.ozellik-blok {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  padding: var(--section-y) var(--pad-x);
  border-top: 1px solid var(--line);
  width: 100%;
}

@media (max-width: 900px) {
  .ozellik-blok { grid-template-columns: 1fr; }
}

.ob-sol h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin: 0.75rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--line);
}

.ob-liste {
  display: grid;
  gap: 0.75rem;
}

.ob-kart,
.ob-oge {
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--line);
}

.ob-kart h3,
.ob-oge h3 {
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.ob-kart p,
.ob-oge p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.65;
}

.deger-izgara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
  width: 100%;
  margin: 0 0 3rem;
  padding: 0 var(--pad-x);
}

@media (max-width: 800px) {
  .deger-izgara { grid-template-columns: 1fr; }
}

.deger {
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--line);
}

.d-no {
  display: block;
  font-size: var(--text-kicker);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.deger h3 {
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.deger p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.55;
}

.cta-serit {
  padding: var(--section-y) var(--pad-x);
  width: 100%;
}

.cta-kutu {
  padding: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--navy);
  color: #c8d4e4;
  text-align: center;
}

.cta-kutu h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-kutu p {
  margin-bottom: 1.25rem;
}

.icerik {
  width: 100%;
  max-width: none;
  margin: 0 0 4rem;
  padding: 0 var(--pad-x);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
}

.icerik h2 {
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}

.icerik ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.icerik table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: var(--text-base);
}

.icerik th,
.icerik td {
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  text-align: left;
}

.icerik th {
  background: var(--bg);
  font-weight: 600;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Çerez / KVKK onayı */
.cerez {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(12, 26, 46, 0.12);
  transform: translateY(0);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.cerez.gizle {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cerez-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Yatay boşluk .container (--pad-x) */
  padding-block: 1.25rem;
}

.cerez-inner p {
  flex: 1 1 280px;
  font-size: var(--text-base);
  color: var(--text);
  margin: 0;
}

.cerez-inner a {
  color: var(--blue);
  font-weight: 600;
}

.cerez-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
