/* ============================================================
   OASIS Studio — Design System v2.1 (Scientific & Academic Rigor)
   Inspirado en Pulpos SaaS + Estándares CAMEL-AI / arXiv:2411.11581
   ============================================================ */

:root {
  /* Paleta Científica y Limpia */
  --primary: #00a88f;
  --primary-hover: #008f7a;
  --primary-dark: #006b5b;
  --primary-light: #e6f7f4;
  --primary-glow: rgba(0, 168, 143, 0.25);

  --accent-blue: #0284c7;
  --accent-blue-light: #f0f9ff;
  --accent-navy: #0f172a;
  --accent-purple: #7c3aed;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark-section: #090e17;
  --bg-dark-card: #131b2a;
  --bg-dark-border: rgba(255, 255, 255, 0.08);

  --border: #e2e8f0;
  --border-focus: #00a88f;

  /* Sombras Modernas */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-floating: 0 24px 48px -12px rgba(0, 168, 143, 0.18), 0 12px 24px -6px rgba(15, 23, 42, 0.08);

  /* Curvaturas */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Fuentes */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 74px;
  --max-w: 1200px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
  
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Tipografía */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-tag.blue {
  color: #0369a1;
  background: var(--accent-blue-light);
}

.section-tag.purple {
  color: #6d28d9;
  background: #f5f3ff;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.6;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 143, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 143, 0.45);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--accent-navy);
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 64px;
  background: radial-gradient(circle at 50% 0%, #eefbf9 0%, #ffffff 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 168, 143, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 860px;
  margin: 0 auto 18px;
  color: var(--text-main);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19.5px);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  animation: fadeInUp 0.9s ease-out;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInUp 1.1s ease-out;
}

/* Mockup Hero */
.hero-mockup-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-mockup-inner {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  animation: floatSlow 6s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 168, 143, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: pulseSubtle 4s ease-in-out infinite;
}

.floating-badge.top-left {
  top: 30px;
  left: -20px;
}

.floating-badge.bottom-right {
  bottom: 30px;
  right: -20px;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Trust Strip */
.trust-strip {
  padding: 32px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trust-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-bottom: 18px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.trust-logo-pill:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Interactive Lab Section (Pregunta de Investigación y Documentos) */
.interactive-lab-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 10%, #f0fdfa 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border);
}

.lab-console-card {
  max-width: 960px;
  margin: 36px auto 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lab-header {
  background: #f8fafc;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lab-mode-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.lab-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lab-preset-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.preset-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-chip:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.lab-textarea-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-main);
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #fafafa;
  resize: vertical;
  min-height: 100px;
  transition: all 0.2s ease;
}

.lab-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.lab-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lab-dropzone {
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lab-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.lab-dropzone-text b {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.lab-dropzone-text small {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Panel de Extracción Dinámica en el Laboratorio */
.lab-result-preview {
  margin-top: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: none;
  animation: fadeInUp 0.4s ease;
}

.lab-result-preview.active {
  display: block;
}

.ontology-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.actor-tag {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.actor-tag .stance-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.actor-tag.pos .stance-dot { background: #16a34a; }
.actor-tag.neg .stance-dot { background: #dc2626; }
.actor-tag.neu .stance-dot { background: #94a3b8; }

/* Tabs Section */
.possibilities-section {
  padding: 80px 0 40px;
  background: #ffffff;
  text-align: center;
}

.tab-nav-wrapper {
  display: inline-flex;
  background: var(--bg-surface);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  margin-top: 32px;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active {
  color: #ffffff;
  background: var(--primary);
}

/* Feature Showcase Zig-Zag */
.feature-showcase-section {
  padding: 80px 0;
  background: #ffffff;
}

.feature-showcase-section:nth-of-type(even) {
  background: var(--bg-surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-grid.reverse {
  direction: rtl;
}

.feature-grid.reverse > * {
  direction: ltr;
}

.feature-content h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
  line-height: 1.25;
}

.feature-content p.desc {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

/* Bullets Grid 2x2 (Sin emojis, diseño técnico) */
.bullets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.bullet-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bullet-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-main);
}

.bullet-line-tag {
  width: 4px;
  height: 14px;
  background: var(--primary);
  border-radius: 2px;
}

.bullet-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mockup Containers */
.mockup-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
}

.mockup-header {
  background: #f8fafc;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-dots span:nth-child(1) { background: #f87171; }
.mockup-dots span:nth-child(2) { background: #fbbf24; }
.mockup-dots span:nth-child(3) { background: #34d399; }

.mockup-title-bar {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.mockup-body {
  padding: 24px;
}

/* Canvas Red Mockup */
.network-canvas-mock {
  height: 280px;
  background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.node-group {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.node-group:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0, 168, 143, 0.4);
}

.node-group.red { border-color: #ef4444; color: #ef4444; }
.node-group.blue { border-color: #0284c7; color: #0284c7; }

/* Live Feed Mockup */
.feed-stream-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item-mock {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-item-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar-text {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.stance-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  font-family: var(--font-mono);
}

.stance-pill.pos { background: #dcfce7; color: #166534; }
.stance-pill.neg { background: #fee2e2; color: #991b1b; }
.stance-pill.neu { background: #f1f5f9; color: #475569; }

/* Chart Mockup */
.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding: 14px 0;
  border-bottom: 2px solid var(--border);
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: height 1s ease;
}

.bar-fill.red {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
}

.bar-fill.blue {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

/* A/B Matrix Mockup */
.ab-split-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ab-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.ab-box.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 168, 143, 0.12);
}

.ab-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Report Mockup */
.report-highlight-answer {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.6;
}

/* Sección Oscura */
.dark-features-section {
  background: var(--bg-dark-section);
  color: #ffffff;
  padding: 96px 0;
  text-align: center;
}

.dark-features-section .section-title {
  color: #ffffff;
}

.dark-features-section .section-subtitle {
  color: #94a3b8;
  margin: 0 auto 50px;
}

.dark-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.dark-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dark-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 168, 143, 0.15);
}

.dark-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 168, 143, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.dark-card h4 {
  color: #ffffff;
  font-size: 16.5px;
}

.dark-card p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Testimonios */
.testimonials-section {
  padding: 88px 0;
  background: #ffffff;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}

.review-card {
  padding: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.review-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
}

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

.author-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.author-meta b {
  display: block;
  font-size: 14px;
}

.author-meta small {
  color: var(--text-muted);
  font-size: 12px;
}

/* ============================================================
   SECCIÓN DE PRECIOS SELECCIONABLES
   ============================================================ */
.pricing-section {
  padding: 90px 0;
  background: var(--bg-surface);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 44px auto 0;
  text-align: left;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #94a3b8;
}

/* Estado de Selección Activa */
.pricing-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow-floating);
}

.plan-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pricing-card.selected .plan-radio {
  border-color: var(--primary);
  background: var(--primary);
}

.plan-radio-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pricing-card.selected .plan-radio-inner {
  opacity: 1;
}

.featured-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  margin: 12px 0 6px;
}

.pricing-price span {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.pricing-features li::before {
  content: "—";
  color: var(--primary);
  font-weight: 900;
}

.pricing-features li.disabled {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-features li.disabled::before {
  color: var(--text-light);
}

/* Pre-Footer Banner */
.cta-banner-section {
  padding: 80px 0;
  background: #ffffff;
}

.cta-banner-card {
  background: linear-gradient(135deg, #091322 0%, #0c203b 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: #ffffff;
  box-shadow: var(--shadow-floating);
  overflow: hidden;
}

.cta-banner-card h3 {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}

.cta-banner-card p {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* FAQ */
.faq-section {
  padding: 88px 0;
  background: var(--bg-surface);
}

.faq-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.faq-side-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: 24px;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  font-size: 18px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Footer */
.footer {
  background: #090e17;
  color: #94a3b8;
  padding: 72px 0 36px;
  border-top: 1px solid var(--bg-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--bg-dark-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

/* Animaciones */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseSubtle {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsivo */
@media (max-width: 992px) {
  .feature-grid, .feature-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .dark-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-card {
    grid-template-columns: 1fr;
  }
  .faq-split-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .bullets-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .dark-grid-8 {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
}

/* ============================================================
   SALA DE CONTROL MOCKUP REALISTA (CONTROL ROOM)
   ============================================================ */
:root {
  --bg-surface2: #f8fafc;
  --border-2: #e2e8f0;
  --text: var(--text-main);
  --text-2: var(--text-muted);
  --text-3: var(--text-light);
  --accent: var(--primary);
  --accent-soft: var(--primary-light);
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --warn: #d97706;
  --warn-soft: #fef3c7;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --radius: 8px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
}

.cr-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  text-align: left;
}
.cr-topbar {
  background: #f8fafc;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cr-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cr-dot.red { background: #ff5f56; }
.cr-dot.yellow { background: #ffbd2e; }
.cr-dot.green { background: #27c93f; }
.cr-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cr-status-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ok-soft);
  color: var(--ok);
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.cr-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: cr-pulse 1.8s infinite;
}
@keyframes cr-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.cr-tags {
  display: flex;
  gap: 8px;
}
.cr-tag-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}
.cr-body-grid {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  min-height: 390px;
  background: #ffffff;
}
@media (max-width: 1024px) {
  .cr-body-grid { grid-template-columns: 1fr; }
  .cr-pane { border-right: none !important; border-bottom: 1px solid var(--border-2); }
}
.cr-pane {
  padding: 14px;
  border-right: 1px solid var(--border-2);
}
.cr-pane:last-child {
  border-right: none;
}
.cr-pane-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cr-metric-card {
  background: #f8fafc;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 10px;
  transition: border-color .3s, box-shadow .3s;
}
.cr-metric-card.pulse-update {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 168, 143, 0.25);
}
.cr-metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.cr-metric-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cr-metric-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 600;
}
.cr-badge-alert { background: var(--warn-soft); color: var(--warn); }
.cr-badge-ok { background: var(--ok-soft); color: var(--ok); }
.cr-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cr-post {
  background: #ffffff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 10px;
  transition: border-color .2s;
}
.cr-post:hover {
  border-color: var(--primary);
}
.cr-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.cr-agent-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cr-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.cr-avatar.c1 { background: #0284c7; }
.cr-avatar.c2 { background: #d97706; }
.cr-avatar.c3 { background: #00a88f; }
.cr-agent-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}
.cr-agent-role {
  font-size: 10px;
  color: var(--text-light);
}
.cr-post-time {
  font-size: 10px;
  color: var(--text-light);
}
.cr-post-body {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 8px;
}
.cr-post-meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-light);
}
.cr-graph-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cr-graph-svg {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  overflow: visible;
}
@keyframes postEnter {
  0% { opacity: 0; transform: translateY(-20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cr-post.entering {
  animation: postEnter 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes statBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: var(--primary); font-weight: 700; }
  100% { transform: scale(1); }
}
.stat-bump {
  display: inline-block;
  animation: statBump 0.4s ease-out;
}
@keyframes radarWave {
  0% { r: 8px; opacity: 0.9; stroke-width: 2px; }
  100% { r: 24px; opacity: 0; stroke-width: 0.5px; }
}
.cr-radar-circle {
  animation: radarWave 2.2s cubic-bezier(0.1, 0.4, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes edgeFlow {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}
.cr-edge-flow {
  stroke-dasharray: 4, 4;
  animation: edgeFlow 1s linear infinite;
}
@keyframes nodeHoverFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1.8px, -2px); }
}
@keyframes nodeHoverFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 1.8px); }
}
.cr-node-float1 { animation: nodeHoverFloat1 3.6s ease-in-out infinite; }
.cr-node-float2 { animation: nodeHoverFloat2 4.4s ease-in-out infinite; }
.cr-graph-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  width: 100%;
}
.cr-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cr-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cr-bottombar {
  background: #f8fafc;
  padding: 8px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}
.cr-controls {
  display: flex;
  gap: 6px;
}
.cr-btn-tiny {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-weight: 600;
  transition: all .15s;
}
.cr-btn-tiny:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ============================================================
   ANIMACIÓN ELEGANTE CONTINUA EN TÍTULO HERO (PERMANENTE)
   ============================================================ */
.hero-title-animated {
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 900;
  letter-spacing: -0.038em;
  max-width: 920px;
  margin: 0 auto 22px;
  line-height: 1.14;
}

.animated-gradient-text {
  background: linear-gradient(
    115deg,
    #0f172a 0%,
    #1e293b 20%,
    #0d9488 40%,
    #0284c7 60%,
    #1e1b4b 80%,
    #0f172a 100%
  );
  background-size: 320% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: continuousTextShimmer 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  display: inline;
}

.animated-gradient-accent {
  background: linear-gradient(
    90deg,
    #00a88f 0%,
    #0284c7 28%,
    #6366f1 58%,
    #10b981 82%,
    #00a88f 100%
  );
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: continuousAccentFlow 4.8s linear infinite;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(0, 168, 143, 0.26));
}

@keyframes continuousTextShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes continuousAccentFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 260% center;
  }
}

/* ============================================================
   EXPERIENCIA GLOBO TERRÁQUEO 3D (ESTILO AARU / OASIS AGENTS)
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.aaru-globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(880px, 96vw);
  height: min(880px, 96vw);
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  user-select: none;
}

#aaru-globe-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0, 168, 143, 0.16));
}

.globe-atmosphere-glow {
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 143, 0.14) 0%, rgba(2, 132, 199, 0.08) 45%, rgba(255, 255, 255, 0) 72%);
  filter: blur(48px);
  pointer-events: none;
  z-index: -1;
  animation: atmospherePulse 8s ease-in-out infinite alternate;
}

@keyframes atmospherePulse {
  0% { transform: scale(0.96); opacity: 0.65; }
  100% { transform: scale(1.06); opacity: 1; }
}

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

/* Micro-animación vectorial en el Pill */
.hero-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 168, 143, 0.35);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 4px 20px -2px rgba(0, 168, 143, 0.15), 0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 22px;
  animation: heroPillReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 168, 143, 0.6);
  box-shadow: 0 8px 25px -4px rgba(0, 168, 143, 0.25);
}

.hero-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-pill-icon svg {
  overflow: visible;
  filter: drop-shadow(0 0 4px rgba(0, 168, 143, 0.4));
}

.pulse-node-1 {
  animation: nodePulse 2.4s ease-in-out infinite;
  transform-origin: 6px 12px;
}

.pulse-node-2 {
  animation: nodePulse 2.4s ease-in-out infinite 0.8s;
  transform-origin: 18px 7px;
}

.pulse-node-3 {
  animation: nodePulse 2.4s ease-in-out infinite 1.6s;
  transform-origin: 15px 17px;
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.hero-pill-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 168, 143, 0.12);
  color: #007a68;
  letter-spacing: 0.02em;
}

.hero-pill-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dotted rgba(0, 168, 143, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-pill-link:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

@keyframes heroPillReveal {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Título Fluido con Kinetic Typography */
.hero-title-animated {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 960px;
  margin: 0 auto 24px;
  line-height: 1.13;
  color: var(--text-main);
}

.title-line {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 0.28em;
}

.title-line-break {
  margin-top: 4px;
}

.fluid-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  filter: blur(12px);
  animation: fluidWordIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 1) * 65ms + 80ms);
  will-change: transform, opacity, filter;
}

@keyframes fluidWordIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.gradient-text-flow {
  background: linear-gradient(
    120deg,
    #0f172a 0%,
    #0d9488 35%,
    #0284c7 65%,
    #0f172a 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fluidWordIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             continuousTextShimmer 10s ease-in-out infinite 1s;
  animation-delay: calc(var(--i, 1) * 65ms + 80ms), 1.2s;
}

/* Envoltorio del acento con trazo vectorial subrayado */
.fluid-accent-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  filter: blur(12px);
  animation: fluidWordIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 1) * 65ms + 80ms);
  will-change: transform, opacity, filter;
}

.accent-vector-underline {
  position: absolute;
  left: -2%;
  bottom: -9px;
  width: 104%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.accent-vector-underline path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawAccentUnderline 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.75s;
}

@keyframes drawAccentUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

/* Subtítulo fluido con términos interactivos */
.hero-subtitle-fluid {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: subtitleFluidIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.65s;
  will-change: transform, opacity, filter;
}

@keyframes subtitleFluidIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.term-highlight {
  display: inline;
  padding: 1px 6px;
  margin: 0 1px;
  background: rgba(0, 168, 143, 0.08);
  border: 1px solid rgba(0, 168, 143, 0.22);
  border-radius: 6px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.term-highlight:hover {
  background: rgba(0, 168, 143, 0.18);
  border-color: rgba(0, 168, 143, 0.5);
  color: #007a68;
  box-shadow: 0 2px 8px rgba(0, 168, 143, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .fluid-word,
  .fluid-accent-wrap,
  .hero-subtitle-fluid,
  .hero-pill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .accent-vector-underline path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .aaru-globe-container {
    display: none !important;
  }
}

/* ============================================================
   SECCIÓN DE PESTAÑAS METODOLÓGICAS (ROTACIÓN 3 SEGUNDOS)
   ============================================================ */
.tabs-showcase-section {
  padding: 80px 0 92px;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--border);
}

.tabs-control-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tabs-nav-scroller {
  display: inline-flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.tabs-nav-scroller::-webkit-scrollbar {
  display: none;
}

.methodology-tab-btn {
  position: relative;
  overflow: hidden;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: inherit;
}

.methodology-tab-btn:hover {
  color: var(--text-main);
}

.methodology-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.tab-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.tab-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #0284c7);
  border-radius: 2px;
  transition: width 3s linear;
}

.methodology-panes-wrapper {
  position: relative;
  min-height: 480px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabFadeSlideIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ============================================================
   SECCIÓN DE BENCHMARKING: PREDICCIÓN VS SIMULACIÓN & SAY-DO GAP
   Inspirado en Aaru ($2,993 preguntas, TVD 7.6%) & Simile (Say-Do Gap, Stanford)
   ============================================================ */
.say-do-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.say-do-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.say-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .say-do-grid {
    grid-template-columns: 1fr;
  }
}

.say-do-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.say-do-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.say-do-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 8px 24px -4px rgba(0, 168, 143, 0.16);
}

.say-do-card.highlight::before {
  content: 'ENFOQUE OASIS';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
}

.say-do-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.say-do-card-badge.warn {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

.say-do-card-badge.pos {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}

.say-do-card-badge.info {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #e0f2fe;
}

.say-do-metric-val {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--font-mono);
  margin: 12px 0 4px;
}

.say-do-metric-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.say-do-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.say-do-features li {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.say-do-features li i {
  font-style: normal;
  font-weight: 700;
}

/* Piso de Réplica Humano Banner */
.replication-floor-box {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 850px) {
  .replication-floor-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.rf-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.rf-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.rf-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.rf-stat-item b {
  display: block;
  font-size: 22px;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.rf-stat-item span {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.rf-meter-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
}

.rf-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.rf-meter-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.rf-meter-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4, #f59e0b);
  border-radius: 9999px;
}

.rf-meter-caption {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ============================================================
   NAVBAR DROPDOWN: REFERENCIAS
   ============================================================ */
.nav-dropdown-item {
  position: relative;
  display: inline-block;
}
.nav-dropdown-item:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-dropdown-menu a:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}

/* ============================================================
   ANIMACIONES DE SIMULACIÓN (Inspiradas en aaru.com/simulation)
   Curvas cúbicas ultra-smooth: cubic-bezier(0.16, 1, 0.3, 1)
   ============================================================ */
.sim-anim-section {
  padding: 84px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.sim-anim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .sim-anim-grid { grid-template-columns: 1fr; }
}

.sim-stage-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Stepper de dimensión d = 2 a d = 6 */
.dim-stepper {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}
.dim-step-btn {
  flex: 1;
  padding: 8px 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-mono);
}
.dim-step-btn.active {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.dim-traits-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.dim-trait-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dim-trait-row.active-trait {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateX(4px);
}
.dim-trait-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dim-trait-val {
  font-size: 12px;
  font-family: var(--font-mono);
  color: #2563eb;
  font-weight: 600;
}

.dim-metrics-badge {
  display: flex;
  justify-content: space-between;
  background: #0f172a;
  color: #f8fafc;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.dim-metrics-badge b {
  color: #38bdf8;
}

/* Simulador de Entrenamiento de Población (Prior vs Trained) */
.pop-training-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pop-meter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pop-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.pop-bar-track {
  width: 100%;
  height: 20px;
  background: #f1f5f9;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.pop-bar-fill-prior {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: rgba(148, 163, 184, 0.45);
  border-radius: 5px;
  transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.pop-bar-fill-trained {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 5px;
  transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1d4ed8;
  color: #ffffff;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}
.sim-play-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

/* Bucle Cognitivo del Agente (Cognitive Loop Pulse) */
.cog-loop-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 0 10px;
}
.cog-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.cog-node.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}
.cog-connector-line {
  position: absolute;
  top: 45px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

/* ============================================================
   SECCIÓN DE REFERENCIAS CIENTÍFICAS (#referencias)
   ============================================================ */
.references-section {
  padding: 92px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ref-filters-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}
.ref-filter-btn {
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ref-filter-btn:hover, .ref-filter-btn.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.ref-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ref-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.ref-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.ref-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.ref-badge {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.ref-badge.oasis { background: #dbeafe; color: #1e40af; }
.ref-badge.graph { background: #e0e7ff; color: #3730a3; }
.ref-badge.polarization { background: #fef3c7; color: #92400e; }
.ref-badge.psychology { background: #fce7f3; color: #9d174d; }
.ref-badge.methodology { background: #dcfce7; color: #166534; }

.ref-authors {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}
.ref-desc {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 14px;
}
.ref-citation-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
  word-break: break-all;
  margin-bottom: 12px;
}
.ref-link-btn {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ref-link-btn:hover {
  text-decoration: underline;
}

/* ============================================================
   APPLE-INSPIRED PRODUCT SHOWCASE & REAL SCREENSHOT STAGE
   ============================================================ */
.apple-showcase-section {
  padding: 96px 0 100px;
  background: radial-gradient(circle at 50% 0%, #f8fafc 0%, #ffffff 75%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.apple-showcase-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.apple-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  border: 1px solid #bae6fd;
}

.apple-hero-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 16px;
}

.apple-hero-subtitle {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: #64748b;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

/* Apple Segmented Pill Switcher */
.apple-nav-switcher {
  display: flex;
  justify-content: center;
  margin: 0 auto 32px;
  max-width: 100%;
}

.apple-nav-pill-group {
  display: inline-flex;
  gap: 5px;
  background: rgba(241, 245, 249, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.apple-nav-pill-group::-webkit-scrollbar { display: none; }

.apple-pill-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.apple-pill-btn:hover {
  color: #0f172a;
}
.apple-pill-btn.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0,0,0,0.05);
  font-weight: 700;
  transform: translateY(-1px);
}

/* Apple macOS Glass Device Frame */
.apple-device-frame {
  max-width: 1140px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-device-frame:hover {
  box-shadow: 0 35px 85px -20px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.apple-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.apple-window-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.apple-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.apple-dot.red { background: #ff5f56; border: 1px solid #e0443e; }
.apple-dot.yellow { background: #ffbd2e; border: 1px solid #dea123; }
.apple-dot.green { background: #27c93f; border: 1px solid #1aab29; }

.apple-window-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-window-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

/* Image Showcase Stage */
.apple-stage-body {
  position: relative;
  background: #f8fafc;
  min-height: 480px;
  overflow: hidden;
}

.apple-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.99);
}
.apple-slide.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.apple-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

/* Apple Hotspot Callout Card */
.apple-stage-footer {
  padding: 22px 28px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.apple-stage-caption h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.apple-stage-caption p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  max-width: 650px;
}

.apple-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.apple-feature-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.apple-feature-pill b {
  color: #0284c7;
}

/* Apple-style Bento Grid for Diplomado Rigor */
.apple-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.apple-bento-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.apple-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.apple-bento-card.col-8 { grid-column: span 8; }
.apple-bento-card.col-4 { grid-column: span 4; }
.apple-bento-card.col-6 { grid-column: span 6; }
.apple-bento-card.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .apple-bento-card.col-8,
  .apple-bento-card.col-4,
  .apple-bento-card.col-6 {
    grid-column: span 12;
  }
}

.apple-bento-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.4);
}
.apple-bento-hero h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.apple-bento-hero p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
}

.apple-badge-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.apple-badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.apple-badge-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.apple-bento-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.apple-bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apple-bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
}

.apple-bento-list li strong {
  color: #0f172a;
  font-weight: 700;
}

.apple-bento-list .icon-yes {
  color: #059669;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.apple-bento-list .icon-no {
  color: #dc2626;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tab Mockup Real Screenshot Frame */
.tab-screenshot-mac {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-screenshot-mac:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12);
}

.tab-screenshot-mac .mac-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.tab-screenshot-mac .mac-top-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.tab-screenshot-mac img {
  width: 100%;
  height: auto;
  display: block;
}

/* === UI/UX PRO MAX ENHANCEMENTS === */
.btn-primary, .hero-cta-btn, .btn-hero-primary {
  box-shadow: 0 0 25px rgba(0, 168, 143, 0.35), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary:hover, .hero-cta-btn:hover, .btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 35px rgba(0, 168, 143, 0.5), 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}
.feature-card, .academic-card, .metric-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.feature-card:hover, .academic-card:hover, .metric-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 168, 143, 0.4) !important;
  box-shadow: 0 16px 32px -8px rgba(0, 168, 143, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

/* === TASTE-SKILL: EDITORIAL & DATA-DENSE ARCHITECTURE === */
/* Asymmetrical Big Numbers & Academic Precision */
.taste-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 64px 0;
  border-top: 2px solid var(--text-main);
  border-bottom: 2px solid var(--border);
  padding: 40px 0;
}
.taste-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.taste-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -0.04em;
}
.taste-stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}
.taste-stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Research Callout / Quote Box */
.taste-quote-card {
  position: relative;
  background: var(--bg-surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 32px 40px;
  margin: 48px 0;
}
.taste-quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 16px;
}
.taste-quote-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* === HALLMARK DESIGN GUIDELINES: ANTI-AI-SLOP PRECISION === */
:root {
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}
a, button {
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
}
.archify-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.archify-card:hover {
  border-color: rgba(0, 168, 143, 0.35);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.06);
}
