/* Fabriq · www.fabriq.com.tr · statik tanıtım sitesi */

:root {
  --bg: #050b18;
  --bg-2: #081226;
  --bg-3: #0c1a33;
  --panel: rgba(12, 26, 51, 0.72);
  --line: rgba(120, 160, 220, 0.16);
  --line-strong: rgba(120, 160, 220, 0.32);
  --text: #e6eefb;
  --muted: #9db0cf;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #f59e0b;
  --violet: #a78bfa;
  --grad: linear-gradient(90deg, var(--cyan), var(--green));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(52, 211, 153, 0.08), transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-fq { width: 52px; height: 36px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35)); }
.brand-lines { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text { font-weight: 800; letter-spacing: 0.16em; font-size: 17px; color: #e2e8f0; }
.brand-mods { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); margin-top: 3px; }
.brand-mods i { font-style: normal; color: var(--cyan); font-size: 8px; vertical-align: 1px; }
.foot-logo { width: 190px; height: auto; opacity: 0.9; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-cta {
  color: #06111f !important; background: var(--grad);
  padding: 9px 16px; border-radius: 999px; font-weight: 700;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.sub { color: var(--muted); font-size: 17px; max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #06111f; box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(34, 211, 238, 0.4); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 70%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.14), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-logo { margin: -16px 0 6px -24px; max-width: 560px; }
.hero-logo img { width: 100%; height: auto; }
.slogan {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.slogan i { font-style: normal; color: var(--muted); }
.slogan span:last-child { color: #e2e8f0; }
.hero h1 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin-bottom: 18px; }
.lead strong { color: #e2e8f0; font-weight: 700; }
.hero-points b { color: var(--cyan); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; margin-right: 4px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points li { position: relative; padding-left: 26px; color: var(--muted); margin: 8px 0; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.15); border: 1.5px solid var(--green);
}
.hero-points li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 4px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}

.hero-shot { position: relative; min-height: 420px; }
.frame {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: #0a1426; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.frame-bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #0d1930; border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3a5c; }
.frame-bar i:nth-child(1) { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin-left: auto; margin-right: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.frame-float {
  position: absolute; right: -8%; bottom: -40px; width: 58%;
  transform: rotate(-2deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(34, 211, 238, 0.25);
}

/* ---------- pillars: MES · QA · TPM ---------- */
.pillars { margin-top: 80px; padding: 56px 0; border-block: 1px solid var(--line); background: rgba(8, 18, 38, 0.6); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--pc, var(--cyan)); }
.pillar-key {
  display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 26px; letter-spacing: 0.14em;
  color: var(--pc, var(--cyan)); text-shadow: 0 0 18px color-mix(in srgb, var(--pc, var(--cyan)) 55%, transparent);
  margin-bottom: 6px;
}
.pillar h3 { font-size: 18px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.pillar ul li { font-size: 14px; color: #cbd5e1; padding: 6px 0 6px 18px; border-top: 1px solid var(--line); position: relative; }
.pillar ul li::before { content: "◆"; position: absolute; left: 0; top: 7px; font-size: 9px; color: var(--pc, var(--cyan)); }
.pillar-mes { --pc: #22d3ee; }
.pillar-qa { --pc: #a78bfa; }
.pillar-tpm { --pc: #34d399; }

/* module tags */
.tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
  border: 1px solid var(--tc, var(--cyan)); color: var(--tc, var(--cyan)); background: color-mix(in srgb, var(--tc, var(--cyan)) 12%, transparent);
}
.tag-mes { --tc: #22d3ee; } .tag-qa { --tc: #a78bfa; } .tag-tpm { --tc: #34d399; } .tag-all { --tc: #cbd5e1; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, rgba(8, 18, 38, 0.0), rgba(8, 18, 38, 0.7) 20%, rgba(8, 18, 38, 0.7) 80%, rgba(8, 18, 38, 0)); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.section-head.left .sub { margin-bottom: 22px; }
.section-head .sub { margin-inline: auto; }
.section-head.left .sub { margin-inline: 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.35);
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* filters + gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.chip {
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { color: var(--text); }
.chip.is-active { background: rgba(34, 211, 238, 0.14); border-color: var(--cyan); color: var(--text); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.shot.is-hidden { display: none; }
.shot-btn {
  padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: #0a1426; box-shadow: 0 18px 40px rgba(0,0,0,0.4); transition: transform .2s, border-color .2s;
  aspect-ratio: 16 / 9; display: block; width: 100%;
}
.shot-btn img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-btn:hover { transform: translateY(-3px); border-color: var(--cyan); }
.shot figcaption { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.shot figcaption strong { font-size: 15px; }
.shot figcaption span { font-size: 13px; color: var(--muted); }

/* flow / integration */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(52, 211, 153, 0.14); border: 1px solid var(--green);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 8px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.flow { display: flex; flex-direction: column; gap: 6px; }
.flow-node {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px 22px;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
}
.flow-node strong { font-size: 18px; grid-column: 2; }
.flow-node p { grid-column: 2; color: var(--muted); font-size: 14px; }
.flow-tag {
  grid-row: 1 / span 2; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  padding: 8px 10px; border-radius: 8px; background: rgba(120,160,220,0.12); color: var(--muted);
}
.flow-node.is-main { border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08), 0 20px 50px rgba(0,0,0,0.4); }
.flow-node.is-main .flow-tag { background: var(--grad); color: #06111f; }
.flow-arrow { display: flex; align-items: center; gap: 10px; padding-left: 26px; height: 40px; }
.flow-arrow span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.flow-arrow i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); position: relative; }
.flow-arrow i::before, .flow-arrow i::after {
  content: ""; position: absolute; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  top: -2.5px; box-shadow: 0 0 10px var(--green);
}
.flow-arrow i::after { display: none; }

/* cta */
.cta { padding-top: 40px; }
.cta-box {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(52, 211, 153, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 22px; padding: 44px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(3, 7, 16, 0.92); backdrop-filter: blur(6px); padding: 24px;
}
.lightbox.is-open { display: flex; }
.lb-figure { margin: 0; max-width: min(1400px, 100%); text-align: center; }
.lb-figure img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.lb-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.lb-figure figcaption strong { color: var(--text); margin-right: 8px; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid var(--line-strong); color: var(--text);
  width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close:hover, .lb-nav:hover { background: rgba(34, 211, 238, 0.2); border-color: var(--cyan); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 56px; }
  .hero-shot { min-height: 0; padding-bottom: 60px; }
  .frame-float { right: 0; bottom: 0; width: 55%; }
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillars { margin-top: 48px; }
  .flow-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-box { grid-template-columns: 1fr; padding: 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 11, 24, 0.97); border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 16px;
  }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .hero-logo { margin-left: -10px; max-width: 100%; }
  .brand-mods { display: none; }
  .frame-float { display: none; }
  .hero-shot { padding-bottom: 0; }
  .lb-nav { width: 40px; height: 40px; top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
}
