/* =========================================================
   Artora Academy OS — Landing page
   Plain CSS, no frameworks. Light theme using the Artora Academy OS product tokens
   (admin/src/styles/abstracts/_tokens.scss): white surfaces, ink text, one green accent.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f8;          /* surface-subtle */
  --surface: #ffffff;
  --surface-2: #f7f7f8;
  --border: #e3e3e6;
  --border-2: #d0d0d5;
  --text: #0d0d0d;          /* ink-950 */
  --ink-700: #40414f;
  --muted: #6e6e80;         /* ink-500 */
  --dim: #9b9ba6;           /* ink-300 */

  /* Product accent (primary-500/600/700) + semantic colours.
     Legacy names kept so no markup had to change. */
  --violet: #10a37f;        /* primary-600 */
  --pink: #0d8a6a;          /* primary-700 */
  --cyan: #19b98f;          /* primary-500 */
  --teal: #0d8a6a;          /* success-600 */
  --amber: #b7791f;         /* warning-600 */
  --accent-100: #dcf1ea;

  --grad: linear-gradient(120deg, #0d8a6a, #10a37f 55%, #19b98f);
  --grad-cool: linear-gradient(120deg, #19b98f, #10a37f);

  --radius: 12px;
  --radius-sm: 8px;
  --brand: #10a37f;         /* Artora green (solid, used instead of gradient text) */
  --brand-ink: #0d8a6a;     /* darker green for text on white (AA contrast) */
  --shadow: 0 24px 60px -24px rgba(13, 13, 13, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }

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

/* ---------- Animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.12;
  animation: drift 22s ease-in-out infinite alternate;
}
.b1 { width: 560px; height: 560px; background: var(--violet); top: -160px; left: -120px; }
.b2 { width: 480px; height: 480px; background: var(--pink); top: 30%; right: -160px; animation-delay: -6s; opacity: 0.08; }
.b3 { width: 520px; height: 520px; background: var(--cyan); bottom: -220px; left: 30%; animation-delay: -12s; opacity: 0.08; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-60px, 100px) scale(0.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,13,13,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,13,13,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Line icons (sprite in index.html, #i-<name>) ---------- */
.ico {
  width: 20px; height: 20px; display: block; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 22px -12px rgba(13, 138, 106, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-ink); box-shadow: 0 14px 30px -14px rgba(13, 138, 106, 0.7); }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { border-color: var(--border-2); background: var(--surface); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--dim); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--pink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255,255,255,0.5); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand b { color: var(--brand-ink); font-weight: 600; margin-left: 2px; }
.logo { width: 34px; height: 34px; display: grid; place-items: center; flex: none; }
.logo img { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-links .nav-console { display: none; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.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); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-inner > *, .about > *, .security > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); font-size: 0.85rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(16, 163, 127,0.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 163, 127,0.7); } 80%,100% { box-shadow: 0 0 0 10px rgba(16, 163, 127,0); } }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); margin: 20px 0 18px; font-weight: 700; }
.rotator { display: inline; }
.rotator-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; vertical-align: -0.08em; width: 3px; height: 0.9em; background: var(--pink); margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.92rem; }
.hero-points li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 8px; }

/* Mockup */
.hero-visual { position: relative; perspective: 1200px; }
.mock {
  position: relative; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 0 1px rgba(16, 163, 127,0.12) inset;
  overflow: hidden; transform: rotateY(-8deg) rotateX(6deg); transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-bar > span:nth-child(2) { background: #febc2e; }
.mock-bar > span:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 12px; flex: 1; font-size: 0.72rem; color: var(--dim); background: var(--surface); padding: 4px 10px; border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 52px 1fr; min-height: 330px; }
.mock-side { background: var(--bg-2); border-right: 1px solid var(--border); padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; }
.mock-side i { display: block; height: 26px; border-radius: 8px; background: var(--border); }
.mock-side i.on { background: var(--grad-cool); }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; font-size: 0.66rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi b { font-size: 0.95rem; }
.kpi em { position: absolute; right: 10px; top: 10px; font-style: normal; font-size: 0.7rem; }
.kpi .up { color: var(--teal); } .kpi .ok { color: var(--cyan); }
.mock-chart { display: grid; grid-template-columns: 1fr 110px; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--grad-cool);
  transform-origin: bottom; animation: grow 1.4s var(--ease) both;
}
.bars span:nth-child(even) { background: linear-gradient(180deg, var(--pink), var(--violet)); }
.bars span:nth-child(1) { animation-delay: .1s } .bars span:nth-child(2) { animation-delay: .18s }
.bars span:nth-child(3) { animation-delay: .26s } .bars span:nth-child(4) { animation-delay: .34s }
.bars span:nth-child(5) { animation-delay: .42s } .bars span:nth-child(6) { animation-delay: .5s }
.bars span:nth-child(7) { animation-delay: .58s } .bars span:nth-child(8) { animation-delay: .66s }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.donut {
  width: 100px; height: 100px; border-radius: 50%; align-self: center; justify-self: center;
  background: conic-gradient(var(--teal) 0 58%, var(--amber) 58% 80%, var(--pink) 80% 100%);
  display: grid; place-items: center; animation: spin-in 1.6s var(--ease) both;
}
.donut div { width: 62%; height: 62%; border-radius: 50%; background: #fff; }
@keyframes spin-in { from { transform: rotate(-180deg) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.row span { flex: 1; height: 8px; border-radius: 4px; background: #ececf1; }
.av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.a1 { background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.a2 { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.a3 { background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.tag { font-style: normal; font-size: 0.66rem; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.tag.g { background: rgba(16, 163, 127,0.15); color: var(--teal); }
.tag.y { background: rgba(183, 121, 31,0.15); color: var(--amber); }
.tag.p { background: #e2ebfd; color: #2563eb; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); font-size: 0.82rem; animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 0.85rem; }
.float small { color: var(--muted); font-size: 0.72rem; }
.float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(16, 163, 127,0.18); color: var(--teal); font-weight: 800; }
.float .ic.bell { background: rgba(183, 121, 31,0.16); color: var(--amber); }
.float .ic .ico { width: 16px; height: 16px; }
.f1 { left: -28px; top: 18%; }
.f2 { right: -18px; bottom: 10%; animation-delay: -2s; }
.f3 { right: -36px; top: -30px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone {
  flex-direction: column; align-items: stretch; width: 150px; padding: 18px 10px 12px; gap: 7px;
  border-radius: 26px; border: 2px solid var(--border-2); background: #fff;
}
.phone-notch { position: absolute; top: 6px; left: 50%; width: 46px; height: 6px; border-radius: 4px; background: var(--border-2); transform: translateX(-50%); }
.phone-card { background: var(--surface-2); border-radius: 10px; padding: 7px 9px; }
.phone-card b { font-size: 0.76rem; }
.phone-card small { font-size: 0.66rem; }

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 36px 0 12px; }
.marquee-title { text-align: center; color: var(--dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span {
  padding: 10px 22px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border);
  color: var(--ink-700); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 48px 0 20px; }
.stat {
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  text-align: center;
}
.stat b { display: block; font-size: 2.5rem; font-weight: 700; color: var(--brand-ink); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2, .security-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin: 12px 0 14px; }
.section-head p, .security-copy > p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-ink);
}
.grad { color: var(--brand-ink); }

/* About */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin: 12px 0 18px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.about-copy strong { color: var(--text); }
.about-copy .btn { margin-top: 8px; }
.about-products { display: grid; gap: 14px; }
.product {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
a.product:hover { transform: translateX(6px); border-color: rgba(16, 163, 127,0.5); background: rgba(16, 163, 127,0.08); }
.product > div { flex: 1; }
.product b { display: block; }
.product small { color: var(--muted); }
.p-ic { width: 46px; height: 46px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-100); color: var(--brand-ink); }
.p-ic .ico { width: 22px; height: 22px; }
.p-go { color: var(--violet); font-size: 1.3rem; transition: transform 0.3s var(--ease); }
a.product:hover .p-go { transform: translateX(4px); }

/* Vision / Mission / Values */
.vm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.vm-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.vm-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.vm-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.vm-card:hover::after { transform: scaleX(1); }
.vm-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-100); color: var(--brand-ink); }
.vm-ic .ico { width: 22px; height: 22px; }
.vm-card h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.vm-card p { color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: svc; }
.service {
  position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(25, 185, 143,0.4); box-shadow: 0 24px 50px -24px rgba(25, 185, 143,0.4); }
.s-n { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1; color: var(--brand-ink); padding: 6px 10px; border-radius: 6px; background: var(--accent-100); }
.service h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.service p { color: var(--muted); font-size: 0.95rem; }

.footer-tag { width: 100%; color: var(--dim); font-size: 0.88rem; order: 3; }
.copy { order: 4; }

/* Feature filters + cards */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font: inherit; font-size: 0.9rem; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: all 0.25s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.active { background: var(--text); color: #fff; border-color: transparent; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.35s, opacity 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(16, 163, 127,0.18), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 24px 50px -24px rgba(16, 163, 127,0.5); }
.card:hover::before { opacity: 1; }
.card.hide { display: none; }
.card h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-ic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; color: var(--brand-ink); transition: transform 0.4s var(--ease); }
.card-ic .ico { width: 24px; height: 24px; }
.card:hover .card-ic { transform: rotate(-8deg) scale(1.1); }
/* One consistent icon tile colour (corporate); class names kept for the markup. */
.card-ic.c1, .card-ic.c2, .card-ic.c3, .card-ic.c4, .card-ic.c5, .card-ic.c6,
.card-ic.c7, .card-ic.c8, .card-ic.c9, .card-ic.c10, .card-ic.c11, .card-ic.c12 { background: var(--accent-100); }

/* Roles */
.roles { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.role-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.role-tabs::-webkit-scrollbar { display: none; }
.role-tab {
  flex: 1; font: inherit; font-weight: 600; font-size: 0.93rem; color: var(--muted); white-space: nowrap;
  padding: 12px 16px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.role-tab .ico { width: 18px; height: 18px; flex: none; }
.role-tab:hover { color: var(--text); background: var(--surface-2); }
.role-tab.active { color: #fff; background: var(--brand); box-shadow: 0 8px 20px -12px rgba(16, 163, 127,0.8); }
.role-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; padding: 36px 28px 28px; align-items: center; }
.role-panel.swap .role-text, .role-panel.swap .role-art { animation: fade-up 0.5s var(--ease) both; }
.role-panel.swap .role-art { animation-delay: 0.08s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.role-where { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--accent-100); color: var(--pink); }
.role-text h3 { font-size: 1.7rem; margin: 14px 0 10px; }
.role-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 800; color: #fff; background: var(--teal); margin-top: 2px;
}
.role-art { display: grid; gap: 10px; }
.role-art .ra {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); animation: fade-up 0.5s var(--ease) both;
}
.role-art .ra .ico { width: 38px; height: 38px; flex: none; padding: 9px; border-radius: 10px; background: var(--accent-100); color: var(--brand-ink); }
.role-art .ra b { display: block; font-size: 0.95rem; }
.role-art .ra small { color: var(--muted); font-size: 0.8rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: var(--border-2);
}
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.step-n {
  width: 48px; height: 48px; margin: -52px auto 18px; display: grid; place-items: center; border-radius: 50%;
  font-weight: 700; font-size: 1.1rem; background: var(--brand); color: #fff; box-shadow: 0 0 0 8px var(--bg);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Security */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.shield-wrap { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: auto; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(16, 163, 127,0.35); animation: rotate 30s linear infinite; }
.r1 { inset: 6%; } .r2 { inset: 20%; animation-direction: reverse; animation-duration: 22s; border-color: rgba(25, 185, 143,0.35); } .r3 { inset: 34%; border-style: solid; border-color: rgba(13, 138, 106,0.25); }
@keyframes rotate { to { transform: rotate(360deg); } }
.shield {
  width: 30%; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center;
  background: var(--grad-cool); box-shadow: 0 0 80px rgba(16, 163, 127,0.6); animation: pulse 3s ease-in-out infinite;
}
.shield svg { width: 56%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 120px rgba(16, 163, 127,0.8); } }
.orbit {
  position: absolute; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: #fff; border: 1px solid var(--border-2); box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite;
}
.o1 { top: 8%; left: 18%; color: var(--violet); }
.o2 { top: 44%; right: 0; color: var(--pink); animation-delay: -1.6s; }
.o3 { bottom: 8%; left: 10%; color: var(--amber); animation-delay: -3.2s; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.25s, background 0.25s; }
.faq details[open] { border-color: rgba(16, 163, 127,0.45); background: rgba(16, 163, 127,0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); animation: fade-up 0.35s var(--ease); }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 28px; border-radius: 16px;
  background: linear-gradient(120deg, #072c23, #0a4d3d 55%, #0d6e56); box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; color: #fff; max-width: 720px; margin: 0 auto 14px; position: relative; }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; position: relative; }
.cta .hero-actions { position: relative; }
.cta-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%; top: -250px; left: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%); animation: drift 14s ease-in-out infinite alternate;
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; cursor: pointer; }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--dim); font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.footer-brand .footer-tag { margin-top: 14px; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.footer-col a { color: var(--muted); font-size: 0.92rem; cursor: pointer; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer:has(.footer-grid) { padding: 56px 0 28px; background: var(--bg-2); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 10px; border: 0;
  background: var(--brand); color: #fff; font-size: 1.2rem; cursor: pointer; z-index: 40;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.3s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(13, 138, 106,0.7);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .security, .about { grid-template-columns: 1fr; }
  .vm, .services { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.4s var(--ease); z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; }
  .role-panel { grid-template-columns: 1fr; padding: 24px 12px 12px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { display: none; }
  .nav-links .nav-console { display: block; color: var(--text); font-weight: 600; }
  .vm, .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 10px; }
  .stat b { font-size: 2rem; }
  .f1 { left: -6px; top: auto; bottom: -26px; }
  .f2 { display: none; }
  .f3 { right: -6px; top: -44px; transform: scale(0.85); }
  .mock-chart { grid-template-columns: 1fr; }
  .donut { display: none; }
  .mock-kpis .kpi b { font-size: 0.8rem; }
  .btn-lg { width: 100%; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
