/* =========================================================
   UNEWO — Evolved Communication
   Themes: Aurora (dark, default) and Signal (bright)
   Switch with <html data-theme="aurora|signal"> or the nav toggle
   ========================================================= */

:root,
[data-theme="aurora"] {
  --bg: #060c19;
  --bg2: #0b1730;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.11);
  --text: #eaf0ff;
  --muted: #9fb1d1;
  --a1: #22d3ee;
  --a2: #8b5cf6;
  --a3: #34d399;
  --on-accent: #04101f;
  --glow: rgba(34, 211, 238, 0.28);
  --nav-bg: rgba(6, 12, 25, 0.72);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --canvas-line: 34, 211, 238;
  --canvas-dot: 139, 92, 246;
  color-scheme: dark;
}




[data-theme="signal"] {
  --bg: #f5f8fe;
  --bg2: #e9f0fb;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --border: rgba(13, 30, 65, 0.1);
  --text: #0a1630;
  --muted: #4d5d7c;
  --a1: #0b6bff;
  --a2: #00b3a4;
  --a3: #7c3aed;
  --on-accent: #ffffff;
  --glow: rgba(11, 107, 255, 0.2);
  --nav-bg: rgba(245, 248, 254, 0.78);
  --shadow: 0 18px 50px rgba(20, 45, 100, 0.12);
  --canvas-line: 11, 107, 255;
  --canvas-dot: 0, 179, 164;
  color-scheme: light;
}

:root {
  --radius: 20px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--a1); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; border-radius: 6px; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); box-shadow: 0 0 12px var(--glow); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: 38px; overflow: visible; }
.brand .mark-wave { animation: wave 3.2s ease-in-out infinite; transform-origin: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.08em; }
.brand-tag { font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: 0.93rem; color: var(--muted); position: relative; transition: color 0.2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); transition: width 0.3s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.3s, opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s; font-family: var(--font); }
.btn-primary { background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--on-accent); box-shadow: 0 10px 30px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--glow); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--a1); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 500px at 78% 18%, var(--glow), transparent 60%), radial-gradient(700px 500px at 8% 85%, color-mix(in srgb, var(--a2) 22%, transparent), transparent 60%), linear-gradient(180deg, var(--bg), var(--bg2)); }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--a1); font-weight: 600; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--a3); box-shadow: 0 0 0 0 var(--a3); animation: ping 2s infinite; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 800; }
.gradient-text { background: linear-gradient(100deg, var(--a1), var(--a2), var(--a3), var(--a1)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.86rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--a3); }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; width: 24px; height: 40px; border: 2px solid var(--border); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--a1); transform: translateX(-50%); animation: cue 1.8s infinite; }

/* ---------- AI demo window ---------- */
.demo { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; position: relative; }
.demo::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--a1), transparent 40%, var(--a2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.7; }
.demo-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
.demo-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.demo-head .live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; animation: blink 1.2s infinite; }
.bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.bars b { width: 3px; background: var(--a1); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.bars b:nth-child(2) { animation-delay: 0.15s; } .bars b:nth-child(3) { animation-delay: 0.3s; } .bars b:nth-child(4) { animation-delay: 0.45s; } .bars b:nth-child(5) { animation-delay: 0.6s; }
.demo-body { padding: 20px 18px; min-height: 340px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; animation: pop 0.4s ease both; }
.msg.caller { align-self: flex-start; background: var(--surface-strong); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.ai { align-self: flex-end; background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--on-accent); border-bottom-right-radius: 4px; font-weight: 500; }
.msg small { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 3px; }
.sys { align-self: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.74rem; color: var(--a1); background: color-mix(in srgb, var(--a1) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--a1) 45%, transparent); padding: 5px 12px; border-radius: 999px; animation: pop 0.4s ease both; }
.sys.ok { color: var(--a3); background: color-mix(in srgb, var(--a3) 10%, transparent); border-color: color-mix(in srgb, var(--a3) 45%, transparent); }
.typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 12px 16px; background: var(--surface-strong); border-radius: 16px; border: 1px solid var(--border); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.demo-foot button { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 0.76rem; }
.demo-foot button:hover { border-color: var(--a1); }
.floaty { position: absolute; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; font-size: 0.78rem; box-shadow: var(--shadow); backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; }
.floaty b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--a1); }
.floaty.f1 { top: -22px; right: -14px; } .floaty.f2 { bottom: 40px; left: -34px; animation-delay: -3s; }
.hero-visual { position: relative; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg2); overflow: hidden; padding: 20px 0; }
.marquee-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.track { display: flex; gap: 60px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--muted); opacity: 0.7; white-space: nowrap; transition: color 0.3s, opacity 0.3s; }
.track span:hover { color: var(--a1); opacity: 1; }

/* ---------- sections ---------- */
section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--bg2); }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; overflow: hidden; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a1) 55%, var(--border)); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 22%, transparent), color-mix(in srgb, var(--a2) 22%, transparent)); border: 1px solid var(--border); color: var(--a1); transition: transform 0.4s; }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.icon svg { width: 26px; height: 26px; }
.tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.tag { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.tag.ai { color: var(--a3); border-color: color-mix(in srgb, var(--a3) 50%, transparent); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about-grid p { color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; }
.badge svg { width: 20px; height: 20px; color: var(--a1); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; background: linear-gradient(120deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* AI section */
.ai-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, var(--glow), transparent 60%), radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--a2) 20%, transparent), transparent 60%); pointer-events: none; }
.pipeline { margin-top: 64px; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.pipeline h3 { text-align: center; margin-bottom: 36px; font-size: 1.3rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 29px; height: 2px; background: var(--border); }
.steps::after { content: ""; position: absolute; left: 10%; top: 28px; height: 4px; width: 60px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--a1), var(--a2)); box-shadow: 0 0 14px var(--a1); animation: travel 5s linear infinite; }
.step { text-align: center; position: relative; z-index: 1; }
.step .dot { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--border); color: var(--muted); transition: all 0.4s; }
.step .dot svg { width: 24px; height: 24px; }
.step.active .dot { border-color: var(--a1); color: var(--a1); box-shadow: 0 0 0 8px color-mix(in srgb, var(--a1) 14%, transparent), 0 0 30px var(--glow); transform: scale(1.1); }
.step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* services */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab { padding: 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); cursor: pointer; font-weight: 600; font-size: 0.88rem; font-family: var(--font); transition: all 0.25s; }
.tab:hover { color: var(--text); border-color: var(--a1); }
.tab[aria-selected="true"] { background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--on-accent); border-color: transparent; box-shadow: 0 8px 24px var(--glow); }
.svc { transition: opacity 0.35s, transform 0.35s; }
.svc.hide { display: none; }
.svc h3 { font-size: 1.05rem; }

/* why */
.why .card { text-align: left; }
.why .num { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: color-mix(in srgb, var(--a1) 30%, transparent); line-height: 1; margin-bottom: 14px; }

/* solutions */
.sol ul { margin-top: 18px; display: grid; gap: 10px; }
.sol li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--muted); }
.sol li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); -webkit-mask: radial-gradient(circle 3px at 50% 50%, transparent 98%, #000); mask: radial-gradient(circle 3px at 50% 50%, transparent 98%, #000); }
.sol .size { display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a1); margin-bottom: 8px; font-weight: 700; }

/* cases */
.case .meta { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a1); margin-bottom: 12px; font-weight: 600; }
.case .kpis { display: flex; gap: 26px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.case .kpi b { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; background: linear-gradient(120deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case .kpi span { font-size: 0.78rem; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.info-list { display: grid; gap: 22px; margin: 28px 0; }
.info-list dt { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--a1); font-weight: 600; margin-bottom: 2px; }
.info-list dd { margin: 0; color: var(--text); }
.offices { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 360px; }
.office { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); font-size: 0.86rem; color: var(--muted); }
.office b { color: var(--text); display: block; margin-bottom: 4px; font-family: var(--font-head); }
form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a1) 18%, transparent); }
textarea { min-height: 120px; resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.84rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--a1); }
.hp { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--a3); min-height: 1.2em; }

/* cta + footer */
.cta { text-align: center; padding: 100px 0; background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 16%, var(--bg)), color-mix(in srgb, var(--a2) 18%, var(--bg))); border-block: 1px solid var(--border); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; translate: -50% -50%; background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1)); filter: blur(110px); opacity: 0.2; animation: spin 18s linear infinite; }
.cta .container { position: relative; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .hero-cta { justify-content: center; margin: 0; }
footer { padding: 70px 0 30px; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.foot-grid p { color: var(--muted); font-size: 0.9rem; max-width: 36ch; margin-top: 18px; }
.foot-grid h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid li a { color: var(--text); font-size: 0.93rem; opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.foot-grid li a:hover { color: var(--a1); opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 0.84rem; color: var(--muted); }
.maple { color: var(--a1); font-weight: 600; }

/* cookie */
.cookie { position: fixed; right: 18px; bottom: 18px; z-index: 115; max-width: 380px; background: var(--nav-bg); border: 1px solid var(--border); border-radius: 18px; padding: 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); font-size: 0.84rem; color: var(--muted); display: none; }
.cookie.show { display: block; animation: pop 0.4s ease; }
.cookie .row { display: flex; gap: 10px; margin-top: 12px; }
.cookie .btn { padding: 8px 16px; font-size: 0.82rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.left { transform: translateX(-34px); }
.js .reveal.right { transform: translateX(34px); }
.js .reveal.left.in, .js .reveal.right.in { transform: none; }

/* keyframes */
@keyframes shine { to { background-position: 300% 0; } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes cue { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes travel { 0% { left: 10%; } 100% { left: calc(90% - 60px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.35); } }

/* responsive */
@media (max-width: 1020px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .floaty { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 24px 24px 32px; gap: 20px; border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform 0.4s; }
  .nav-links.open { transform: none; }
}
@media (max-width: 640px) {
  section { padding: 76px 0; }
  .g2, .g3, .g4, form, .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .case .kpis { gap: 18px; }
  .cookie { left: 10px; right: 10px; bottom: 80px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* captcha */
.cap-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#cap-canvas { width: 170px; height: 56px; border-radius: 12px; border: 1px solid var(--border); background: #0b1730; user-select: none; -webkit-user-select: none; }
.cap-refresh { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--a1); cursor: pointer; display: grid; place-items: center; transition: transform 0.4s, border-color 0.2s; }
.cap-refresh:hover { border-color: var(--a1); transform: rotate(180deg); }
.cap-refresh svg { width: 20px; height: 20px; }
.cap-row input { flex: 1; min-width: 140px; width: auto; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 600; }
.cap-row input::placeholder { letter-spacing: normal; text-transform: none; font-weight: 400; }
.cap-help { font-size: 0.78rem; color: var(--muted); }
.cap-error input { border-color: #ff6b81; }

/* theme toggle */
.nav-tools { display: flex; align-items: center; gap: 6px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: transform 0.4s, border-color 0.2s, background 0.3s; }
.theme-toggle:hover { border-color: var(--a1); transform: rotate(20deg); }
.theme-toggle svg { width: 20px; height: 20px; }
[data-theme="signal"] .tg-sun { display: none; }
[data-theme="aurora"] .tg-moon { display: none; }
[data-theme="signal"] .nav.scrolled { box-shadow: 0 6px 24px rgba(20, 45, 100, 0.06); }
[data-theme="signal"] .hero::before { background: radial-gradient(900px 500px at 78% 18%, var(--glow), transparent 60%), radial-gradient(700px 500px at 8% 85%, color-mix(in srgb, var(--a2) 18%, transparent), transparent 60%), linear-gradient(180deg, #ffffff, var(--bg2)); }
[data-theme="signal"] .demo { background: #fff; }
[data-theme="signal"] .msg.caller { background: #eef3fc; }
