/* ═══════════════════════════════════════════════
   Ravyn — Premium UI (Vanilla CSS)
   ═══════════════════════════════════════════════ */

:root {
  /* Deep, elegant dark mode colors (Slate/Teal palette) */
  --bg: #020617; /* Slate 950 */
  --bg-deep: #0f172a; /* Slate 900 */
  
  --surface: rgba(30, 41, 59, 0.4); /* Slate 800 with opacity */
  --surface-hover: rgba(30, 41, 59, 0.6);
  
  --line: rgba(148, 163, 184, 0.1); /* Slate 400 */
  --line-strong: rgba(16, 185, 129, 0.25); /* Emerald 500 */
  
  --text: #f8fafc; /* Slate 50 */
  --muted: #94a3b8; /* Slate 400 */
  --muted-light: #cbd5e1; /* Slate 300 */
  
  --cyan: #06b6d4; /* Cyan 500 */
  --emerald: #10b981; /* Emerald 500 */
  --gradient: linear-gradient(135deg, var(--emerald), var(--cyan));
  
  --glass-bg: rgba(2, 6, 23, 0.65);
  --glass-border: rgba(248, 250, 252, 0.08);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 24px -4px rgba(16, 185, 129, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  background: rgba(16, 185, 129, 0.3);
  color: #fff;
}

/* ─── Premium Glass Card Utility ─── */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: 10;
}

.glass-card:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow), 0 20px 25px -5px rgb(0 0 0 / 0.3);
  transform: translateY(-4px);
}

/* ─── Shell ─── */
.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(6, 182, 212, 0.08), transparent 40vw),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 40vw),
    var(--bg);
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 100;
  transition: width 100ms linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 20px;
  z-index: 50;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 20px auto 0;
  padding: 12px 16px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--glass-bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand .brand-v {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand .brand-text {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ─── Language Switcher ─── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px;
  border-radius: 20px;
}

.lang-switcher button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher button:hover {
  color: #fff;
}

.lang-switcher button.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

.lang-switcher.desktop-lang {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -130px; /* Pushes it outside the header border */
}

@media (max-width: 1450px) {
  .lang-switcher.desktop-lang {
    display: none;
  }
}

.lang-switcher.mobile-lang {
  margin-top: 24px;
  justify-content: center;
}

/* ─── Nav Links ─── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 200ms ease;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ─── Buttons ─── */
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #048f83; /* Deep Corporate Teal/Green - Sober & Elegant */
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button:hover::after {
  opacity: 1;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.button svg {
  transition: transform 0.3s ease;
}

.button:hover svg {
  transform: translate(3px, -3px);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 14px;
  border-radius: 10px;
}

.button-light {
  background: #f8fafc;
  color: #0f172a;
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 60;
  transition: all 0.2s ease;
  align-items: center;
}

.hamburger:hover {
  background: rgba(255,255,255,0.08);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Mobile Overlay ─── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100dvh;
  padding: 110px 32px 40px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  z-index: 55;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  color: var(--muted-light);
  transition: all 0.2s ease;
}

.mobile-menu nav a:hover {
  color: #fff;
  padding-left: 12px;
}

/* ─── Layout ─── */
.section {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 60px;
  position: relative;
}

.section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ─── Typography & Headings ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px !important;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

h1, h2, h3 {
  color: #fff;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 > span {
  display: block;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section-heading h2,
.access-copy h2,
.metrics-copy h2,
.report-copy h2,
.faq-intro h2,
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.split-heading > p,
.centered-heading > p,
.access-copy > p,
.metrics-copy > p,
.report-copy > p,
.faq-intro > p,
.final-cta .cta-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.centered-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p { margin: 24px auto 0; }

/* ─── Hero ─── */
.hero {
  min-height: calc(100vh - 120px);
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: flex-start;
  gap: 60px;
}

.hero-text {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.text-link {
  color: var(--muted-light);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link:hover {
  color: #fff;
}

.hero-proof {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--emerald);
}

/* ─── Hero Visual ─── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  width: 100%;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.image-wrapper {
  position: relative;
  z-index: 10;
  width: 120%;
  margin-left: -10%;
  margin-top: 58px; /* Alinha exatamente com a linha do H1 (Dados claros) */
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.visual-label {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.visual-label-top { 
  position: absolute; 
  top: 0; /* Alinha exatamente com a linha da eyebrow */
  right: -20px; 
}

.visual-label-bottom { 
  position: relative; /* Sobrepõe o position: absolute da classe .visual-label */
  align-self: flex-end;
  margin-top: 24px; 
  margin-left: 0; 
  min-width: 180px; 
  display: grid; 
  gap: 4px; 
}
.visual-label small { color: var(--muted); font-size: 11px; }
.visual-label strong { font-size: 18px; color: #fff; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

/* ─── Trust Strip ─── */
.trust-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -30px auto 40px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  gap: 24px;
}

.trust-strip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 8px;
  color: var(--muted-light);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.trust-strip strong { font-size: 16px; color: #fff; }
.trust-strip span { color: var(--muted); font-size: 14px; }

/* ─── Problem ↔ Solution Pairs ─── */
.ps-column-labels {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 28px;
}

.ps-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: fit-content;
}

.ps-label-problem {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  justify-self: start;
}

.ps-label-solution {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  justify-self: start;
  grid-column: 3;
}

.ps-pairs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ps-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: stretch;
  gap: 0;
}

/* ─── Cards ─── */
.ps-card {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 140px;
}

.ps-card:hover {
  transform: translateY(-3px);
}

.ps-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.ps-card-icon svg {
  width: 24px;
  height: 24px;
}

.ps-icon-problem {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.ps-icon-solution {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

.ps-card-body h3 {
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.ps-card-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Problem card accent */
.ps-problem {
  border-left: 2px solid rgba(239, 68, 68, 0.3);
}

.ps-problem:hover {
  border-color: rgba(239, 68, 68, 0.15);
  border-left-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 24px -4px rgba(239, 68, 68, 0.1), 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

/* Solution card accent */
.ps-solution {
  border-left: 2px solid rgba(16, 185, 129, 0.3);
}

.ps-solution:hover {
  border-color: var(--line-strong);
  border-left-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow-glow), 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

/* ─── Connector ─── */
.ps-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.ps-connector-line {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  position: relative;
}

.ps-connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 2;
}

.ps-dot-start {
  background: #f87171;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.ps-dot-end {
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.ps-connector-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ps-connector-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.4), rgba(148, 163, 184, 0.2) 40%, rgba(148, 163, 184, 0.2) 60%, rgba(16, 185, 129, 0.4));
  transform: translateY(-50%);
}

.ps-connector-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: 50%;
  padding: 2px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.ps-row:hover .ps-connector-arrow svg {
  color: var(--emerald);
  opacity: 1;
  animation: ps-pulse-arrow 1.5s ease infinite;
}

@keyframes ps-pulse-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ─── Row hover glow ─── */
.ps-row {
  transition: all 0.3s ease;
}

.ps-row:hover .ps-connector-arrow::before {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.6), rgba(6, 182, 212, 0.3) 50%, rgba(16, 185, 129, 0.6));
  height: 2px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

/* ─── Platform ─── */
.architecture-card {
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  padding: 0; /* padding applied to inner elements */
  border-radius: 24px;
}

.architecture-copy {
  padding: 36px;
}

.micro-label {
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 32px;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.arch-item {
  display: flex;
  gap: 20px;
}

.arch-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.arch-icon svg { width: 20px; height: 20px; }

.arch-item h3 { font-size: 18px; margin: 0 0 8px; }
.arch-item p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }

.architecture-visual, .image-panel {
  background: rgba(0,0,0,0.2);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.screen-bar {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.screen-bar span { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500;}

.architecture-visual img, .image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* ─── Access ─── */
.access-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.access-copy > p { margin-top: 24px; }

.check-list { margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 16px; color: var(--muted); font-size: 15px; }
.check-list strong { color: #fff; font-weight: 500; }

.dashboard-frame {
  padding: 8px;
}

.frame-top {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
}

.frame-top small { color: var(--muted); font-size: 11px; }

.dashboard-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ─── Governance ─── */
.governance-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.image-panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.governance-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.governance-copy h3 { font-size: 32px; margin-bottom: 16px; }
.governance-copy p { font-size: 16px; color: var(--muted); line-height: 1.6; }

.permission-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.permission-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

/* ─── Features ─── */
.feature-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-copy { padding: 32px; }

.feature-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.05);
  color: var(--emerald);
  font-size: 13px;
  font-weight: 500;
}

.feature-card h3 { font-size: 28px; margin-bottom: 16px; }
.feature-card p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }

.feature-card img {
  width: calc(100% - 40px);
  margin: 16px auto 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.feature-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 400px;
}

.feature-wide .feature-copy { width: 45%; padding: 36px; }
.feature-wide img { width: 50%; margin: 40px 40px 0 auto; border-radius: 12px 12px 0 0; }

/* ─── Metrics ─── */
.metrics-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.metrics-copy > p { margin-top: 24px; }
.metrics-copy .text-link,
.metrics-copy .button { margin-top: 32px; font-size: 16px; }

.metric-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.metric-cards article {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-icon-small {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--muted-light);
}

.card-icon-small svg { width: 20px; height: 20px; }

.metric-cards h3 { font-size: 20px; margin: 0 0 10px; }
.metric-cards p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }

/* ─── Report ─── */
.report-section {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.report-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
}

.report-frame img { width: 100%; height: auto; display: block; }
.report-copy > p { margin-top: 24px; }
.compact-list { margin-top: 32px; }

/* ─── Process ─── */
.process-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.process-grid article { text-align: center; position: relative; z-index: 1; }

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--emerald);
  box-shadow: 0 0 0 8px var(--bg);
}

.process-icon svg { width: 28px; height: 28px; }

.process-grid h3 { font-size: 22px; margin-bottom: 12px; }
.process-grid p { color: var(--muted); font-size: 15px; margin: 0 auto; max-width: 260px; }

/* ─── FAQ ─── */
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.faq-intro > p { margin-top: 24px; }
.faq-list { border-top: 1px solid rgba(255,255,255,0.05); }

.faq-list details {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-list summary {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--muted); font-size: 24px; font-weight: 300; transition: transform 0.2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); color: #fff; }
.faq-list details p { color: var(--muted); font-size: 15px; padding-bottom: 24px; margin: 0; line-height: 1.6; max-width: 600px; }

/* ─── Final CTA ─── */
.final-cta {
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.cta-copy { 
  max-width: 600px; 
  position: relative; 
  z-index: 1; 
}
.cta-copy h2 { 
  font-size: clamp(40px, 5vw, 64px); 
}
.final-cta .cta-copy > p:last-child { 
  margin-top: 24px; 
  color: var(--muted-light); 
  font-size: 18px;
}

.cta-actions { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  position: relative; 
  z-index: 1; 
  min-width: 260px;
}
.cta-actions .button {
  width: 100%;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
.cta-actions .text-link { 
  color: var(--muted); 
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 15px;
}
.cta-actions .text-link:hover {
  color: #fff;
}

.button-light::after {
  display: none !important;
}

/* ─── Footer ─── */
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 40px auto 0;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand { color: #fff; font-size: 18px; }
.footer-top > div { display: flex; gap: 32px; color: var(--muted); font-size: 14px; font-weight: 500; }
.footer-top > div a:hover { color: #fff; }

.copyright { color: rgba(255,255,255,0.3); font-size: 13px; margin: 0; }

/* ─── Back to Top & WhatsApp ─── */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 32px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--surface-hover); border-color: var(--line-strong); transform: translateY(-4px); }

.whatsapp-button {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 28px;
  height: 28px;
}

/* ═══════════════════════════════════════════════
   Animations & Responsive
   ═══════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 150ms; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-top: 40px; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .visual-label-top { right: 5%; }
  .visual-label-bottom { margin-top: 24px; align-self: center; }
  
  .split-heading, .access-section, .metrics-section, .report-section, .faq-section { grid-template-columns: 1fr; gap: 48px; }
  
  .architecture-card { grid-template-columns: 1fr; }
  .architecture-visual { border-left: none; border-top: 1px solid var(--glass-border); min-height: 400px; }
  
  .feature-wide { flex-direction: column; }
  .feature-wide .feature-copy { width: 100%; }
  .feature-wide img { width: calc(100% - 40px); margin: 0 auto; }
  
  .final-cta { flex-direction: column; text-align: center; gap: 40px; }
  .cta-actions { align-items: center; }

  .ps-column-labels, .ps-row { grid-template-columns: 1fr 60px 1fr; }
}

@media (max-width: 768px) {
  /* Hierarchy Adjustments for Mobile */
  h1 { font-size: 36px !important; line-height: 1.1; }
  h2 { font-size: 28px !important; line-height: 1.2; }
  h3 { font-size: 24px !important; }
  
  .nav-links, .header-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding-block: 80px; }
  
  .trust-strip { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .feature-grid, .metric-cards, .process-grid { grid-template-columns: 1fr; }

  /* Problem ↔ Solution mobile stacking */
  .ps-column-labels { display: none; }
  .ps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ps-card {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .ps-card-icon {
    align-self: center;
  }
  .arch-item {
    flex-direction: column;
    align-items: stretch;
  }
  .arch-icon {
    align-self: center;
  }
  .card-icon-small {
    align-self: center;
  }
  .ps-connector {
    padding: 12px 0;
    justify-content: center;
  }
  .ps-connector-line {
    flex-direction: column;
    align-items: center;
    width: auto;
    height: 48px;
  }
  .ps-connector-arrow {
    flex: 1;
    width: 2px;
  }
  .ps-connector-arrow::before {
    top: 0;
    left: 50%;
    right: auto;
    bottom: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.4), rgba(16, 185, 129, 0.4));
  }
  .ps-connector-arrow svg {
    transform: rotate(90deg);
  }
  .ps-row:hover .ps-connector-arrow svg {
    animation: ps-pulse-arrow-mobile 1.5s ease infinite;
  }
  @keyframes ps-pulse-arrow-mobile {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); }
  }
  .governance-grid { grid-template-columns: 1fr; }
  
  .report-section { padding: 32px; }
  .final-cta { padding: 40px 24px; }
  .cta-mark { width: 500px; right: -20%; top: 60%; }
  
  .process-grid::before { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
}
