/* ==========================================================================
   TALOS — TETİK™ Atış Eğitim Sistemi
   Talos Savunma Teknolojileri Sanayi ve Ticaret Limited Şirketi
   ========================================================================== */

:root {
  --black-base: #000000;
  --black-surface: #070709;
  --black-card: #0c0c0f;
  --black-hover: #141418;

  --white: #ffffff;
  --white-muted: #8e8e99;
  --white-sub: #c4c4cc;

  --accent-titanium: #d4d4d8;
  --accent-blue: #38bdf8;

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.3);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-xs: 2px;
  --radius-sm: 4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--black-base);
  color: var(--white);
}

body {
  background-color: var(--black-base);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}

p {
  color: var(--white-muted);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-titanium);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background-color: var(--accent-titanium);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
  margin-top: 12px;
}

.btn-white {
  background-color: var(--white);
  color: var(--black-base);
}

.btn-white:hover {
  background-color: #e4e4e7;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-color: var(--border-hairline);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand img {
  height: 38px;
  width: auto;
  transition: opacity 0.2s;
}

.brand:hover img {
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.nav-link:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(40, 48, 72, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #050508 0%, #000 100%);
  z-index: 0;
  animation: atmosphere-shift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-shift {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.04); opacity: 0.92; }
}

.hero-silhouette {
  position: absolute;
  right: -4%;
  top: 48%;
  z-index: 1;
  width: min(62vw, 720px);
  pointer-events: none;
  opacity: 0.35;
  transform: translateY(-50%);
  animation: silhouette-drift 22s ease-in-out infinite alternate;
}

.hero-silhouette img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter: brightness(0.85) contrast(1.05);
}

@keyframes silhouette-drift {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-52%) translateX(-18px); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, #000 100%),
    radial-gradient(circle at 60% 45%, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-brand {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-title span {
  display: block;
  color: var(--accent-titanium);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--white-sub);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.delay-1 { animation-delay: 0.12s; }
.reveal.delay-2 { animation-delay: 0.24s; }
.reveal.delay-3 { animation-delay: 0.36s; }
.reveal.delay-4 { animation-delay: 0.48s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--border-hairline);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
}

.section-head-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-head-desc {
  max-width: 440px;
  font-size: 1.05rem;
  color: var(--white-muted);
  line-height: 1.6;
}

/* Value grid — hairline columns, not cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-hairline);
}

.value-item {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border-hairline);
  transition: background-color 0.3s ease;
}

.value-item:last-child {
  border-right: none;
  padding-right: 0;
}

.value-item:first-child {
  padding-left: 0;
}

.value-item h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Components */
.component {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--border-hairline);
}

.component:first-of-type {
  border-top: none;
  padding-top: 0;
}

.component-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-titanium);
  padding-top: 6px;
}

.component-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-titanium);
  margin-bottom: 12px;
}

.component-body h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 720px;
}

.component-lead {
  font-size: 1.05rem;
  color: var(--white-sub);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 36px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  max-width: 960px;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.6;
  padding-left: 16px;
  border-left: 1px solid var(--border-hairline);
}

.feature-list strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Specs table */
.specs-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
  line-height: 1.5;
}

.specs-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-titanium);
  font-weight: 500;
  background: var(--black-surface);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.specs-table tbody th {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  width: 18%;
}

.specs-table tbody td {
  color: var(--white-muted);
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody tr:hover td,
.specs-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.02);
}

/* Use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-hairline);
}

.use-item {
  padding: 40px 48px 40px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.use-item:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--border-hairline);
}

.use-item:nth-child(even) {
  padding-left: 48px;
}

.use-item h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.use-item p {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 480px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-company-name {
  font-size: 0.95rem;
  color: var(--accent-titanium);
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.contact-records {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.record-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  display: block;
  margin-bottom: 6px;
}

.record-val {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
}

.record-val a:hover {
  color: var(--accent-blue);
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.input-box input,
.input-box textarea,
.input-box select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-hairline);
  padding: 14px 0;
  font-size: 1rem;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
}

.input-box input:focus,
.input-box textarea:focus,
.input-box select:focus {
  border-bottom-color: var(--white);
}

.input-box label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-muted);
  display: block;
}

.input-box select {
  cursor: pointer;
}

.input-box select option {
  background-color: var(--black-card);
  color: var(--white);
}

.kvkk-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--white-muted);
}

.kvkk-check input {
  margin-top: 3px;
  accent-color: var(--white);
}

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

.recaptcha-wrap {
  min-height: 78px;
}

.form-error {
  font-size: 0.88rem;
  color: #f87171;
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-hairline);
  padding: 96px 0 40px;
  background-color: var(--black-base);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--white-muted);
  max-width: 440px;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--white-muted);
}

.footer-list a:hover {
  color: var(--white);
}

.footer-muted {
  color: var(--white-muted);
  font-size: 0.9rem;
}

.footer-tag {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-titanium);
}

.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--white-muted);
  gap: 16px;
}

.minimal-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--white);
  color: var(--black-base);
  padding: 16px 28px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 2000;
}

/* Responsive */
@media (max-width: 1100px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item {
    padding: 32px 28px 32px 0;
  }

  .value-item:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }

  .value-item:nth-child(1),
  .value-item:nth-child(2) {
    border-bottom: 1px solid var(--border-hairline);
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .navbar .container {
    height: 72px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--black-base);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 120px 0 72px;
    min-height: auto;
  }

  .hero-silhouette {
    width: min(88vw, 420px);
    right: -18%;
    top: 42%;
    opacity: 0.25;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
  }

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

  .value-item {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 28px 0;
  }

  .value-item:last-child {
    border-bottom: none;
  }

  .component {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 48px 0;
  }

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

  .use-item,
  .use-item:nth-child(odd),
  .use-item:nth-child(even) {
    padding: 28px 0;
    border-right: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-atmosphere {
    animation: none;
  }

  .hero-silhouette {
    animation: none;
  }
}
