/* Beraytek Bilgi Teknolojileri — ortak stil dosyası
   Katmanlar: reset → tokens → base → layout → components → utilities */
@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  img, svg, iframe { display: block; max-width: 100%; }
  input, textarea, button, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
  a { color: inherit; }
  fieldset { border: 0; padding: 0; min-width: 0; }
}

@layer tokens {
  :root {
    color-scheme: light dark;
    --bg: #FFFFFF;
    --surface: #F5F6F8;
    --surface-2: #ECEFF3;
    --line: #E1E5EA;
    --text: #131920;
    --text-2: #39424D;
    --muted: #5B6572;

    --brand: #F7941D;          /* logo turuncusu */
    --brand-hover: #FFA43A;
    --brand-ink: #A5530A;      /* açık zeminde turuncu metin (AA) */
    --brand-soft: #FFF3E4;
    --on-brand: #1B1206;

    /* koyu bölümler (header, hero, footer) her iki temada da koyu */
    --ink: #0C1117;
    --ink-2: #131A22;
    --ink-3: #1A232D;
    --ink-line: #243040;
    --ink-text: #EAEEF3;
    --ink-muted: #9AA6B4;

    --ok: #3DD68C;
    --danger: #C4321F;

    --radius: 18px;
    --radius-sm: 12px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(72px, 10vw, 120px);
    --section-sm: clamp(48px, 7vw, 80px);
    --header-h: 72px;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0A0E13; --surface: #10161D; --surface-2: #151D26; --line: #212B37;
      --text: #EBEFF4; --text-2: #C4CCD5; --muted: #95A1AE;
      --brand-ink: #FFB25A; --brand-soft: #251909; --danger: #FF7A66;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0A0E13; --surface: #10161D; --surface-2: #151D26; --line: #212B37;
    --text: #EBEFF4; --text-2: #C4CCD5; --muted: #95A1AE;
    --brand-ink: #FFB25A; --brand-soft: #251909; --danger: #FF7A66;
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
  p, li, dd { text-wrap: pretty; }
  :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--brand); color: var(--on-brand); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}

@layer layout {
  .container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
  .section { padding-block: var(--section); }
  .section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
  .section-head.split {
    max-width: none;
    grid-template-columns: 1fr;
    align-items: end;
    @media (min-width: 900px) { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  }

  /* İç sayfa: yan menü + içerik */
  .page-layout {
    display: grid; gap: 48px; padding-block: var(--section-sm);
    grid-template-areas: "body" "side";
    @media (min-width: 1024px) { grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "side body"; gap: 64px; }
  }
  .page-body { grid-area: body; min-width: 0; }
  .page-body > * + * { margin-top: clamp(40px, 5vw, 56px); }
  .page-wide { padding-block: var(--section-sm); }
  .page-wide > * + * { margin-top: clamp(40px, 5vw, 56px); }
}

@layer components {
  /* ---------- Genel ---------- */
  .eyebrow {
    font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-ink);
    display: inline-flex; align-items: center; gap: 10px;
    &::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  }
  .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
  .lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 62ch; }

  .btn {
    --bg-btn: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
    background: var(--bg-btn);
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s;
    & svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
    &:hover svg.i-go { transform: translateX(3px); }
    &:active { transform: translateY(1px); }
    &[disabled] { opacity: .6; pointer-events: none; }
  }
  .btn-primary { --bg-btn: var(--brand); color: var(--on-brand); &:hover { --bg-btn: var(--brand-hover); } }
  .btn-ghost-dark { color: var(--ink-text); border-color: var(--ink-line); &:hover { border-color: var(--ink-muted); background: var(--ink-2); } }
  .btn-ghost { color: var(--text); border-color: var(--line); &:hover { border-color: var(--muted); } }

  .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

  .text-link {
    display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    font-weight: 700; font-size: .95rem; color: var(--text); text-decoration: none;
    & svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
    &:hover { color: var(--brand-ink); & svg { transform: translateX(3px); } }
  }

  /* ---------- Logo ----------
     Yayındaki sitenin logosu (beyaz zeminli PNG) değiştirilmeden kullanılır;
     bu yüzden header her temada düz beyazdır. */
  .logo { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
  .logo img { display: block; height: 48px; width: auto; }
  @media (max-width: 480px) { .logo img { height: 42px; } }

  /* ---------- Header + menü (her temada açık) ---------- */
  .site-header {
    --hdr-bg: #FFFFFF;
    --hdr-text: #131920;
    --hdr-muted: #4A5360;
    --hdr-line: #E1E5EA;
    --hdr-hover: #F1F3F6;
    --hdr-accent: #C9680A;
    position: sticky; top: 0; z-index: 50;
    background: var(--hdr-bg);
    color: var(--hdr-text);
    border-bottom: 1px solid var(--hdr-line);
    transition: box-shadow .3s;
    &.scrolled { box-shadow: 0 8px 24px -16px rgb(12 17 23 / .35); }
  }
  .header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
  .main-nav { margin-inline: auto; }
  .nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; display: flex; align-items: center; }
  .nav-link {
    display: block; padding: 8px 12px; border-radius: 999px;
    text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--hdr-muted);
    transition: color .2s, background .2s;
    &:hover, &[aria-current] { color: var(--hdr-text); }
    &[aria-current] { background: var(--hdr-hover); }
  }
  .sub-toggle {
    width: 26px; height: 32px; margin-left: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--hdr-muted);
    display: grid; place-items: center;
    & .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
    &:hover { color: var(--hdr-text); }
  }
  .nav-item.open > .sub-toggle .icon { transform: rotate(180deg); }
  .sub {
    list-style: none; padding: 8px; margin: 0;
    & a {
      display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
      color: var(--hdr-muted); text-decoration: none; font-weight: 600; font-size: .92rem;
      transition: background .15s, color .15s;
      & .icon { width: 18px; height: 18px; color: var(--hdr-accent); }
      &:hover, &[aria-current] { background: var(--hdr-hover); color: var(--hdr-text); }
    }
  }
  .header-actions { display: flex; align-items: center; gap: 16px; }
  .header-phone {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    font-weight: 600; font-size: .9rem; color: var(--hdr-muted); font-variant-numeric: tabular-nums;
    & .icon { width: 18px; height: 18px; color: var(--hdr-accent); }
    &:hover { color: var(--hdr-text); }
  }
  .header-actions .btn { min-height: 42px; padding: 0 18px; }
  .menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--hdr-line); background: transparent; color: var(--hdr-text);
    align-items: center; justify-content: center;
    & .i-close { display: none; }
  }
  .site-header.open .menu-toggle { & .i-menu { display: none; } & .i-close { display: block; } }
  .nav-cta { display: none; }

  /* masaüstü: açılır menü */
  @media (min-width: 1100px) {
    .sub {
      position: absolute; top: calc(100% + 12px); left: -8px; min-width: 270px;
      background: var(--hdr-bg); border: 1px solid var(--hdr-line); border-radius: 16px;
      box-shadow: 0 24px 48px -20px rgb(12 17 23 / .28);
      opacity: 0; visibility: hidden; transform: translateY(-6px);
      transition: opacity .18s, transform .22s var(--ease), visibility .18s;
      &::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover köprüsü */
    }
    .nav-item:hover > .sub, .nav-item:focus-within > .sub, .nav-item.open > .sub { opacity: 1; visibility: visible; transform: none; }
  }
  @media (max-width: 1239px) { .header-phone span { display: none; } }
  /* mobil/tablet: açılır panel */
  @media (max-width: 1099px) {
    .menu-toggle { display: inline-flex; }
    .header-actions .btn { display: none; }
    .header-actions { margin-left: auto; }
    .main-nav {
      position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
      max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
      background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line);
      box-shadow: 0 24px 48px -24px rgb(12 17 23 / .35);
      padding: 12px var(--gutter) 24px;
      transform: translateY(-8px); opacity: 0; visibility: hidden;
      transition: opacity .2s, transform .25s var(--ease), visibility .2s;
    }
    .site-header.open .main-nav { opacity: 1; transform: none; visibility: visible; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-item { flex-wrap: wrap; }
    .nav-link { flex: 1; font-size: 1.05rem; padding: 14px 12px; border-radius: 12px; }
    .sub-toggle { width: 48px; height: 48px; margin: 0; border-radius: 12px; & .icon { width: 18px; height: 18px; } }
    .sub { display: none; width: 100%; padding: 0 0 8px 12px; & a { padding: 12px; } }
    .nav-item.open > .sub { display: block; }
    .nav-cta { display: flex; margin-top: 16px; }
  }

  /* ---------- Ana sayfa hero ---------- */
  .hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: var(--ink-text);
    padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  }
  .hero::before, .page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
    background-size: 56px 56px; opacity: .35;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  }
  .hero::after, .page-hero::after {
    content: ""; position: absolute; z-index: -1;
    width: 720px; height: 720px; right: -160px; top: -220px;
    background: radial-gradient(circle, color-mix(in oklch, var(--brand) 38%, transparent), transparent 62%);
    filter: blur(20px); opacity: .55;
  }
  .hero-grid {
    display: grid; gap: 56px; align-items: center;
    @media (min-width: 1024px) { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 8px; border-radius: 999px;
    border: 1px solid var(--ink-line); background: var(--ink-2);
    font-size: .85rem; font-weight: 600; color: var(--ink-muted);
    & .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in oklch, var(--ok) 22%, transparent); margin-left: 6px; }
  }
  .hero h1 {
    margin-top: 24px; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem); letter-spacing: -0.04em;
    & em { font-style: normal; color: var(--brand); }
  }
  .hero-text { margin-top: 24px; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-muted); max-width: 56ch; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
  .hero-tags {
    display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 44px; padding-top: 24px;
    border-top: 1px solid var(--ink-line);
    font-family: var(--mono); font-size: .78rem; color: var(--ink-muted); letter-spacing: .02em;
    & span { display: inline-flex; align-items: center; gap: 8px; }
    & span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
  }
  .hero-visual { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-visual svg { width: 100%; height: auto; overflow: visible; }
  .rack-led { animation: blink 2.4s infinite steps(1, end); }
  .rack-led.d1 { animation-delay: .3s; } .rack-led.d2 { animation-delay: .9s; } .rack-led.d3 { animation-delay: 1.5s; } .rack-led.d4 { animation-delay: 2s; }
  @keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .25; } }
  .flow { stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -20; } }
  .float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 14px;
    background: color-mix(in oklch, var(--ink-2) 85%, transparent);
    border: 1px solid var(--ink-line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px -20px rgb(0 0 0 / .6);
    & strong { display: block; font-size: .95rem; color: var(--ink-text); line-height: 1.25; }
    & small { display: block; font-size: .78rem; color: var(--ink-muted); }
    & .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklch, var(--brand) 18%, transparent); color: var(--brand); }
    & .ic .icon { width: 20px; height: 20px; }
    animation: bob 6s ease-in-out infinite;
  }
  .float-card.fc-1 { left: -4%; bottom: 6%; }
  .float-card.fc-2 { right: -2%; top: -2%; animation-delay: -3s; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
  @media (max-width: 560px) { .float-card { transform: scale(.9); } .float-card.fc-1 { left: 0; bottom: -2%; } .float-card.fc-2 { right: 0; top: -6%; } }

  /* ---------- İç sayfa başlığı ---------- */
  .page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: var(--ink-text);
    padding-block: clamp(28px, 4vw, 40px) clamp(48px, 7vw, 88px);
    &::after { width: 560px; height: 560px; right: -180px; top: -260px; opacity: .45; }
  }
  .page-hero-grid {
    display: grid; gap: 32px; align-items: end;
    @media (min-width: 900px) { grid-template-columns: minmax(0, 1fr) auto; }
  }
  .breadcrumb ol {
    list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: .85rem; color: var(--ink-muted);
    & li { display: inline-flex; align-items: center; gap: 6px; }
    & li + li::before { content: "/"; opacity: .45; }
    & a { text-decoration: none; padding: 4px 0; &:hover { color: var(--ink-text); } }
    & [aria-current] { color: var(--ink-text); font-weight: 600; }
  }
  .page-hero .eyebrow { color: var(--brand); margin-top: clamp(32px, 5vw, 56px); }
  .page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.7rem); letter-spacing: -0.035em; margin-top: 16px; max-width: 18ch; }
  .page-hero .lead { color: var(--ink-muted); margin-top: 20px; }
  .page-hero .hero-tags { margin-top: 32px; padding-top: 20px; }
  .page-hero-icon {
    display: none;
    @media (min-width: 900px) {
      display: grid; place-items: center; width: 132px; height: 132px; border-radius: 32px;
      background: linear-gradient(145deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--ink-line);
      color: var(--brand); box-shadow: 0 30px 60px -30px color-mix(in oklch, var(--brand) 60%, transparent);
      & .icon { width: 56px; height: 56px; stroke-width: 1.4; }
    }
  }

  /* ---------- Yan menü ---------- */
  .side {
    grid-area: side; display: grid; gap: 16px; align-content: start;
    @media (min-width: 1024px) { position: sticky; top: calc(var(--header-h) + 24px); }
  }
  .side-nav {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: var(--surface);
    & ul { list-style: none; padding: 0; display: grid; gap: 2px; }
    & a {
      display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px;
      text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-2);
      transition: background .15s, color .15s;
      & .icon { width: 20px; height: 20px; color: var(--muted); }
      &:hover { background: var(--surface-2); color: var(--text); }
      &[aria-current] { background: var(--bg); color: var(--text); box-shadow: inset 3px 0 0 var(--brand), 0 1px 2px rgb(0 0 0 / .04); & .icon { color: var(--brand-ink); } }
    }
  }
  .side-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 8px; }
  .side-card {
    padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line);
    display: grid; gap: 14px;
    & h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
    & p { color: var(--ink-muted); font-size: .92rem; }
    & .btn { width: 100%; }
    & .side-contact { display: grid; gap: 8px; font-size: .92rem; }
    & .side-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-text); font-weight: 600; font-variant-numeric: tabular-nums; & .icon { width: 18px; height: 18px; color: var(--brand); } &:hover { color: var(--brand); } }
  }

  /* ---------- Metin (prose) ---------- */
  .prose {
    max-width: 760px; color: var(--text-2); font-size: 1.05rem; line-height: 1.75;
    & > * + * { margin-top: 1.1em; }
    & h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--text); margin-top: 2em; line-height: 1.2; }
    & h3 { font-size: 1.2rem; color: var(--text); margin-top: 1.8em; line-height: 1.3; }
    & h2 + *, & h3 + * { margin-top: .7em; }
    & > :first-child { margin-top: 0; }
    & ul:not([class]), & ol:not([class]) { padding-left: 0; list-style: none; }
    & ul:not([class]) > li { position: relative; padding-left: 24px; }
    & ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
    & ol:not([class]) { counter-reset: p; }
    & ol:not([class]) > li { position: relative; padding-left: 36px; counter-increment: p; }
    & ol:not([class]) > li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--mono); font-size: .8rem; color: var(--brand-ink); }
    & li + li { margin-top: .55em; }
    & strong { color: var(--text); font-weight: 700; }
    & a { color: var(--brand-ink); text-underline-offset: 3px; font-weight: 600; }
  }
  .lede { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.38rem); color: var(--text); line-height: 1.6; font-weight: 500; letter-spacing: -0.01em; }

  /* ---------- İçerik blokları ---------- */
  .page-body, .page-wide > .container { container-type: inline-size; }
  .block { scroll-margin-top: calc(var(--header-h) + 24px); }
  .block-head {
    display: grid; gap: 10px; margin-bottom: 24px; max-width: 720px;
    & h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
    & p { color: var(--muted); font-size: 1.02rem; }
  }
  /* Kart ızgaraları: sütun sayısı kabın genişliğine ve kart adedine göre (tek kalan kart olmasın) */
  .feature-grid, .steps { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  @container (min-width: 540px) {
    .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* 2 sütunda tek sayıda kart: sonuncusu satırı doldursun */
    :is(.feature-grid, .steps) > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  }
  @container (min-width: 780px) {
    .feature-grid:not(.cols-2):not(:has(> :nth-child(4):last-child)):not(:has(> :nth-child(2):last-child)),
    .steps:not(:has(> :nth-child(4):last-child)):not(:has(> :nth-child(2):last-child)) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      & > :last-child:nth-child(odd):not(:first-child) { grid-column: auto; }
      & > :last-child:nth-child(3n+1):not(:first-child) { grid-column: 1 / -1; }
    }
  }
  .feature {
    padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color .25s;
    & h3 { font-size: 1.08rem; letter-spacing: -0.015em; line-height: 1.3; }
    & p { color: var(--muted); font-size: .95rem; }
    &:hover { border-color: color-mix(in oklch, var(--brand) 50%, var(--line)); }
  }
  a.feature { text-decoration: none; color: inherit; }
  .feature-icon {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px;
    background: var(--brand-soft); color: var(--brand-ink);
    border: 1px solid color-mix(in oklch, var(--brand) 25%, transparent);
    & .icon { width: 22px; height: 22px; }
  }

  .checklist {
    list-style: none; padding: 0; display: grid; gap: 10px;
    & li {
      position: relative; padding: 14px 18px 14px 50px; border-radius: var(--radius-sm);
      border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
    }
    & li::before {
      content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
      background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
    }
    & strong { color: var(--text); }
  }
  .checklist.cols-2 { @media (min-width: 760px) { grid-template-columns: repeat(2, 1fr); } }

  .callout {
    padding: 24px 28px; border-radius: var(--radius);
    background: var(--brand-soft); border: 1px solid color-mix(in oklch, var(--brand) 30%, transparent);
    color: var(--text-2); display: grid; gap: 8px;
    & strong, & h3 { color: var(--text); font-size: 1.08rem; }
    & p { max-width: 70ch; }
  }
  .callout.dark {
    background: var(--ink); border-color: var(--ink-line); color: var(--ink-muted);
    & strong, & h3 { color: var(--ink-text); }
  }

  .steps {
    list-style: none; padding: 0; counter-reset: st;
    & li {
      counter-increment: st; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
      display: grid; gap: 8px; align-content: start;
      &::before { content: counter(st, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--brand-ink); }
      & h3 { font-size: 1.05rem; letter-spacing: -0.015em; }
      & p { color: var(--muted); font-size: .95rem; }
    }
  }

  .def-list {
    border-top: 1px solid var(--line);
    & > div {
      display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line);
      @media (min-width: 700px) { grid-template-columns: 220px 1fr; gap: 32px; }
    }
    & dt { font-weight: 700; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
    & dt .icon { width: 20px; height: 20px; color: var(--brand-ink); margin-top: 2px; }
    & dd { color: var(--muted); margin: 0; }
  }

  .split {
    display: grid; gap: 32px; align-items: start;
    @media (min-width: 900px) { grid-template-columns: 1fr 1fr; gap: 48px; }
  }

  .panel {
    padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
    & > * + * { margin-top: 14px; }
    & h3 { font-size: 1.2rem; }
    & p { color: var(--muted); }
  }

  .mini-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    & > div { padding: 22px 24px; border-left: 1px solid var(--line); margin-left: -1px; }
    & b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
    & b span { color: var(--brand-ink); }
    & p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
  }

  .tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
  .tags li {
    font-family: var(--mono); font-size: .75rem; padding: 5px 10px; border-radius: 8px;
    background: var(--bg); border: 1px solid var(--line); color: var(--text-2);
  }

  /* ---------- Ürün kartları ---------- */
  .product-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  @container (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @container (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .product-card.dark {
    background: var(--ink); border-color: var(--ink-line); color: var(--ink-text);
    & p { color: var(--ink-muted); }
    & .feature-icon { background: var(--ink-3); border-color: var(--ink-line); color: var(--brand); }
    & .btn { margin-top: auto; width: fit-content; }
  }
  .product-card {
    padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
    display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 24px);
    transition: border-color .25s;
    & h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
    & p { color: var(--muted); }
    & .tags { margin-top: 2px; }
    & .text-link { margin-top: auto; padding-top: 6px; }
    &:hover, &:target { border-color: color-mix(in oklch, var(--brand) 55%, var(--line)); }
    &:target { box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 18%, transparent); }
  }

  /* ---------- Sonraki / önceki ---------- */
  .pager {
    display: grid; gap: 12px; padding-top: 8px;
    @media (min-width: 640px) { grid-template-columns: 1fr 1fr; }
    & a {
      display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line);
      text-decoration: none; transition: border-color .2s, background .2s;
      & small { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
      & small .icon { width: 14px; height: 14px; }
      & strong { font-size: 1.05rem; }
      &:hover { border-color: color-mix(in oklch, var(--brand) 55%, var(--line)); background: var(--surface); }
    }
    & .next { text-align: right; justify-items: end; @media (min-width: 640px) { grid-column: 2; } }
  }

  /* ---------- CTA bandı ---------- */
  .cta-wrap { padding-bottom: var(--section-sm); }
  .cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: clamp(28px, 5vw, 48px); border-radius: 24px;
    background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line);
    &::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; background: radial-gradient(circle, color-mix(in oklch, var(--brand) 40%, transparent), transparent 65%); opacity: .5; }
    & h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); max-width: 20ch; }
    & p { color: var(--ink-muted); margin-top: 10px; max-width: 52ch; }
    & .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  }

  /* ---------- Rakamlar (ana sayfa) ---------- */
  .stats { border-bottom: 1px solid var(--line); background: var(--bg); }
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); @media (min-width: 900px) { grid-template-columns: repeat(4, 1fr); } }
  .stat {
    padding: 32px 24px; border-left: 1px solid var(--line);
    &:nth-child(odd) { border-left: 0; padding-left: 0; }
    @media (max-width: 899px) { &:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
    @media (min-width: 900px) { &:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 24px; } &:first-child { border-left: 0; padding-left: 0; } }
    & b { display: block; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
    & b span { color: var(--brand-ink); }
    & p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
  }

  /* ---------- Çözümler (bento) ---------- */
  .bento {
    display: grid; gap: 16px; grid-template-columns: 1fr;
    grid-template-areas: "sanal" "guv" "sunucu" "net" "depo" "cta";
    @media (min-width: 700px) { grid-template-columns: repeat(2, 1fr); grid-template-areas: "sanal sanal" "guv sunucu" "guv net" "depo cta"; }
    @media (min-width: 1024px) {
      grid-template-columns: repeat(6, 1fr);
      grid-template-areas: "sanal sanal sanal sanal guv guv" "sunucu sunucu net net guv guv" "depo depo depo cta cta cta";
    }
  }
  .card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
    padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    transition: border-color .25s;
    & h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
    & p { color: var(--muted); }
    &:hover { border-color: color-mix(in oklch, var(--brand) 55%, var(--line)); }
  }
  .card-icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand-ink); border: 1px solid color-mix(in oklch, var(--brand) 25%, transparent);
  }
  .card-link {
    margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    font-weight: 700; font-size: .92rem; color: var(--text); text-decoration: none;
    & svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
    &:hover { color: var(--brand-ink); & svg { transform: translateX(3px); } }
  }
  .c-sanal { grid-area: sanal; } .c-guv { grid-area: guv; } .c-sunucu { grid-area: sunucu; }
  .c-net { grid-area: net; } .c-depo { grid-area: depo; } .c-cta { grid-area: cta; }
  .c-sanal {
    display: grid; gap: 28px;
    @media (min-width: 700px) { grid-template-columns: 1.2fr 1fr; align-items: start; }
    & .col { display: flex; flex-direction: column; gap: 14px; height: 100%; }
  }
  .vm-diagram {
    border-radius: 14px; border: 1px dashed var(--line); background: var(--bg);
    padding: 18px; display: grid; gap: 10px; font-family: var(--mono); font-size: .75rem; color: var(--muted);
    & .vms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    & .vm { padding: 10px 0; text-align: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid color-mix(in oklch, var(--brand) 25%, transparent); }
    & .layer { padding: 10px; text-align: center; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
    & .phys { padding: 10px; text-align: center; border-radius: 8px; background: var(--ink); color: var(--ink-text); }
    & figcaption { font-family: var(--font); font-size: .82rem; }
  }
  .layers {
    list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 4px;
    & li {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
      font-weight: 600; font-size: .95rem;
      & span { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 500; }
    }
  }
  .c-cta {
    background: var(--ink); color: var(--ink-text); border-color: var(--ink-line); justify-content: space-between;
    & p { color: var(--ink-muted); }
    & h3 { font-size: 1.5rem; }
    &:hover { border-color: var(--brand); }
  }

  /* ---------- Hizmetler ızgarası ---------- */
  .services { background: var(--surface); border-block: 1px solid var(--line); }
  .service-grid {
    display: grid; gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    grid-template-columns: 1fr;
    @media (min-width: 640px) { grid-template-columns: repeat(2, 1fr); }
    @media (min-width: 1100px) { grid-template-columns: repeat(4, 1fr); }
  }
  .service {
    background: var(--bg); padding: clamp(24px, 3vw, 36px);
    display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: background .25s;
    & .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
    & .num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
    & .top .icon { width: 28px; height: 28px; color: var(--brand-ink); }
    & h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
    & p { color: var(--muted); font-size: .97rem; }
    & .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--text); & .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); } }
    &:hover { background: var(--surface-2); & .num, & .more { color: var(--brand-ink); } & .more .icon { transform: translateX(3px); } }
  }

  /* ---------- Destek modelleri (koyu bölüm) ---------- */
  .support { background: var(--ink); color: var(--ink-text); position: relative; overflow: hidden; }
  .support .eyebrow { color: var(--brand); }
  .support .lead { color: var(--ink-muted); }
  .support-grid {
    display: grid; gap: 16px; grid-template-columns: 1fr;
    @media (min-width: 640px) { grid-template-columns: repeat(2, 1fr); }
    @media (min-width: 1100px) { grid-template-columns: repeat(4, 1fr); }
  }
  .support-item {
    position: relative; padding: 28px; border-radius: var(--radius);
    background: var(--ink-2); border: 1px solid var(--ink-line);
    display: flex; flex-direction: column; gap: 12px;
    & .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-3); color: var(--brand); border: 1px solid var(--ink-line); margin-bottom: 8px; }
    & h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
    & p { color: var(--ink-muted); font-size: .95rem; }
  }
  .sla-bar {
    margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--ink-line);
    background: linear-gradient(100deg, color-mix(in oklch, var(--brand) 16%, var(--ink-2)), var(--ink-2) 60%);
    & strong { font-size: 1.25rem; letter-spacing: -0.02em; }
    & p { color: var(--ink-muted); }
    & .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  }

  /* ---------- Hakkımızda ---------- */
  .about-grid { display: grid; gap: 48px; @media (min-width: 1024px) { grid-template-columns: 1fr 1fr; gap: 72px; } }
  .about-copy { display: grid; gap: 20px; align-content: start; & > p { color: var(--text-2); font-size: 1.05rem; } }
  .mv { display: grid; gap: 16px; @media (min-width: 640px) { grid-template-columns: 1fr 1fr; } }
  .mv-item {
    padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
    & h3 { font-size: 1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
    & h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
    & p { color: var(--muted); font-size: .95rem; }
  }
  .quality {
    border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; align-self: start;
    & > header { padding: 24px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
    & > header h3 { font-size: 1.25rem; }
    & > header p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
    & ol { list-style: none; padding: 0; counter-reset: q; }
    & li {
      counter-increment: q; display: grid; grid-template-columns: 40px 1fr; gap: 12px;
      padding: 18px 28px; border-bottom: 1px solid var(--line); color: var(--text-2);
      &:last-child { border-bottom: 0; }
      &::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--brand-ink); padding-top: 3px; }
    }
  }

  /* ---------- Çözüm ortakları ---------- */
  .partners { padding-top: 0; }
  .partner-grid {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
    @media (min-width: 900px) { grid-template-columns: repeat(5, 1fr); }
    & li {
      display: grid; place-items: center; min-height: 92px; padding: 16px; text-align: center;
      border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
      font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--muted);
      transition: color .2s, background .2s;
      &:hover { color: var(--text); background: var(--surface); }
    }
  }

  /* ---------- İletişim ---------- */
  .contact { background: var(--surface); border-top: 1px solid var(--line); }
  .contact-grid { display: grid; gap: 32px; @media (min-width: 1024px) { grid-template-columns: 1fr 1.15fr; gap: 56px; } }
  .contact-info { display: grid; gap: 12px; align-content: start; }
  .info-row {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
    border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line);
    text-decoration: none; transition: border-color .2s;
    & .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
    & .ic .icon { width: 20px; height: 20px; }
    & small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    & strong { display: block; font-size: 1.02rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
  }
  a.info-row:hover { border-color: color-mix(in oklch, var(--brand) 55%, var(--line)); }
  .map {
    border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 16 / 9;
    & iframe { width: 100%; height: 100%; border: 0; }
  }

  /* ---------- Formlar ---------- */
  .form {
    padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
    display: grid; gap: 18px;
    & > h2, & > h3 { font-size: 1.4rem; }
    & .hint { color: var(--muted); font-size: .93rem; margin-top: -8px; }
  }
  .form-section {
    display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line);
    & legend { float: left; width: 100%; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.015em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
    & legend .icon { width: 20px; height: 20px; color: var(--brand-ink); }
    & legend + * { clear: both; }
  }
  .row-2 { display: grid; gap: 18px; @media (min-width: 640px) { grid-template-columns: 1fr 1fr; } }
  .row-3 { display: grid; gap: 18px; @media (min-width: 760px) { grid-template-columns: repeat(3, 1fr); } }
  .field { display: grid; gap: 8px; align-content: start; }
  .field label, .field .label { font-weight: 700; font-size: .88rem; & span { color: var(--brand-ink); } }
  .field input, .field textarea, .field select {
    width: 100%; min-height: 50px; padding: 12px 16px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
    transition: border-color .2s, background .2s, box-shadow .2s;
    &::placeholder { color: color-mix(in oklch, var(--muted) 75%, transparent); }
    &:hover { border-color: color-mix(in oklch, var(--muted) 50%, var(--line)); }
    &:focus { outline: none; border-color: var(--brand); background: var(--bg); box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 22%, transparent); }
  }
  .field textarea { min-height: 140px; resize: vertical; }
  .field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
  .field .err { display: none; color: var(--danger); font-size: .82rem; font-weight: 600; }
  .field.invalid .err { display: block; }
  .field .help { color: var(--muted); font-size: .82rem; }
  .form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
  .form-status { font-weight: 600; font-size: .92rem; color: var(--brand-ink); min-height: 1.4em; }

  /* ---------- 404 ---------- */
  .notfound { text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: var(--section);
    & b { font-family: var(--mono); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--brand-ink); }
    & .hero-cta { justify-content: center; margin-top: 16px; }
  }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--ink); color: var(--ink-muted); padding-top: 72px; }
  .footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); @media (min-width: 900px) { grid-template-columns: 1.6fr repeat(3, 1fr); } }
  .footer-brand {
    grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; max-width: 360px;
    @media (min-width: 900px) { grid-column: auto; }
    & .logo { background: #FFFFFF; padding: 8px 12px; border-radius: 12px; width: fit-content; }
    & .logo img { height: 44px; }
    & p { font-size: .93rem; }
  }
  .footer-col h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-text); font-weight: 500; margin-bottom: 16px; }
  .footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
  .footer-col a { text-decoration: none; font-size: .93rem; &:hover { color: var(--brand); } }
  .socials { display: flex; gap: 8px; }
  .socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--ink-line); color: var(--ink-text); &:hover { border-color: var(--brand); color: var(--brand); } & .icon { width: 18px; height: 18px; } }
  .footer-bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

  /* ---------- Görünme animasyonu ---------- */
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; &:focus { top: 12px; } }
  .mt-0 { margin-top: 0 !important; }
}
