/* 360 WorkLens — marketing site
   Premium dark theme, indigo → violet brand. No framework, no build step. */

:root {
  --ink-0: #05050f;
  --ink-1: #0a0a1c;
  --ink-2: #11112a;
  --ink-3: #191938;
  --line: rgba(160, 160, 255, 0.12);
  --line-strong: rgba(170, 170, 255, 0.22);
  --text: #eceeff;
  --text-2: #b4b7d9;
  --text-3: #7e81a8;
  --brand: #2f6bff;
  --brand-2: #6a3fe4;
  --brand-3: #8fb4ff;
  --cyan: #3fc8ff;
  --mint: #3ee6a8;
  --amber: #ffbd5c;
  --rose: #ff6b8b;
  --grad: linear-gradient(120deg, #12a5ff 0%, #2450e6 52%, #6a3fe4 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #bcd3ff 35%, #6fa6ff 68%, #9b86ff 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(10, 6, 40, 0.9), 0 0 0 1px var(--line);
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(60, 80, 235, 0.5); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- background ambience ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(60, 80, 235, 0.22), transparent 60%),
    radial-gradient(800px 600px at -10% 10%, rgba(36, 110, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(70, 217, 255, 0.08), transparent 60%),
    var(--ink-0);
}
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(150, 150, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 150, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 20, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 24px -6px rgba(60, 80, 235, .8); }
.brand span em { font-style: normal; color: var(--text-3); font-weight: 500; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: #fff; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; margin: 0 auto; position: relative; transition: transform .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 13px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(60, 80, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(60, 80, 235, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(190, 190, 255, .35); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 15px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-3); font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 650; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--text-2); line-height: 1.65; }
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.section-head h2 { margin: 18px 0 20px; }
.muted { color: var(--text-3); }

/* ---------- hero ---------- */
.hero { padding: 168px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-grid > *, .split > *, .tabpanel > *, .cta-box > *, .bento > *, .pillars > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(36, 110, 255, 0.1); border: 1px solid rgba(90, 150, 255, 0.28); font-size: 13.5px; color: var(--text-2);
}
.pill b { background: var(--grad); color: #fff; font-weight: 600; font-size: 11.5px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 6.1vw, 80px); font-weight: 700; margin: 26px 0 24px; letter-spacing: -0.045em; line-height: 1.02; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; color: var(--text-3); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 17px; height: 17px; color: var(--mint); }

/* hero console */
.console-wrap { position: relative; perspective: 1600px; }
.console {
  position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(25, 25, 56, 0.92), rgba(12, 12, 32, 0.95));
  box-shadow: var(--shadow), 0 60px 140px -40px rgba(40, 90, 245, 0.55);
  transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; overflow: hidden;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.console-wrap:hover .console { transform: rotateY(-4deg) rotateX(2deg); }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2d2d55; }
.console-bar i:nth-child(1) { background: #ff6b8b; } .console-bar i:nth-child(2) { background: #ffbd5c; } .console-bar i:nth-child(3) { background: #3ee6a8; }
.console-bar .url { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--text-3); background: rgba(255, 255, 255, .04); padding: 4px 12px; border-radius: 8px; }
.console-body { padding: 20px; display: grid; gap: 14px; }
.c-head { display: flex; justify-content: space-between; align-items: center; }
.c-head h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.c-head small { font-family: var(--mono); color: var(--text-3); font-size: 11.5px; }
.c-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c-kpi { padding: 12px 14px; border-radius: 13px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.c-kpi small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.c-kpi b { font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.c-kpi b em { font-style: normal; font-size: 12px; color: var(--mint); margin-left: 6px; font-family: var(--font); font-weight: 600; }
.emp-list { display: grid; gap: 8px; }
.emp { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.025); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.emp.active { border-color: rgba(90, 150, 255, .35); background: rgba(36, 110, 255, .09); }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; font-family: var(--display); }
.emp .meta b { display: block; font-size: 13.5px; font-weight: 600; }
.emp .meta span { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-work { color: var(--mint); background: rgba(62, 230, 168, .1); }
.s-work::before { animation: pulse 1.6s infinite; }
.s-wait { color: var(--amber); background: rgba(255, 189, 92, .1); }
.s-plan { color: var(--cyan); background: rgba(70, 217, 255, .1); }
.s-done { color: var(--brand-3); background: rgba(110, 160, 255, .12); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.float-card {
  position: absolute; z-index: 3; border-radius: 16px; padding: 14px 16px;
  background: rgba(18, 18, 44, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.fc-approval { left: -44px; bottom: -36px; width: 300px; animation: floaty 7s ease-in-out infinite; }
.fc-cost { right: -26px; top: 64px; width: 200px; animation: floaty 8s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.fc-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 189, 92, .14); color: var(--amber); }
.fc-icon svg { width: 15px; height: 15px; }
.fc-top b { font-size: 13px; } .fc-top small { display: block; font-size: 11px; color: var(--text-3); }
.fc-approval p { margin: 0 0 12px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.fc-btns { display: flex; gap: 7px; }
.fc-btns span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 7px 0; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.fc-btns span.ok { background: var(--grad); border-color: transparent; }
.fc-cost small { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.fc-cost b { display: block; font-family: var(--display); font-size: 24px; margin: 2px 0 8px; }
.spark { height: 34px; }

/* ---------- logos strip ---------- */
.strip { padding: 34px 0 10px; }
.strip p { text-align: center; color: var(--text-3); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); margin: 0 0 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 19px; color: #8f92bd; white-space: nowrap; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px 220px at var(--mx, 50%) var(--my, 0%), rgba(70, 140, 255, .16), transparent 70%);
}
.card:hover::before { opacity: 1; }
.icon-tile {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(36, 110, 255, .25), rgba(60, 80, 235, .18)); border: 1px solid rgba(110, 160, 255, .3); color: #d6d2ff;
}
.icon-tile svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.card ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.card li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(62, 230, 168, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.2 4.7-4.8' fill='none' stroke='%233ee6a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- loop / how it works ---------- */
.loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; counter-reset: step; }
.loop::before { content: ""; position: absolute; top: 37px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, rgba(70, 140, 255, .6), rgba(70, 217, 255, .5), transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; position: relative;
  background: var(--ink-2); border: 1px solid var(--line-strong); color: #d6d2ff; transition: transform .3s, box-shadow .3s;
}
.step-dot svg { width: 28px; height: 28px; }
.step:hover .step-dot { transform: translateY(-5px); box-shadow: 0 20px 40px -14px rgba(60, 80, 235, .8); border-color: rgba(110, 160, 255, .6); }
.step-dot::after { counter-increment: step; content: "0" counter(step); position: absolute; top: -9px; right: -9px; font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 600; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14px; color: var(--text-3); line-height: 1.55; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev .split-media { order: -1; }
.feature-list { display: grid; gap: 22px; margin-top: 36px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.feature .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(36, 110, 255, .12); border: 1px solid rgba(90, 150, 255, .25); color: #cfcaff; }
.feature .fi svg { width: 20px; height: 20px; }
.feature b { display: block; font-size: 16px; margin-bottom: 3px; font-weight: 600; }
.feature span { color: var(--text-3); font-size: 14.5px; }

.panel {
  position: relative; border-radius: var(--radius-lg); padding: 26px;
  background: linear-gradient(180deg, rgba(26, 26, 60, 0.85), rgba(12, 12, 30, 0.9));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.panel-glow { position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(60, 80, 235, .35), transparent); filter: blur(30px); }
.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-title b { font-size: 15px; }
.tag { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--text-2); border: 1px solid var(--line); }

/* approval mock */
.appr { border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); padding: 18px; }
.appr + .appr { margin-top: 12px; }
.appr-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.appr-top .meta b { font-size: 14px; display: block; } .appr-top .meta span { font-size: 12px; color: var(--text-3); }
.appr-top .status { margin-left: auto; }
.mail { border-radius: 12px; background: rgba(5, 5, 18, .6); border: 1px solid var(--line); padding: 14px 16px; font-size: 13px; color: var(--text-2); }
.mail .row { display: flex; gap: 10px; padding: 3px 0; font-size: 12px; color: var(--text-3); }
.mail .row b { color: var(--text-2); font-weight: 500; min-width: 54px; }
.mail hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.mail p { margin: 0; line-height: 1.6; }
.mail .cursor { display: inline-block; width: 2px; height: 14px; background: var(--brand-3); vertical-align: -2px; animation: pulse 1s infinite; }
.appr-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.chip svg { width: 14px; height: 14px; }
.chip.ok { background: var(--grad); border-color: transparent; }
.chip.warn { color: #ffb3c3; }
.mini-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.mini-row .status { margin-left: auto; }

/* ---------- roles ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab { cursor: pointer; padding: 10px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: all .2s; }
.tab:hover { color: #fff; border-color: var(--line-strong); }
.tab[aria-selected="true"] { color: #fff; background: rgba(36, 110, 255, .18); border-color: rgba(110, 160, 255, .5); box-shadow: inset 0 0 0 1px rgba(110, 160, 255, .2); }
.tabpanel { display: none; }
.tabpanel.active { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.role-main { padding: 36px; }
.role-main h3 { font-size: 28px; margin-bottom: 14px; }
.role-main p { color: var(--text-2); }
.role-people { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.role-people span { font-size: 13px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-2); }
.role-tasks { display: grid; gap: 10px; align-content: start; }
.task { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.task i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 12px; color: #d6d2ff; background: rgba(36, 110, 255, .16); }
.task b { display: block; font-size: 14.5px; font-weight: 600; } .task span { font-size: 13.5px; color: var(--text-3); }

/* ---------- office ---------- */
.office-stage {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 520px;
  background: radial-gradient(120% 90% at 50% 0%, #1d1a4a 0%, #0c0b22 55%, #07071a 100%);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.iso { position: absolute; left: 50%; top: 52%; width: 640px; height: 640px; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-45deg); transform-style: preserve-3d; }
.iso-floor {
  position: absolute; inset: 0; border-radius: 26px;
  background:
    linear-gradient(rgba(160, 150, 255, .12) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(160, 150, 255, .12) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(135deg, #22205a, #151339);
  box-shadow: 0 0 0 2px rgba(150, 140, 255, .25), 0 60px 120px rgba(0, 0, 0, .6);
}
.zone { position: absolute; border-radius: 16px; border: 1px dashed rgba(190, 180, 255, .35); background: rgba(36, 110, 255, .08); }
.zone b { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: #c8c3ff; letter-spacing: .08em; text-transform: uppercase; }
.z1 { left: 30px; top: 30px; width: 270px; height: 250px; }
.z2 { left: 340px; top: 30px; width: 270px; height: 250px; background: rgba(70, 217, 255, .06); border-color: rgba(70, 217, 255, .35); }
.z3 { left: 30px; top: 320px; width: 270px; height: 290px; background: rgba(62, 230, 168, .05); border-color: rgba(62, 230, 168, .3); }
.z4 { left: 340px; top: 320px; width: 270px; height: 290px; background: rgba(255, 189, 92, .05); border-color: rgba(255, 189, 92, .3); }
.desk { position: absolute; width: 64px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #3a3784, #2a2765); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(200, 190, 255, .25); }
.desk::after { content: ""; position: absolute; left: 18px; top: 8px; width: 28px; height: 18px; border-radius: 3px; background: linear-gradient(135deg, #2450e6, #3fc8ff); opacity: .8; }
.table-round { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #3b3888, #27245f); box-shadow: 8px 8px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(200, 190, 255, .25); }
.person { position: absolute; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15), 0 0 22px currentColor; background: currentColor; }
.person.p-a { color: #3ee6a8; } .person.p-b { color: #46d9ff; } .person.p-c { color: #b47cff; } .person.p-d { color: #ffbd5c; } .person.p-e { color: #ff6b8b; }
.person.walk { animation: walk 9s ease-in-out infinite; }
@keyframes walk { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(150px, 40px); } 60% { transform: translate(150px, 40px); } }
.office-labels { position: absolute; inset: 0; pointer-events: none; }
.olabel {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 12px;
  background: rgba(14, 14, 36, .86); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); animation: floaty 6s ease-in-out infinite;
}
.olabel .avatar { width: 26px; height: 26px; font-size: 11px; border-radius: 8px; }
.olabel b { display: block; font-size: 12.5px; } .olabel small { color: var(--text-3); font-size: 11px; }
.ol1 { left: 7%; top: 18%; } .ol2 { right: 8%; top: 14%; animation-delay: -2s; } .ol3 { left: 12%; bottom: 14%; animation-delay: -4s; } .ol4 { right: 10%; bottom: 20%; animation-delay: -1s; }
.office-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.ofeat { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ofeat b { display: block; font-size: 15.5px; margin: 12px 0 6px; } .ofeat span { font-size: 14px; color: var(--text-3); }
.ofeat svg { width: 22px; height: 22px; color: var(--brand-3); }

/* ---------- live / voice ---------- */
.voice { display: grid; gap: 14px; }
.bubble { max-width: 86%; padding: 13px 16px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.bubble.me { justify-self: end; background: var(--grad); border-bottom-right-radius: 5px; }
.bubble.ai { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text-2); }
.bubble.ai b { color: #fff; }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 4px; }
.wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #3fc8ff, #2450e6); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.voice-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(5, 5, 18, .55); border: 1px solid var(--line); }
.mic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 6px rgba(60, 80, 235, .18); animation: ring 2s infinite; }
.mic svg { width: 19px; height: 19px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 4px rgba(60, 80, 235, .25); } 50% { box-shadow: 0 0 0 11px rgba(60, 80, 235, .05); } }
.langs { display: flex; gap: 8px; flex-wrap: wrap; }
.langs span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }

/* ---------- quality / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { padding: 30px; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.score { display: flex; align-items: flex-end; gap: 16px; margin-top: 24px; }
.score b { font-family: var(--display); font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.score span { color: var(--text-3); font-size: 14px; padding-bottom: 8px; }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-2); }
.bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.in-view .bar i { width: var(--w); }
.bar-row em { font-style: normal; font-family: var(--mono); font-size: 12px; text-align: right; color: var(--text); }
.models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.models span { font-size: 13px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.models span b { color: var(--brand-3); font-weight: 600; }
.cost-chart { margin-top: 22px; display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.cost-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(110, 160, 255, .95), rgba(36, 110, 255, .35)); height: 0; transition: height 1.2s cubic-bezier(.2, .7, .2, 1); }
.in-view .cost-chart i { height: var(--h); }
.cost-chart i.hi { background: linear-gradient(180deg, #46d9ff, rgba(70, 217, 255, .3)); }

/* ---------- integrations ---------- */
.integ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.integ-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .25s, background .25s, transform .25s; }
.integ-item:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .05); transform: translateY(-3px); }
.integ-logo { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff; }
.integ-item b { display: block; font-size: 14.5px; font-weight: 600; } .integ-item span { font-size: 12.5px; color: var(--text-3); }

/* ---------- security ---------- */
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guar { padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(62, 230, 168, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.guar .num { font-family: var(--mono); font-size: 12px; color: var(--mint); letter-spacing: .1em; }
.guar b { display: block; font-size: 16.5px; margin: 14px 0 8px; font-family: var(--display); letter-spacing: -0.015em; font-weight: 600; }
.guar span { font-size: 14px; color: var(--text-3); }
.shield-band { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; margin-top: 26px; padding: 28px 32px; border-radius: 24px; background: linear-gradient(110deg, rgba(62, 230, 168, .08), rgba(36, 110, 255, .08)); border: 1px solid rgba(62, 230, 168, .22); }
.shield-band svg { width: 46px; height: 46px; color: var(--mint); }
.shield-band b { font-family: var(--display); font-size: 19px; display: block; margin-bottom: 4px; }
.shield-band span { color: var(--text-2); font-size: 14.5px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; }
.stat { padding: 40px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(40px, 4.5vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--text-3); font-size: 14.5px; }

/* ---------- mobile ---------- */
.phone {
  width: 290px; height: 590px; margin: 0 auto; border-radius: 46px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #2b2a52, #101024); box-shadow: 0 0 0 1px rgba(200, 190, 255, .2), 0 50px 100px -30px rgba(40, 90, 245, .6);
}
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #13123a, #0a0a1f); padding: 46px 16px 16px; position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #000; }
.ph-h { font-family: var(--display); font-size: 20px; font-weight: 650; margin-bottom: 4px; }
.ph-s { font-size: 12px; color: var(--text-3); margin-bottom: 16px; }
.ph-card { padding: 13px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin-bottom: 10px; }
.ph-card .mini-row { font-size: 12.5px; }
.ph-card p { margin: 8px 0 10px; font-size: 12px; color: var(--text-3); line-height: 1.5; }
.ph-btns { display: flex; gap: 6px; }
.ph-btns span { flex: 1; text-align: center; font-size: 11.5px; padding: 8px 0; border-radius: 10px; background: rgba(255, 255, 255, .06); font-weight: 600; }
.ph-btns span.ok { background: var(--grad); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, .045); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-size: 18px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--text-2); font-size: 15.5px; }

/* ---------- CTA / contact ---------- */
.cta-box {
  position: relative; border-radius: 36px; padding: 72px; overflow: hidden;
  background: radial-gradient(800px 400px at 100% 0%, rgba(106, 63, 228, .35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(70, 217, 255, .18), transparent 60%), linear-gradient(135deg, #1c1a52, #120f35);
  border: 1px solid rgba(180, 160, 255, .3); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.cta-box h2 { font-size: clamp(32px, 4vw, 50px); margin: 18px 0 18px; }
.contact-points { display: grid; gap: 14px; margin-top: 30px; }
.contact-points a, .contact-points div { display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.contact-points svg { width: 20px; height: 20px; color: var(--brand-3); flex: none; }
.contact-points a:hover { color: #fff; }
.form { display: grid; gap: 14px; padding: 30px; border-radius: 24px; background: rgba(6, 6, 20, .55); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: #fff; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); outline: none; transition: border-color .2s, box-shadow .2s;
}
.form select option { background: #15143a; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: rgba(110, 160, 255, .8); box-shadow: 0 0 0 4px rgba(60, 80, 235, .2); }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 12.5px; color: var(--text-3); margin: 0; }
.form-status { font-size: 14px; margin: 0; min-height: 20px; }
.form-status.ok { color: var(--mint); } .form-status.err { color: var(--rose); }

/* ---------- footer ---------- */
footer { padding: 80px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--text-3); font-size: 14.5px; max-width: 340px; margin: 18px 0 0; }
.foot-grid h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-2); font-size: 14.5px; } .foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .cta-box { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .hero { padding-top: 140px; }
  .console { transform: none; } .console-wrap:hover .console { transform: none; }
  .fc-approval { left: 10px; } .fc-cost { right: 10px; }
  .loop { grid-template-columns: repeat(3, 1fr); row-gap: 44px; } .loop::before { display: none; }
  .guarantees, .integ { grid-template-columns: repeat(2, 1fr); }
  .office-feats { grid-template-columns: repeat(2, 1fr); }
  .tabpanel.active { grid-template-columns: 1fr; }
  .bento .b-2, .bento .b-3, .bento .b-4 { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 48px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; padding: 16px 24px 24px;
    background: rgba(7, 7, 20, .97); border-bottom: 1px solid var(--line); gap: 2px;
  }
  .nav.open .nav-links a { padding: 12px 10px; font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 96px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-cta .btn-primary { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { gap: 12px; flex-direction: column; }
  .bento .card[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .guarantees, .integ, .office-feats { grid-template-columns: 1fr; }
  .c-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; } .c-kpi { padding: 10px; } .c-kpi b { font-size: 17px; } .c-kpi b em { display: none; }
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin-top: 14px; animation: none; }
  .fc-cost { display: none; }
  .office-stage { min-height: 420px; }
  .iso { width: 460px; height: 460px; } .iso .zone, .iso .desk, .iso .table-round, .iso .person { zoom: .72; }
  .olabel { display: none; } .ol1, .ol2 { display: flex; }
  .ol1 { left: 12px; top: 12px; } .ol2 { right: 12px; top: auto; bottom: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 30px 20px; border-radius: 26px; }
  .form { padding: 20px; }
  .shield-band { grid-template-columns: 1fr; text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 100px 1fr 40px; }
  .role-main { padding: 26px; }
  .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 28px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar i { width: var(--w); } .cost-chart i { height: var(--h); }
}

/* ---------- brand (360worklens logo) ---------- */
.wm { display: inline-flex; align-items: flex-end; font-family: "Poppins", var(--display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: -0.02em; }
.wm-n { background: linear-gradient(100deg, #12a5ff, #1f6dff 60%, #3b5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-o { height: .8em; width: auto; margin: 0 .02em .015em .01em; display: inline-block; }
.wm-w { color: #fff; }
.brand { gap: 0; }
.foot-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-emblem { width: 190px; height: auto; margin-left: -10px; }
.foot-brand .wm { font-size: 32px; }
.foot-tag { font-size: 13px; letter-spacing: .06em; color: var(--text-3); }
.pill b { letter-spacing: .02em; }

/* layout refinements */
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); }
.fc-cost { top: -34px; right: -18px; }
@media (max-width: 640px) { .wm { font-size: 24px; } .hero h1 { font-size: 38px; } }
.console-body > *, .emp-list > * { min-width: 0; }
.c-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-kpi small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp { grid-template-columns: 34px minmax(0, 1fr) auto; }
html, body { overflow-x: clip; }
@media (max-width: 640px) { .panel-glow { inset: 0; } .emp .status { font-size: 10px; padding: 3px 7px; } }
.wm-o { height: .74em; margin-bottom: .01em; }
.pill b { white-space: nowrap; }
@media (max-width: 640px) { .pill { font-size: 12px; } .pill b { font-size: 10.5px; } }
