/* FixLab AI — a bright software lab: white paper, the logo's blue, a faint blueprint grid and ink-dark type. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f8fd;
  --bg-3: #eaf2fd;
  --line: #0f1b2d14;
  --line-2: #0f1b2d24;
  --text: #0f1b2d;
  --text-2: #4a5568;
  --text-3: #8391a5;
  --blue: #2f7fe6;
  --blue-2: #1f63c2;
  --blue-soft: #2f7fe612;
  --sky: #55a2fa;
  --shadow: 0 1px 2px #0f1b2d0a, 0 12px 32px -14px #0f1b2d24;
  --radius: 22px;
  --wrap: 1280px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--sky); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.grad { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: #ffffffe0; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { height: 34px; width: auto; }
.links { display: flex; gap: 30px; margin-inline-start: auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.links a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { font: 600 13px/1 var(--sans); color: var(--text-2); background: none; border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (max-width: 960px) { .links { display: none; } .lang { margin-inline-start: auto; } }
@media (max-width: 520px) { .topbar .nav-cta { display: none; } .brand img { height: 28px; } .topbar .wrap { gap: 14px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--sans); padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s, box-shadow .25s, background .25s, border-color .25s;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 0 #2f7fe655, 0 12px 28px -12px #2f7fe6cc; }
.btn.primary:hover { transform: translateY(-2px); background: var(--blue-2); box-shadow: 0 0 0 6px #2f7fe61a, 0 18px 36px -12px #2f7fe6cc; }
.btn.ghost { color: var(--text); border-color: var(--line-2); background: #fff; }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.small { font-size: 14px; padding: 11px 18px; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, #55a2fa1f, transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 100%, #55a2fa12, transparent 70%),
    linear-gradient(#2f7fe610 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, #2f7fe610 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 40%, transparent 85%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .02em;
  color: var(--blue-2); background: var(--blue-soft); border: 1px solid #2f7fe633; border-radius: 999px; padding: 8px 14px 8px 10px;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 26px 0 24px; }
.hero h1 .rot { display: inline-block; min-width: 1ch; }
.hero h1 .caret { display: inline-block; width: 4px; height: .85em; margin-inline-start: 4px; background: var(--blue); vertical-align: -.06em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lead { font-size: 19px; color: var(--text-2); max-width: 34em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero .brandline { margin-top: 40px; font-size: 14px; color: var(--text-3); display: flex; align-items: center; gap: 10px; }
.hero .brandline::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }

/* Terminal card: an AI pipeline that ends in a real product */
.term {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #0f1a2b, #0b1422); border: 1px solid #0f1b2d;
  box-shadow: 0 40px 70px -30px #0f1b2d88, 0 0 0 6px #2f7fe60f;
  font: 14px/1.7 var(--mono); color: #e6edf7;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #ffffff14; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff22; }
.term-bar span { margin-inline-start: 8px; color: #7f8ca0; font-size: 12px; }
.term-body { padding: 18px 20px 22px; min-height: 290px; direction: ltr; text-align: left; }
.term-line { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; white-space: pre-wrap; }
.term-line.on { opacity: 1; transform: none; }
.term-line .p, .term-line .ok { color: var(--sky); }
.term-line.result { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #ffffff0a; border: 1px solid #ffffff14; font-family: var(--sans); }
.term-line.result img { width: 44px; height: 44px; border-radius: 11px; }
.term-line.result b { display: block; font-size: 16px; }
.term-line.result small { color: #a9b4c4; font-size: 13px; }
.term .cursor { display: inline-block; width: 8px; height: 16px; background: var(--sky); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@media (max-width: 960px) { .hero { min-height: 0; padding-top: 120px; } .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Tech marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; position: relative; background: var(--bg-2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; direction: ltr; }
.marquee-track span { font: 500 15px/1 var(--mono); color: var(--text-3); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "◆"; font-size: 8px; color: #2f7fe666; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.label { font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.label::before { content: "//"; color: var(--text-3); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); }
.section-head p { font-size: 19px; color: var(--text-2); margin-top: 20px; }
@media (max-width: 760px) { .section { padding: 84px 0; } .section-head { margin-bottom: 40px; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; }

/* Cards with a blue glow that follows the pointer */
.card { position: relative; border-radius: var(--radius); padding: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #55a2fa1c, transparent 45%); }
.card:hover { border-color: #2f7fe655; }
.card:hover::before { opacity: 1; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px; color: var(--blue); background: var(--blue-soft); border: 1px solid #2f7fe62e; }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { color: var(--text-2); font-size: 16px; }
.service ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font: 500 12px/1 var(--mono); color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .card { padding: 26px; } }

/* ---------- AI + human ---------- */
.ai { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.ai-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.ai-sticky { position: sticky; top: 120px; }
.ai-sticky .section-head { margin-bottom: 32px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillar { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.pillar b { display: block; font-size: 16px; margin-bottom: 4px; }
.pillar span { font-size: 14px; color: var(--text-2); line-height: 1.5; display: block; }
.steps { position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; inset-inline-start: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--sky), #55a2fa14); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; padding: 26px 28px 26px 26px; }
.step .num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 600 18px/1 var(--mono); color: var(--blue); background: var(--bg-3); border: 1px solid #2f7fe64d; }
.step h3 { font-size: 22px; margin: 4px 0 8px; }
.step p { color: var(--text-2); font-size: 16px; }
.step .tag { display: inline-block; margin-top: 14px; font: 500 12px/1 var(--mono); color: var(--blue-2); background: var(--blue-soft); border-radius: 999px; padding: 7px 10px; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; gap: 40px; } .ai-sticky { position: static; } }
@media (max-width: 520px) { .step { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 20px; } .step .num { width: 48px; height: 48px; border-radius: 14px; font-size: 15px; } .steps::before { inset-inline-start: 23px; } }

/* ---------- Work ---------- */
.case { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.case-copy { padding: 56px; display: flex; flex-direction: column; }
.case-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.case-top img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px -10px #0f1b2d66; }
.case-top .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-top .tags span { font: 500 12px/1 var(--mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; }
.case h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.case p { color: var(--text-2); }
.case .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 34px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.case .facts strong { display: block; font-size: 30px; letter-spacing: -.02em; }
.case .facts span { font-size: 13px; color: var(--text-3); line-height: 1.35; display: block; margin-top: 4px; }
.case .links-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.case-visual { position: relative; min-height: 560px; overflow: hidden; background: linear-gradient(180deg, #3b82f0, #7ab8ff 65%, #cfe8ff); }
.case-visual .phone { position: absolute; width: 250px; left: 50%; top: 56px; translate: -50% 0; border-radius: 40px; padding: 8px; background: #0e1124; box-shadow: 0 0 0 2px #2a2f55, 0 40px 60px -20px #0b1a4acc; transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.case-visual .phone img { width: 100%; border-radius: 32px; aspect-ratio: 540 / 1174; object-fit: cover; }
.case:hover .case-visual .phone { translate: -50% -10px; }
.case-visual .fig { position: absolute; aspect-ratio: 1; z-index: 2; }
.case-visual .fig > img { position: absolute; }
.case-visual .fig .body { inset: 0; width: 100%; height: 100%; z-index: 1; }
.case-visual .fig .cape { width: 62%; z-index: 0; left: var(--cx); top: var(--cy); rotate: var(--cr); transform-origin: 96% 28%; animation: sway 1.4s ease-in-out infinite alternate; }
.case-visual .fig.luna { --cx: -2.52%; --cy: 36.78%; --cr: -0.16rad; width: 230px; left: -30px; top: 40px; animation: bob 3.6s ease-in-out infinite; }
.case-visual .fig.max { --cx: -6.52%; --cy: 39.78%; --cr: -0.12rad; width: 190px; right: -20px; bottom: 60px; animation: bob 3.2s ease-in-out -1.5s infinite; }
@keyframes bob { 50% { translate: 0 -14px; rotate: -2deg; } }
@keyframes sway { from { transform: rotate(-3deg) scaleY(.96); } to { transform: rotate(3deg) scaleY(1.04); } }
.case-visual .logo { position: absolute; z-index: 3; width: 150px; left: 24px; bottom: 22px; filter: drop-shadow(0 4px 10px #0b1a4a66); }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 1100px) { .more { grid-template-columns: 1fr 1fr; } }
.more .next-card { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; }
.more .next-card > div { display: flex; align-items: center; gap: 24px; }
.more .next-card .plus { margin-bottom: 0; flex: none; }
.more .next-card .btn { margin-top: 0; align-self: center; flex: none; }
@media (max-width: 760px) { .more .next-card, .more .next-card > div { flex-direction: column; align-items: flex-start; } .more .next-card .btn { align-self: flex-start; } }
.site-card { padding: 0; display: grid; grid-template-rows: auto 1fr; }
.browser { margin: 28px 28px 0; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; background: var(--bg-2); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #0f1b2d22; }
.browser-bar span { margin-inline-start: 10px; flex: 1; font: 12px/1 var(--mono); color: var(--text-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.browser img { width: 100%; transition: transform 6s ease; transform-origin: top; }
.site-card:hover .browser img { transform: scale(1.03); }
.site-card .copy { padding: 26px 30px 30px; }
.site-card h3, .next-card h3 { font-size: 24px; margin-bottom: 8px; }
.site-card p, .next-card p { color: var(--text-2); font-size: 16px; }
.site-card .arrow-link { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 600; text-decoration: none; font-size: 15px; }
.next-card { display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 0%, #55a2fa24, transparent 55%), #fff; }
.next-card .plus { position: relative; width: 64px; height: 64px; display: grid; place-items: center; color: var(--blue); margin-bottom: 28px; }
.next-card .plus::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #2f7fe688; animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.next-card .btn { margin-top: 26px; align-self: flex-start; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } .case-copy { padding: 36px 28px; } .case-visual { min-height: 480px; order: -1; } .more { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .case .facts { grid-template-columns: 1fr 1fr; row-gap: 18px; } .case-visual { min-height: 420px; } .case-visual .phone { width: 200px; top: 40px; } .case-visual .fig.luna { width: 170px; left: -34px; } .case-visual .fig.max { width: 140px; right: -24px; } .browser { margin: 20px 20px 0; } .site-card .copy { padding: 22px; } }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid #2f7fe62e; padding: 72px; background: radial-gradient(ellipse at 100% 0%, #55a2fa2e, transparent 50%), radial-gradient(ellipse at 0% 100%, #55a2fa18, transparent 50%), linear-gradient(#2f7fe60c 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, #2f7fe60c 1px, transparent 1px) 0 0 / 32px 32px, var(--bg-2); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 18px; }
.contact > div > p { color: var(--text-2); font-size: 18px; }
.contact .direct { margin-top: 34px; display: grid; gap: 14px; }
.contact .direct address { font-style: normal; }
.contact .direct a, .contact .direct > span, .contact .direct address { display: flex; line-height: 1.5; align-items: center; gap: 12px; font-size: 17px; text-decoration: none; color: var(--text); }
.contact .direct svg { color: var(--blue); flex: none; }
form { display: grid; gap: 14px; }
form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
form input, form select, form textarea { font: 16px/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s; }
form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a5568' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
form select option { color: #000; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px #2f7fe61a; }
form textarea { min-height: 130px; resize: vertical; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .btn { justify-self: start; margin-top: 6px; }
form .note { font-size: 13px; color: var(--text-3); }
form .note.ok { color: #0f7b4b; font-size: 15px; font-weight: 500; }
form .note.err { color: #c2410c; font-size: 14px; }
form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; padding: 44px 28px; gap: 40px; } }
@media (max-width: 520px) { form .row { grid-template-columns: 1fr; } .contact { border-radius: 24px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 128px; color: var(--text-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer .brand img { height: 32px; }
.footer .about { margin-top: 18px; max-width: 30em; }
.footer h4 { margin: 4px 0 16px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.footer nav { display: grid; gap: 10px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--blue); }
.footer .base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
@media (max-width: 760px) { .footer { margin-top: 84px; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ================= Visual layer: live widgets, bento services, lab dashboard ================= */
.mono-k { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #22c55e26; animation: pulse 1.6s ease-in-out infinite; }

/* Hero widgets floating around the terminal */
.term-wrap { position: relative; }
.widget {
  position: absolute; z-index: 3; background: #ffffffeb; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -18px #0f1b2d40;
  font-size: 13px; animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.widget b { display: block; font-size: 15px; margin-top: 6px; }
.w-build { top: -34px; inset-inline-start: -46px; width: 190px; }
.w-build .bar { height: 5px; border-radius: 5px; background: var(--bg-3); margin-top: 10px; overflow: hidden; }
.w-build .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--blue)); border-radius: inherit; animation: build 4.5s ease-in-out infinite; }
@keyframes build { 0% { width: 4%; } 70%, 100% { width: 100%; } }
.w-build b .ok { color: #16a34a; }
.w-langs { bottom: 34px; inset-inline-end: -52px; width: 196px; animation-delay: -2s; }
.w-langs .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.w-langs .chips span { font: 600 11px/1 var(--mono); padding: 5px 6px; border-radius: 6px; background: var(--bg-2); color: var(--text-3); border: 1px solid var(--line); transition: all .3s; }
.w-langs .chips span.on { background: var(--blue-soft); color: var(--blue); border-color: #2f7fe644; }
.w-agent { bottom: -30px; inset-inline-start: 28px; display: flex; align-items: center; gap: 10px; animation-delay: -4s; }
.w-agent .av { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--sky), var(--blue)); display: grid; place-items: center; color: #fff; flex: none; }
.dots { display: inline-flex; gap: 3px; margin-inline-start: 4px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 1100px) { .w-build { inset-inline-start: -10px; } .w-langs { inset-inline-end: -10px; } }
@media (max-width: 960px) { .widget { display: none; } }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .service { display: flex; flex-direction: column; padding: 20px 20px 26px; }
.bento .s-ai { grid-column: span 2; grid-row: span 2; }
.viz {
  position: relative; height: 170px; margin-bottom: 22px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(#2f7fe60a 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, #2f7fe60a 1px, transparent 1px) 0 0 / 20px 20px, var(--bg-2);
  border: 1px solid var(--line);
}
.s-ai .viz { height: auto; flex: 1; min-height: 330px; }
.service .code { font: 500 12px/1 var(--mono); color: var(--blue); margin: 0 4px 8px; }
.bento .service h3, .bento .service p, .bento .service ul { margin-inline: 4px; }
.bento .service ul { margin-top: 16px; }

/* AI chat */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fffc; }
.chat-head .who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.chat-head .who i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--sky), var(--blue)); display: grid; place-items: center; }
.chat-body { flex: 1; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.msg.in { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: 0 6px 16px -10px #0f1b2d33; }
.msg .src { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.msg .src span { font: 500 11px/1 var(--mono); color: var(--blue); background: var(--blue-soft); padding: 5px 7px; border-radius: 6px; }
.chat-input { margin: 0 16px 14px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.chat-input b { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; color: #fff; }

/* Web: a wireframe that switches between desktop and phone widths */
.wf { position: absolute; top: 16px; bottom: 16px; left: 50%; width: 86%; translate: -50% 0; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; animation: resp 7s ease-in-out infinite; }
@keyframes resp { 0%, 38% { width: 86%; } 50%, 88% { width: 30%; } 100% { width: 86%; } }
.wf .top { height: 14px; border-bottom: 1px solid var(--line); display: flex; gap: 4px; align-items: center; padding: 0 6px; }
.wf .top i { width: 5px; height: 5px; border-radius: 50%; background: #0f1b2d22; }
.wf .blk { margin: 8px 8px 0; border-radius: 5px; background: linear-gradient(90deg, var(--bg-3) 25%, #dbe8fb 50%, var(--bg-3) 75%) 0 0 / 200% 100%; animation: shimmer 2.4s linear infinite; }
.wf .blk.h { height: 30px; background: linear-gradient(120deg, var(--sky), var(--blue)); animation: none; opacity: .85; }
.wf .row { display: flex; gap: 6px; margin: 8px 8px 0; }
.wf .row .blk { margin: 0; flex: 1; height: 44px; min-width: 20px; }
.wf .blk.l { height: 8px; width: 60%; } .wf .blk.l2 { height: 8px; width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Mobile: a phone with a feed and a notification */
.ph { position: absolute; left: 50%; top: 14px; translate: -50% 0; width: 96px; height: 190px; border-radius: 18px; border: 3px solid var(--text); background: #fff; overflow: hidden; }
.ph::before { content: ""; position: absolute; top: 4px; left: 50%; translate: -50% 0; width: 30px; height: 6px; border-radius: 6px; background: var(--text); z-index: 2; }
.ph .feed { position: absolute; inset: 16px 6px 0; display: grid; gap: 6px; animation: feed 6s linear infinite; }
.ph .feed i { display: block; height: 34px; border-radius: 8px; background: var(--bg-3); }
.ph .feed i:nth-child(3n+1) { background: linear-gradient(120deg, #dbe8fb, var(--bg-3)); }
@keyframes feed { to { transform: translateY(-160px); } }
.notif { position: absolute; left: 50%; top: 18px; translate: -50% 0; width: 170px; z-index: 3; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 10px; font-size: 11.5px; line-height: 1.3; box-shadow: 0 12px 24px -10px #0f1b2d44; display: flex; gap: 8px; align-items: center; animation: notif 6s ease-in-out infinite; }
.notif i { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); flex: none; }
.notif b { display: block; font-size: 11.5px; }
@keyframes notif { 0%, 25% { opacity: 0; transform: translateY(-14px); } 32%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-14px); } }

/* Custom software: systems exchanging packets */
.flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow .edge { stroke: #2f7fe655; stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.flow .box { fill: #fff; stroke: var(--line-2); }
.flow .hub { fill: var(--blue); }
.flow text { font: 600 10.5px var(--mono); fill: var(--text-2); }
.flow .hub-t { fill: #fff; }
.flow .pk { fill: var(--sky); }

/* Game: Luna and a word card */
.game { position: absolute; inset: 0; background: linear-gradient(180deg, #5fa3fb, #b9dcff); }
.game .lfig { position: absolute; width: 108px; aspect-ratio: 1; left: 12%; top: 22px; animation: bob 3s ease-in-out infinite; }
.game .lfig img { position: absolute; }
.game .lfig .body { inset: 0; width: 100%; height: 100%; z-index: 1; }
.game .lfig .cape { width: 62%; left: -2.52%; top: 36.78%; rotate: -0.16rad; transform-origin: 96% 28%; animation: sway 1.3s ease-in-out infinite alternate; }
.game .card-w { position: absolute; top: 44px; right: -70px; width: 58px; padding: 6px 4px 4px; background: #fff; border-radius: 10px; text-align: center; font: 700 11px/1.2 var(--sans); color: var(--text); box-shadow: 0 8px 16px -8px #0b1a4a88; animation: fly 3.2s ease-in infinite; }
.game .card-w span { display: block; font-size: 22px; line-height: 1.1; }
@keyframes fly { 0% { right: -70px; opacity: 1; transform: none; } 72% { right: 52%; opacity: 1; transform: rotate(-8deg); } 80%, 100% { right: 52%; opacity: 0; transform: scale(1.5); } }
.game .burst { position: absolute; top: 56px; left: 44%; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; opacity: 0; animation: burst 3.2s ease-out infinite; }
@keyframes burst { 0%, 72% { opacity: 0; transform: scale(.3); } 76% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8); } }
.game .score { position: absolute; top: 12px; right: 12px; font: 800 13px/1 var(--sans); color: #fff; background: #0f1b2d40; padding: 5px 8px; border-radius: 8px; }
.game .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: linear-gradient(#7ccf6a, #4fae4a); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }

/* Prototype: a roadmap that fills up */
.road { position: absolute; left: 22px; right: 22px; top: 50%; translate: 0 -50%; }
.road .track { height: 4px; border-radius: 4px; background: var(--bg-3); position: relative; }
.road .track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--sky), var(--blue)); animation: road 6s ease-in-out infinite; }
@keyframes road { 0% { width: 0; } 80%, 100% { width: 100%; } }
.road .ms { display: flex; justify-content: space-between; margin-top: -12px; }
.road .ms span { display: grid; justify-items: center; gap: 8px; font: 500 11px/1 var(--mono); color: var(--text-3); width: 20px; }
.road .ms b { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 11px; color: transparent; animation: ms 6s ease-in-out infinite; }
.road .ms span:nth-child(2) b { animation-delay: 1.2s; } .road .ms span:nth-child(3) b { animation-delay: 2.4s; } .road .ms span:nth-child(4) b { animation-delay: 3.6s; }
@keyframes ms { 0%, 5% { background: #fff; border-color: var(--line-2); color: transparent; } 12%, 85% { background: var(--blue); border-color: var(--blue); color: #fff; } 100% { background: #fff; border-color: var(--line-2); color: transparent; } }
.road .note { position: absolute; top: -58px; left: 0; right: 0; display: flex; justify-content: space-between; }
.road .note em { font-style: normal; font: 500 11px/1.3 var(--mono); color: var(--text-2); background: #fff; border: 1px solid var(--line); padding: 6px 8px; border-radius: 8px; }

@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .s-ai { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; gap: 12px; } .viz { height: 140px; margin-bottom: 16px; } .s-ai .viz { min-height: 270px; } .bento .service { padding: 16px 16px 20px; } .bento .service ul { margin-top: 12px; } .stream { height: 170px; } .chart { height: 120px; } }

/* ================= FixLab Agent window (hero) ================= */
.hero-grid { grid-template-columns: 1fr 1.12fr; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); }
.hero h1 .agent-name { background: linear-gradient(90deg, #0f1b2d, #2f4a7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agent {
  position: relative; border-radius: 22px; overflow: hidden; background: #0b1422; border: 1px solid #0f1b2d;
  box-shadow: 0 50px 90px -40px #0f1b2d99, 0 0 0 8px #2f7fe60d, 0 0 120px -30px #55a2fa66;
}
.agent-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #ffffff12; background: #0e1829; }
.agent-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff22; }
.agent-title { margin-inline-start: 8px; font: 12px/1 var(--mono); color: #7f8ca0; }
.agent-title b { color: #e6edf7; font-weight: 600; }
.agent-bar .live { margin-inline-start: auto; color: #8fc1ff; }
.agent-body { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 400px; }
.agent .term-body { min-height: 0; padding: 16px 16px 18px; font: 12.5px/1.75 var(--mono); color: #e6edf7; border-inline-end: 1px solid #ffffff12; }
.agent .term-line.result { margin-top: 12px; padding: 10px; }
.agent .term-line.result img { width: 36px; height: 36px; border-radius: 9px; }
.agent .term-line.result b { font-size: 14px; }
.agent .term-line.result small { font-size: 12px; }
.agent .term-line.on:not(.result):last-of-type { color: #fff; }

.preview {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #2f7fe640, transparent 60%),
    linear-gradient(#ffffff0a 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px) 0 0 / 22px 22px,
    #0d1a2e;
}
.pv-label { position: absolute; top: 12px; inset-inline-start: 14px; color: #7f8ca0; z-index: 6; }
.pv-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.preview[data-scene="game"] .pv-scene.game, .preview[data-scene="web"] .pv-scene.web, .preview[data-scene="soft"] .pv-scene.soft { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.pv-scene > * { transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .6s; }
.pv-note { position: absolute; left: 50%; top: 50%; width: 190px; translate: -50% -50%; padding: 14px 14px 16px; border-radius: 12px; background: #fff7c2; color: #3a3212; rotate: -3deg; box-shadow: 0 16px 30px -12px #000a; opacity: 0; transform: scale(.7); }
.pv-note .mono-k { color: #8a7a2a; }
.pv-note b { display: block; margin-top: 6px; font-size: 15px; line-height: 1.3; }
.pv-phone { position: absolute; left: 50%; top: 50%; width: 132px; translate: -50% -48%; border-radius: 24px; padding: 5px; background: #05070e; box-shadow: 0 0 0 1.5px #2a3552, 0 30px 50px -20px #000; opacity: 0; transform: translateY(40px) scale(.9); z-index: 2; }
.pv-phone img { width: 100%; border-radius: 19px; aspect-ratio: 540 / 1174; object-fit: cover; }
.pv-hero { position: absolute; aspect-ratio: 1; z-index: 3; opacity: 0; }
.pv-hero img { position: absolute; }
.pv-hero .body { inset: 0; width: 100%; height: 100%; z-index: 1; }
.pv-hero .cape { width: 62%; left: var(--cx); top: var(--cy); rotate: var(--cr); transform-origin: 96% 28%; animation: sway 1.3s ease-in-out infinite alternate; }
.pv-hero.luna { --cx: -2.52%; --cy: 36.78%; --cr: -0.16rad; width: 128px; left: 4%; top: 12%; transform: translateX(-160px); }
.pv-hero.max { --cx: -6.52%; --cy: 39.78%; --cr: -0.12rad; width: 104px; right: 2%; bottom: 16%; transform: translateX(160px); }
.pv-word { position: absolute; z-index: 4; width: 58px; padding: 5px 4px 4px; border-radius: 11px; background: #fff; text-align: center; font: 700 11px/1.2 var(--sans); color: #0f1b2d; box-shadow: 0 10px 20px -8px #000a; opacity: 0; transform: scale(.4); }
.pv-word img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pv-word.w1 { right: 8%; top: 14%; } .pv-word.w2 { left: 6%; bottom: 20%; } .pv-word.w3 { right: 26%; top: 44%; }
.pv-langs { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; justify-content: center; gap: 5px; opacity: 0; transform: translateY(20px); }
.pv-langs span { font: 600 10.5px/1 var(--mono); padding: 5px 6px; border-radius: 6px; color: #7f8ca0; background: #ffffff0f; border: 1px solid #ffffff1a; }
.pv-langs span.on { color: #fff; background: #2f7fe6; border-color: #2f7fe6; }
.pv-stamp { position: absolute; top: 36px; right: 12px; z-index: 6; padding: 8px 10px; border-radius: 10px; border: 2px solid #34d399; color: #34d399; font: 700 12px/1 var(--mono); letter-spacing: .04em; background: #0d1a2ecc; opacity: 0; transform: scale(1.8) rotate(-8deg); }
.pv-result { position: absolute; left: 50%; bottom: 52px; translate: -50% 0; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -14px #000c; opacity: 0; transform: translateY(20px); white-space: nowrap; width: max-content; }
.pv-result img { width: 34px; height: 34px; border-radius: 9px; }
.pv-result b { font-size: 14px; color: #0f1b2d; } .pv-result small { display: block; font-size: 11px; color: #4a5568; }

.preview.s1 .pv-note { opacity: 1; transform: none; }
.preview.s2 .pv-note { opacity: 0; transform: translate(-90px, -110px) scale(.5); }
.preview.s2 .game .pv-hero { opacity: 1; transform: none; }
.preview.s2 .game .pv-hero.luna { animation: bob 3.4s ease-in-out infinite; }
.preview.s2 .game .pv-hero.max { animation: bob 3s ease-in-out -1.2s infinite; }
.preview.s3 .pv-phone { opacity: 1; transform: none; }
.preview.s4 .pv-word { opacity: 1; transform: none; }
.preview.s4 .pv-word.w1 { transition-delay: .05s; } .preview.s4 .pv-word.w2 { transition-delay: .2s; } .preview.s4 .pv-word.w3 { transition-delay: .35s; }
.preview.s4 .pv-word { animation: float 4s ease-in-out infinite; }
.preview.s5 .game .pv-langs { opacity: 1; transform: none; }
.preview.s6 .pv-stamp { opacity: 1; transform: rotate(-8deg); }
.preview.s7 .pv-result { opacity: 1; transform: none; }
.preview.s7 .pv-word { opacity: 0; }

/* Hero sahneleri: web sitesi ve özel yazılım (oyun sahnesi yukarıda) */
.pv-site { position: absolute; z-index: 2; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #ffffff26, 0 30px 50px -22px #000; opacity: 0; transform: translateY(40px) scale(.92); }
.pv-site img { display: block; width: 100%; height: auto; }
.pv-bar { display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: #e9eef5; font: 600 9px/1 var(--mono); color: #6b778a; }
.pv-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c3ccd8; }
.pv-bar span { margin-inline-start: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web .pv-site { left: 14px; right: 14px; top: 46px; }
.web .pv-hero.luna { width: 96px; left: auto; right: -4px; top: 30px; transform: translateX(140px); }
.web .pv-langs { bottom: auto; top: 52%; }
.pv-checks { position: absolute; left: 0; right: 0; top: 63%; z-index: 5; display: flex; justify-content: center; gap: 6px; opacity: 0; transform: translateY(16px); }
.pv-checks span { padding: 6px 9px; border-radius: 999px; background: #34d3991f; border: 1px solid #34d39966; color: #a7f3d0; font: 600 11px/1 var(--sans); }
.pv-checks b { font-weight: inherit; }
.soft .pv-app { left: 14px; right: -46px; top: 44px; }
.pv-ai { position: absolute; z-index: 4; right: 10px; top: 112px; padding: 7px 10px; border-radius: 10px; background: #0e1829; border: 1px solid #55a2fa66; color: #e6edf7; font: 600 11px/1 var(--sans); box-shadow: 0 14px 28px -12px #000; opacity: 0; transform: scale(.6); white-space: nowrap; }
.pv-ai .ai-mark { color: #8fc1ff; }
.soft .pv-checks { top: 206px; justify-content: flex-start; padding-inline-start: 22px; }
.soft .pv-checks span { background: #0e1829; box-shadow: 0 10px 20px -10px #000; }
.pv-mini { width: 43%; top: 244px; z-index: 3; }
.pv-mini.ak { left: 4%; rotate: -4deg; transform: translateX(-120%); }
.pv-mini.pw { right: 4%; rotate: 4deg; transform: translateX(120%); }
.soft .pv-result { bottom: 14px; }

.preview.s2 .pv-site:not(.pv-mini) { opacity: 1; transform: none; }
.preview.s3 .web .pv-hero.luna { opacity: 1; transform: none; animation: bob 3.2s ease-in-out infinite; }
.preview.s3 .pv-ai { opacity: 1; transform: none; }
.preview.s4 .web .pv-langs { opacity: 1; transform: none; }
.preview.s5 .web .pv-checks, .preview.s4 .soft .pv-checks { opacity: 1; transform: none; }
.preview.s5 .pv-mini.ak, .preview.s6 .pv-mini.pw { opacity: 1; transform: none; }
.preview.s7 .web .pv-langs, .preview.s7 .web .pv-checks { opacity: 0; }
.preview.s7 .soft .pv-ai { opacity: 0; }
@media (max-width: 620px) {
  .soft .pv-app { right: -30px; top: 40px; }
  .pv-ai { top: 100px; }
  .soft .pv-checks { top: 160px; }
  .pv-mini { top: 192px; width: 42%; }
  .web .pv-langs { top: auto; bottom: 56px; }
  .web .pv-checks { top: auto; bottom: 16px; }
}

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .agent-body { grid-template-columns: 1fr; min-height: 0; }
  .agent .term-body { border-inline-end: 0; border-bottom: 1px solid #ffffff12; font-size: 11.5px; min-height: 220px; }
  .preview { height: 330px; }
  .hero h1 { font-size: 38px; }
}

/* ================= Tech backgrounds ================= */
body { background: #f7f9fc; }
.hero { background: radial-gradient(ellipse 70% 60% at 85% 20%, #dbeafe 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 0% 80%, #e0f2fe 0%, transparent 60%), #fbfcfe; }
.hero .mesh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero .mesh i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero .mesh i:nth-child(1) { width: 420px; height: 420px; background: #93c5fd; top: -120px; right: 8%; }
.hero .mesh i:nth-child(2) { width: 360px; height: 360px; background: #c4b5fd; bottom: -140px; right: 30%; opacity: .35; animation-delay: -6s; }
.hero .mesh i:nth-child(3) { width: 300px; height: 300px; background: #a5f3fc; top: 30%; left: -120px; opacity: .4; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }
.marquee { background: #0f1b2d; border-color: #0f1b2d; }
.marquee::before { background: linear-gradient(90deg, #0f1b2d, transparent); }
.marquee::after { background: linear-gradient(-90deg, #0f1b2d, transparent); }
.marquee-track span { color: #8fa3bf; }
#services { background:
  radial-gradient(#2f7fe624 1px, transparent 1.4px) 0 0 / 22px 22px,
  radial-gradient(ellipse 50% 40% at 100% 0%, #dbeafe, transparent 70%),
  radial-gradient(ellipse 40% 40% at 0% 100%, #ede9fe, transparent 70%), #f7f9fc; }
.ai { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg fill='none' stroke='%232f7fe6' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 40h60l20 20h60M140 60v60l20 20h40M20 200v-60l30-30h50M100 0v30l20 20'/%3E%3C/g%3E%3Cg fill='%232f7fe6' fill-opacity='.16'%3E%3Ccircle cx='60' cy='40' r='3'/%3E%3Ccircle cx='140' cy='60' r='3'/%3E%3Ccircle cx='160' cy='140' r='3'/%3E%3Ccircle cx='50' cy='110' r='3'/%3E%3Ccircle cx='120' cy='50' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 200px 200px,
  linear-gradient(180deg, #f7f9fc, #eaf2fd 40%, #f1f6fd 100%); }
#work { background:
  radial-gradient(ellipse 45% 35% at 0% 10%, #dbeafe, transparent 70%),
  radial-gradient(ellipse 40% 35% at 100% 90%, #e0e7ff, transparent 70%),
  linear-gradient(#2f7fe60d 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, #2f7fe60d 1px, transparent 1px) 0 0 / 40px 40px, #f7f9fc; }
.footer { background: #0f1b2d; color: #a9b4c4; border-top: 0; margin-top: 0; }
.footer .brand img { filter: none; }
.footer h4 { color: #7f8ca0; }
.footer nav a:hover { color: #8fc1ff; }
.footer .base { border-color: #ffffff14; color: #7f8ca0; }
#contact { padding-bottom: 128px !important; background:
  radial-gradient(ellipse 50% 60% at 100% 100%, #dbeafe, transparent 70%),
  radial-gradient(ellipse 40% 50% at 0% 0%, #e0e7ff, transparent 70%),
  radial-gradient(#2f7fe61f 1px, transparent 1.4px) 0 0 / 22px 22px, #f1f6fd; }

/* The lab dashboard sits on a deep navy "control room" band */
.lab { background:
  radial-gradient(ellipse 60% 50% at 80% 0%, #2f7fe640, transparent 70%),
  radial-gradient(ellipse 50% 50% at 0% 100%, #7c3aed26, transparent 70%),
  linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(180deg, #0b1628, #0f2140); color: #e6edf7; }
.lab .section-head h2 { color: #fff; }
.lab .label { color: #8fc1ff; }
.lab .lab-head p.side { color: #a9b4c4; }
.lab .demo-note { color: #7f8ca0; }
.lab .panel { background: #ffffff0a; border-color: #ffffff1a; box-shadow: 0 30px 60px -30px #000a; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #e6edf7; }
.lab .panel-head h3 { color: #fff; }
.lab .mono-k { color: #7f8ca0; }
.lab .pipe span { background: #ffffff08; border-color: #ffffff1a; color: #7f8ca0; }
.lab .pipe span.done { background: #2f7fe62e; border-color: #2f7fe655; color: #8fc1ff; }
.lab .chart .grid-l { stroke: #ffffff14; }
.lab .chart .ideal { stroke: #ffffff40; }
.lab .chart .line { stroke: #55a2fa; }
.lab .chart .dot { fill: #55a2fa; stroke: #0f2140; }
.lab .legend { color: #a9b4c4; }
.lab .legend i { background: #55a2fa; }
.lab .legend i.d { border-color: #ffffff55; background: none; }
.lab .donut .bg, .lab .gauge .bg { stroke: #ffffff14; }
.lab .gauge .fg { stroke: #34d399; }
.lab .gauge span, .lab .donut li { color: #c7d2e0; }
.lab .stream .m { color: #e6edf7; }
.lab .stream .t { color: #6b7a90; }
.lab .stream .k { color: #8fc1ff; }
.lab .stream .ok { color: #34d399; }
.lab .stream .ai-mark { color: #c4b5fd; }
.lab .grad { background: linear-gradient(90deg, #8fc1ff, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= Lab dashboard (the FixLab version of a NOC screen) ================= */
.lab-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.lab-head .section-head { margin: 0; }
.lab-head p.side { color: var(--text-2); font-size: 16px; }
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head h3 { font-size: 16px; letter-spacing: -.01em; }
.p-wide { grid-column: span 2; }
.big { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.big small { font-size: 14px; font-weight: 500; color: var(--text-3); margin-inline-start: 6px; letter-spacing: 0; }
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 18px 0 22px; position: relative; }
.pipe span { position: relative; text-align: center; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); font: 500 12px/1.2 var(--mono); color: var(--text-3); transition: all .3s; }
.pipe span.done { color: var(--blue); background: var(--blue-soft); border-color: #2f7fe633; }
.pipe span.run { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 18px -8px #2f7fe6aa; }
.pipe span.run::after { content: ""; position: absolute; inset: -4px; border-radius: 13px; border: 2px solid #2f7fe655; animation: pulse 1.2s ease-in-out infinite; }
.chart { width: 100%; height: 150px; display: block; }
.chart .grid-l { stroke: #0f1b2d10; }
.chart .area { fill: url(#grad); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .ideal { fill: none; stroke: #0f1b2d33; stroke-width: 1.4; stroke-dasharray: 5 5; }
.chart .dot { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.chart text { font: 500 10.5px var(--mono); fill: var(--text-3); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 3px; background: var(--blue); vertical-align: middle; margin-inline-end: 6px; }
.legend i.d { background: none; border-top: 2px dashed #0f1b2d44; height: 0; }
.donut { display: flex; align-items: center; gap: 20px; }
.donut svg { width: 128px; height: 128px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut .bg { stroke: var(--bg-3); }
.donut .seg { stroke-linecap: round; transition: stroke-dasharray 1.4s cubic-bezier(.2,.7,.2,1); }
.donut .c { position: relative; }
.donut .c b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; letter-spacing: -.02em; }
.donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.donut li { display: flex; align-items: center; gap: 8px; }
.donut li i { width: 9px; height: 9px; border-radius: 3px; }
.donut li b { margin-inline-start: auto; font: 600 12.5px/1 var(--mono); }
.gauges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gauge { text-align: center; }
.gauge svg { width: 78px; height: 78px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge .bg { stroke: var(--bg-3); }
.gauge .fg { stroke: #16a34a; stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1); }
.gauge .n { position: relative; }
.gauge .n b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; }
.gauge span { display: block; font-size: 12px; color: var(--text-2); margin-top: 4px; }
.stream { font: 12.5px/1.9 var(--mono); height: 208px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.stream .ln { display: grid; grid-template-columns: 70px 92px 1fr; gap: 12px; white-space: nowrap; animation: lnin .45s ease-out; }
@keyframes lnin { from { opacity: 0; transform: translateY(8px); } }
.stream .t { color: var(--text-3); }
.stream .k { color: var(--blue); }
.stream .m { color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.stream .ok { color: #16a34a; }
.stream .ai-mark { color: #7c3aed; }
.demo-note { margin-top: 16px; font: 12px/1.4 var(--mono); color: var(--text-3); }
@media (max-width: 960px) { .lab-head { grid-template-columns: 1fr; gap: 16px; } .dash { grid-template-columns: 1fr 1fr; } .p-wide { grid-column: 1 / -1; } }
@media (max-width: 620px) {
  .dash { grid-template-columns: 1fr; gap: 12px; }
  .panel { padding: 18px; }
  .pipe { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .pipe span { font-size: 10px; padding: 8px 2px; }
  .stream .ln { grid-template-columns: 58px 1fr; }
  .stream .k { display: none; }
  .donut svg { width: 104px; height: 104px; }
}

/* ---------- Phones ---------- */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hero { padding: 104px 0 56px; }
  .hero h1 { font-size: 40px; margin: 20px 0 18px; }
  .hero .lead { font-size: 16px; }
  .hero .actions { margin-top: 26px; gap: 10px; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero .brandline { margin-top: 26px; }
  .hero-grid { gap: 36px; }
  .term { font-size: 12px; line-height: 1.65; }
  .term-body { min-height: 238px; padding: 14px 14px 16px; }
  .marquee { padding: 16px 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 16px; margin-top: 14px; }
  .label { margin-bottom: 12px; font-size: 12px; }
  .services { gap: 12px; }
  .card { padding: 22px; }
  .service { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .service .ic { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 3; }
  .service .ic svg { width: 20px; height: 20px; }
  .service h3 { font-size: 19px; margin: 2px 0 6px; }
  .service p { font-size: 15px; line-height: 1.5; }
  .service ul { margin-top: 12px; gap: 6px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillar { padding: 14px; }
  .pillar b { font-size: 15px; }
  .pillar span { font-size: 13px; }
  .steps { gap: 12px; }
  .step h3 { font-size: 19px; margin-top: 2px; }
  .step p { font-size: 15px; line-height: 1.5; }
  .step .tag { margin-top: 10px; }
  .case { border-radius: 24px; }
  .case-copy { padding: 26px 22px; }
  .case-top { margin-bottom: 18px; }
  .case-top img { width: 52px; height: 52px; border-radius: 13px; }
  .case p { font-size: 15px; }
  .case .facts { margin: 22px 0; padding: 18px 0; }
  .case .facts strong { font-size: 26px; }
  .case-visual { min-height: 380px; }
  .case-visual .phone { width: 180px; top: 34px; border-radius: 32px; padding: 6px; }
  .case-visual .phone img { border-radius: 26px; }
  .case-visual .logo { width: 120px; left: 16px; bottom: 14px; }
  .site-card h3, .next-card h3 { font-size: 21px; }
  .next-card .plus { width: 52px; height: 52px; margin-bottom: 18px; }
  .contact { padding: 32px 22px; gap: 28px; }
  .contact h2 { font-size: 32px; }
  .contact > div > p { font-size: 16px; }
  .contact .direct { margin-top: 22px; }
  form textarea { min-height: 110px; }
  form .btn { justify-self: stretch; justify-content: center; }
  .footer { margin-top: 64px; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .term-line { opacity: 1; transform: none; }
}

/* yardım.al vitrini (Çalışmalar) */
.case-ya { margin-top: 20px; }
.case-ya .case-visual { order: -1; }
.case-ya .case-top img { border-radius: 16px; }
.case-ya .links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ya-visual { background: radial-gradient(420px 280px at 85% 10%, rgba(30,99,216,.55), transparent 70%), radial-gradient(360px 260px at 10% 90%, rgba(34,197,94,.25), transparent 70%), linear-gradient(160deg, #0b1424, #13284c); }
.ya-screen { position: absolute; left: 44px; right: -90px; top: 76px; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -24px #020a1acc, 0 0 0 1px #ffffff1f; transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.ya-screen img { display: block; width: 100%; height: auto; }
.case-ya:hover .ya-screen { translate: 0 -10px; }
.ya-chip { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 16px 30px -12px #020a1a99; font-size: 12px; color: #5b6676; }
.ya-chip b { color: #0e1726; font-size: 16px; }
.ya-chip.c1 { left: 22px; bottom: 120px; animation: bob 3.4s ease-in-out infinite; }
.ya-chip.c1 b { color: #b91c1c; }
.ya-chip.c2 { right: 26px; top: 30px; animation: bob 3s ease-in-out -1.2s infinite; }
.ya-chip.c2 b { color: #b7791f; }
.ya-brand { position: absolute; z-index: 3; left: 26px; bottom: 26px; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.ya-brand em { font-style: normal; color: #4ade80; }
@media (max-width: 960px) { .ya-screen { left: 24px; right: -60px; top: 60px; } .ya-chip.c1 { bottom: 90px; } }
@media (prefers-reduced-motion: reduce) { .ya-chip { animation: none; } }
