/*
 * Teknoen — Tasarım Aşamasında
 * Project-specific original stylesheet.
 * No third-party theme, framework, font or icon library is used.
 */

:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: #0e1c30;
  --line: #233852;
  --text: #eef6ff;
  --muted: #91a5bc;
  --teal: #15d6c8;
  --teal-soft: rgba(21, 214, 200, .12);
  --amber: #f7b955;
  --amber-soft: rgba(247, 185, 85, .13);
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(21, 214, 200, .09), transparent 28rem),
    radial-gradient(circle at 86% 78%, rgba(247, 185, 85, .08), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

a { color: inherit; }
svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.page-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 76px) 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar,
.footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--teal);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand strong {
  display: block;
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: .16em;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #cfe2f5;
  border: 1px solid rgba(145, 165, 188, .22);
  border-radius: 999px;
  background: rgba(10, 25, 43, .58);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: .03em;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(21,214,200,.55);
  animation: pulse 2.2s infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(42px, 8vh, 92px) 0 clamp(36px, 6vh, 72px);
}

.hero-copy { position: relative; z-index: 4; max-width: 650px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #b9cbe0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow span {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.eyebrow::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

h1 {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 780;
  text-wrap: balance;
}
h1 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 640;
}
.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.process {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  margin-top: 38px;
  max-width: 630px;
}
.process-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  opacity: .56;
}
.process-item.is-active { opacity: 1; }
.process-item > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: 0 0 33px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #7790aa;
  font-size: 10px;
  font-weight: 900;
}
.process-item.is-active > span {
  color: var(--bg);
  background: var(--teal);
  border-color: var(--teal);
}
.process-item strong,
.process-item small { display: block; white-space: nowrap; }
.process-item strong { font-size: 12px; letter-spacing: .03em; }
.process-item small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.process-line {
  position: relative;
  height: 1px;
  margin: 0 12px;
  overflow: hidden;
  background: var(--line);
}
.process-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scanLine 2.8s ease-in-out infinite;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(21,214,200,.38); outline-offset: 3px; }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #041210; background: var(--teal); }
.button-primary:hover { background: #25e6d7; }
.button-ghost { border: 1px solid var(--line); background: rgba(14,28,48,.48); }
.button-ghost:hover { border-color: #3c5878; }

.scene-wrap {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.14 / 1;
  display: grid;
  place-items: center;
}
.scene-wrap::before {
  content: "";
  position: absolute;
  inset: 7% 4% 3% 6%;
  border-radius: 42% 58% 54% 46% / 45% 44% 56% 55%;
  border: 1px solid rgba(55,84,116,.18);
  background: linear-gradient(145deg, rgba(14,29,50,.36), rgba(8,18,32,.08));
  transform: rotate(-4deg);
}
.scene-glow {
  position: absolute;
  left: 12%;
  bottom: 13%;
  width: 70%;
  height: 24%;
  border-radius: 50%;
  background: rgba(21,214,200,.08);
  filter: blur(42px);
}
.construction-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 680px;
  overflow: visible;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.38));
}
.grid-lines path { stroke: #2a4b68; stroke-width: 1.5; }
.ui-panel { transform-origin: 380px 337px; animation: panelFloat 4.8s ease-in-out infinite; }
.crane-trolley { animation: trolleyMove 8s ease-in-out infinite; }
.floating-code { transform-origin: center; animation: codeFloat 4.2s ease-in-out infinite reverse; }
.worker { transform-origin: 235px 542px; animation: workerLean 3.8s ease-in-out infinite; }
.server-stack circle { animation: ledBlink 2.4s steps(1) infinite; }
.server-stack circle:nth-of-type(2n) { animation-delay: .8s; }
.particles circle { animation: particleFloat 3.2s ease-in-out infinite; transform-origin: center; }
.particles circle:nth-child(2) { animation-delay: -.8s; }
.particles circle:nth-child(3) { animation-delay: -1.6s; }
.particles circle:nth-child(4) { animation-delay: -2.2s; }

.scene-card {
  position: absolute;
  z-index: 4;
  min-width: 188px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(71, 99, 130, .48);
  border-radius: 16px;
  background: rgba(7, 17, 31, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.scene-card small,
.scene-card strong { display: block; }
.scene-card small { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .18em; }
.scene-card strong { margin-top: 4px; font-size: 12px; letter-spacing: .035em; }
.mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 10px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 16px;
  font-weight: 900;
}
.mini-icon.ai { color: var(--amber); background: var(--amber-soft); }
.card-hosting { left: 1%; bottom: 17%; animation: cardFloat 5s ease-in-out infinite; }
.card-design { right: 0; top: 17%; animation: cardFloat 5.6s ease-in-out infinite reverse; }

.footer {
  padding-top: 20px;
  border-top: 1px solid rgba(45, 67, 93, .7);
}
.footer-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  color: #73889e;
  font-size: 10px;
  letter-spacing: .04em;
}
.footer-sep { width: 22px; height: 1px; background: #29405a; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(54, 80, 108, .7);
  border-radius: 11px;
  color: #90a7bf;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.social-links a:hover { color: var(--teal); border-color: rgba(21,214,200,.58); transform: translateY(-2px); }
.social-links a:focus-visible { outline: 3px solid rgba(21,214,200,.3); outline-offset: 2px; }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,214,200,.45); }
  50% { box-shadow: 0 0 0 7px rgba(21,214,200,0); }
}
@keyframes scanLine {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}
@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes trolleyMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(62px); }
}
@keyframes codeFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-13px) rotate(1.5deg); }
}
@keyframes workerLean {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(-2.4deg); }
}
@keyframes ledBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: .22; }
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0); opacity: .25; }
  50% { transform: translateY(-18px); opacity: 1; }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1100px) {
  .page-shell { padding-inline: 30px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr); gap: 16px; }
  h1 { font-size: clamp(44px, 6vw, 70px); }
  .scene-card { min-width: 172px; }
}

@media (max-width: 900px) {
  .page-shell { min-height: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; gap: 20px; }
  .hero-copy { max-width: 760px; }
  .scene-wrap { width: min(760px, 100%); margin: -12px auto 0; }
  .footer { margin-top: 16px; }
}

@media (max-width: 620px) {
  .page-shell { padding: 20px 18px 18px; }
  .topbar { align-items: flex-start; }
  .status-pill { max-width: 180px; padding: 9px 11px; font-size: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 11px; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  .lead { margin-top: 22px; font-size: 14px; line-height: 1.65; }
  .process { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .process-line { width: 1px; height: 14px; margin: 0 0 0 16px; }
  .process-line i { display: none; }
  .process-item { opacity: .74; }
  .process-item small { font-size: 9px; }
  .scene-wrap { aspect-ratio: 1 / .94; margin-top: 2px; }
  .construction-scene { transform: scale(1.08); }
  .scene-card { min-width: 0; padding: 10px 11px; border-radius: 12px; }
  .scene-card small { display: none; }
  .scene-card strong { margin: 0; font-size: 10px; }
  .mini-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; }
  .card-hosting { left: 0; bottom: 12%; }
  .card-design { right: 0; top: 10%; }
  .footer { align-items: flex-end; gap: 14px; }
  .footer-copy { max-width: 72%; }
}

@media (max-width: 420px) {
  .status-pill { display: none; }
  .actions { width: 100%; }
  .button { flex: 1 1 0; }
  .footer-copy { max-width: 68%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
