/* AadeeRMM website — "Aurora Light": bright background with soft moving teal/sky/violet light, glass surfaces,
   gradient accents, a 3D console preview and floating product cards. */
:root {
  --bg: #f6f8fc; --bg-2: #eef2f8; --white: #ffffff;
  --ink: #0b1220; --ink-2: #1e2a3d; --text-2: #4b5870; --muted: #7a869a;
  --line: #e3e8f1; --line-2: #d5dce8;
  --teal: #0d9488; --teal-2: #14b8a6; --teal-3: #2dd4bf; --sky: #0ea5e9; --violet: #7c3aed; --violet-2: #a78bfa; --pink: #ec4899;
  --grad: linear-gradient(100deg, #0d9488 0%, #0ea5e9 45%, #7c3aed 90%);
  --grad-soft: linear-gradient(135deg, rgba(45,212,191,.16), rgba(14,165,233,.12) 50%, rgba(167,139,250,.16));
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 8px 24px -8px rgba(11,18,32,.12);
  --shadow-lg: 0 2px 4px rgba(11,18,32,.04), 0 30px 70px -20px rgba(11,18,32,.25);
  --radius: 18px; --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; transition: background .2s, box-shadow .2s, border-color .2s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(246, 248, 252, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; color: var(--ink); font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; margin-right: 10px; }
.brand span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
.nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: rgba(11,18,32,.05); text-decoration: none; }
.auth { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.mobile-auth { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font: 600 15px/1 var(--font); white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn.primary { color: #fff; background: var(--ink); box-shadow: 0 8px 24px -8px rgba(11,18,32,.5); }
.btn.primary:hover { box-shadow: 0 12px 30px -8px rgba(11,18,32,.55); }
.btn.gradient { color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(14,165,233,.7); }
.btn.gradient:hover { box-shadow: 0 14px 34px -10px rgba(124,58,237,.6); }
.btn.ghost { color: var(--ink); background: rgba(255,255,255,.75); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- aurora background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 520px; left: -8%; top: -12%; background: #5eead4; }
.aurora i:nth-child(2) { width: 560px; height: 480px; right: -6%; top: -8%; background: #c4b5fd; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 520px; height: 420px; left: 34%; top: 18%; background: #7dd3fc; opacity: .45; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 380px; height: 340px; right: 18%; top: 44%; background: #fbcfe8; opacity: .4; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(3%, 4%) scale(1.08); } 100% { transform: translate(-3%, -2%) scale(.96); } }
.gridlines { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(11,18,32,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,18,32,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; margin-top: -72px; padding-top: 128px; }
.hero .wrap { z-index: 2; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; color: var(--ink-2); backdrop-filter: blur(8px); }
.pill b { color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 99px; font-size: 12px; }
.pill:hover { text-decoration: none; border-color: var(--line-2); }
.hero h1 { font: 800 clamp(42px, 6.6vw, 86px)/1.02 var(--display); letter-spacing: -.05em; margin: 26px auto 22px; max-width: 1000px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 700px; margin: 0 auto 34px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 6px; }

/* console preview in 3D */
.stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1800px; }
.console { transform: rotateX(12deg) scale(.98); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); border-radius: 20px; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.4) 40%, rgba(45,212,191,.6)); box-shadow: var(--shadow-lg), 0 60px 120px -40px rgba(14,165,233,.45); text-align: left; }
.stage.flat .console { transform: rotateX(0) scale(1); }
.console-in { border-radius: 19px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); overflow: hidden; }
.bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e8f1; }
.bar i:nth-child(1) { background: #fda4af; } .bar i:nth-child(2) { background: #fde68a; } .bar i:nth-child(3) { background: #86efac; }
.bar span { margin-left: 12px; font-size: 12.5px; color: var(--muted); background: var(--bg); padding: 4px 12px; border-radius: 8px; }
.app { display: grid; grid-template-columns: 190px 1fr; min-height: 380px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; background: rgba(246,248,252,.6); }
.app-side div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--text-2); }
.app-side div::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--line-2); }
.app-side .on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.app-side .on::before { background: var(--grad); }
.app-main { padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi b { display: block; font: 800 24px/1.2 var(--display); letter-spacing: -.03em; }
.kpi .ok { color: #059669; } .kpi .warn { color: #d97706; } .kpi .bad { color: #e11d48; }
.panel-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 190px; position: relative; overflow: hidden; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart .ct { position: absolute; left: 14px; top: 10px; font-size: 12px; color: var(--muted); }
.devices { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; font-size: 12.5px; }
.devices div { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--bg-2); }
.devices div:last-child { border-bottom: 0; }
.devices b { font-weight: 600; }
.devices em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; }
.d { width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex: none; }
.d.amber { background: #f59e0b; } .d.red { background: #f43f5e; }
.em-ok { color: #047857; background: #d1fae5; } .em-warn { color: #b45309; background: #fef3c7; } .em-bad { color: #be123c; background: #ffe4e6; }

/* floating cards around the console */
.float { position: absolute; z-index: 3; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px; text-align: left; animation: bob 7s ease-in-out infinite; font-size: 13.5px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.f-call { left: -56px; top: 150px; width: 250px; }
.f-chat { right: -60px; top: 90px; width: 260px; animation-delay: -2.5s; }
.f-patch { right: -34px; bottom: 34px; width: 210px; animation-delay: -4.5s; }
.float h5 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.who { display: flex; align-items: center; gap: 10px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); flex: none; }
.who small { display: block; color: var(--muted); font-size: 12px; }
.acc { display: flex; gap: 8px; margin-top: 12px; }
.acc span { flex: 1; text-align: center; padding: 7px; border-radius: 10px; font-weight: 700; font-size: 12.5px; }
.acc .y { background: #10b981; color: #fff; } .acc .n { background: var(--bg-2); color: var(--ink-2); }
.bub { background: var(--bg-2); padding: 8px 11px; border-radius: 13px 13px 13px 4px; margin: 5px 0; }
.bub.me { background: var(--teal); color: #fff; border-radius: 13px 13px 4px 13px; margin-left: 28px; }
.ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--teal-2) 0 82%, var(--bg-2) 0); display: grid; place-items: center; flex: none; }
.ring span { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 15px var(--display); }
.f-patch .row { display: flex; align-items: center; gap: 12px; }

/* capability chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 70px auto 0; max-width: 900px; }
.chips span { padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); backdrop-filter: blur(6px); }

/* ---------- sections ---------- */
section { padding: 110px 0; position: relative; }
.head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--grad-soft); color: var(--teal); border: 1px solid rgba(13,148,136,.15); }
.head h2 { font: 800 clamp(32px, 4.4vw, 54px)/1.08 var(--display); letter-spacing: -.045em; margin: 16px 0 14px; }
.head p { color: var(--text-2); font-size: 18.5px; margin: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { grid-column: span 2; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; }
.tile h3 { font: 700 21px/1.25 var(--display); margin: 16px 0 8px; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(14,165,233,.8); }
.ico svg { width: 22px; height: 22px; }
.ico.t { background: linear-gradient(135deg, #14b8a6, #0d9488); } .ico.s { background: linear-gradient(135deg, #38bdf8, #0284c7); } .ico.v { background: linear-gradient(135deg, #a78bfa, #7c3aed); } .ico.p { background: linear-gradient(135deg, #f472b6, #db2777); } .ico.a { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.mini-chart { margin-top: 20px; height: 90px; }
.mini-chart svg { width: 100%; height: 100%; }
.code { margin-top: 18px; background: #0b1220; color: #cbd5e1; border-radius: 12px; padding: 14px 16px; font: 12.5px/1.75 var(--mono); }
.code .k { color: #5eead4; } .code .s { color: #fde68a; } .code .c { color: #64748b; }
.channels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.channels span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); }

/* remote support split */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--display); letter-spacing: -.045em; margin: 16px 0 16px; }
.split > div > p { color: var(--text-2); font-size: 18px; margin: 0 0 26px; }
.feat { display: grid; gap: 14px; }
.feat div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 16px; transition: background .2s; }
.feat div:hover { background: rgba(255,255,255,.7); }
.feat .ico { width: 44px; height: 44px; border-radius: 12px; }
.feat b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.01em; }
.feat span { color: var(--text-2); font-size: 15px; }
.scene { position: relative; min-height: 520px; }
.scene .card { position: absolute; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; animation: bob 8s ease-in-out infinite; }
.scene .s1 { top: 0; left: 0; width: 330px; }
.scene .s2 { top: 150px; right: 0; width: 300px; animation-delay: -3s; }
.scene .s3 { bottom: 0; left: 40px; width: 380px; animation-delay: -5s; padding: 0; overflow: hidden; }
.scene h5 { margin: 0 0 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.term-h { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #111a2c; }
.term-h i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.term-h span { margin-left: 8px; font-size: 11.5px; color: #94a3b8; font-family: var(--mono); }
.term-b { background: #0b1220; color: #cbd5e1; padding: 14px 16px; font: 12.5px/1.8 var(--mono); }
.term-b .p { color: #5eead4; } .term-b .ok { color: #86efac; }
.files div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--bg-2); font-size: 13.5px; }
.files div:last-child { border: 0; }
.files .bar2 { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.files .bar2 i { display: block; height: 100%; background: var(--grad); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 18px var(--display); color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(124,58,237,.7); }
.step h3 { font: 700 22px/1.25 var(--display); margin: 18px 0 8px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--text-2); }
.steps-line { position: absolute; top: 52px; left: 12%; right: 12%; height: 2px; background: var(--grad); opacity: .25; z-index: -1; }

/* security */
.sec-band { background: linear-gradient(180deg, transparent, rgba(255,255,255,.7) 20%, rgba(255,255,255,.7) 80%, transparent); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-grid .tile { grid-column: auto; }

/* pricing */
.cur { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -28px 0 36px; }
.cur label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.cur select { height: 40px; padding: 0 36px 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; font: 500 14px var(--font); color: var(--ink); cursor: pointer; appearance: none; box-shadow: var(--shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.pro { border: 0; padding: 32px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(124,58,237,.45); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font: 700 22px var(--display); margin: 0; letter-spacing: -.02em; }
.plan .for { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.plan .amount { font: 800 48px/1 var(--display); letter-spacing: -.04em; }
.plan .amount small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan .btn { width: 100%; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 700 17.5px var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--teal); font: 600 18px/1 var(--font); }
.faq details[open] summary::after { content: "−"; background: var(--grad); color: #fff; }
.faq details p { margin: 0 0 22px; color: var(--text-2); }

/* final call */
.final { position: relative; overflow: hidden; border-radius: 32px; padding: 72px 56px; text-align: center; background: #0b1220; color: #e2e8f0; }
.final .aurora i { opacity: .55; }
.final .inner { position: relative; z-index: 2; }
.final h2 { color: #fff; font: 800 clamp(32px, 4.6vw, 56px)/1.08 var(--display); letter-spacing: -.045em; margin: 0 0 14px; }
.final p { color: #b6c2d4; font-size: 18.5px; margin: 0 auto 32px; max-width: 620px; }
.final .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.final .btn.white { background: #fff; color: var(--ink); }
.final .signin { margin-top: 18px; font-size: 14.5px; color: #94a3b8; }
.final .signin a { color: #5eead4; }

/* footer */
footer { padding: 72px 0 36px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot p { color: var(--text-2); font-size: 14.5px; max-width: 320px; margin: 14px 0 0; }
.foot h4 { margin: 0 0 14px; font: 700 13px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--ink-2); font-size: 15px; }
.legal-line { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }

/* document pages (terms, privacy, 404) */
.doc-hero { position: relative; padding: 130px 0 40px; margin-top: -72px; overflow: hidden; }
.doc-hero .wrap { z-index: 2; max-width: 900px; }
.doc-hero h1 { font: 800 clamp(38px, 5vw, 60px)/1.05 var(--display); letter-spacing: -.045em; margin: 16px 0 8px; }
.doc-hero .meta { color: var(--muted); margin: 0; }
.doc { max-width: 900px; margin: 0 auto; padding: 10px 24px 90px; }
.doc .paper { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 40px 44px; box-shadow: var(--shadow); }
.doc h2 { font: 700 22px/1.3 var(--display); letter-spacing: -.02em; margin: 34px 0 8px; }
.doc h2:first-of-type { margin-top: 18px; }
.doc p, .doc li { color: var(--text-2); }
.doc .draft { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 10px; vertical-align: top; }
.doc th { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .f-call { left: -10px; } .f-chat { right: -10px; } .f-patch { right: 10px; } }
@media (max-width: 1020px) {
  .nav { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
  .tile.w4 { grid-column: span 2; }
  .sec-grid, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .plan.pro { transform: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .float { display: none; }
  .steps-line { display: none; }
}
@media (max-width: 760px) {
  .auth { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
  .nav.open a { padding: 12px 14px; }
  .nav.open .mobile-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav.open .mobile-auth a { padding: 0; }
  .top { background: rgba(246, 248, 252, .9); backdrop-filter: blur(12px); }
  section { padding: 76px 0; }
  .hero { padding-top: 110px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .panel-row { grid-template-columns: 1fr; }
  .console { transform: none; }
  .bento, .sec-grid, .plans, .steps { grid-template-columns: 1fr; }
  .tile.w4 { grid-column: span 1; }
  .scene { min-height: 0; display: grid; gap: 16px; }
  .scene .card { position: static; width: auto !important; animation: none; }
  .final { padding: 48px 24px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; }
  .doc .paper { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .float, .scene .card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .console { transition: none; }
}
