/* ==========================================================================
   OPERARIUS / SINISTRIA — Design System v2.0
   AWWWARDS-quality dark-mode institutional site
   ==========================================================================
   Structure:
   1. Custom Properties (Design Tokens)
   2. Reset / Base
   3. Typography
   4. Layout (Container, Grid, Flex)
   5. Components (Buttons, Cards, Badges, Timeline, Form)
   6. Sections (Header → Footer)
   7. Utilities
   8. Responsive Media Queries
   9. Reduced Motion
   10. Scrollbar
   ========================================================================== */


/* ==========================================================================
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
  /* ---- Backgrounds ---- */
  --bg-primary: #0d1117;
  --bg-paper: #14203a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-elevated: #1a2332;
  --bg-hover: #1e293b;
  --bg-surface: rgba(255, 255, 255, 0.02);

  /* ---- Brand — Gold ---- */
  --gold-primary: #C9A84C;
  --gold-light: #E8C547;
  --gold-dark: #8B6914;
  --gold-gradient: linear-gradient(135deg, #C9A84C, #D4AF37, #E8C547);
  --gold-glow: 0 0 24px rgba(201, 168, 76, 0.3);
  --gold-glow-lg: 0 0 40px rgba(201, 168, 76, 0.25), 0 0 80px rgba(201, 168, 76, 0.1);

  /* ---- Text ---- */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-disabled: #64748B;
  --text-muted: #64748B;

  /* ---- Status ---- */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-critical: #ef4444;
  --status-info: #3b82f6;

  /* ---- Borders ---- */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 168, 76, 0.35);

  /* ---- Glass ---- */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px) saturate(160%);
  --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ---- Mesh Gradient ---- */
  --mesh-gradient:
    radial-gradient(ellipse at 10% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(20, 184, 166, 0.08) 0%, transparent 45%),
    #0d1117;

  /* ---- Module Colors ---- */
  --m1-color: #C9A84C;
  --m1-gradient: linear-gradient(135deg, #C9A84C, #D4AF37, #8B6914);

  --m2-color: #3b82f6;
  --m2-gradient: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);

  --m3-color: #10b981;
  --m3-gradient: linear-gradient(135deg, #10b981, #059669, #047857);

  --m4-color: #06b6d4;
  --m4-gradient: linear-gradient(135deg, #06b6d4, #0891b2, #0e7490);

  --m5-color: #f97316;
  --m5-gradient: linear-gradient(135deg, #f97316, #ea580c, #c2410c);

  --m6-color: #ef4444;
  --m6-gradient: linear-gradient(135deg, #ef4444, #dc2626, #991b1b);

  --m7-color: #8b5cf6;
  --m7-gradient: linear-gradient(135deg, #8b5cf6, #6366f1, #4f46e5);

  /* ---- Easing ---- */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ---- Typography ---- */
  --font-primary: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-logo: "Orbitron", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Fluid type scale */
  --text-hero: clamp(2.4rem, 5vw + 0.5rem, 4.5rem);
  --text-section: clamp(1.8rem, 3.5vw + 0.5rem, 3.2rem);
  --text-card: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  --text-body: 1.0625rem;
  --text-caption: 0.875rem;
  --text-small: 0.8125rem;

  /* ---- Spacing ---- */
  --section-padding: clamp(64px, 10vw, 128px);
  --container-max: 1280px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);

  /* ---- Radii ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.18);

  /* ---- Transitions ---- */
  --transition-fast: 200ms var(--ease-smooth);
  --transition-base: 300ms var(--ease-smooth);
  --transition-slow: 500ms var(--ease-out-expo);
  --transition-premium: 400ms var(--ease-out-expo);

  /* ---- Z-index layers ---- */
  --z-behind: -1;
  --z-base: 1;
  --z-float: 100;
  --z-overlay: 900;
  --z-mobile-menu: 999;
  --z-header: 1000;
  --z-modal: 1100;
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  text-wrap: pretty;
  max-width: 72ch;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

fieldset {
  border: none;
}

/* Remove default focus — custom focus ring below */
:focus {
  outline: none;
}

/* Accessible focus ring — gold for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Selection */
::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: var(--text-primary);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.h1, h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h2, h2 {
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.h3, h3 {
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h4, h4 {
  font-size: clamp(1.1rem, 1.5vw + 0.4rem, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-body {
  font-size: var(--text-body);
  line-height: 1.7;
}

.text-caption {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.5;
}

.text-overline {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

/* Section header block */
.section-header {
  text-align: left;
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-header .text-overline {
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 65ch;
}

/* Section title — standalone h2 */
.section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

/* Section subtitle — p below title */
.section-subtitle {
  text-align: left;
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 4rem;
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: 960px;
}

.container--wide {
  max-width: 1440px;
}

section {
  padding-block: var(--section-padding);
  position: relative;
}

/* Alternating section backgrounds */
section:nth-of-type(even) {
  background-color: var(--bg-paper);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid--auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

/* Flex utilities */
.flex { display: flex; }
.flex--center { display: flex; align-items: center; justify-content: center; }
.flex--between { display: flex; align-items: center; justify-content: space-between; }
.flex--col { display: flex; flex-direction: column; }
.flex--gap-sm { gap: 0.75rem; }
.flex--gap-md { gap: 1.5rem; }
.flex--gap-lg { gap: 2.5rem; }


/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition:
    transform 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth),
    background 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth),
    color 200ms var(--ease-smooth);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  min-width: 48px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0d1117;
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  box-shadow:
    var(--shadow-gold),
    0 8px 40px rgba(201, 168, 76, 0.3);
}

.btn-primary:active {
  box-shadow: var(--shadow-gold);
}

/* Shimmer sweep on primary button */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 65%);
  transform: translateX(-100%);
  transition: transform 700ms var(--ease-out-expo);
  z-index: -1;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.12);
}

.btn-outline:active {
  background: transparent;
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}

.btn--whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-small);
  min-height: 40px;
}

.btn--lg,
.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  min-height: 56px;
}

.btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}


/* ---------- CARDS (Base Glassmorphism) ---------- */

.card,
.problem__card,
.pillar-card,
.module-card,
.feature-card,
.value-card,
.segment-card,
.contact-card,
.mission-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}

/* Card Transitions */
.problem__card,
.feature-card,
.value-card,
.segment-card,
.contact-card {
  transition:
    transform 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth);
}

.pillar-card,
.module-card,
.mission-card {
  transition:
    box-shadow 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth);
}

/* Gradient border via pseudo-element */
.card::before,
.problem__card::before,
.pillar-card::before,
.feature-card::before,
.value-card::before,
.segment-card::before,
.contact-card::before,
.mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 300ms var(--ease-smooth);
  z-index: -1;
}

/* Inner glow for depth */
.card::after,
.problem__card::after,
.pillar-card::after,
.feature-card::after,
.value-card::after,
.segment-card::after,
.contact-card::after,
.mission-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.card:hover,
.problem__card:hover,
.pillar-card:hover,
.feature-card:hover,
.value-card:hover,
.segment-card:hover,
.contact-card:hover,
.mission-card:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card:hover,
.problem__card:hover,
.feature-card:hover,
.value-card:hover,
.segment-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
}

.card:hover::before,
.problem__card:hover::before,
.pillar-card:hover::before,
.feature-card:hover::before,
.value-card:hover::before,
.segment-card:hover::before,
.contact-card:hover::before,
.mission-card:hover::before {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.4), rgba(201, 168, 76, 0.05));
}

/* Card icon container */
.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  position: relative;
  transition: box-shadow 300ms var(--ease-smooth);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5px;
  fill: none;
}

.card__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.5), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card:hover .card__icon {
  box-shadow: var(--gold-glow);
}

.card__title {
  font-family: var(--font-primary);
  font-size: var(--text-card);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card__text {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ---------- BADGES ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  height: 22px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Active badge — Sinistria spec */
.badge--active {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}

.badge--active::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
}

/* Coming soon / adjusting badge */
.badge-adjusting,
.badge-soon {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-adjusting::before,
.badge-soon::before {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

/* Dev badge */
.badge--soon {
  background: rgba(59, 130, 246, 0.15);
  color: var(--status-info);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge--soon::before {
  background: var(--status-info);
  box-shadow: 0 0 6px var(--status-info);
}


/* ---------- TIMELINE ---------- */

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent,
    var(--border-gold),
    var(--gold-primary),
    var(--border-gold),
    transparent);
}

.timeline__line {
  position: absolute;
  left: 0.75rem;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 1px;
  transform-origin: top;
  transform: scaleY(0);
}

.timeline__item {
  position: relative;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -2.3rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--gold-primary);
  z-index: 1;
  transition:
    box-shadow 300ms var(--ease-smooth),
    background 300ms var(--ease-smooth);
}

.timeline__item.is-active .timeline__dot {
  background: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.timeline__content {
  padding-left: 0.5rem;
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline__content h4 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 0.5rem;
}

.timeline__content p {
  color: var(--text-secondary);
  font-size: var(--text-caption);
  max-width: 50ch;
}


/* ---------- FORM ---------- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-textarea {
  padding: 0.875rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--text-body);
  transition:
    border-color 200ms var(--ease-smooth),
    box-shadow 200ms var(--ease-smooth),
    background 200ms var(--ease-smooth);
  min-height: 48px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-disabled);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Progressive form validation */
.form-input:user-valid {
  border-color: var(--status-success);
}

.form-input:user-invalid {
  border-color: var(--status-critical);
}


/* ==========================================================================
   6. SECTIONS
   ========================================================================== */

/* ---------- 6.0 SKIP LINK ---------- */

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: calc(var(--z-header) + 10);
  background: var(--gold-gradient);
  color: #0d1117;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-caption);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}


/* ---------- 6.1 HEADER / NAV ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding-block: 1rem;
  transition:
    background 400ms var(--ease-out-expo),
    padding 200ms var(--ease-smooth),
    box-shadow 200ms var(--ease-smooth),
    backdrop-filter 400ms var(--ease-out-expo);
}

/* Scrolled state — glassmorphism solid */
.header--scrolled {
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding-block: 0.625rem;
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Logo — Orbitron gold gradient */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: calc(var(--z-header) + 1);
}

.header__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header__logo-text {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-link {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms var(--ease-smooth);
  padding: 0.5rem 0;
  position: relative;
}

/* Underline animation */
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-smooth);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* "Entrar" button — outlined gold */
.header__login {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  transition: all 250ms var(--ease-smooth);
  letter-spacing: 0.02em;
}

.header__login:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.15);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: calc(var(--z-header) + 2);
  border: none;
  background: none;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 300ms var(--ease-smooth),
    opacity 200ms ease;
  transform-origin: center;
  will-change: transform;
}

/* Hamburger open state */
body.nav-open .header__hamburger .header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .header__hamburger .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

body.nav-open .header__hamburger .header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — full-height glassmorphism panel */
@media (max-width: 768px) {
  body.nav-open .header__nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-menu);
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  body.nav-open .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  body.nav-open .header__nav-link {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
  }

  body.nav-open .header__nav-link:hover {
    color: var(--gold-primary);
  }

  body.nav-open .header__cta {
    display: none;
  }

  body.nav-open .header__login {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  /* Hide logo text on mobile to prevent overlap */
  .header__logo-text {
    display: none;
  }

  /* Hide login button on mobile (available in nav overlay) */
  .header__actions {
    display: none;
  }
}

/* Tablet (769px–1100px): tighten nav, reduce logo text */
@media (max-width: 1100px) and (min-width: 901px) {
  .header__nav-list {
    gap: 1rem;
  }

  .header__nav-link {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .header__logo-text {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .header__login {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
    white-space: nowrap;
  }
}

/* iPhone landscape + small tablet (≤900px): hide logo text only */
@media (max-width: 900px) {
  .header__logo-text {
    display: none;
  }
}


/* ---------- 6.2 HERO ---------- */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
  background: var(--mesh-gradient);
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(201, 168, 76, 0.08) 0%,
    rgba(201, 168, 76, 0.03) 40%,
    transparent 70%);
  top: 15%;
  right: -200px;
  pointer-events: none;
  z-index: 0;
}

/* Cyber grid pattern */
.hero__cyber-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 75%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 50ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__ctas .btn {
  justify-content: center;
  text-align: center;
  width: 320px;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Hero gradient bottom overlay */
.hero__gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 17, 23, 0) 0%,
    rgba(13, 17, 23, 0.6) 100%);
  pointer-events: none;
  z-index: 0;
}


/* ---- Hero Visual Showcase ---- */

.hero__visual {
  position: relative;
  will-change: transform;
  overflow: visible;
}

.hero__mockup-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(201, 168, 76, 0.1) 0%,
    transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero__mockups-wrapper {
  position: relative;
  width: 100%;
  perspective: 1000px;
  overflow: visible;
}

.hero__browser-window {
  position: relative;
  width: 140%; /* wider than column — scale(0.68) brings visual to ~95% */
  min-width: 0;
  height: auto;
  min-height: auto;
  background: #111827;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: top left;
  transform: rotateY(-8deg) rotateX(4deg) scale(0.68);
  margin-bottom: -30%;
  z-index: 1;
}

.hero__browser-frame {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #151b28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__browser-dots {
  display: flex;
  gap: 6px;
}

.hero__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__browser-dots span:nth-child(1) { background: #ef4444; }
.hero__browser-dots span:nth-child(2) { background: #f59e0b; }
.hero__browser-dots span:nth-child(3) { background: #22c55e; }

.hero__browser-url {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: 6px;
}

.sinistria-web {
  display: flex;
  flex: 1;
  width: 100%;
  background: #0f1423;
}

.hero__mobile-frame {
  position: absolute;
  left: 65%;
  top: 10%;
  width: 200px;
  height: 400px;
  background: #243351;
  border-radius: 32px;
  border: 6px solid #1a2840; /* solid dark border — no bleed-through */
  outline: 1.5px solid rgba(201, 168, 76, 0.5); /* gold ring outside the border */
  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.12),
    -20px 20px 50px rgba(0,0,0,0.7),
    -8px 0 30px rgba(201, 168, 76, 0.15),
    0 0 20px rgba(201, 168, 76, 0.08);
  transform-origin: center bottom;
  transform: rotateY(-12deg) rotateX(4deg) translateZ(40px);
  z-index: 2;
  overflow: hidden;
}

.hero__mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #1f2937;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.hero__mobile-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #1a1d24;
}

.mob-modules-grid::-webkit-scrollbar {
  display: none;
}
.mob-modules-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sinistria-mobile-ui {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: #1a1d24;
  color: #fff;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  padding: 0;
}

.hero__mockup-img {
  width: 100%;
  display: block;
}

.hero__mobile-img {
  position: absolute;
  top: -4.5%;
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SINISTRIA REAL UI REPLICAS (PIXEL PERFECT TO DESIGN)
   ========================================================================== */

/* ==========================================================================
   SINISTRIA REAL UI REPLICAS (PIXEL PERFECT TO DESIGN)
   ========================================================================== */

/* --- Web Dashboard Layout Replica (SLA Dashboard) --- */
.sinistria-web {
  display: flex;
  height: 100%;
  background: #0f131a; /* Very dark background */
  color: #fff;
  font-family: 'Inter', var(--font-primary);
  padding: 1.5rem;
  overflow: hidden;
}

.sinistria-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sinistria-header-small {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.sinistria-panel {
  background: #1a1e2b;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.sinistria-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sinistria-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.sinistria-panel-taxa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.taxa-bar {
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.taxa-fill {
  height: 100%;
  background: #10b981;
}

.taxa-value {
  color: #10b981;
  font-weight: 600;
}

.sinistria-cards-row {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}

.sinistria-kpi-card {
  flex: 1;
  background: #252a3a;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.kpi-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kpi-color) 0%, transparent 80%);
  opacity: 0.8;
}

.kpi-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kpi-color);
  background: radial-gradient(circle at center, color-mix(in srgb, var(--kpi-color) 25%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--kpi-color) 30%, transparent);
  margin-bottom: 0.75rem;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.kpi-label {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --- Mobile UI Replica — scale-to-fit approach ---
   Virtual canvas: 390×810 scaled to frame inner (184×384)
   Scale factor: 184/390 ≈ 0.472
   Visual height: 810 × 0.472 = 382px → fits in 384px frame ✓
*/

.mob-header {
  margin-bottom: 2rem;
}

.mob-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.mob-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.mob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.mob-stat {
  background: #1e2128;
  border: 1px solid color-mix(in srgb, var(--stat-color) 40%, rgba(255,255,255,0.05));
  border-radius: 12px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mob-stat svg {
  color: var(--stat-color);
  width: 22px;
  height: 22px;
  margin-bottom: 0.25rem;
}

.mob-stat-val {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--stat-color);
  line-height: 1;
}

.mob-stat-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.2;
}

.mob-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.mob-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mob-action-btn {
  background: #1e2128;
  border: 1px solid color-mix(in srgb, var(--btn-color) 40%, rgba(255,255,255,0.05));
  border-radius: 12px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mob-action-btn svg {
  width: 28px;
  height: 28px;
}
.hero__stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  box-shadow: var(--glass-shadow);
  grid-column: 1 / -1;
  width: 100%;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2rem;
  position: relative;
}

.hero__stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border-gold);
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}


/* ---- SlateStatCard (Sinistria Replica) ---- */

.stat-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  overflow: hidden;
  transition:
    transform 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth);
  will-change: transform;
}

/* Top accent bar (3px gradient) */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gold-gradient));
}

/* Glow blob */
.stat-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(201, 168, 76, 0.08)), transparent 70%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.stat-card__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--card-accent, var(--gold-gradient));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-card__icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.stat-card__value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card__title {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-disabled);
}


/* ==========================================================================
   TRUST BANNER (Infinite Marquee)
   ========================================================================== */

.trust-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-paper);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trust-banner__title {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-disabled);
  text-transform: uppercase;
}

.trust-banner__track-wrapper {
  width: 100%;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-banner__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.trust-banner__item {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  opacity: 0.5;
  transition: opacity 300ms var(--ease-smooth);
}

.trust-banner__item:hover {
  opacity: 0.8;
}

.trust-banner__dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ---------- 6.3 O PROBLEMA / COMPARISON ---------- */

.problem {
  background: var(--bg-paper);
}

.comparison__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.comparison__side {
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 300ms var(--ease-smooth);
}

.comparison__side:hover {
  transform: translateY(-2px);
}

.comparison__side--sem {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.comparison__side--com {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.comparison__label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.comparison__label--sem {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.comparison__label--com {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.comparison__img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.comparison__side--com .comparison__img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 30px rgba(16, 185, 129, 0.08);
}

.comparison__caption {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: none;
}

/* Legacy problem grid support */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.problem__column-title {
  font-family: var(--font-primary);
  font-size: var(--text-card);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.problem__column-title--old { color: var(--status-critical); }
.problem__column-title--new { color: var(--status-success); }

.problem__card {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problem__card:last-child { margin-bottom: 0; }

.problem__card-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.problem__card--old {
  box-shadow: inset 0 0 40px rgba(239, 68, 68, 0.05);
}

.problem__card--old:hover::before {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.4), rgba(239, 68, 68, 0.05));
}

.problem__card--new {
  box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.05);
}

.problem__card--new:hover::before {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.4), rgba(16, 185, 129, 0.05));
}

.problem__icon { margin-right: 0.5rem; }

/* VS Divider */
.problem__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.75rem;
}

.problem__divider-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border-gold), transparent);
}

.problem__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 2px solid var(--border-gold);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
}

/* Impact callout */
.problem__impact {
  text-align: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

.problem__impact-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.problem__impact-text {
  color: var(--text-secondary);
  font-size: var(--text-body);
  max-width: 50ch;
  margin-inline: auto;
}


/* ---------- 6.4 PLATAFORMA SINISTRIA ---------- */

.platform__hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  .platform__hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  
  .platform__mockup-window {
    transform: rotateY(0) rotateX(0) translateZ(0);
    max-width: 800px;
    margin-inline: auto;
  }
}

.platform__hero-info {
  display: flex;
  flex-direction: column;
}

.platform__hero-visual {
  position: relative;
  perspective: 1200px;
}

.platform__mockup-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.15) 0%, transparent 65%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.platform__mockup-window {
  position: relative;
  width: 100%;
  background: #111827;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 30px 60px -12px rgba(0, 0, 0, 0.6), 
    0 0 0 1px rgba(255, 255, 255, 0.05),
    -20px 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: center right;
  transform: rotateY(-12deg) rotateX(4deg) translateZ(0);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.platform__mockup-window:hover {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.02) translateZ(0);
}

.platform__mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.platform__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.platform__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.platform__name {
  font-family: var(--font-primary);
  font-size: var(--text-section);
  font-weight: 800;
}

.platform__fullname {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.platform__modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.pmod-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color 250ms var(--ease-smooth), box-shadow 250ms var(--ease-smooth);
}

.pmod-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.pmod-card__num {
  font-family: var(--font-logo);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pmod-card__body {
  flex: 1;
  min-width: 0;
}

.pmod-card__title {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.pmod-card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Pillar cards — 2x2 grid */
.platform__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}
.why-card:hover {
  border-color: var(--gold-primary);
}
.why-card h4 {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .platform__pillars, .why-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  text-align: left;
}

.pillar-card__icon {
  margin-bottom: 1.5rem;
  display: block;
  color: var(--gold-primary);
}

.pillar-card__title {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.15rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pillar-card__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillar-card:hover {
  transform: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.12), var(--glass-shadow);
}

/* Platform Screenshot Showcase */
.platform__showcase {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.platform__showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

.platform__screenshot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(201, 168, 76, 0.04);
  transition: transform 400ms var(--ease-smooth), box-shadow 400ms var(--ease-smooth);
}

.platform__screenshot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(201, 168, 76, 0.08);
}

.platform__screenshot-frame {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #151b28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform__screenshot img {
  width: 100%;
  display: block;
}

.platform__screenshot-caption {
  padding: 12px 16px;
  background: rgba(13, 17, 23, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .platform__showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Platform screenshot */
.platform__mockup {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(201, 168, 76, 0.05);
}

.platform__mockup img {
  width: 100%;
  max-width: 100%;
  display: block;
  margin-inline: auto;
}

.platform__mockup::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  pointer-events: none;
}


/* ---------- 6.5 MODULE CARDS (Sinistria Exact Replica) ---------- */

.modules__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}

/* Each module card spans 2 columns in the 8-col grid (= 4 cards per row) */
.modules__grid .module-card {
  grid-column: span 2;
}

/* Center the 2nd row (cards 5-7): offset the 5th card to start at column 2 */
.modules__grid .module-card:nth-child(5) {
  grid-column: 2 / span 2;
}

/* Second row centering: last 3 cards in a row of 4 → auto center */
/* We use auto-fill with min to handle 7+1=8 cards, 4 cols, 2 rows */

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(var(--module-color-rgb, 255, 255, 255), 0.03);
  border: 1px solid rgba(var(--module-color-rgb, 255, 255, 255), 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}

a.module-card {
  cursor: pointer;
}

a.module-card:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 24px rgba(var(--module-color-rgb, 255, 255, 255), 0.15),
    0 0 0 1px rgba(var(--module-color-rgb, 255, 255, 255), 0.3);
  border-color: rgba(var(--module-color-rgb, 255, 255, 255), 0.55);
}

a.module-card:active {
  box-shadow: 0 0 12px rgba(var(--module-color-rgb, 255, 255, 255), 0.1);
}

.module-card:not(.module-card--locked) {
  background: rgba(var(--module-color-rgb, 255, 255, 255), 0.06);
  border-color: rgba(var(--module-color-rgb, 255, 255, 255), 0.35);
}

.module-card__gradient-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(var(--module-color-rgb, 255, 255, 255), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.module-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.module-card__badge {
  /* Inherits from .badge--active / .badge--soon */
}

/* Icon box — 60x60, gradient bg */
.module-card__icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--module-icon-gradient, var(--gold-gradient));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--module-color-rgb, 255, 255, 255), 0.35);
  flex-shrink: 0;
}

.module-card__icon-box svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

/* If the card is locked, remove icon box shadow */
.module-card--locked .module-card__icon-box {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
}
.module-card--locked .module-card__icon-box svg {
  fill: #4b5563;
}

/* Fix badge sizing with SVG icon inside module card */
.module-card .badge svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Hide the legacy glowing dot on active badges since we have the checkmark SVG */
.module-card .badge--active::before {
  display: none;
}

.module-card__body-head {
  display: flex;
  flex-direction: column;
}

.module-card__tag {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--module-color-rgb, 255, 255, 255), 0.8);
  margin-bottom: 0.25rem;
}

.module-card--locked .module-card__tag {
  color: var(--text-disabled);
}

.module-card__title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.module-card--locked .module-card__title {
  color: var(--text-disabled);
}

.module-card__subtitle {
  font-size: 0.68rem;
  color: rgba(var(--module-color-rgb, 255, 255, 255), 0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.module-card--locked .module-card__subtitle {
  color: var(--text-disabled);
}

.module-card__desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.module-card--locked .module-card__desc {
  color: var(--text-disabled);
}

.module-card__descriptor {
  font-size: 0.7rem;
  color: var(--text-disabled);
  font-style: italic;
  margin-top: auto;
}

.module-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: auto;
  transition: color 250ms var(--ease-smooth), gap 250ms var(--ease-smooth);
}

.module-card__link::after {
  content: '\2192';
  transition: transform 250ms var(--ease-smooth);
}

a.module-card:hover .module-card__link {
  color: rgba(var(--module-color-rgb, 255, 255, 255), 0.9);
  gap: 0.5rem;
}

a.module-card:hover .module-card__link::after {
  transform: translateX(4px);
}

/* Module color overrides — using proper Sinistria M1-M7 palette */
.module-card--admin {
  --module-color: var(--m2-color);
  --module-color-rgb: 59, 130, 246;
  --module-glow: rgba(59, 130, 246, 0.08);
  --module-shadow: rgba(59, 130, 246, 0.15);
  --module-hover-border: rgba(59, 130, 246, 0.3);
  --module-icon-gradient: var(--m2-gradient);
}

.module-card--m1 {
  --module-color: var(--m1-color);
  --module-color-rgb: 201, 168, 76;
  --module-glow: rgba(201, 168, 76, 0.08);
  --module-shadow: rgba(201, 168, 76, 0.15);
  --module-hover-border: rgba(201, 168, 76, 0.3);
  --module-icon-gradient: var(--m1-gradient);
}

.module-card--m2 {
  --module-color: var(--m2-color);
  --module-color-rgb: 59, 130, 246;
  --module-glow: rgba(59, 130, 246, 0.08);
  --module-shadow: rgba(59, 130, 246, 0.15);
  --module-hover-border: rgba(59, 130, 246, 0.3);
  --module-icon-gradient: var(--m2-gradient);
}

.module-card--m3 {
  --module-color: var(--m3-color);
  --module-color-rgb: 16, 185, 129;
  --module-glow: rgba(16, 185, 129, 0.08);
  --module-shadow: rgba(16, 185, 129, 0.15);
  --module-hover-border: rgba(16, 185, 129, 0.3);
  --module-icon-gradient: var(--m3-gradient);
}

.module-card--m4 {
  --module-color: var(--m4-color);
  --module-color-rgb: 6, 182, 212;
  --module-glow: rgba(6, 182, 212, 0.08);
  --module-shadow: rgba(6, 182, 212, 0.15);
  --module-hover-border: rgba(6, 182, 212, 0.3);
  --module-icon-gradient: var(--m4-gradient);
}

.module-card--m5 {
  --module-color: var(--m5-color);
  --module-color-rgb: 249, 115, 22;
  --module-glow: rgba(249, 115, 22, 0.08);
  --module-shadow: rgba(249, 115, 22, 0.15);
  --module-hover-border: rgba(249, 115, 22, 0.3);
  --module-icon-gradient: var(--m5-gradient);
}

.module-card--m6 {
  --module-color: var(--m6-color);
  --module-color-rgb: 239, 68, 68;
  --module-glow: rgba(239, 68, 68, 0.08);
  --module-shadow: rgba(239, 68, 68, 0.15);
  --module-hover-border: rgba(239, 68, 68, 0.3);
  --module-icon-gradient: var(--m6-gradient);
}

.module-card--m7 {
  --module-color: var(--m7-color);
  --module-color-rgb: 139, 92, 246;
  --module-glow: rgba(139, 92, 246, 0.08);
  --module-shadow: rgba(139, 92, 246, 0.15);
  --module-hover-border: rgba(139, 92, 246, 0.3);
  --module-icon-gradient: var(--m7-gradient);
}

/* Inactive module overlay — blur + lock */
.module-card__lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: inherit;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
}

.module-card__lock-overlay svg {
  width: 18px;
  height: 18px;
  stroke: #4b5563;
}


/* ---------- 6.6 DIFERENCIAIS / FEATURES ---------- */

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.feature-card {
  text-align: left;
}

.feature-card__icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
  border: 1.5px solid var(--border-gold);
  transition:
    box-shadow 300ms var(--ease-smooth),
    background 300ms var(--ease-smooth),
    transform 300ms var(--ease-smooth);
}

.feature-card__icon {
  font-size: 1.75rem;
  color: var(--gold-primary);
}

.feature-card:hover .feature-card__icon-wrap {
  box-shadow: var(--gold-glow);
  background: rgba(201, 168, 76, 0.1);
  transform: scale(1.08);
}

.feature-card__title {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 30ch;
}


/* ---------- 6.7 QUEM SOMOS / ABOUT ---------- */

.about {
  padding-block: var(--section-padding);
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

.about .section-title {
  max-width: 800px;
}

.about__story {
  max-width: 800px;
  margin-bottom: 2rem;
}

.about__lead {
  font-size: clamp(1.1rem, 1.3vw + 0.5rem, 1.35rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about__story p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about__story p + p {
  margin-top: 1.25rem;
}

.about__highlight {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(201, 168, 76, 0.04);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Mission / Vision — 3 cards side by side */
.about__mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.mission-card {
  overflow: hidden;
}

/* Gold top accent bar */
.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.mission-card::after {
  display: none;
}

.mission-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.mission-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold-primary);
  flex-shrink: 0;
  transition:
    background 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth),
    transform 300ms var(--ease-smooth);
}

.mission-card:hover .mission-card__icon-wrap {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  transform: scale(1.05);
}

.mission-card__title {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 0;
}

.mission-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-body);
  font-style: italic;
}

/* Values */
.about__values-title {
  text-align: left;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about__values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 992px) {
  .about__values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about__values-grid {
    grid-template-columns: 1fr;
  }
}


.value-card__icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--gold-primary);
}

.value-card__title {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card__tagline {
  font-size: var(--text-caption);
  color: var(--gold-primary);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.value-card__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Timeline title */
.about__timeline {
  max-width: 640px;
  margin-inline: auto;
}

.about__timeline-title {
  text-align: left;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}


/* ---------- 6.8 MARIA ---------- */

.maria {
  overflow: hidden;
}

.maria__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.maria__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.maria__avatar-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.maria__avatar-wrap .maria__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.maria__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.maria__role {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.maria__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

.maria__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Chat Window */
.chat-window {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.chat-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header__name {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.chat-header__status {
  font-size: 0.75rem;
  color: var(--status-success);
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 360px;
}

.msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-caption);
  line-height: 1.55;
  animation: msgFadeIn 0.4s var(--ease-smooth);
}

.msg.sent {
  align-self: flex-end;
  background: rgba(201, 168, 76, 0.15);
  color: var(--text-primary);
  border-bottom-right-radius: var(--radius-xs);
}

.msg.received {
  align-self: flex-start;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom-left-radius: var(--radius-xs);
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---------- 6.9 NUMBERS ---------- */

.numbers {
  text-align: left;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.number-card {
  padding: clamp(2rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition:
    transform 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth);
}

.number-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--glass-shadow), var(--gold-glow);
}

.number-card__value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: block;
}

.number-card__value--percent::after {
  content: '%';
}

.number-card__value--text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.number-card__label {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}


/* ---------- 6.10 SEGMENTS ---------- */

.segments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.segment-card {
  text-align: left;
  transition:
    transform 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth);
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.08);
}

.segment-card__icon {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
  color: var(--gold-primary);
}

.segment-card__title {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  color: var(--text-primary);
}

.segments__message {
  text-align: left;
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--text-secondary);
  font-size: var(--text-body);
  font-style: italic;
  max-width: 60ch;
}


/* ---------- 6.11 CONTATO ---------- */

.contact {
  padding-block: 3rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  transition:
    transform 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--gold-glow);
}

.contact-card__icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
  border: 1.5px solid var(--border-gold);
  margin-bottom: 1.25rem;
  transition: box-shadow 300ms var(--ease-smooth);
}

.contact-card:hover .contact-card__icon-wrap {
  box-shadow: var(--gold-glow);
}

.contact-card__icon {
  color: var(--gold-primary);
}

.contact-card__title {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card__info {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.contact-card__action {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--gold-primary);
  margin-top: auto;
  transition: color 200ms var(--ease-smooth);
}

.contact-card:hover .contact-card__action {
  color: var(--gold-light);
}

.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.3);
}

.contact__cta {
  text-align: left;
  margin-top: clamp(2rem, 4vw, 3rem);
}


/* ---------- 6.12 FOOTER ---------- */

.footer {
  background: var(--bg-primary);
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Gold gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer__logo span {
  font-family: var(--font-logo);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__tagline {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.footer__powered {
  font-size: 0.75rem;
  color: var(--text-disabled);
  letter-spacing: 0.02em;
}

.footer__nav-title {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav a {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  transition: color 200ms var(--ease-smooth);
  padding: 0.125rem 0;
}

.footer__nav a:hover {
  color: var(--gold-primary);
}

.footer__contact address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.9rem;
}

.footer__contact a {
  color: var(--text-secondary);
  transition: color 200ms var(--ease-smooth);
}

.footer__contact a:hover {
  color: var(--gold-primary);
}

.footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__copy p {
  font-size: 0.75rem;
  color: var(--text-disabled);
}


/* ---------- PRIVACY PAGE ---------- */

.privacy-page {
  padding-top: 120px;
  padding-bottom: var(--section-padding);
}

.privacy-page__title {
  margin-bottom: 0.5rem;
}

.privacy-page__updated {
  color: var(--text-disabled);
  font-size: var(--text-caption);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.privacy-section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.privacy-section h2 {
  font-size: var(--text-card);
  margin-bottom: 1rem;
}

.privacy-section h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.privacy-section a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-section a:hover {
  text-decoration-color: var(--gold-light);
}


/* ==========================================================================
   7. UTILITIES
   ========================================================================== */

/* Gold gradient text */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Decorative separator */
.separator {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-block: 1.5rem;
}

.separator--center {
  margin-inline: auto;
}

/* Subtle glow dot */
.glow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin helpers */
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }

/* Text color helpers */
.text-muted { color: var(--text-disabled); }

/* Glass panel utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}

/* Animated elements should have will-change */
[data-reveal],
[data-hero-title],
[data-hero-subtitle],
[data-hero-ctas],
[data-hero-mockup],
[data-stagger-item],
[data-parallax] {
  will-change: transform;
}


/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ---- Ultra-wide (>= 1440px) ---- */
@media (min-width: 1440px) {
  :root {
    --container-max: 1420px;
  }

  .hero__inner {
    gap: 5rem;
  }

  /* Escalar o celular mockup no hero */
  .hero__mobile-frame {
    width: 220px;
    height: 440px;
    left: 66%;
    top: 8%;
    border-radius: 34px;
    border-width: 6px;
  }
}

/* ---- Telas Gigantes (>= 1680px) ---- */
@media (min-width: 1680px) {
  :root {
    --container-max: 1540px;
  }
  
  .hero__inner {
    gap: 6rem;
  }
  
  .hero__mobile-frame {
    width: 240px;
    height: 480px;
    left: 67%;
    top: 8%;
    border-radius: 36px;
    border-width: 6px;
  }
}


/* ---- Desktop/Tablet (< 1280px) ---- */
@media (max-width: 1280px) {
  .modules__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .modules__grid .module-card:nth-child(5) {
    grid-column: span 2;
  }



  /* Features: 4 → 3 columns */
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Browser mockup: scale down for smaller viewport */
  .hero__browser-window {
    width: 135%;
    transform: rotateY(-6deg) rotateX(3deg) scale(0.65);
  }

  /* Mobile phone mockup: scale */
  .hero__mobile-frame {
    width: 170px;
    height: 350px;
    left: 62%;
  }

  /* Pillar cards: keep 2 col but reduce gaps */
  .platform__pillars {
    gap: 1.25rem;
  }
}


/* ---- Compact Desktop (< 1100px) ---- */
@media (max-width: 1100px) {


  /* Platform mockup: tone down 3D, center */
  .platform__mockup-window {
    transform: rotateY(-4deg) rotateX(2deg);
    max-width: 700px;
    margin-inline: auto;
  }

  /* Features: 3 → 2 columns */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modules: 8-col → 6-col */
  .modules__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Hero browser: responsive percentage width */
  .hero__browser-window {
    width: 130%;
    transform: rotateY(-5deg) rotateX(2deg) scale(0.72);
    margin-bottom: -22%;
  }

  /* Mobile frame: shrink */
  .hero__mobile-frame {
    width: 150px;
    height: 310px;
    left: 60%;
  }
}


/* ---- Tablet (< 1024px) ---- */
@media (max-width: 1024px) {

  .hero__mobile-frame {
    width: 150px;
    height: 320px;
    left: auto;
    right: -10px;
    top: 20%;
    border-radius: 24px;
    border-width: 4px;
  }

  /* Hero — stack vertically */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__subtitle {
    margin-inline: auto;
    max-width: 100%;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero__mockup-img {
    max-width: 480px;
    margin-inline: auto;
  }

  .hero__stat-strip {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero__stat-item {
    padding: 0.75rem 1.25rem;
  }

  .hero__stat-item:not(:last-child)::after {
    display: none;
  }

  /* Problem */
  .problem__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .problem__vs {
    flex-direction: row;
    align-self: auto;
  }

  .problem__vs-line {
    width: 60px;
    height: 2px;
  }

  /* Platform hero: force stack */
  .platform__hero {
    text-align: center;
  }

  .platform__hero-info {
    align-items: center;
  }

  /* Platform mockup: flatten 3D for tablet */
  .platform__mockup-window {
    transform: none;
    max-width: 600px;
    margin-inline: auto;
  }

  /* Hero browser: stacked layout — wider + bigger scale */
  .hero__browser-window {
    width: 115%;
    transform: rotateY(-4deg) rotateX(2deg) scale(0.82);
    margin-bottom: -12%;
  }

  /* Platform pillars */
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Features */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about__mission-vision {
    grid-template-columns: 1fr;
  }

  /* Maria */
  .maria__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .maria__info {
    align-items: center;
  }

  .maria__ctas {
    justify-content: center;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__nav ul {
    align-items: center;
  }

  .footer__contact {
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__copy {
    text-align: center;
  }
}


/* ---- Mobile (< 768px) ---- */
@media (max-width: 768px) {

  /* Header — show hamburger, hide desktop nav */
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  /* Pillars */
  .pillars {
    grid-template-columns: 1fr;
  }

  /* Platform pillars & why grid */
  .platform__pillars,
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  /* Modules — 2 columns on mobile */
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .modules__grid .module-card,
  .modules__grid .module-card:nth-child(5) {
    grid-column: span 1;
  }

  /* Numbers */
  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Segments */
  .segments__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* Comparison */
  .comparison__pair {
    grid-template-columns: 1fr;
  }

  /* Trust banner */
  .trust-banner__item {
    font-size: 1rem;
  }

  .trust-banner__track {
    gap: 2rem;
  }

  /* Reduce section padding */
  section {
    padding-block: clamp(48px, 8vw, 80px);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  /* Platform mockup: fully flat on mobile */
  .platform__mockup-window {
    transform: none;
    max-width: 100%;
  }

  /* Hero visual: hide entirely on smartphones — text + CTAs only */
  .hero__visual {
    display: none;
  }
}


/* ---- Small mobile (< 480px) ---- */
@media (max-width: 480px) {

  /* Numbers single column */
  .numbers__grid {
    grid-template-columns: 1fr;
  }

  /* Segments single column */
  .segments__grid {
    grid-template-columns: 1fr;
  }

  /* Modules single column */
  .modules__grid {
    grid-template-columns: 1fr;
  }

  .modules__grid .module-card,
  .modules__grid .module-card:nth-child(5) {
    grid-column: span 1;
  }

  /* Buttons full width */
  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  /* Timeline */
  .timeline {
    padding-left: 2.25rem;
  }

  .timeline__dot {
    left: -1.55rem;
  }

  /* Module cards smaller padding */
  .module-card {
    padding: 20px;
    min-height: 200px;
  }

  .hero__mobile-frame {
    display: none;
  }
}


/* ==========================================================================
   9. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__mockup-img {
    animation: none;
  }

  .btn-primary::after {
    display: none;
  }

  /* Remove will-change for reduced motion */
  [data-reveal],
  [data-hero-title],
  [data-hero-subtitle],
  [data-hero-ctas],
  [data-hero-mockup],
  [data-stagger-item],
  [data-parallax] {
    will-change: auto;
  }
}


/* ==========================================================================
   10. SCROLLBAR
   ========================================================================== */

/* Modern scrollbar API */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.2) transparent;
}

/* WebKit fallback */
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.2);
    border-radius: 3px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.4);
  }
}


/* ==========================================================================
   11. MISSING CLASS ALIGNMENT
   HTML uses different class names than what was originally generated.
   These aliases and additions ensure full HTML↔CSS compatibility.
   ========================================================================== */

/* ---- Stat Strip Inner Component ---- */
.stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.stat-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2rem;
  position: relative;
}

.stat-strip__icon {
  color: var(--gold-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stat-strip__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-strip__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.stat-strip__divider {
  width: 1px;
  height: 40px;
  background: var(--border-gold);
  flex-shrink: 0;
}

/* ---- Stat Card Sub-elements ---- */
.stat-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--stat-color), transparent);
  border-radius: 3px 3px 0 0;
}

.stat-card__glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--stat-color) 12%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.stat-card__icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--stat-color), color-mix(in srgb, var(--stat-color) 70%, #000));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.stat-card__icon-box svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.stat-card__unit {
  font-size: 0.65em;
  opacity: 0.8;
}

/* ---- Module Card — Gradient Blob ---- */
.module-card__gradient-blob {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--module-color) 8%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Module Card — Locked State ---- */
.module-card--locked {
  cursor: default;
  opacity: 0.7;
}

.module-card--locked:hover {
  transform: none;
  box-shadow: none;
}

.module-card__lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.module-card__lock-overlay svg {
  color: var(--text-muted);
  opacity: 0.6;
}


/* ---- MVV Cards (Mission/Vision/Values) ---- */
.about__mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.mvv-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth);
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mvv-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold-primary);
}

.mvv-card__icon svg {
  width: 100%;
  height: 100%;
}

.mvv-card__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.mvv-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Platform Why List ---- */
.platform__why {
  margin-top: 4rem;
}

.platform__why-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.platform__why-list {
  display: grid;
  gap: 1rem;
}

.platform__why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.platform__why-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  margin-top: 0.15rem;
}

/* ---- Responsive for new components ---- */
@media (max-width: 768px) {
  .about__mvv-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-strip__item {
    padding: 0;
    flex-direction: row;
    gap: 0.5rem;
  }

  .stat-strip__divider {
    width: 60%;
    height: 1px;
  }

  .hero__dashboard {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stat-strip__value {
    font-size: 1.2rem;
  }
}


/* ==========================================================================
   12. WAVE 2 — Maria Phone Mockup, Contact Redesign, Footer Redesign
   New component styles that extend / override Wave 1 base rules.
   ========================================================================== */


/* ---- Maria Section (v2 — Premium Phone Mockup) ---- */

.maria {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.maria__mesh-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.06), transparent 60%);
  pointer-events: none;
}

.maria__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.maria__content {
  /* text side — no special styling needed beyond children */
}

.maria__role {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.maria__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 50ch;
}

.maria__capabilities {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maria__capabilities li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.maria__capabilities li svg {
  flex-shrink: 0;
}

.maria__cta {
  margin-top: 2rem;
}


/* ---- Phone Mockup (iPhone 15 style) ---- */

.maria__phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.maria__phone {
  position: relative;
  width: 320px;
  height: 650px;
  background: #1a1a2e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(201, 168, 76, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.maria__phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 11px;
  z-index: 12;
}

/* Dynamic Island dot */
.maria__phone-notch::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #1e293b;
  border-radius: 50%;
}

.maria__phone-status-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  z-index: 11;
  position: relative;
  border-bottom: none;
  pointer-events: none;
}

.maria__phone-time {
  padding-left: 2px;
}

.maria__phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.maria__phone-wifi {
  color: var(--text-secondary);
}

.maria__phone-battery {
  width: 16px;
  height: 8px;
  border: 1px solid var(--text-secondary);
  border-radius: 2px;
  position: relative;
  padding: 1px;
  display: flex;
  align-items: center;
}

.maria__phone-battery::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 2px;
  width: 1px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 0 1px 1px 0;
}

.maria__phone-battery-level {
  height: 100%;
  background: #22C55E;
  border-radius: 0.5px;
}

.maria__phone-screen {
  width: 100%;
  height: 100%;
  background: #0d1117;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Chat header inside phone */
.maria__chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.maria__chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
}

.maria__chat-header-info {
  display: flex;
  flex-direction: column;
}

.maria__chat-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.maria__chat-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.maria__chat-status-dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  display: inline-block;
}

/* Chat messages area */
.maria__chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: none;
}

.maria__chat-messages::-webkit-scrollbar {
  display: none;
}

/* Chat bubbles (v2 — phone-sized) */
.maria__chat-messages .msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.maria__chat-messages .msg.received {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.maria__chat-messages .msg.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.1));
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.msg__text {
  font-size: 0.9rem;
}

.msg__time {
  font-size: 0.7rem;
  color: var(--text-muted);
  align-self: flex-end;
}

/* Typing indicator */
.msg--typing {
  padding: 10px 16px;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Chat input bar (decorative) */
.maria__chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.maria__chat-input-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.maria__chat-input svg {
  color: var(--gold-primary);
  opacity: 0.6;
}


/* ---- Contact Section Redesign (v2 — 2-Column with Form) ---- */

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 45ch;
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth);
  text-decoration: none;
  color: inherit;
}

a.contact__detail-item:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.1);
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-primary);
}

.contact__detail-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact__detail-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Form */
.contact__form-wrap {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth);
  outline: none;
}

.contact__input::placeholder {
  color: var(--text-muted);
}

.contact__input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.contact__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  width: 100%;
  margin-top: 0.5rem;
}


/* ---- Footer Redesign (v2 — 4 Columns Premium) ---- */

.footer {
  position: relative;
  background: #080b14;
  padding-top: 4rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer__logo-text {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 28ch;
}

.footer__powered {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer__powered strong {
  color: var(--text-secondary);
}

.footer__nav-title {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 200ms var(--ease-smooth);
}

.footer__nav a:hover {
  color: var(--gold-primary);
}

.footer__contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__contact a {
  color: var(--text-secondary);
  transition: color 200ms var(--ease-smooth);
}

.footer__contact a:hover {
  color: var(--gold-primary);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 200ms var(--ease-smooth);
}

.footer__social-link:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--border-gold);
  color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.15);
}

/* Footer bottom bar */
.footer__bottom {
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__version {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  opacity: 0.6;
}


/* ---- Wave 2 Responsive Overrides ---- */

@media (max-width: 1024px) {
  .maria__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .maria__desc,
  .maria__capabilities {
    max-width: none;
  }

  .maria__capabilities {
    align-items: center;
  }

  .maria__cta {
    display: flex;
    justify-content: center;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .platform__hero {
    text-align: center;
  }

  .platform__header {
    justify-content: center;
  }

  .platform__hero .section-subtitle {
    text-align: center !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 768px) {
  .maria__phone {
    width: 260px;
    height: 540px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .maria__phone {
    width: 240px;
    height: 500px;
    border-radius: 36px;
    padding: 10px;
  }

  .maria__phone-screen {
    border-radius: 28px;
  }

  .maria__phone-notch {
    width: 80px;
    height: 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


/* ==========================================================================
   10. MODULE PAGE STYLES
   ========================================================================== */

/* --- Module Hero --- */
.modpage-hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  min-height: 420px;
}

.modpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--modpage-glow, rgba(201, 168, 76, 0.12)), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 168, 76, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.modpage-hero .container {
  position: relative;
  z-index: 1;
}

.modpage-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1100px) {
  .modpage-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.modpage-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.modpage-hero__breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms ease;
}

/* --- Mobile App Section --- */
.modpage-mobile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.modpage-mobile__phone {
  position: absolute;
  transition: all 500ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  transform-origin: center;
}

.modpage-mobile__phone[data-position="left"] {
  z-index: 1;
  opacity: 0.6;
  filter: blur(2px);
  transform: rotate(-10deg) translateX(-80px) scale(0.85);
}

.modpage-mobile__phone[data-position="right"] {
  z-index: 1;
  opacity: 0.6;
  filter: blur(2px);
  transform: rotate(10deg) translateX(80px) scale(0.85);
}

.modpage-mobile__phone[data-position="front"] {
  z-index: 3;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}

.modpage-mobile__phone[data-position="back"] {
  z-index: 0;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.modpage-mobile__visual:hover .modpage-mobile__phone[data-position="left"] {
  transform: rotate(-22deg) translateX(-190px) scale(0.9);
  opacity: 1;
  filter: blur(0);
}

.modpage-mobile__visual:hover .modpage-mobile__phone[data-position="right"] {
  transform: rotate(22deg) translateX(190px) scale(0.9);
  opacity: 1;
  filter: blur(0);
}

.modpage-mobile__visual:hover .modpage-mobile__phone[data-position="front"] {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .modpage-mobile__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .modpage-mobile__visual {
    min-height: 500px !important;
  }
  .modpage-mobile__phone[data-position="left"] {
    transform: rotate(-8deg) translateX(-40px) scale(0.7);
  }
  .modpage-mobile__phone[data-position="right"] {
    transform: rotate(8deg) translateX(40px) scale(0.7);
  }
  .modpage-mobile__phone[data-position="front"] {
    transform: scale(0.85);
  }
}

.modpage-hero__breadcrumb a:hover {
  color: var(--gold-primary);
}

.modpage-hero__breadcrumb svg {
  opacity: 0.5;
}

.modpage-hero__top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.modpage-hero__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--modpage-gradient, var(--gold-gradient));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.modpage-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modpage-hero__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modpage-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  width: fit-content;
}

.modpage-hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modpage-hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

/* --- NR Badges --- */
.modpage-hero__nrs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.nr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: border-color 200ms ease, background 200ms ease;
}

.nr-badge:hover {
  border-color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.06);
}

.nr-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

/* --- Module Overview Section --- */
.modpage-overview {
  padding-block: clamp(60px, 10vw, 100px);
}

.modpage-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.modpage-overview__text h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.modpage-overview__text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  margin-bottom: 1rem;
}

.modpage-overview__text p:last-child {
  margin-bottom: 0;
}

.modpage-overview__visual {
  position: relative;
}

.modpage-overview__mockup {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 40px var(--modpage-glow, rgba(201, 168, 76, 0.05));
}

.modpage-overview__mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #151b28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modpage-overview__mockup-dots {
  display: flex;
  gap: 6px;
}

.modpage-overview__mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.modpage-overview__mockup-dots span:nth-child(1) { background: #ef4444; }
.modpage-overview__mockup-dots span:nth-child(2) { background: #f59e0b; }
.modpage-overview__mockup-dots span:nth-child(3) { background: #22c55e; }

.modpage-overview__mockup-url {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.modpage-overview__mockup img {
  width: 100%;
  display: block;
}

/* --- Features Grid --- */
.modpage-features {
  padding-block: clamp(60px, 10vw, 100px);
  background: rgba(255, 255, 255, 0.01);
}

.modpage-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 1100px) {
  .modpage-split-layout {
    grid-template-columns: 1fr;
  }
}

.modpage-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.modpage-feature {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition:
    box-shadow 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth);
}

.modpage-feature:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.modpage-split-layout .modpage-features__grid {
  gap: 1rem;
}

.modpage-split-layout .modpage-feature {
  padding: 1.25rem;
}

.modpage-feature__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.modpage-feature__header .modpage-feature__icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

.modpage-feature__header .modpage-feature__title {
  margin-bottom: 0;
}

.modpage-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--modpage-color, var(--gold-primary));
  margin-bottom: 1.25rem;
  transition: background 300ms ease, border-color 300ms ease;
}

.modpage-feature:hover .modpage-feature__icon {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.25);
}

.modpage-feature__title {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.modpage-feature__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   GRID UTILITIES
   ═══════════════════════════════════════════ */
.modpage-features__grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* --- CTA Section --- */
.modpage-cta {
  padding-block: clamp(60px, 10vw, 100px);
  text-align: center;
}

.modpage-cta__box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.modpage-cta__box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--modpage-gradient, var(--gold-gradient));
}

.modpage-cta__title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modpage-cta__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modpage-cta .btn {
  display: inline-flex;
}

/* --- Back to modules link --- */
.modpage-bottom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.modpage-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 300ms ease;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modpage-nav-link:hover {
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
}

.modpage-nav-link svg {
  width: 18px;
  height: 18px;
}

/* --- Module Page Responsive --- */
@media (max-width: 1024px) {
  .modpage-overview__grid {
    grid-template-columns: 1fr;
  }

  .modpage-features__grid,
  .modpage-features__grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modpage-features__grid,
  .modpage-features__grid--3col {
    grid-template-columns: 1fr;
  }

  .modpage-hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .modpage-hero__icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .modpage-hero__nrs {
    gap: 0.35rem;
  }

  .nr-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

.floating-whatsapp__tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ─── Fluxo em Ação — Composited Mockup ─────────────────────── */
.flow-visual {
  position: relative;
  padding: 20px 0 60px 20px; /* bottom padding makes room for the INC overlay */
}

.flow-visual__inc-overlay {
  position: absolute;
  bottom: -10px;
  right: -15px;
  width: 52%;
  z-index: 10;
  background: #0f1623;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05), 0 0 30px rgba(201,168,76,0.08);
  overflow: hidden;
}

/* Tablet: move overlay slightly inward so it doesn't clip */
@media (max-width: 1024px) {
  .flow-visual {
    padding: 20px 15px 55px 0;
    margin-top: 2rem;
  }

  .flow-visual__inc-overlay {
    right: 0;
    bottom: -5px;
    width: 48%;
  }
}

/* Mobile: hide the float overlay, stack cleanly */
@media (max-width: 640px) {
  .flow-visual {
    padding: 0;
  }

  .flow-visual__inc-overlay {
    display: none;
  }
}

/* ─── M3 Extra Screenshots Grid ─────────────────────── */
@media (max-width: 768px) {
  .m3-extra-grid,
  .m3-dossie-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Mobile Nav Login Item ──────────────────────────── */
/* Hidden on desktop, shown only inside the overlay */
.header__nav-login-mobile {
  display: none;
}

@media (max-width: 768px) {
  body.nav-open .header__nav-login-mobile {
    display: block;
  }

  .header__nav-login-mobile a {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-primary);
    padding: 0.5rem 1.5rem;
    border: 1.5px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
}

/* ─── Modules Grid: 1 column on small mobile ─────────── */
@media (max-width: 480px) {
  .modules__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Modpage Mobile Section: stack on mobile ────────── */
@media (max-width: 768px) {
  .modpage-mobile__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Cap mobile visual height and reduce phone spread */
  .modpage-mobile__visual {
    min-height: 460px !important;
    max-height: 480px;
    overflow: hidden;
  }
}