/* ==========================================================================
   CERES® web sitesi — LARES Mühendislik ve Yer Bilimleri Ltd. Şti.
   Palet: CERES arayüzü (lacivert + cyan). Tipografi: Bebas Neue / IBM Plex.
   ========================================================================== */
@import url("../fonts/fonts.css");

/* ---------- Tokenlar ---------- */
:root {
  --bg: #0b1220;
  --bg-2: #08101c;
  --header: #010e29;
  --card: #0d1a2c;
  --card-2: #102238;
  --text: #c9d6e2;
  --muted: #7f92a8;
  --heading: #eaf4f8;
  --accent: #15c4ff;
  --accent-2: #0066cc;
  --accent-ink: #03202e;
  --border: rgba(21, 196, 255, 0.16);
  --border-strong: rgba(21, 196, 255, 0.38);
  --grid: rgba(21, 196, 255, 0.05);
  --ok: #27ae60;
  --warn: #e67e22;
  --err: #e74c3c;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);

  --font-brand: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 3px;
}

:root[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-2: #eaf0f7;
  --header: #ffffff;
  --card: #ffffff;
  --card-2: #f0f5fa;
  --text: #2b3a4d;
  --muted: #5d7188;
  --heading: #0a1628;
  --accent: #0a86c2;
  --accent-2: #0055aa;
  --accent-ink: #ffffff;
  --border: rgba(10, 22, 40, 0.13);
  --border-strong: rgba(10, 134, 194, 0.5);
  --grid: rgba(10, 134, 194, 0.06);
  --shadow: 0 24px 50px -28px rgba(10, 22, 40, 0.35);
}

/* ---------- Reset / temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografi ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.h1 { font-size: clamp(3.4rem, 9vw, 7.4rem); }
.h2 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.h3 { font-size: 1.9rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); font-weight: 300; max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
sup.reg { font-size: 0.42em; vertical-align: super; letter-spacing: 0; }

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--heading); border-color: var(--border-strong); clip-path: none; }
.btn--ghost:hover { background: var(--card-2); }
.btn--sm { padding: 10px 18px; font-size: 0.74rem; }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--header) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent) 40%, transparent 85%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--heading); }
.brand:hover { text-decoration: none; }
.brand__mark { font-family: var(--font-brand); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.09em; line-height: 1; }
.brand__mark sup { font-size: 0.45em; letter-spacing: 0; vertical-align: super; }
.brand__sub { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--border-strong); padding-left: 12px; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav .btn { white-space: nowrap; }
.nav a.nav__link {
  position: relative;
  padding: 10px 12px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text); white-space: nowrap;
}
.nav a.nav__link:hover { color: var(--accent); text-decoration: none; }
.nav a.nav__link[aria-current="page"] { color: var(--accent); }
.nav a.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); }
.nav__tools { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }

@media (max-width: 1280px) { .brand__sub { display: none; } }
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.nav__link { padding: 16px 4px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
  .nav a.nav__link[aria-current="page"]::after { display: none; }
  .nav__tools { margin: 18px 0 0; }
  .nav__tools .btn { flex: 1; justify-content: center; }
}

/* ---------- Bölümler ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--grid { background-image:
  linear-gradient(var(--grid) 1px, transparent 1px),
  linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.9; pointer-events: none; }
.hero__bg canvas { width: 100%; height: 100%; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 42%, transparent 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .h1 .thin { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.hero .lead { margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.hero__meta span::before { content: "▸ "; color: var(--accent); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg { bottom: auto; height: 300px; opacity: 0.6; }
  .hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 85%); }
  .hero .container { padding-top: 150px; }
}

/* ---------- Cihaz / tarayıcı çerçevesi ---------- */
.frame {
  display: block;
  position: relative;
  width: 100%;
  background: #050a14;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: var(--shadow), 0 0 0 6px color-mix(in srgb, var(--accent) 6%, transparent);
  overflow: hidden;
}
button.frame { padding: 0; text-align: left; font: inherit; color: inherit; cursor: zoom-in; }
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--header); border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.frame__url { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame__body { display: block; position: relative; aspect-ratio: 16 / 10; background: #f6f7fb; }
.frame__body img, .frame__body iframe, .frame__body video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top left; }
.frame--float { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform 0.4s ease; }
.frame--float:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 960px) { .frame--float { transform: none; } }

/* ---------- İstatistik şeridi ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.stat { padding: 30px 20px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat__v { font-family: var(--font-display); white-space: nowrap; font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--heading); line-height: 1; letter-spacing: 0.02em; }
.stat__v small { font-size: 0.5em; color: var(--accent); margin-left: 3px; letter-spacing: 0.06em; }
.stat__l { margin-top: 8px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n), .stat:last-child { border-right: 0; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n), .stat:last-child { border-right: 0; }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--accent); opacity: 0; transition: opacity 0.2s; }
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__code { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 18px; display: block; }
.card h3 { font-family: var(--font-display); font-size: 1.85rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.card .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 20px; }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }

/* Ürün kartı */
.model { display: flex; flex-direction: column; }
.model__tag { align-self: flex-start; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--border-strong); color: var(--accent); margin-bottom: 20px; }
.model__name { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--heading); letter-spacing: 0.04em; white-space: nowrap; }
.model__name span { color: var(--accent); }
.model ul { margin: 22px 0 28px; display: grid; gap: 9px; flex: 1; }
.model li { position: relative; padding-left: 20px; font-size: 0.93rem; color: var(--text); }
.model li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 9px; height: 1px; background: var(--accent); }
.model--featured { background: linear-gradient(180deg, var(--card-2), var(--card)); border-color: var(--border-strong); }

/* ---------- Özellik satırları (alternatif görsel + metin) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.checklist { display: grid; gap: 14px; margin: 26px 0 32px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border: 1px solid var(--accent); background:
  linear-gradient(var(--accent), var(--accent)) center / 8px 2px no-repeat; transform: rotate(45deg) scale(0.75); }
.checklist strong { color: var(--heading); font-weight: 500; }

/* ---------- Süreç ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); }
.step { counter-increment: step; padding: 34px 26px; border-right: 1px solid var(--border); background: var(--card); }
.step:last-child { border-right: 0; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 3.2rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--border); } .step:last-child { border-bottom: 0; } }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--card); }
.table-wrap__title { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; display: block; }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 800px) { .spec-groups { grid-template-columns: 1fr; } }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.spec th, table.spec td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec th { width: 34%; font-family: var(--font-mono); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
table.spec td { color: var(--heading); }
table.spec thead th { background: var(--card-2); color: var(--accent); width: auto; }
table.spec tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
table.spec td .note { display: block; color: var(--muted); font-size: 0.82rem; }
.tick { color: var(--accent); }

/* ---------- Demo alanı ---------- */
.demo { position: relative; }
.demo__stage { position: relative; max-width: 1100px; margin: 0 auto; }
.demo__poster { position: absolute; inset: 0; z-index: 2; cursor: pointer; border: 0; padding: 0; background: #06101d; display: block; width: 100%; }
.demo__poster img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.55; transition: opacity 0.25s, transform 0.5s; }
.demo__poster:hover img { opacity: 0.8; transform: scale(1.015); }
.demo__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(3,10,20,0.78), rgba(3,10,20,0.2) 72%); }
.demo__cta { z-index: 1; position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.demo__play { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 22%, transparent); animation: pulse 2.4s infinite; }
.demo__play svg { width: 32px; height: 32px; margin-left: 4px; }
.demo__cta strong { font-family: var(--font-display); font-size: 2.1rem; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; text-shadow: 0 2px 20px #000; }
.demo__cta span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe7f3; text-shadow: 0 1px 8px #000; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 24%, transparent); } 50% { box-shadow: 0 0 0 18px color-mix(in srgb, var(--accent) 6%, transparent); } }
.demo__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.demo__toolbar .btn-row { gap: 10px; }
.demo__note { margin-top: 12px; padding: 12px 16px; border-left: 2px solid var(--warn); background: color-mix(in srgb, var(--warn) 9%, transparent); font-size: 0.86rem; color: var(--text); }

/* Tam ekran modu */
.demo-full { position: fixed !important; inset: 0; z-index: 1000; max-width: none !important; margin: 0 !important; border-radius: 0 !important; border: 0 !important; display: flex; flex-direction: column; background: #000; }
.demo-full .frame__body { flex: 1; aspect-ratio: auto; }
body.no-scroll { overflow: hidden; }
.frame__bar .bar-btn { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; background: transparent; border: 1px solid var(--border-strong); color: var(--heading); padding: 4px 12px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius); }
.frame__bar .bar-btn:hover { background: var(--accent); color: var(--accent-ink); }
.frame__bar .bar-btn + .bar-btn { margin-left: 8px; }

/* Ekran turu (demo sunucusu yokken) */
.tour { display: grid; grid-template-columns: 1fr 240px; gap: 18px; }
.tour__thumbs { display: grid; gap: 10px; align-content: start; }
.tour__thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--border); background: var(--card); text-align: left; border-radius: var(--radius); overflow: hidden; }
.tour__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.tour__thumb span { display: block; padding: 8px 10px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tour__thumb[aria-current="true"] { border-color: var(--accent); }
.tour__thumb[aria-current="true"] span { color: var(--accent); }
@media (max-width: 800px) { .tour { grid-template-columns: 1fr; } .tour__thumbs { grid-template-columns: repeat(3, 1fr); } .tour__thumb span { display: none; } }

/* ---------- Uygulama alanları ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.tile { background: var(--bg); padding: 34px 28px; display: grid; gap: 10px; transition: background 0.2s; }
.section--alt .tile { background: var(--bg-2); }
.tile:hover { background: var(--card); }
.tile__n { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--accent); }
.tile h3 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tile p { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Haber kartları ---------- */
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s; color: inherit; }
.post:hover { border-color: var(--border-strong); transform: translateY(-3px); text-decoration: none; }
.post__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--card-2), var(--bg-2)); position: relative; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 2.6rem; color: var(--border-strong); letter-spacing: 0.06em; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: flex; gap: 14px; flex-wrap: wrap; }
.post h3 { font-family: var(--font-body); font-size: 1.18rem; font-weight: 600; line-height: 1.35; color: var(--heading); text-transform: none; letter-spacing: 0; }
.post p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.state { padding: 40px; text-align: center; border: 1px dashed var(--border-strong); color: var(--muted); font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em; }

/* Makale */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.98; margin: 18px 0 20px; }
.article__hero { margin: 34px 0; border: 1px solid var(--border); }
.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { font-family: var(--font-body); font-weight: 600; margin: 2em 0 0.6em; text-transform: none; letter-spacing: 0; line-height: 1.25; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.25rem; }
.prose img { height: auto; margin: 1.6em 0; border: 1px solid var(--border); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; } .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); color: var(--heading); font-size: 1.15rem; }
.prose figure { margin: 1.6em 0; } .prose figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; height: auto; }
.prose table { width: 100%; border-collapse: collapse; } .prose td, .prose th { border: 1px solid var(--border); padding: 8px 12px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- İndirmeler ---------- */
.dl-group { margin-bottom: 56px; }
.dl-group h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; letter-spacing: 0.04em; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.dl-group h2 small { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted); }
.dl { display: grid; grid-template-columns: 56px 1fr auto; gap: 22px; align-items: center; padding: 20px 24px; background: var(--card); border: 1px solid var(--border); margin-bottom: -1px; transition: background 0.15s, border-color 0.15s; color: inherit; }
.dl:hover { background: var(--card-2); border-color: var(--border-strong); text-decoration: none; position: relative; z-index: 1; }
.dl__ext { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.dl__t { font-weight: 600; color: var(--heading); font-size: 1.05rem; line-height: 1.3; }
.dl__d { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.dl__m { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); text-align: right; white-space: nowrap; }
.dl__m b { display: block; color: var(--accent); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 640px) { .dl { grid-template-columns: 46px 1fr; } .dl__ext { width: 46px; height: 46px; } .dl__m { grid-column: 2; text-align: left; } }

/* ---------- Formlar ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg-2); color: var(--heading);
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: 0.98rem;
  transition: border-color 0.15s, background 0.15s;
}
:root[data-theme="light"] .field input, :root[data-theme="light"] .field select, :root[data-theme="light"] .field textarea { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--card); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--err); font-size: 0.8rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form__status { padding: 14px 18px; border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); font-size: 0.92rem; display: none; }
.form__status.is-shown { display: block; }
.form__status.is-error { border-color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
.form-card { background: var(--card); border: 1px solid var(--border); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); }

/* ---------- İletişim bilgileri ---------- */
.info-list { display: grid; gap: 26px; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-item svg { width: 26px; height: 26px; color: var(--accent); margin-top: 3px; }
.info-item dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-item dd { margin: 0; color: var(--heading); }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -60%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 18px 0 20px; }
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; color: var(--accent); }

/* Ürün sayfası girişi: başlık + sağda cihaz/arayüz görseli */
.page-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero__grid .frame { margin: 0; }
.page-hero .h1 .ceres-word { display: block; }
.product-family-label { font-family: var(--font-mono); font-size: clamp(0.85rem, 1.4vw, 1.05rem); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 2px 0 22px; }

/* Marka adı büyük satırda, açıklayıcı etiket altında küçük/ince bir satırda (başlıkların içinde tekrar eden desen) */
.brand-line .ceres-word { display: block; }
.brand-line__sub { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
h2.brand-line .brand-line__sub { font-size: clamp(0.8rem, 1.3vw, 0.95rem); margin-top: 10px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__grid .frame { order: -1; margin-bottom: 8px; } }

/* Kart köşesindeki yer tutucu/gerçek görsel (metin görselin etrafına sarar) */
.card__thumb { float: right; width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-strong); margin: -6px -6px 14px 16px; background: var(--card-2); }
@media (max-width: 480px) { .card__thumb { width: 64px; height: 64px; } }

/* ---------- CTA bandı ---------- */
.cta { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(120deg, var(--accent-2), #00396f 60%, #01193a); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 80%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 80%); }
.cta .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; max-width: 14ch; }
.cta p { color: #cfe2f5; margin: 14px 0 0; max-width: 46ch; }
.cta .btn { --btn-bg: #fff; --btn-fg: #00396f; }
.cta .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.55); }

/* ---------- Footer ---------- */
.site-footer { background: var(--header); border-top: 1px solid var(--border); padding: 64px 0 28px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__grid h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer__grid li { margin-bottom: 9px; }
.footer__grid a { color: var(--text); } .footer__grid a:hover { color: var(--accent); }
.footer__logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: var(--radius); margin: 18px 0 8px; }
.footer__logo img { height: 34px; width: auto; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Güvenlik notu ---------- */
.notice { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 26px; border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.notice svg { width: 36px; height: 36px; color: var(--warn); }
.notice strong { color: var(--heading); display: block; margin-bottom: 4px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.notice p { margin: 0; font-size: 0.93rem; }

/* ---------- Ekran görüntüsü galerisi + lightbox ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { padding: 0; border: 1px solid var(--border); background: var(--card); text-align: left; overflow: hidden; border-radius: var(--radius); transition: border-color 0.2s, transform 0.2s; }
.shot:hover { border-color: var(--accent); transform: translateY(-3px); }
.shot img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.shot span { display: block; padding: 12px 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.shot--contain { background: #fff; }
.shot--contain img { object-fit: contain; object-position: center; background: #fff; }
/* Videonun yanındaki iki üst üste görsel: kolonun kendi en-boy oranı sabit olmalı,
   yoksa 1fr satırların yüksekliği (yüzde tabanlı img'lerle) 0'a çöker. */
.media-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; aspect-ratio: 16 / 10; min-height: 0; }
.media-stack .shot { min-height: 0; }
.media-stack .shot img { width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) { .media-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; aspect-ratio: auto; } .media-stack .shot { aspect-ratio: 4 / 3; } }

/* ---------- Sahadan örnekler: fotoğraf/video + kısa hikaye kartları ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.story-card { display: flex; flex-direction: column; gap: 18px; }
.story-card__body { display: flex; flex-direction: column; gap: 8px; }
.story-card__tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.story-card__body h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; text-transform: none; color: var(--heading); margin: 0; line-height: 1.3; }
.story-card__body p { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.55; }
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shots { grid-template-columns: 1fr; } }

/* ---------- Referanslar: kullanıcı/müşteri logo kartları ---------- */
.ref-grid.grid--4 { row-gap: 26px; }
.ref-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 140px; gap: 10px; }
.ref-card img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s, opacity 0.2s; }
.ref-card:hover img { filter: none; opacity: 1; }
.ref-card__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(2, 8, 18, 0.94); display: none; place-items: center; padding: 30px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 94vw; width: auto; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.lightbox button { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-strong); color: #fff; font-size: 1.4rem; border-radius: var(--radius); }

/* ---------- Kaydırma animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo__play { animation: none; }
  .frame--float, .card, .post { transition: none; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .site-footer, .cta, .demo, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Marka yazısı: CERES® her yerde Montserrat Bold */
.ceres-word { font-family: var(--font-brand); font-weight: 700; letter-spacing: 0.06em; }

/* LARES logosu (koyu/açık tema sürümleri) */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo:hover { text-decoration: none; }
.brand-logo img { height: 40px; width: auto; }
.footer__grid .brand-logo img { height: 44px; }
.logo--light { display: none; }
:root[data-theme="light"] .logo--dark { display: none; }
:root[data-theme="light"] .logo--light { display: inline-block; }
/* Menüdeki CERES bağlantısı: marka fontu */
.nav a.nav__link--brand { font-family: var(--font-brand); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.12em; }

/* Dil değiştirme düğmesi */
.lang-switch { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text); }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ================= Ana sayfa: slider + yuvarlak butonlar (revizyon 2026-09-21) ================= */
.btn { clip-path: none; border-radius: 6px; }
.hero .h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); margin: 22px 0 26px; }
.hslides { display: grid; grid-template-columns: minmax(0, 1fr); }
.hslide { min-width: 0; }
.hero__grid > * { min-width: 0; }
.hslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s; }
.hslide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s; }
.hero__bg canvas { transition: opacity 0.32s ease; }
.hero__bg canvas.is-switching { opacity: 0; }
.hero__bg-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(1.05) brightness(0.55) blur(1px);
  opacity: 0; transition: opacity 0.5s ease;
}
.hero__bg-photo.is-visible { opacity: 1; }
.hero__bg::after { background:
  linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 40%, transparent 85%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hctrl { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hdots { display: flex; gap: 10px; }
.hdots button { position: relative; width: 48px; height: 22px; background: none; border: 0; padding: 0; }
.hdots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: var(--border-strong); border-radius: 2px; }
.hdots button::after { content: ""; position: absolute; left: 0; top: 9px; height: 3px; width: 0; background: var(--accent); border-radius: 2px; }
.hdots button.is-active::after { width: 100%; }
.hdots button.run::after { width: 0; animation: hprog var(--dur, 9000ms) linear forwards; }
.hero.is-paused .hdots button.run::after { animation-play-state: paused; }
@keyframes hprog { to { width: 100%; } }
.hctrl .hlabel { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); margin-left: 6px; }
.frame__body canvas, .frame__body svg.diagram { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.frame__body svg.diagram { background: #06101d; }
.diagram text { font-family: var(--font-mono); font-size: 12.5px; fill: #eaf4f8; letter-spacing: 0.04em; }
.diagram .small { font-size: 10.5px; fill: #7f92a8; }
@media (max-width: 960px) {
  .hero__bg { bottom: auto; height: 300px; opacity: 0.7; }
  .hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 85%); }
  .hero .container { padding-top: 150px; }
  .hctrl { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hslide, .hslide.is-active { transition: none; } .hero__bg canvas { transition: none; } }
