/* ============================================================================
   DataroxIT Web Platform — Shared Design System (base.css)
   ----------------------------------------------------------------------------
   ONE stylesheet powers every product marketing site. Each product ships a tiny
   theme file (see Webmaster/templates/theme.css) that overrides only the BRAND
   TOKENS block below. Do not hardcode colors in product pages — use tokens.

   Sections:
     1. Brand tokens (override per product)
     2. Structural tokens (rarely change)
     3. Reset & base elements
     4. Layout shell & header/nav
     5. Buttons
     6. Hero
     7. Cards, grids & sections
     8. Pricing & comparison table
     9. Forms & feedback
    10. Footer
    11. Utilities (reveal, back-to-top, badges)
    12. Responsive breakpoints
    13. Reduced motion
    14. Dark mode

   Owner: DataroxIT Consulting — Eduardo Almeida.  Stack: static HTML/CSS/JS.
   ========================================================================== */

/* ── 1. Brand tokens — OVERRIDE THESE PER PRODUCT ────────────────────────── */
:root {
  /* Accent: the product's primary brand color. --accent-rgb feeds rgba() so
     every tinted gradient and glow recolors from one place. */
  --accent: #2f6df0;
  --accent-deep: #1b3fae;
  --accent-rgb: 47, 109, 240;
  --accent-fade: rgba(47, 109, 240, 0.16);

  /* Page canvas */
  --bg: #eef2f9;
  --bg-strong: #dde6f4;
  --bg-top: #f7faff;
  --bg-bottom: #e4ecf8;

  /* Surfaces & text */
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #131722;
  --ink-soft: #515a6b;
  --line: rgba(20, 30, 50, 0.12);

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

/* ── 2. Structural tokens — shared geometry & elevation ──────────────────── */
:root {
  --shadow: 0 24px 70px rgba(20, 30, 50, 0.12);
  --shadow-hover: 0 32px 80px rgba(20, 30, 50, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

/* ── 3. Reset & base elements ────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@keyframes fade-in-page {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

body {
  animation: fade-in-page 380ms ease both;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(var(--accent-rgb), 0.12), transparent 20%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 45%, var(--bg-bottom) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 55, 85, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 55, 85, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { padding-bottom: 2rem; }

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 180ms ease;
}
.skip-to-content:focus { top: 1rem; }

/* ── 4. Layout shell, header & nav ───────────────────────────────────────── */
.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(20, 30, 50, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.site-nav,
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--ink-soft);
}
.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.section-link a:hover,
.section-link a:focus-visible { color: var(--ink); }

.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. Buttons ──────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 32px rgba(var(--accent-rgb), 0.28);
}
.button-primary:hover,
.button-primary:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 22px 40px rgba(var(--accent-rgb), 0.38);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: var(--surface);
}

/* ── 6. Hero ─────────────────────────────────────────────────────────────── */
.hero,
.page-hero {
  display: grid;
  align-items: center;
  gap: 3rem;
}
.hero-home { grid-template-columns: 1.15fr 0.95fr; padding: 6rem 0 4rem; }
.page-hero { grid-template-columns: 1.1fr 0.9fr; padding: 5rem 0 2rem; }

.eyebrow,
.mini-label,
.highlight-label,
.export-label,
.faq-question {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero h1,
.page-hero h1,
.section-heading h2,
.cta-band h2,
.faq-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.hero h1,
.page-hero h1 {
  margin-top: 0.9rem;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  max-width: 11ch;
}

.hero-text,
.page-summary,
.section-heading p,
.feature-card p,
.timeline-step p,
.showcase-panel p,
.price-card p,
.cta-band p,
.metrics span,
.comparison-card li,
.text-card p,
.faq-item p,
.list-card li,
.contact-option p,
.footer-copy,
.panel-inner p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.hero-text,
.page-summary {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero-badge,
.hero-note { max-width: 38rem; color: var(--ink-soft); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
}
.hero-note { margin: 1rem 0 0; font-size: 0.96rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-actions-center { justify-content: center; }

.hero-proof,
.integration-strip { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-proof {
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
  color: var(--ink-soft);
}
.hero-proof li,
.integration-pill {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.hero-card,
.page-panel { position: relative; }
.hero-card::before,
.page-panel::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 8%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(255, 255, 255, 0.45));
  filter: blur(18px);
  z-index: -1;
}

/* Device mockup frame */
.device-frame,
.page-panel-card {
  padding: 1rem;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.device-topbar { display: flex; gap: 0.4rem; padding: 0.4rem; }
.device-topbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(80, 90, 110, 0.22);
}
.reader-card,
.panel-inner {
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(var(--accent-rgb), 0.06));
}
.reader-card h2,
.panel-inner h2 {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
}
.reader-body { margin: 1rem 0 0; }

.highlight-card,
.export-card,
.mini-panel {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  background: rgba(var(--accent-rgb), 0.05);
}
.highlight-text { margin: 0.7rem 0 0; line-height: 1.6; }
.export-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.status-pill { animation: pulse-live 2.4s ease-in-out infinite; }
.tag-row span,
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-fade);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── 7. Cards, grids & sections ──────────────────────────────────────────── */
.metrics,
.feature-card,
.timeline-step,
.showcase-panel,
.price-card,
.cta-band,
.comparison-card,
.text-card,
.faq-item,
.list-card,
.contact-option,
.form-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metrics,
.feature-grid,
.pricing-grid,
.split-grid,
.comparison-grid,
.text-grid,
.faq-grid,
.contact-grid,
.card-grid,
.timeline { display: grid; gap: 1.2rem; }

.metrics {
  grid-template-columns: repeat(3, 1fr);
  padding: 1.4rem;
  border-radius: var(--radius-xl);
}
.metrics article { padding: 0.8rem 0.6rem; }
.metrics strong { display: block; font-size: 1.15rem; margin-bottom: 0.4rem; }

.signal-bar,
.manifesto-band {
  margin-top: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.signal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
}
.signal-bar p { margin: 0; font-weight: 800; }

.section-block { padding: 5rem 0 0; }
.section-heading,
.faq-heading { max-width: 46rem; margin-bottom: 2rem; }
.section-heading h2,
.cta-band h2,
.faq-heading h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-top: 0.8rem; }
.section-heading p:last-child,
.cta-band p,
.faq-heading p { margin-top: 1rem; }

.feature-grid,
.split-grid,
.text-grid,
.contact-grid,
.faq-grid,
.card-grid { grid-template-columns: repeat(2, 1fr); }
.comparison-grid,
.pricing-grid,
.card-grid.three-up,
.timeline { grid-template-columns: repeat(3, 1fr); }

.feature-card,
.timeline-step,
.showcase-panel,
.price-card,
.comparison-card,
.text-card,
.faq-item,
.list-card,
.contact-option,
.form-panel { padding: 1.6rem; border-radius: var(--radius-lg); }

.desire-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.desire-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), rgba(var(--accent-rgb), 0.05));
  box-shadow: var(--shadow);
}
.desire-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 70%);
}
.desire-card h3 { position: relative; margin: 0.8rem 0 0.7rem; font-size: 1.4rem; }
.desire-card p:last-child { position: relative; margin: 0; color: var(--ink-soft); line-height: 1.7; }

.feature-card h3,
.timeline-step h3,
.showcase-panel h3,
.price-card h3,
.comparison-card h3,
.text-card h3,
.faq-item h3,
.list-card h3,
.contact-option h3 { margin: 0.7rem 0 0.7rem; font-size: 1.3rem; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  background: var(--accent-fade);
  color: var(--accent-deep);
  font-size: 1.3rem;
}

.step-index { display: inline-flex; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 800; color: var(--accent); }

.showcase-panel.alt,
.featured-card,
.contact-option.featured,
.list-card.accent,
.price-card.featured {
  background: linear-gradient(180deg, var(--surface), rgba(var(--accent-rgb), 0.08));
}

.integration-pill { display: flex; flex-direction: column; gap: 0.25rem; min-width: 14rem; }

.section-link { margin-top: 1rem; font-weight: 700; }
.faq-item p,
.text-card p,
.contact-option p,
.footer-copy { margin: 0; }

.feature-card,
.text-card,
.timeline-step,
.showcase-panel,
.desire-card,
.faq-item,
.contact-option,
.price-card { transition: transform 200ms ease, box-shadow 200ms ease; }
.feature-card:hover,
.text-card:hover,
.timeline-step:hover,
.showcase-panel:hover,
.desire-card:hover,
.faq-item:hover,
.contact-option:hover,
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.cta-band { margin-top: 5rem; padding: 2rem; border-radius: 32px; text-align: center; }
.manifesto-band {
  margin-top: 5rem;
  padding: 2.4rem;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
}
.manifesto-band .eyebrow { color: rgba(255, 255, 255, 0.7); }
.manifesto-band h2 {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.manifesto-band p:last-child { max-width: 48rem; margin: 1rem 0 0; color: rgba(255, 255, 255, 0.88); line-height: 1.7; }

/* ── 8. Pricing & comparison table ───────────────────────────────────────── */
.price-card h3 { font-size: 2.2rem; }
.price-card h3 span { font-size: 1rem; color: var(--ink-soft); }
.price-card ul,
.clean-list,
.list-card ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0.9rem 0 1.4rem;
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var