/* IBM Plex Sans (SIL OFL 1.1), kendi sunucumuzdan. Türkçe karakterler latin-ext dosyasında. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
  color-scheme: dark;
  --bg: #070a14;
  --surface: #0d1322;
  --surface-2: #121a2d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf6;
  --muted: #98a2b8;
  --navy: #1e3a8a;
  --teal: #5eead4;
  --teal-ink: #042f2a;
  --link: #a3b4ff;
  --radius: 12px;
  --max: 1080px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; position: relative; z-index: 1; }
img, svg { display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #c7d2fe; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; margin: 0; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

.skip-link { position: absolute; left: 12px; top: -48px; background: var(--teal); color: var(--teal-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip-link:focus { top: 12px; }

/* Arka plan: yavaşça kayan ince ızgara + merkezde yumuşak ışık */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 170, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  animation: grid-drift 24s linear infinite;
}
.backdrop::after {
  content: ''; position: absolute; left: 50%; top: 18%; width: 560px; height: 560px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(94, 234, 212, 0.14), rgba(30, 58, 138, 0.18) 40%, transparent 70%);
  filter: blur(10px);
  animation: glow-in 2.4s ease-out both;
}
@keyframes grid-drift { to { background-position: 48px 48px, 48px 48px; } }
@keyframes glow-in { from { opacity: 0; } to { opacity: 1; } }

/* Üst bilgi */
.site-header { position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }

/* Logo renkleri */
.mark-bg { fill: var(--navy); }
.mark-top { stroke: #fff; }
.mark-bottom { stroke: var(--teal); }
.mark-node { fill: var(--navy); stroke: #fff; }
.wm-sol { fill: #fff; }
.wm-ware { fill: #c7d2fe; }

/* Hero */
.hero { padding: 56px 0 72px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-mark { margin-bottom: 28px; }
.mark-hero { width: 148px; height: 148px; overflow: visible; }
.mark-hero .mark-bg { transform-box: fill-box; transform-origin: center; animation: bg-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.mark-hero .mark-top, .mark-hero .mark-bottom { stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.mark-hero .mark-top { animation: draw 0.9s ease-out 0.45s forwards; }
.mark-hero .mark-bottom { animation: draw 0.9s ease-out 0.85s forwards; }
.mark-hero .mark-node { transform-box: fill-box; transform-origin: center; animation: node-in 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1.6s both; }
@keyframes bg-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes draw { 0% { opacity: 1; stroke-dashoffset: 100; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

.kicker { display: inline-flex; gap: 10px; align-items: center; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker .plus { color: var(--teal); }
.hero .kicker, .hero h1, .hero .lead, .hero .actions { animation: rise 0.8s ease-out both; }
.hero .kicker { animation-delay: 1.7s; }
.hero h1 { animation-delay: 1.85s; }
.hero .lead { animation-delay: 2s; }
.hero .actions { animation-delay: 2.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 620px; margin: 0 auto 2em; }

/* Butonlar */
.actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; background: var(--teal); color: var(--teal-ink);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover { color: var(--teal-ink); background: #8ff3e2; transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.button .icon { flex: none; }

/* Bölümler */
.section { padding: 56px 0; }
.section-tight { padding-top: 8px; }
.page-head { padding: 56px 0 16px; }
.page-head .lead { margin-left: 0; }

/* Ürün kartları */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.product {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product:hover { border-color: rgba(94, 234, 212, 0.35); transform: translateY(-2px); }
.product-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.product-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 234, 212, 0.1); color: var(--teal); }
.badge { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; background: rgba(163, 180, 255, 0.12); color: var(--link); }
.product-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 8px; }
.product-foot p { margin: 0; }

/* İletişim */
.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: rgba(13, 19, 34, 0.7);
}
.contact h2 { margin-bottom: 0.3em; }
.contact p { margin: 0; }
.contact-actions { justify-content: flex-start; }

/* Metin sayfaları */
.prose .bullets { padding-left: 1.1em; }
.prose li { margin-bottom: 0.7em; }

/* Alt bilgi */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); margin-top: 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.footer-links a { color: var(--muted); }

@media (max-width: 560px) {
  .hero { padding: 32px 0 48px; }
  .mark-hero { width: 112px; height: 112px; }
  .contact { padding: 22px; }
  .contact-actions .button { width: 100%; justify-content: center; }
  .product-foot .button { width: 100%; justify-content: center; }
}

/* Hareketi azalt: animasyon yok, son hâl hemen görünür */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .mark-hero .mark-top, .mark-hero .mark-bottom { stroke-dashoffset: 0; opacity: 1; }
}
