/* SAGOR Teknoloji — LED Matris tema (2026-09-30) */
:root {
  --bg: #000; --bg2: #0a0a0d; --card: #0b0b0e; --line: #1d1d23; --line2: #2e2e36;
  --ink: #f4f4f6; --muted: #8e8e9a; --accent: #8f8bff; --accent2: #c9c7ff; --glow: rgba(143,139,255,.45);
  --dot-off: #16161b; --dot-on: #fff; --dot-hot: #8f8bff;
  --pad: clamp(20px, 5vw, 96px);
  --display: "Doto", "Space Grotesk", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; padding: 0 var(--pad); }
.mono { font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mono b { color: var(--accent); font-weight: 500; }
svg.px { shape-rendering: crispEdges; display: block; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.dot { font-family: var(--display); font-weight: 900; letter-spacing: -0.01em; color: var(--accent); }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 14px Inter, sans-serif; text-decoration: none; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink); cursor: pointer; transition: transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px var(--glow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--muted); }
.btn .sq { width: 8px; height: 8px; background: var(--accent); flex: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand .w { font: 700 19px/1 "Space Grotesk", sans-serif; letter-spacing: .02em; }
.brand .w small { display: block; font: 500 9px/1 "JetBrains Mono", monospace; letter-spacing: .45em; color: var(--muted); margin-top: 5px; }
.menu { display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.menu a { font: 500 14px Inter, sans-serif; color: var(--muted); text-decoration: none; padding: 8px 15px; border-radius: 999px; transition: color .2s, background .2s; }
.menu a:hover, .menu a.active { color: var(--ink); background: var(--bg2); }
.menu a.active::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- LED matris ---------- */
.matrix { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #040406; }
.matrix canvas { display: block; width: 100%; height: clamp(220px, 46vh, 520px); cursor: crosshair; touch-action: pan-y; }
.matrix.small canvas { height: clamp(150px, 26vh, 260px); }
.matrix .meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 14px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding-top: 108px; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: pulse 1.6s steps(2) infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: end; padding-top: 48px; }
.hero h1 { font-size: clamp(38px, 6vw, 96px); line-height: .98; letter-spacing: -0.04em; }
.hero p { color: var(--muted); font-size: 17px; max-width: 480px; margin-bottom: 26px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumb { color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 104px); line-height: .96; letter-spacing: -0.045em; }
.page-hero .hero-grid { align-items: end; }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 72px 0; overflow: hidden; white-space: nowrap; }
.ticker .track { display: inline-block; padding: 18px 0; animation: slide 36s linear infinite; }
.ticker span { font: 500 16px "Space Grotesk", sans-serif; color: var(--muted); margin: 0 28px; }
.ticker span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); margin-right: 28px; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- bölümler ---------- */
.section { padding: 100px 0; }
.section.tight { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 58px); margin-top: 14px; max-width: 820px; }
.sec-head p { color: var(--muted); max-width: 520px; }
.lead { color: var(--muted); font-size: 17px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.8vw, 58px); line-height: 1; letter-spacing: -0.02em; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 10px; }
.pixbar { display: flex; gap: 3px; margin-top: 18px; }
.pixbar i { flex: 1; height: 6px; background: var(--line2); }
.pixbar i.on { background: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line2); transform: translateY(-4px); }
.card .top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 64px; }
.card .ic { width: 44px; height: 44px; }
.card .ic svg { width: 100%; height: 100%; }
.card h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .burst { position: absolute; right: 0; top: 0; width: 130px; height: 130px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.card:hover .burst { opacity: 1; }

/* görsel kartlar (sektörler) */
.card.photo { padding: 0; }
.card.photo .img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #111; }
.card.photo .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.8); transition: transform .5s, filter .4s; }
.card.photo .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(143,139,255,.12), rgba(0,0,0,.75)); mix-blend-mode: normal; }
.card.photo:hover .img img { transform: scale(1.05); filter: grayscale(.2) contrast(1.05) brightness(.9); }
.card.photo .body { padding: 22px 26px 28px; }
.card.photo .tag { margin-bottom: 10px; }

/* görsel + metin */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.split.rev .media { order: 2; }
.media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4; background: #111; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.75); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(143,139,255,.28), transparent 55%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.media .pxmask { position: absolute; right: 0; bottom: 0; width: 45%; height: 45%; z-index: 2; }
.split h2 { font-size: clamp(30px, 3.8vw, 54px); margin: 14px 0 18px; }
.checks { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 14px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.checks b { color: var(--ink); font-weight: 600; }

/* süreç */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.step { padding: 28px 24px 30px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 26px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* CTA */
.cta { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 7vw, 96px); border: 1px solid var(--line); background: var(--bg2); }
.cta h2 { position: relative; z-index: 2; font-size: clamp(32px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; max-width: 820px; margin: 16px 0 18px; }
.cta p { position: relative; z-index: 2; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.cta .mono, .cta .actions { position: relative; z-index: 2; }
.cta svg.dissolve { position: absolute; right: 0; top: 0; height: 100%; width: 55%; }

/* iletişim */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.info { display: grid; gap: 12px; }
.info-row { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; transition: border-color .2s; }
a.info-row:hover { border-color: var(--line2); }
.info-row .ic { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 10px; background: #111116; border: 1px solid var(--line); }
.info-row .ic svg { width: 100%; height: 100%; }
.info-row .val { font-weight: 500; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; background: #050507; border: 1px solid var(--line2); color: var(--ink); font: 15px Inter, sans-serif; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #55555f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143,139,255,.18); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: #6b6b76; font-size: 13px; margin-top: 12px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form-status.ok { display: block; background: rgba(34,197,94,.1); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.form-status.err { display: block; background: rgba(244,63,94,.1); color: #fda4af; border: 1px solid rgba(244,63,94,.3); }
.map { margin-top: 18px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); height: clamp(320px, 45vh, 480px); background: #111; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 72px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 360px; }
.footer h5 { margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: var(--muted); font-size: 15px; text-decoration: none; }
.footer ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }

/* görünür olunca */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-right: 0; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 16px; right: 16px; border-radius: 18px; padding: 10px; background: rgba(8,8,10,.97); }
  .menu.open a { padding: 14px 16px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .card .top { margin-bottom: 34px; }
  .cta svg.dissolve { width: 100%; opacity: .3; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .matrix .meta .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker .track, .status i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
