/* Teslakom Defense — shared stylesheet */

:root {
  --bg-0: #07090c;
  --bg-1: #0c1118;
  --bg-2: #131a23;
  --bg-3: #1a2330;
  --line: #1e2935;
  --line-bright: #2c3a4b;
  --text: #e6ecf3;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --accent: #ff6a00;       /* orange-amber, defense-tech feel */
  --accent-2: #ffae3b;
  --accent-cool: #4cc9ff;
  --danger: #e23b3b;
  --ok: #34d399;
  --maxw: 1240px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", "Helvetica Neue", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-dim); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}

/* ---------- Top bar ---------- */
.topbar {
  background: #03060a;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.topbar a:hover { color: var(--accent); }
.topbar .sep { color: var(--line-bright); margin: 0 10px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-footer .brand-logo { height: 42px; }
.brand-name { color: var(--text); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em; }
.brand-name .accent { color: var(--accent); }
@media (max-width: 640px) {
  .brand-logo { height: 32px; }
  .site-footer .brand-logo { height: 36px; }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-trigger {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover, .nav-links a.active,
.nav-links .nav-trigger:hover, .nav-links .nav-trigger.active { color: var(--text); }
.nav-links a.active::after,
.nav-links .nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}
.nav-links .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute;
  /* No visual gap between trigger and panel — keeps the hover zone continuous */
  top: 100%;
  left: -16px;
  min-width: 280px;
  background: var(--bg-1);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Visual breathing-room between trigger and first item is now padding *inside* the
     dropdown rather than empty space outside it, so the cursor never leaves the
     hover area while crossing into the menu. */
  padding: 22px 10px 10px;
  list-style: none;
  margin: 0;
  z-index: 100;
  /* Use opacity/visibility instead of display:none so we can delay the close. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  /* On close: keep visible 250 ms (gives time to re-enter), then snap visibility. */
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s;
}
/* Invisible safety bridge — covers any sub-pixel gap between trigger and panel */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 14px;
  pointer-events: none;
}
.has-dropdown:hover::after,
.has-dropdown:focus-within::after,
.has-dropdown.open::after {
  pointer-events: auto;
}
.has-dropdown:hover .caret,
.has-dropdown.open .caret { transform: rotate(-135deg) translate(-2px, -2px); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-radius: 3px;
  border-left: 2px solid transparent;
}
.dropdown a:hover {
  background: var(--bg-2);
  color: var(--text);
  border-left-color: var(--accent);
}
.dropdown a::after { display: none; }
.dropdown .group-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 14px 6px;
  display: block;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--accent-2); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-bright);
  color: var(--text);
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-bright); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,106,0,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(76,201,255,0.12), transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, #07090c 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.95) contrast(1.08) brightness(0.95);
  pointer-events: none;
  z-index: 0;
  animation: heroVideoZoom 28s ease-in-out infinite alternate;
}
@keyframes heroVideoZoom {
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.06); }
}
/* Two-stage overlay: protects the left text area while keeping the right half clear for the video */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    /* darker pool behind text on the left */
    linear-gradient(90deg, rgba(7,9,12,0.78) 0%, rgba(7,9,12,0.55) 38%, rgba(7,9,12,0.25) 70%, rgba(7,9,12,0.10) 100%),
    /* warm accent bloom in the bottom-right */
    radial-gradient(800px 400px at 100% 100%, rgba(255,106,0,0.20), transparent 60%),
    /* faint vertical fade so top + bottom edges blend with header / sections */
    linear-gradient(180deg, rgba(7,9,12,0.30) 0%, rgba(7,9,12,0.10) 30%, rgba(7,9,12,0.10) 70%, rgba(7,9,12,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Subtle scanline texture on top of the video for an instrumented feel */
.hero-video-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.hero .hero-inner { position: relative; z-index: 2; }
/* Boost text legibility against the brighter video */
.hero-copy h1 { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero-copy p.lead { text-shadow: 0 1px 8px rgba(0,0,0,0.45); }

/* Card with real image */
.card-media.has-image { padding: 0; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.04); filter: saturate(1) contrast(1.1); }

/* Image with caption */
.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
}
.figure img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.figure figcaption {
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* Wide image banner */
.image-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.image-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,12,0) 40%, rgba(7,9,12,0.7) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0 120px;
}
.hero-copy h1 span {
  color: var(--accent);
}
.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 106, 0, 0.4);
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 30, 45, 0.55) 0%, rgba(7, 9, 12, 0.75) 70%);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    inset 0 0 60px rgba(255, 106, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,106,0,0.6);
}
.hero-visual::before { top: 0; left: 0; width: 60px; height: 2px; }
.hero-visual::after { top: 0; left: 0; width: 2px; height: 60px; }
.hero-visual .corner-br { position: absolute; bottom: 0; right: 0; }
.hero-visual .corner-br::before,
.hero-visual .corner-br::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,106,0,0.6);
  bottom: 0; right: 0;
}
.hero-visual .corner-br::before { width: 60px; height: 2px; }
.hero-visual .corner-br::after  { width: 2px; height: 60px; }
.hero-visual .crosshair {
  position: absolute; inset: 0; margin: auto;
  width: 88%; height: 88%;
  filter: drop-shadow(0 0 6px rgba(255,106,0,0.35));
}
.hero-visual .telemetry {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--accent);
  text-align: right; line-height: 1.7;
  z-index: 3;
}
.hero-visual .telemetry .row { color: var(--text-dim); }
.hero-visual .telemetry .row span { color: var(--accent); }
.hero-visual .telemetry .row span.live { animation: liveBlink 1.4s ease-in-out infinite; }

/* ---------- Targeting / radar SVG animations ---------- */
@keyframes liveBlink {
  0%, 60%, 100% { opacity: 1; }
  70%, 80%      { opacity: 0.35; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes pulseRing {
  0%   { transform: scale(0.7); opacity: 0; }
  35%  { opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes drawCircle {
  0%   { stroke-dashoffset: 600; opacity: 0; }
  10%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -600; opacity: 0; }
}
@keyframes hudFlicker {
  0%, 92%, 100% { opacity: 1; }
  93%, 95%, 97% { opacity: 0.4; }
  94%, 96%, 98% { opacity: 1; }
}
@keyframes targetPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
@keyframes coordCycle {
  0%, 100% { content: "N 41.0082°"; }
}
@keyframes scanLineSweep {
  0%   { transform: translateY(-50%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(50%); opacity: 0; }
}
@keyframes tickFlash {
  0%, 80%, 100% { opacity: 0.4; }
  85%, 92%      { opacity: 1; }
}

.crosshair { animation: hudFlicker 7s linear infinite; }
.crosshair .ring-outer  { transform-origin: 100px 100px; animation: spinSlow 24s linear infinite; }
.crosshair .ring-mid    { transform-origin: 100px 100px; animation: spinReverse 36s linear infinite; }
.crosshair .ring-pulse  { transform-origin: 100px 100px; animation: pulseRing 3.4s ease-out infinite; }
.crosshair .ring-pulse.delay-1 { animation-delay: 1.1s; }
.crosshair .ring-pulse.delay-2 { animation-delay: 2.2s; }
.crosshair .draw-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawCircle 6s linear infinite;
}
.crosshair .sweep-arm {
  transform-origin: 100px 100px;
  animation: spinSlow 4.5s linear infinite;
}
.crosshair .target-dot {
  transform-origin: 100px 100px;
  transform-box: fill-box;
  animation: targetPulse 1.6s ease-in-out infinite;
}
.crosshair .corner-bracket { animation: tickFlash 2.6s ease-in-out infinite; }
.crosshair .scan-line {
  transform-origin: center;
  animation: scanLineSweep 3.2s ease-in-out infinite;
}

/* Subtle floating motion on the hero visual itself */
.hero-visual {
  animation: heroVisualFloat 9s ease-in-out infinite;
}
@keyframes heroVisualFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- Hakkımızda animated visuals ---------- */
.hakkimizda-visual {
  aspect-ratio: 1 / 1;
  position: relative;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 30, 45, 0.55) 0%, rgba(7, 9, 12, 0.85) 70%);
  box-shadow:
    inset 0 0 60px rgba(255, 106, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
}
.hakkimizda-visual::before,
.hakkimizda-visual::after,
.hakkimizda-visual .corner-br::before,
.hakkimizda-visual .corner-br::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,106,0,0.6);
}
.hakkimizda-visual::before { top: 0; left: 0; width: 50px; height: 2px; }
.hakkimizda-visual::after  { top: 0; left: 0; width: 2px; height: 50px; }
.hakkimizda-visual .corner-br { position: absolute; bottom: 0; right: 0; }
.hakkimizda-visual .corner-br::before { bottom: 0; right: 0; width: 50px; height: 2px; }
.hakkimizda-visual .corner-br::after  { bottom: 0; right: 0; width: 2px; height: 50px; }

.network-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.3));
}

/* Outer rotating bearing ring (slow CW) */
.network-svg .bridge-outer {
  transform-origin: 200px 200px;
  animation: spinSlow 32s linear infinite;
}
/* Center hub breathing */
.network-svg .bridge-hub {
  transform-origin: 200px 200px;
  animation: targetPulse 2.2s ease-in-out infinite;
}
/* Pulse ring radiating from the hub */
.network-svg .bridge-pulse {
  transform-origin: 200px 200px;
  animation: pulseRing 3.2s ease-out infinite;
}
.network-svg .bridge-pulse.b2 { animation-delay: 1s;   }
.network-svg .bridge-pulse.b3 { animation-delay: 2s;   }
/* Connection lines: traveling dashes (data flow) */
.network-svg .conn-line {
  stroke-dasharray: 4 8;
  animation: dashTravel 3.4s linear infinite;
  opacity: 0.9;
}
.network-svg .conn-line.cd2 { animation-duration: 4.0s; }
.network-svg .conn-line.cd3 { animation-duration: 2.8s; }
.network-svg .conn-line.cd4 { animation-duration: 4.6s; }
.network-svg .conn-line.cd5 { animation-duration: 3.2s; }
.network-svg .conn-line.cd6 { animation-duration: 3.9s; }
@keyframes dashTravel {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -120; }
}
/* Outer partner nodes pulsing */
.network-svg .outer-node {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodeFlash 2.4s ease-in-out infinite;
}
.network-svg .outer-node.n2 { animation-delay: 0.35s; }
.network-svg .outer-node.n3 { animation-delay: 0.70s; }
.network-svg .outer-node.n4 { animation-delay: 1.05s; }
.network-svg .outer-node.n5 { animation-delay: 1.40s; }
.network-svg .outer-node.n6 { animation-delay: 1.75s; }
@keyframes nodeFlash {
  0%, 100% { opacity: 0.55; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1.3); }
}

/* Capability radar — a smaller HUD-style spider showing the 6 product domains */
.capability-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 30, 45, 0.45) 0%, rgba(7, 9, 12, 0.8) 70%);
}
.capability-svg { width: 100%; height: 100%; }
.capability-svg .ring { transform-origin: 200px 200px; animation: spinSlow 28s linear infinite; }
.capability-svg .sweep {
  transform-origin: 200px 200px;
  animation: spinSlow 6s linear infinite;
}
.capability-svg .domain-dot {
  transform-origin: center;
  transform-box: fill-box;
  animation: targetPulse 2.4s ease-in-out infinite;
}
.capability-svg .domain-dot.k2 { animation-delay: 0.4s; }
.capability-svg .domain-dot.k3 { animation-delay: 0.8s; }
.capability-svg .domain-dot.k4 { animation-delay: 1.2s; }
.capability-svg .domain-dot.k5 { animation-delay: 1.6s; }
.capability-svg .domain-dot.k6 { animation-delay: 2.0s; }

/* honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hakkimizda-visual,
  .capability-visual,
  .product-visual,
  .network-svg *,
  .capability-svg *,
  .product-svg * {
    animation: none !important;
  }
}

/* ---------- Product page hero (themed visual on the right) ---------- */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: center;
}
.product-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 30, 45, 0.55) 0%, rgba(7, 9, 12, 0.85) 70%);
  box-shadow:
    inset 0 0 50px rgba(255, 106, 0, 0.07),
    0 10px 30px rgba(0, 0, 0, 0.35);
}
.product-visual::before,
.product-visual::after,
.product-visual .corner-br::before,
.product-visual .corner-br::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255,106,0,0.6);
}
.product-visual::before { top: 0; left: 0; width: 40px; height: 2px; }
.product-visual::after  { top: 0; left: 0; width: 2px; height: 40px; }
.product-visual .corner-br { position: absolute; bottom: 0; right: 0; }
.product-visual .corner-br::before { bottom: 0; right: 0; width: 40px; height: 2px; }
.product-visual .corner-br::after  { bottom: 0; right: 0; width: 2px; height: 40px; }
.product-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.3));
}

@media (max-width: 980px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-visual { max-width: 320px; margin: 0 auto; }
}

/* Shared product visual building blocks reuse existing keyframes
   (spinSlow, spinReverse, pulseRing, targetPulse, dashTravel, nodeFlash).
   Page-specific keyframes follow. */

/* === Motorize — gimbal pan + tilt === */
.product-svg .pan-ring   { transform-origin: 150px 150px; animation: spinSlow 14s linear infinite; }
.product-svg .tilt-arc   { transform-origin: 150px 150px; animation: tiltOscillate 4s ease-in-out infinite; }
.product-svg .sensor-head{ transform-origin: 150px 150px; animation: spinSlow 14s linear infinite; }
.product-svg .gimbal-readout-y { animation: gimbalPanReadout 14s linear infinite; }
.product-svg .gimbal-readout-t { animation: gimbalTiltReadout 4s ease-in-out infinite; }
@keyframes tiltOscillate {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg); }
}
@keyframes gimbalPanReadout { 0%,100%{} } /* reserved */
@keyframes gimbalTiltReadout { 0%,100%{} }

/* === Kamera — spectrum scan === */
.product-svg .spectrum-scan {
  animation: spectrumSweep 3.6s ease-in-out infinite;
}
@keyframes spectrumSweep {
  0%, 100% { transform: translateX(0); opacity: 0.95; }
  50%      { transform: translateX(192px); opacity: 0.95; }
}
.product-svg .band-flash {
  animation: bandFlash 3.6s linear infinite;
}
.product-svg .band-flash.bf2 { animation-delay: 0.9s; }
.product-svg .band-flash.bf3 { animation-delay: 1.8s; }
.product-svg .band-flash.bf4 { animation-delay: 2.7s; }
@keyframes bandFlash {
  0%, 90%, 100% { opacity: 0.45; }
  10%, 25%      { opacity: 1; }
}

/* === Lazer — beam fire + return === */
.product-svg .beam-pulse {
  animation: beamFire 2.1s linear infinite;
}
@keyframes beamFire {
  0%   { transform: translateX(0);   opacity: 1; }
  45%  { transform: translateX(180px); opacity: 1; }
  55%  { transform: translateX(180px); opacity: 0.4; }
  100% { transform: translateX(0);   opacity: 0; }
}
.product-svg .target-lock {
  transform-origin: 250px 150px;
  animation: targetPulse 2.1s ease-in-out infinite;
}
.product-svg .beam-line {
  stroke-dasharray: 3 6;
  animation: dashTravel 2.4s linear infinite;
}

/* === Radar — sweep + blips === */
.product-svg .radar-sweep {
  transform-origin: 150px 150px;
  animation: spinSlow 4s linear infinite;
}
.product-svg .blip {
  transform-origin: center;
  transform-box: fill-box;
  animation: blipFade 4s linear infinite;
}
.product-svg .blip.b2 { animation-delay: 1.3s; }
.product-svg .blip.b3 { animation-delay: 2.6s; }
@keyframes blipFade {
  0%, 5%   { opacity: 1;   transform: scale(1.4); }
  35%      { opacity: 0.6; transform: scale(1); }
  100%     { opacity: 0;   transform: scale(0.6); }
}

/* === Alt Sistemler — sequential component highlight === */
.product-svg .comp {
  animation: componentPulse 5.4s ease-in-out infinite;
}
.product-svg .comp.c2 { animation-delay: 1.35s; }
.product-svg .comp.c3 { animation-delay: 2.70s; }
.product-svg .comp.c4 { animation-delay: 4.05s; }
@keyframes componentPulse {
  0%, 18%, 100% { opacity: 0.55; }
  9%            { opacity: 1; }
}
.product-svg .comp .conn {
  stroke-dasharray: 3 5;
  animation: dashTravel 2.4s linear infinite;
}

/* === Sistem Çözümleri — coverage rings + multi-domain === */
.product-svg .coverage {
  transform-origin: 150px 150px;
  animation: pulseRing 3.4s ease-out infinite;
}
.product-svg .coverage.c2 { animation-delay: 1.1s; }
.product-svg .coverage.c3 { animation-delay: 2.2s; }
.product-svg .domain-bar {
  animation: bandFlash 4s ease-in-out infinite;
}
.product-svg .domain-bar.d2 { animation-delay: 1.3s; }
.product-svg .domain-bar.d3 { animation-delay: 2.6s; }
.product-svg .threat-dot {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodeFlash 2.6s ease-in-out infinite;
}
.product-svg .threat-dot.t2 { animation-delay: 0.5s; }
.product-svg .threat-dot.t3 { animation-delay: 1.0s; }

/* Sector tile shimmer on hover (Ana Sayfa) */
.sector.active { position: relative; }
.sector.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,106,0,0.10) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.sector.active:hover::after { transform: translateX(100%); }
.sector.active:hover .arrow-link { color: var(--accent-2); }

/* Honour user reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-visual,
  .crosshair,
  .crosshair *,
  .sector.active::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Section header ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.section.compact { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .text { max-width: 720px; }
.section-head h2 + p { color: var(--text-dim); margin: 8px 0 0; max-width: 640px; }
.section-head .link {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0e1620 0%, #182231 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.card-media .tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(7, 9, 12, 0.7);
  border: 1px solid var(--line-bright);
  padding: 4px 8px;
  border-radius: 2px;
}
.card-body { padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-top: 16px;
}

/* ---------- Stats strip ---------- */
.stats {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .grid-4 { gap: 0; }
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat .lbl {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row + .feature-row { margin-top: 80px; }
.feature-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0e1620 0%, #1a2532 100%);
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  display: flex; gap: 12px; align-items: flex-start;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before {
  content: "■";
  color: var(--accent);
  font-size: 0.6rem;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255,106,0,0.12), transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, var(--bg-0) 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .crumbs {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.page-hero .crumbs a { color: var(--text-muted); }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero h1 { max-width: 820px; }
.page-hero p.lead {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--text-dim);
}

/* ---------- News ---------- */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
  display: grid;
  grid-template-columns: 160px 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item .date {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.news-item .cat {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line-bright);
  padding: 4px 8px;
  border-radius: 2px;
  justify-self: start;
}
.news-item h3 { margin-bottom: 6px; }
.news-item p { margin: 0; font-size: 0.95rem; }
.news-item:hover h3 { color: var(--accent); }

/* ---------- Contact info block (İletişim ofis kartları) ---------- */
.contact-block { margin-top: 14px; }
.contact-block .row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}
.contact-block .row:last-child { border-bottom: 1px solid var(--line); }
.contact-block .lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}
.contact-block .val { color: var(--text); }
.contact-block .val a { color: var(--text); }
.contact-block .val a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
label.field {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-bright);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Generic two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.two-col h2 { margin-top: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}
.timeline h4 { margin: 0 0 4px; font-size: 1.05rem; }
.timeline p { margin: 0; font-size: 0.93rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 100% 50%, rgba(255,106,0,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.cta-banner .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0; max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #03060a;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-dim); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Tag chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line-bright);
  padding: 5px 10px;
  border-radius: 2px;
}

/* ---------- Spec table ---------- */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 20px;
}
.specs th, .specs td {
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.specs th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-1);
  width: 200px;
}
.specs td { color: var(--text); }

/* ---------- Sector tiles (Ana Sayfa) ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  min-height: 280px;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: background 0.25s ease;
  overflow: hidden;
}
.sector:nth-child(2n) { border-right: none; }
.sector:nth-last-child(-n+2) { border-bottom: none; }
.sector .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  margin-bottom: auto;
  color: var(--accent);
}
.sector h3 {
  font-size: 1.6rem;
  margin: 30px 0 8px;
}
.sector .desc { color: var(--text-dim); font-size: 0.95rem; max-width: 420px; margin: 0; }
.sector .arrow-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sector.active::before {
  content: "AKTİF";
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 8px;
  border-radius: 2px;
}
.sector.coming::before {
  content: "YAKINDA";
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  border: 1px solid var(--line-bright);
  padding: 4px 8px;
  border-radius: 2px;
}
.sector.active:hover {
  background: linear-gradient(135deg, #131c28 0%, #0a0e14 100%);
}
.sector.coming { cursor: not-allowed; }
.sector.coming h3, .sector.coming .desc { color: var(--text-muted); }
.sector.coming .icon { color: var(--text-muted); }
.sector.coming .arrow-link { color: var(--text-muted); }

/* Image placeholder banner */
.image-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,106,0,0.04) 12px 24px),
    linear-gradient(135deg, #0e1620 0%, #1a2532 100%);
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Two-column content reading layout */
.content-two-col {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.content-two-col h2, .content-two-col h3 { margin-top: 0; }
.content-two-col + .content-two-col { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { border-right: none !important; }
  .content-two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Domain pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text);
}
.pill .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* Stack hero copy + visual; tighten breathing-room so the visual is in view */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 72px;
    gap: 36px;
  }
  .hero-visual {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-copy { text-align: left; }
  .hero-copy h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
  .hero-copy p.lead { font-size: 1rem; max-width: 560px; }
  /* On smaller screens the left-to-right overlay no longer makes sense — switch
     to a top-down gradient so the copy sits on a darker patch and the video is
     fully visible behind the visual below it. */
  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(7,9,12,0.72) 0%, rgba(7,9,12,0.40) 45%, rgba(7,9,12,0.30) 70%, rgba(7,9,12,0.78) 100%),
      radial-gradient(600px 300px at 50% 100%, rgba(255,106,0,0.18), transparent 60%);
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 100px 1fr; }
  .news-item .cat { grid-column: 2; justify-self: start; margin-top: -8px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 20px 24px; gap: 14px;
  }
  .nav-links.open .has-dropdown .dropdown {
    position: static; display: block;
    box-shadow: none; border: none; padding: 6px 0 6px 14px;
    background: transparent; min-width: 0;
  }
  .nav-cta { display: none; }
  /* Phone hero: tighter rhythm, smaller animated panel, full-width buttons */
  .hero-inner {
    padding: 36px 0 56px;
    gap: 26px;
  }
  .hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.18;
  }
  .hero-copy p.lead { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
  .hero-visual {
    max-width: 320px;
    /* Stop the 9 s vertical float on tiny screens — feels too jumpy. */
    animation: none;
  }
  /* Tighten the telemetry text so it stays inside the smaller panel */
  .hero-visual .telemetry { font-size: 0.62rem; top: 10px; right: 10px; }
  /* Slow the video zoom slightly for less motion on phones */
  .hero-video { animation-duration: 36s; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .timeline li { grid-template-columns: 80px 1fr; gap: 14px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-item .cat { margin-top: 0; }
}
