@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600&display=swap');

/* ─────────────────────────────────────────────────────────────
   KamiBots Design System v4 — 2026
   Inspired by Linear.app: dark-mode-native, achromatic, indigo accent.
   See docs/DESIGN.md for the full spec.
   ───────────────────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Backgrounds (luminance-stacked) */
  --bg:         #08090a;  /* Marketing black — page canvas */
  --bg-2:       #0f1011;  /* Panel dark — sidebars/panels */
  --surface:    #191a1b;  /* Level 3 — elevated surfaces, cards */
  --surface-2:  #1f2021;  /* Secondary surface — hover states */
  --surface-3:  #28282c;  /* Lightest dark — slightly elevated */

  /* Semi-transparent white borders (Linear signature) */
  --border:     rgba(var(--on-surface-rgb), 0.05);  /* Subtle — default */
  --border-2:   rgba(var(--on-surface-rgb), 0.08);  /* Standard — cards/inputs */
  --border-3:   rgba(var(--on-surface-rgb), 0.12);  /* Stronger — hover */

  /* Text hierarchy (achromatic, cool cast) */
  --white:      #f7f8f8;  /* Primary — near-white, warm cast */
  --gray-1:     #d0d6e0;  /* Secondary — silver-gray body */
  --gray-2:     #8a8f98;  /* Tertiary — muted placeholders */
  --gray-3:     #62666d;  /* Quaternary — timestamps, disabled */
  --gray-4:     #3e3e44;  /* Deepest — borders/dividers solid */

  /* Brand accent — the only chromatic color */
  --accent:       #5e6ad2;  /* Brand indigo — CTA backgrounds */
  --accent-2:     #7170ff;  /* Accent violet — interactive */
  --accent-soft:  #828fff;  /* Hover — lighter violet */
  --accent-glow:  rgba(94, 106, 210, 0.35);
  --accent-dim:   rgba(94, 106, 210, 0.10);
  --accent-line:  rgba(113, 112, 255, 0.25);

  /* Typography — Inter Variable + Berkeley Mono fallback */
  --font: 'Inter Variable', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --mono: 'Berkeley Mono', ui-monospace, 'SF Mono', Menlo, 'JetBrains Mono', monospace;

  --max-w: 1440px;
  --pad:   clamp(20px, 4vw, 40px);
  --nav-pad: clamp(16px, 2vw, 32px);

  /* Border radius scale (Linear compressed) */
  --r-xs:  2px;   /* Inline badges, toolbar */
  --r-sm:  6px;   /* Buttons, inputs */
  --r-md:  8px;   /* Cards, dropdowns */
  --r-lg:  12px;  /* Panels, featured cards */
  --r-xl:  22px;  /* Large panel elements */

  /* Status colors */
  --warn:  #f59e0b;
  --mute:  #7170ff;
  --ban:   #f87171;
  --ok:    #27a644;
  --ok-2:  #10b981;
  --gold:  #fbbf24;
  --silver:#94a3b8;
  --bronze:#b45309;

  /* Legacy aliases — keep compatibility */
  --purple: var(--accent);
  --purple-2: var(--accent-2);
  --purple-light: var(--accent-soft);
  --purple-dim: var(--accent-dim);
  --black: var(--bg);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv01', 'ss03';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 510;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
  font-family: var(--mono);
}
.label::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ── Aurora Background ─────────────────────────────────── */
#ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#ambient-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 106, 210, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(113, 112, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(130, 143, 255, 0.06), transparent 60%);
}
#grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orb { display: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 510;
  border-radius: var(--r-sm);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow:
    0 1px 0 rgba(var(--on-surface-rgb),0.08) inset,
    0 1px 2px rgba(0,0,0,0.3),
    0 0 0 1px rgba(94,106,210,0.4);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(var(--on-surface-rgb),0.1) inset,
    0 8px 24px -8px var(--accent-glow),
    0 0 0 1px rgba(130,143,255,0.5);
}
.btn-primary:active { transform: none; }
.btn-primary::after {
  content: '→';
  font-size: 14px;
  transition: transform 180ms ease;
}
.btn-primary:hover::after { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--gray-1);
  font-size: 14px;
  font-weight: 510;
  border-radius: var(--r-sm);
  background: rgba(var(--on-surface-rgb),0.02);
  border: 1px solid var(--border-2);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn-ghost:hover { color: var(--white); border-color: var(--border-3); background: rgba(var(--on-surface-rgb),0.05); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 10, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 9, 10, 0.8);
}

.nav-container {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--nav-pad);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; width: auto; flex-shrink: 0; }
.nav-word {
  font-family: 'Manrope', var(--font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 510;
  color: var(--gray-1);
  border-radius: var(--r-sm);
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover { color: var(--white); background: rgba(var(--on-surface-rgb),0.04); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta-ghost {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 510;
  color: var(--gray-1);
  transition: color 150ms ease;
}
.nav-cta-ghost:hover { color: var(--white); }
.nav-divider { display: none; }
.nav-cta {
  padding: 7px 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 510;
  border-radius: var(--r-sm);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  box-shadow: 0 1px 0 rgba(var(--on-surface-rgb),0.08) inset, 0 0 0 1px rgba(94,106,210,0.4);
}
.nav-cta:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(var(--on-surface-rgb),0.1) inset, 0 6px 20px -6px var(--accent-glow); }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.hamburger span { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform 200ms ease; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--pad) 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--gray-1);
}
.mobile-nav a:hover { background: rgba(var(--on-surface-rgb),0.04); color: var(--white); }
.mobile-nav-cta { background: var(--surface-3); color: var(--white) !important; text-align: center; margin-top: 8px; font-weight: 500; }

@media (max-width: 880px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 96px);
  position: relative;
}

.announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(var(--on-surface-rgb),0.025);
  font-size: 12.5px;
  color: var(--gray-1);
  margin-bottom: 28px;
  transition: border-color 200ms ease, background 200ms ease;
}
.announce-pill:hover { border-color: var(--border-3); background: rgba(var(--on-surface-rgb),0.05); }
.announce-pill .pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.pill-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.4;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}
.announce-pill .arrow { color: var(--gray-3); transition: transform 200ms ease, color 200ms ease; }
.announce-pill:hover .arrow { transform: translateX(2px); color: var(--white); }

.hero h1 {
  font-size: clamp(40px, 7.2vw, 72px);
  line-height: 1.00;
  letter-spacing: -0.022em;
  font-weight: 510;
  max-width: 14ch;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #f7f8f8 0%, #d0d6e0 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-feature-settings: 'cv01', 'ss03';
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 510;
  display: inline-block;
  padding-right: 0.18em;
  margin-right: -0.05em;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-right { padding-bottom: 6px; }

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-2);
  line-height: 1.60;
  letter-spacing: -0.009em;
  margin-bottom: 28px;
  max-width: 38ch;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-2);
  padding-top: 20px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat strong {
  font-size: 22px;
  font-weight: 510;
  letter-spacing: -0.022em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hero-stat span {
  font-size: 12px;
  color: var(--gray-3);
  letter-spacing: 0.01em;
}

@media (max-width: 880px) {
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ── Mockup ─────────────────────────────────────────────── */
.mockup-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #14141a 0%, #0c0c10 100%);
  box-shadow:
    0 0 0 1px rgba(var(--on-surface-rgb),0.02) inset,
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 100px -20px var(--accent-glow);
  position: relative;
}
.mockup-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(var(--on-surface-rgb),0.12), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(var(--on-surface-rgb),0.02);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; border-color: #e0443e; }
.mockup-dots span:nth-child(2) { background: #febc2e; border-color: #d8a02b; }
.mockup-dots span:nth-child(3) { background: #28c840; border-color: #1aab2c; }
.mockup-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-3);
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.mockup-sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.sidebar-section {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-4);
  text-transform: uppercase;
  padding: 8px 8px 6px;
}
.sidebar-channel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-2);
  cursor: pointer;
  transition: background 120ms;
}
.sidebar-channel svg { color: var(--gray-3); }
.sidebar-channel:hover { background: rgba(var(--on-surface-rgb),0.04); color: var(--gray-1); }
.sidebar-channel.active { background: var(--accent-dim); color: var(--white); }

.mockup-chat {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg { display: flex; gap: 12px; }
.chat-avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.bot-avatar { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.user-avatar { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.chat-content { flex: 1; min-width: 0; }
.chat-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.chat-name { font-weight: 500; font-size: 14px; color: var(--white); }
.bot-name { color: var(--accent-soft); }
.chat-bot-tag {
  font-size: 9.5px; font-weight: 700;
  padding: 1px 5px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.chat-time { font-size: 11px; color: var(--gray-4); }
.chat-text { color: var(--gray-1); font-size: 14px; }

.chat-embed {
  display: flex;
  margin-top: 4px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(var(--on-surface-rgb),0.03);
  max-width: 440px;
}
.embed-bar { width: 4px; background: var(--accent); }
.embed-body { padding: 12px 14px; flex: 1; }
.embed-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.embed-desc { font-size: 13px; color: var(--gray-2); line-height: 1.5; }
.embed-desc strong { color: var(--white); font-weight: 600; }
.role-tag {
  display: inline-block;
  padding: 1px 6px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 12px; }
.rank-item { display: flex; flex-direction: column; gap: 2px; }
.rank-label { font-size: 11px; color: var(--gray-3); }
.rank-value { font-size: 18px; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }

.xp-bar-wrap {
  height: 6px;
  background: rgba(var(--on-surface-rgb),0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}
.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.xp-bar-label { font-size: 11px; color: var(--gray-3); margin-top: 6px; }

.chat-input {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray-3);
  background: rgba(0,0,0,0.3);
}

@media (max-width: 720px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
}

/* ── Logo Marquee ───────────────────────────────────────── */
.marquee-section {
  padding: 36px 0 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 11px;
  color: var(--gray-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  gap: 14px;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
  padding-bottom: 12px;
  will-change: transform;
}
.marquee-section:hover .marquee { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 7px)); }
}
.marquee-section::before, .marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.marquee span {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gray-1);
  white-space: nowrap;
}
.marquee span::before {
  content: '/';
  color: var(--accent-soft);
  margin-right: 2px;
}

/* ── Statement ──────────────────────────────────────────── */
.statement {
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
}
.statement-text {
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.13;
  letter-spacing: -0.022em;
  font-weight: 510;
  max-width: 22ch;
  margin: 0 auto;
  font-feature-settings: 'cv01', 'ss03';
}
.statement-white { color: var(--white); }
.statement-dim { color: var(--gray-3); }

/* Typing reveal — cada caractere em span, opacidade controlada via scroll */
.statement-char {
  opacity: 0;
  transition: opacity 80ms linear;
  will-change: opacity;
}
.statement-char.is-revealed { opacity: 1; }
.statement-cursor {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  vertical-align: -0.12em;
  margin-left: 0.04em;
  background: currentColor;
  animation: statement-cursor-blink 0.9s steps(2, start) infinite;
  opacity: 1;
}
.statement-cursor.is-hidden { display: none; }
@keyframes statement-cursor-blink {
  to { opacity: 0; }
}

/* ── Section Headers ───────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2,
.features h2,
.modules-header h2,
.embed-styles-header h2,
.process-header h2,
.pricing-header h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.00;
  letter-spacing: -0.022em;
  font-weight: 510;
  color: var(--white);
  margin-bottom: 16px;
  font-feature-settings: 'cv01', 'ss03';
}
.section-head p,
.modules-sub,
.embed-styles-sub,
.process-sub,
.pricing-sub {
  font-size: 17px;
  color: var(--gray-2);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.60;
  letter-spacing: -0.009em;
}

/* ── Features (Bento Grid) ─────────────────────────────── */
.features {
  padding: clamp(64px, 9vw, 120px) 0;
}

.features > .container > .label,
.features > .container > h2,
.features > .container > .feature-desc {
  text-align: center;
}
.features-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
}
.bento {
  position: relative;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color 240ms ease, transform 240ms ease;
}
.bento::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(120% 100% at 50% 0%, rgba(var(--on-surface-rgb),0.08), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.bento:hover { border-color: var(--border-3); }

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bento-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.bento h3 {
  font-size: 20px;
  line-height: 1.33;
  letter-spacing: -0.012em;
  font-weight: 590;
  color: var(--white);
}
.bento p { font-size: 15px; color: var(--gray-2); line-height: 1.6; letter-spacing: -0.009em; }

.bento-wide { grid-column: span 4; }
.bento-tall { grid-column: span 2; grid-row: span 2; }
.bento-half { grid-column: span 3; }
.bento-third { grid-column: span 2; }

@media (max-width: 920px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide, .bento-half, .bento-third, .bento-tall { grid-column: span 2; grid-row: auto; }
}

/* mini visuals dentro do bento */
.bento-visual { margin-top: auto; }

.log-stack { display: flex; flex-direction: column; gap: 6px; }
.log-row {
  display: grid;
  grid-template-columns: 56px auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px;
}
.log-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.log-badge.warn { background: rgba(245,158,11,0.15); color: var(--warn); }
.log-badge.mute { background: rgba(129,140,248,0.15); color: var(--mute); }
.log-badge.ban  { background: rgba(248,113,113,0.15); color: var(--ban); }
.log-badge.ok   { background: rgba(52,211,153,0.15); color: var(--ok); }
.log-user { font-family: var(--mono); font-size: 12px; color: var(--white); }
.log-detail { font-size: 12px; color: var(--gray-3); justify-self: end; text-align: right; }

.lb-stack { display: flex; flex-direction: column; gap: 6px; }
.lb-row {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px;
}
.lb-row.lb-you { background: var(--accent-dim); border-color: var(--accent-line); }
.lb-pos { font-size: 12px; font-weight: 600; color: var(--gray-3); font-variant-numeric: tabular-nums; }
.lb-pos.gold { color: var(--gold); }
.lb-pos.silver { color: var(--silver); }
.lb-pos.bronze { color: var(--bronze); }
.lb-name { font-size: 13px; color: var(--white); font-family: var(--mono); }
.lb-xp { font-size: 12px; color: var(--gray-2); font-variant-numeric: tabular-nums; }
.lb-lvl { font-size: 11px; color: var(--gray-3); padding: 1px 6px; border: 1px solid var(--border-2); border-radius: 4px; }

.ticket-stack { display: flex; flex-direction: column; gap: 6px; }
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ticket-info { display: flex; flex-direction: column; gap: 2px; }
.ticket-id { font-family: var(--mono); font-size: 11.5px; color: var(--gray-3); }
.ticket-user { font-size: 12.5px; color: var(--white); }
.ticket-badge { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; letter-spacing: 0.02em; }
.t-open { background: rgba(52,211,153,0.12); color: var(--ok); }
.t-progress { background: var(--accent-dim); color: var(--accent-soft); }
.t-wait { background: rgba(245,158,11,0.12); color: var(--warn); }

.bento-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bento-stat-value {
  font-size: 56px;
  font-weight: 510;
  letter-spacing: -0.022em;
  line-height: 1;
  background: linear-gradient(180deg, var(--white), var(--gray-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'cv01', 'ss03';
}
.bento-stat-label { font-size: 13px; color: var(--gray-3); }

/* ── Embed Styles (single window + tab toggle) ───────── */
.embed-styles { padding: clamp(64px, 9vw, 120px) 0; }
.embed-styles-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.embed-styles-sub { font-size: 15px; color: var(--gray-2); line-height: 1.6; margin-top: 14px; }

.embed-demo {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.embed-tabs {
  display: inline-flex;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}
.embed-tab-btn {
  padding: 8px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-2);
  border-radius: 7px;
  transition: background 150ms, color 150ms;
}
.embed-tab-btn.is-active { background: var(--accent); color: #fff; }

.embed-win {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #313338;
  display: grid;
  grid-template-columns: 180px 1fr;
}
@media (max-width: 640px) { .embed-win { grid-template-columns: 1fr; } }

.edw-sidebar { background: #2b2d31; padding: 16px 8px; }
.edw-channel-label {
  display: block;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #96989d;
  margin-bottom: 6px;
}
.edw-channel {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 4px;
  color: #96989d;
  font-size: 12.5px;
  cursor: default;
  transition: background 120ms, color 120ms;
}
.edw-channel:hover { background: rgba(var(--on-surface-rgb),0.06); color: #dbdee1; }
.edw-channel.is-active { background: rgba(var(--on-surface-rgb),0.1); color: #dbdee1; }
@media (max-width: 640px) { .edw-sidebar { display: none; } }

.edw-chat { padding: 18px 20px; }
.edw-panel { display: none; flex-direction: column; gap: 14px; }
.edw-panel.is-active { display: flex; }

.embed-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--on-surface-rgb),0.07);
}
.embed-feats li {
  position: relative;
  padding-left: 14px;
  font-size: 11.5px;
  color: #96989d;
  line-height: 1.5;
}
.embed-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.dm-msg { display: flex; gap: 10px; }
.dm-avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.dm-content { flex: 1; min-width: 0; }
.dm-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.dm-name { font-size: 13.5px; font-weight: 500; color: var(--accent-soft); }
.dm-tag { font-size: 9px; font-weight: 700; padding: 1px 4px; background: var(--accent); color: #fff; border-radius: 3px; }
.dm-time { font-size: 10.5px; color: var(--gray-4); }

.dm-embed {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(var(--on-surface-rgb),0.03);
  margin-top: 4px;
}
.dm-embed-pill { width: 4px; background: var(--accent); }
.dm-embed-body { padding: 12px 14px; flex: 1; min-width: 0; }
.dm-embed-img { width: 100%; max-height: 80px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.dm-embed-img--v2 { max-height: 100px; }
.dm-embed-title { font-size: 13.5px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.dm-embed-desc { font-size: 12.5px; color: var(--gray-2); line-height: 1.5; margin-bottom: 8px; }
.dm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.dm-field { display: flex; flex-direction: column; gap: 1px; }
.dm-field-name { font-size: 11px; font-weight: 600; color: var(--white); }
.dm-field-val { font-size: 12px; color: var(--gray-2); }
.dm-embed-footer { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-3); margin-top: 6px; }
.dm-footer-img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }

.dm-btns { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.dm-btn {
  padding: 6px 12px;
  background: var(--surface-3);
  color: var(--gray-1);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.dm-btn--primary { background: var(--accent); color: #fff; border-color: transparent; }

.dm-container--v2 {
  background: rgba(var(--on-surface-rgb),0.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-top: 4px;
}
.dm-container--v2.is-active { display: block; }
.dm-container--v2[hidden] { display: none; }
.dm-separator { height: 1px; background: var(--border); margin: 10px 0; }
.dm-btns--in { margin-top: 0; }
.dm-embed-footer--in { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }

.evar-anno {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--gray-3);
  font-family: var(--mono);
  margin-top: 8px;
}
.evar-anno-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.evar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.evar-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--gray-1);
  line-height: 1.5;
}
.evar-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

/* ── Modules ────────────────────────────────────────────── */
.modules-section { padding: clamp(64px, 9vw, 120px) 0; }
.modules-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.modules-shell {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-2);
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.modules-list {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.modules-list::-webkit-scrollbar { display: none; }

.module-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 0;
  font-size: 14px;
  color: var(--gray-2);
  text-align: center;
  white-space: nowrap;
  min-width: max-content;
  border-bottom: 2px solid transparent;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.module-name:hover { background: rgba(var(--on-surface-rgb),0.03); color: var(--white); }
.module-name.is-active {
  color: var(--white);
  border-bottom-color: var(--accent);
}
.module-name-label { font-weight: 500; }
.module-name-badge {
  font-size: 9.5px;
  padding: 2px 6px;
  background: rgba(52,211,153,0.15);
  color: var(--ok);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modules-display {
  position: relative;
  padding: 32px;
  min-height: 460px;
  overflow: hidden;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.module-panel {
  position: absolute;
  inset: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 240ms, transform 240ms;
}
.module-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  inset: auto;
}
.module-panel-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  filter: blur(40px);
}

.module-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.module-panel h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.13;
  letter-spacing: -0.022em;
  font-weight: 590;
  color: var(--white);
  max-width: 26ch;
  font-feature-settings: 'cv01', 'ss03';
}
.module-panel-desc {
  font-size: 14.5px;
  color: var(--gray-2);
  line-height: 1.6;
  max-width: 64ch;
}

.module-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}
@media (max-width: 720px) { .module-detail-grid { grid-template-columns: 1fr; } }

.module-detail {
  padding: 16px;
  background: rgba(var(--on-surface-rgb),0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.module-detail strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.005em;
}
.module-detail p { font-size: 13px; color: var(--gray-2); line-height: 1.55; }

.module-command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.module-command-list span {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-1);
  cursor: help;
  transition: border-color 150ms, color 150ms;
}
.module-command-list span:hover { border-color: var(--accent); color: var(--white); }

.module-panel-note {
  font-size: 13px;
  color: var(--gray-3);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}
.module-panel-note code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 5px;
  background: rgba(var(--on-surface-rgb),0.05);
  border-radius: 4px;
  color: var(--accent-soft);
}

#cmd-tip {
  position: fixed;
  z-index: 1000;
  background: var(--surface-3);
  border: 1px solid var(--border-3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--gray-1);
  line-height: 1.4;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms, transform 150ms;
  pointer-events: none;
}
#cmd-tip.is-visible { opacity: 1; transform: none; }
#cmd-tip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: var(--tip-arrow, 50%);
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--surface-3);
  border-right: 1px solid var(--border-3);
  border-bottom: 1px solid var(--border-3);
}

/* ── Free Bots ─────────────────────────────────────────── */
.free-bots-section { padding: clamp(64px, 9vw, 120px) 0; background: transparent; }
.free-bots-section h2 {
  font-size: clamp(28px, 4.2vw, 48px) !important;
  letter-spacing: -0.022em !important;
  font-weight: 510 !important;
  font-feature-settings: 'cv01', 'ss03';
}

.free-bots-section article {
  background: linear-gradient(180deg, var(--surface), var(--surface-2)) !important;
  border-color: var(--border-2) !important;
  border-radius: var(--r-lg) !important;
  transition: border-color 240ms, transform 240ms;
}
.free-bots-section article:hover { border-color: var(--border-3) !important; transform: translateY(-2px); }
.free-bots-section a[href="#"], .free-bots-section a[href*="docs"] {
  border-radius: 8px !important;
  font-size: 13px !important;
  transition: opacity 150ms, transform 150ms;
}
.free-bots-section a[style*="background:var(--purple)"] { background: var(--accent) !important; color: #ffffff !important; }

/* ── Process ────────────────────────────────────────────── */
.process { padding: clamp(64px, 9vw, 120px) 0; }
.process-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 880px) { .process-list { grid-template-columns: 1fr; } }
.process-list li {
  padding: 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 200ms;
}
.process-list li:hover { background: rgba(var(--on-surface-rgb),0.02); }
.process-list li:last-child { border-right: none; }
@media (max-width: 880px) {
  .process-list li { border-right: none; border-bottom: 1px solid var(--border); }
  .process-list li:last-child { border-bottom: none; }
}
.process-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
}
.process-list li h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}
.process-list li p { font-size: 13.5px; color: var(--gray-2); line-height: 1.55; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing { padding: clamp(64px, 9vw, 120px) 0; }
.pricing-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.checkout-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.checkout-card--base::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, var(--accent-glow), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.checkout-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.checkout-head { display: flex; flex-direction: column; gap: 8px; position: relative; }
.checkout-head h3 {
  font-size: 24px;
  font-weight: 590;
  letter-spacing: -0.012em;
  color: var(--white);
}
.checkout-head p { font-size: 14px; color: var(--gray-2); line-height: 1.55; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  position: relative;
}
.price-curr { font-size: 18px; color: var(--gray-2); font-weight: 500; }
.price-num {
  font-size: 64px;
  font-weight: 510;
  letter-spacing: -0.022em;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'cv01', 'ss03';
}
.price-per { font-size: 14px; color: var(--gray-3); margin-left: 4px; }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  position: relative;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-1);
}
.plan-features li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%23828fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.plan-btn {
  margin-top: auto;
  padding: 11px 22px;
  text-align: center;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 510;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
  position: relative;
  box-shadow: 0 1px 0 rgba(var(--on-surface-rgb),0.08) inset, 0 0 0 1px rgba(94,106,210,0.4);
}
.plan-btn:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(var(--on-surface-rgb),0.1) inset, 0 10px 30px -10px var(--accent-glow); }

.checkout-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checkout-formula {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
.checkout-formula-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.checkout-formula h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--mono);
  font-feature-settings: 'ss01';
}
.checkout-formula p { font-size: 13.5px; color: var(--gray-2); line-height: 1.6; }

.addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) { .addon-grid { grid-template-columns: 1fr; } }
.addon-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 200ms, background 200ms;
}
.addon-card:hover { border-color: var(--accent-line); background: var(--surface-2); }
.addon-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.addon-card p { font-size: 12.5px; color: var(--gray-2); line-height: 1.5; }
.addon-card span {
  font-size: 11px;
  color: var(--gray-3);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.addon-card--muted { opacity: 0.65; }

.pricing-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-3);
  margin-top: 32px;
}

/* ── CTA ────────────────────────────────────────────────── */
.cta { padding: clamp(64px, 9vw, 120px) 0; }
.cta-inner {
  position: relative;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 32px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.00;
  letter-spacing: -0.022em;
  font-weight: 510;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  font-feature-settings: 'cv01', 'ss03';
}
.cta-inner p { font-size: 16px; color: var(--gray-2); margin-bottom: 28px; position: relative; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding-top: 64px; margin-top: 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-col a:has(.footer-logo-img) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img { height: 28px; width: auto; }
.footer-word {
  font-family: 'Manrope', var(--font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}
.footer-tagline { font-size: 13px; color: var(--gray-3); max-width: 28ch; }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.18);
  border-radius: 999px;
  font-size: 11.5px;
  color: #6ee7b7;
  align-self: flex-start;
  margin-top: 6px;
}
.footer-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 540px) { .footer-nav { grid-template-columns: repeat(2, 1fr); } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--gray-3);
  transition: color 150ms;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-left { display: flex; gap: 18px; }
.footer-bottom-left a { font-size: 12px; color: var(--gray-3); }
.footer-bottom-left a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: var(--gray-3); }

/* ── Trial section ──────────────────────────────────────── */
.trial-section { padding: clamp(64px, 9vw, 120px) 0; }
.trial-inner {
  position: relative;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.trial-inner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 420px;
  background: radial-gradient(ellipse, rgba(94, 106, 210, 0.18), transparent 65%);
  pointer-events: none;
}
.trial-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
  position: relative;
}
.trial-heading {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 590;
  letter-spacing: -0.022em;
  line-height: 1.00;
  margin-bottom: 16px;
  position: relative;
  font-feature-settings: 'cv01', 'ss03';
}
.trial-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gray-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
  position: relative;
}
.trial-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 36px;
  position: relative;
}
.trial-module-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: border-color 200ms, background 200ms;
}
.trial-module-card:hover {
  border-color: var(--accent-line);
  background: var(--bg-2);
}
.trial-module-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px;
}
.trial-module-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.trial-module-card span {
  font-size: 12px;
  color: var(--gray-3);
  line-height: 1.4;
}
.trial-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 36px;
  position: relative;
}
.trial-rule {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gray-2);
}
.trial-rule svg { color: var(--ok); flex-shrink: 0; }
.trial-cta {
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
}
.trial-legal {
  font-size: 12px;
  color: var(--gray-4);
  position: relative;
}
.trial-legal a { color: var(--gray-3); text-decoration: underline; }
.trial-legal a:hover { color: var(--white); }
@media (max-width: 760px) {
  .trial-modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trial-modules { grid-template-columns: 1fr 1fr; }
  .trial-rules { flex-direction: column; align-items: flex-start; padding: 0 8px; }
}

/* ── Reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .pill-dot::after, .footer-status::before { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Reviews ─────────────────────────────────────────── */
.reviews-section { padding: 100px 0 80px; overflow: hidden; }

.reviews-header { text-align: center; margin-bottom: 52px; }
.reviews-sub {
  color: var(--gray-2);
  font-size: 1rem;
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-rows { display: flex; flex-direction: column; gap: 14px; }

.reviews-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms;
}
.review-card:hover { border-color: var(--border-3); }

.review-top { display: flex; align-items: center; gap: 12px; }

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-3);
}

.review-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.review-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars { color: var(--accent); font-size: 0.78rem; letter-spacing: 2px; }

.review-comment {
  color: var(--gray-2);
  font-size: 0.84rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Free bots consent checkboxes ───────────────────────── */
.free-bot-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.free-bot-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 1.5px solid var(--border-3);
  background: transparent;
  position: relative;
  transition: background 150ms ease, border-color 150ms ease;
}
.free-bot-consent input[type="checkbox"]:hover {
  border-color: var(--purple, #7170ff);
}
.free-bot-consent input[type="checkbox"]:checked {
  background: var(--purple, #7170ff);
  border-color: var(--purple, #7170ff);
}
.free-bot-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'><path d='M3 8.5l3.5 3.5L13 5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px 10px no-repeat;
}
.free-bot-consent span {
  color: var(--gray-2);
  font-size: 12px;
  line-height: 1.55;
}
.free-bot-consent span a {
  color: var(--purple-light, #a78bfa);
  text-decoration: none;
}
.free-bot-consent span a:hover { text-decoration: underline; }

.freebot-add {
  flex: 1;
  background: var(--purple);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 150ms;
}
.freebot-add--disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ── Section divider with logo ───────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(16px, 4vw, 48px);
  pointer-events: none;
}
.section-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--_dir, right), transparent 0%, rgba(var(--on-surface-rgb),0.12) 40%, rgba(var(--on-surface-rgb),0.12) 60%, transparent 100%);
}
.section-divider span:first-child { --_dir: right; }
.section-divider span:last-child  { --_dir: left; }
.section-divider img {
  height: 26px;
  width: auto;
  aspect-ratio: 413 / 512;
  /* New logo (v1) is black-on-transparent. Default theme is dark, so invert to white. */
  filter: invert(1);
  opacity: 0.28;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .section-divider { padding: 0 40px; }
}

/* ─────────────────────────────────────────────────────────────
   Kami Wallet — Horizontal smoky fade: site bg → pure black on the right
   ───────────────────────────────────────────────────────────── */
.wallet-section {
  position: relative;
  /* Padding keeps the dark gradient compact around the wallet content.
     Margin pushes the SECTION (and therefore the surrounding dividers
     in the page flow) further away — without growing the black area. */
  padding: clamp(80px, 9vw, 130px) 0;
  margin: clamp(70px, 7vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  /* Smooth left-to-right fade from the page bg into a smoky pure-black
     on the right side where the wallet sits. No hard edges, no blob. */
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    var(--bg) 30%,
    #050506 60%,
    #020203 80%,
    #000 95%,
    #000 100%
  );
}

.wallet-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* ── Left column: text ─────────────────────────────────── */
.wallet-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
}

.wallet-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(94, 106, 210, 0.10);
  border: 1px solid rgba(94, 106, 210, 0.28);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.wallet-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 10px rgba(113, 112, 255, 0.8);
  animation: wallet-pulse 1.6s ease-in-out infinite;
}

@keyframes wallet-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.5); }
}

.wallet-title {
  font-family: var(--font);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0;
}

.wallet-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 60%, #b6bfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.wallet-desc {
  color: var(--gray-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0;
}

.wallet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.wallet-pill {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-1);
  background: rgba(var(--on-surface-rgb), 0.04);
  border: 1px solid var(--border-2);
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 200ms, border-color 200ms, color 200ms, transform 200ms;
}

.wallet-pill:hover {
  background: var(--accent-dim);
  border-color: var(--accent-line);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.wallet-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 16px 18px;
  background: rgba(var(--on-surface-rgb), 0.03);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  max-width: 360px;
}

.wallet-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--mono);
}

.wallet-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
  flex-shrink: 0;
}

.wallet-meta-dot--soft {
  background: var(--gray-3);
  box-shadow: none;
}

.wallet-meta-label {
  color: var(--gray-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  min-width: 64px;
}

.wallet-meta-value {
  color: var(--gray-1);
  font-weight: 500;
}

/* ── Right column: wallet video + mascot leaning over the top ─── */
.wallet-stage {
  position: relative;
  width: 100%;
  /* Smaller video — the mascot needs to be the focal point on top of it. */
  max-width: 340px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The mascot anchor point is shared between padding-top (where the video
     starts) and the mascot's `top` (so its belly aligns there). */
  --mascot-anchor: clamp(140px, 22%, 200px);
  padding-top: var(--mascot-anchor);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wallet-stage:hover {
  transform: translateY(-4px);
}

.wallet-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  background: transparent;
  /* screen makes pure-black source pixels blend invisibly with the section
     bg, killing any faint rectangle that would show on close inspection. */
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.08);
  /* Loose radial feather just on the bottom + side corners — the wallet
     stays fully visible at every rotation angle, the rectangle dissolves. */
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 78%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 55%, #000 78%, transparent 100%);
  position: relative;
  z-index: 1;
}

/* Mascot draped over the top of the video — belly aligned with the top
   edge of the video, hands overlap into the wallet area. The wallet
   rotation rises from below and disappears behind the mascot. */
.wallet-mascot {
  position: absolute;
  left: 50%;
  /* `top` matches the stage's --mascot-anchor (= where the video starts),
     and translateY(-65%) lifts the mascot so the belly sits ON the line
     and the hands hang down below, overlapping the video. */
  top: var(--mascot-anchor);
  /* ↓ MEXA AQUI PRA SUBIR/DESCER O MASCOTE ↓
     Segundo valor do translate é a altura do mascote. Quanto MAIOR o
     número negativo, MAIS ALTO ele sobe. Atual: -75%. Tente -80%, -85%,
     -90%, etc. até gostar. Também aceita pixels: translate(-50%, -180px). */
  transform: translate(-50%, -78%);
  /* Original natural size — proportional to the wallet, not oversized. */
  width: clamp(180px, 60%, 260px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  /* Heavy downward drop-shadow so the mascot visibly casts shadow onto
     the video below it — gives real depth, not a flat overlay. */
  filter:
    drop-shadow(0 18px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.45));
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* On mobile the layout stacks vertically — smoky fade goes from the page
     bg at the top down into pure black at the bottom around the wallet. */
  .wallet-section {
    padding: clamp(60px, 10vw, 100px) 0;
    margin: clamp(50px, 9vw, 80px) 0;
    background: linear-gradient(
      180deg,
      var(--bg) 0%,
      var(--bg) 35%,
      #050506 65%,
      #020203 85%,
      #000 100%
    );
  }
  .wallet-container {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
  }
  .wallet-content {
    max-width: none;
  }
  .wallet-stage {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .wallet-section { padding: 70px 0 80px; }
  .wallet-title { font-size: clamp(40px, 11vw, 60px); }
  .wallet-stage { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-badge-dot { animation: none !important; }
  .wallet-stage:hover { transform: none; }
}

/* ── Dashboard showcase (web ecosystem) ─────────────────── */
.dashboard-showcase {
  /* Tighter vertical rhythm — same scale as other sections so the
     screenshots don't feel marooned in dead space. */
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

.dashboard-intro {
  text-align: center;
  max-width: 720px;
  /* Bring the screenshots up closer to the header. */
  margin: 0 auto clamp(36px, 4vw, 56px);
}

.dashboard-intro h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin: 12px 0 18px;
}

.dashboard-sub {
  color: var(--gray-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.dashboard-row:last-child {
  margin-bottom: 0;
}

.dashboard-row--reverse {
  grid-template-columns: 1.15fr 1fr;
}

.dashboard-row-text h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin: 14px 0 16px;
}

.dashboard-row-text > p {
  color: var(--gray-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 0 24px;
}

.dashboard-row-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 5px 12px;
  border-radius: 999px;
}

.dashboard-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-feats li {
  position: relative;
  padding-left: 26px;
  color: var(--gray-1);
  font-size: 14px;
  line-height: 1.55;
}

.dashboard-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
}

.dashboard-feats li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 6px var(--accent-glow);
}

.dashboard-row-img {
  margin: 0;
  display: block;
  position: relative;
  /* Don't clip — let the image bleed past the column edge into the
     gap and beyond. The section's overflow:hidden clips at the
     viewport edge so we still avoid horizontal scrollbars. */
  overflow: visible;
}

.dashboard-row-img img {
  width: 100%;
  height: auto;
  display: block;
  /* The screenshots already ship a 3D-tilted browser frame, so we just
     need a heavy drop-shadow + faint accent glow to anchor them. */
  filter:
    drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55))
    drop-shadow(0 14px 24px rgba(94, 106, 210, 0.16));
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.dashboard-row-img:hover img {
  transform: translateY(-6px);
}

/* ── Bleed off viewport edge (desktop) ──────────────────────
   The screenshot mockups already have a 3D tilt baked in. To get
   the "floating off the page" feel from the design comp, we blow
   the image up past 100% of its column and let it overflow:
     - row 1 (image-right) → bleed off the right viewport edge
     - row 2 reversed (image-left) → bleed off the left viewport edge
   The section's overflow:hidden clips at the viewport boundary so
   the page doesn't scroll horizontally. */
@media (min-width: 901px) {
  .dashboard-row-img img {
    width: 175%;
    max-width: none;
  }
  /* Reversed row: image is in the LEFT column, so we push it the
     other way (negative margin-left) for symmetric left-edge bleed. */
  .dashboard-row--reverse > .dashboard-row-img img {
    margin-left: -75%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .dashboard-row,
  .dashboard-row--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Image always on top on mobile, regardless of row direction. */
  .dashboard-row .dashboard-row-img,
  .dashboard-row--reverse .dashboard-row-img {
    order: -1;
    /* Escape the container padding so the image fills the full
       viewport width — the screenshot mockups have a dramatic 3D
       tilt that needs space to breathe. */
    margin-inline: calc(var(--pad) * -1);
  }
  /* Reset desktop bleed rules so nothing leaks onto mobile, then
     fit the image to the (now-wider) figure exactly. */
  .dashboard-row-img img,
  .dashboard-row > .dashboard-row-img img,
  .dashboard-row--reverse > .dashboard-row-img img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .dashboard-showcase {
    padding: 70px 0 80px;
  }
  .dashboard-row,
  .dashboard-row--reverse {
    margin-bottom: 56px;
  }
  .dashboard-row-text > p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-row-img:hover img { transform: none; }
}
