/* ==========================================================================
   Cronitics Design System - index.css (Institutional Theme)
   ========================================================================== */

/* Variables and Theme Config */
:root {
  --font-family-title: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-family-body: 'Inter', -apple-system, sans-serif;

  /* Institutional Colors */
  --brand-primary: #003366;      /* Navy Blue */
  --brand-secondary: #f8a900;    /* Amber Gold */
  
  /* Derived Palette */
  --color-bg: #020714;           /* Deep Navy Black */
  --color-bg-card: rgba(8, 20, 44, 0.65);
  --color-bg-card-hover: rgba(12, 28, 60, 0.85);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-focus: rgba(248, 169, 0, 0.5);
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9cb3c9;   /* Slate blue muted text */
  --color-text-dark: #020714;

  /* Product Brand Accents (Aligned with Institutional Colors) */
  --accent-admin: #005cb3;       /* Bright Navy Blue */
  --accent-student: #f8a900;     /* Institutional Gold */
  --accent-app: #003366;        /* Institutional Navy */
  
  /* Status Colors */
  --status-no-solicitado: #6b7d90;
  --status-solicitado: #f8a900;
  --status-impreso: #0088ff;
  --status-vigente: #10b981;
  --status-vencido: #ef4444;

  /* Miscellaneous */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-accent-glow: 0 0 20px rgba(248, 169, 0, 0.15);
}

/* General Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-family-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism utility card */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(248, 169, 0, 0.25);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-family-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #004d99);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #004080, #005cb3);
  box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-secondary);
}

/* Redirect action buttons styling */
.btn-card-action {
  width: 100%;
  margin-top: 24px;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-admin-go {
  background: rgba(0, 82, 163, 0.15);
  color: #80bfff;
  border: 1px solid rgba(0, 82, 163, 0.3);
}
.btn-admin-go:hover {
  background: var(--accent-admin);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 92, 179, 0.4);
}

.btn-student-go {
  background: rgba(248, 169, 0, 0.1);
  color: #ffd27f;
  border: 1px solid rgba(248, 169, 0, 0.25);
}
.btn-student-go:hover {
  background: var(--brand-secondary);
  color: var(--color-text-dark);
  box-shadow: 0 0 15px rgba(248, 169, 0, 0.4);
}

.btn-app-go {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}
.btn-app-go:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 15px rgba(0, 51, 102, 0.4);
}

.details-action-btn-row {
  margin-top: 32px;
}

/* Common Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 7, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--brand-secondary);
}

.logo-text {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo-text .highlight {
  color: var(--brand-secondary);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

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

.btn-demo-nav {
  padding: 8px 16px;
  background: rgba(248, 169, 0, 0.1);
  border: 1px solid var(--brand-secondary);
  border-radius: 20px;
  color: var(--brand-secondary);
  font-weight: 600;
}

.btn-demo-nav:hover {
  background: var(--brand-secondary);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-accent-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 51, 102, 0.3) 0%, rgba(248, 169, 0, 0.08) 40%, rgba(2, 7, 20, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(248, 169, 0, 0.1);
  border: 1px solid rgba(248, 169, 0, 0.2);
  border-radius: 30px;
  color: var(--brand-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  font-family: var(--font-family-title);
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Architecture Node Diagram */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.visual-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: var(--brand-secondary); }
.dot.green { background: #10b981; }

.visual-title {
  font-family: var(--font-family-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 8px;
}

.visual-body-diagram {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.diagram-node {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(248, 169, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(248, 169, 0, 0.15);
  z-index: 2;
}

.diagram-node i {
  color: var(--brand-secondary);
  font-size: 1.2rem;
}

.diagram-connector-lines {
  height: 60px;
  width: 100%;
  position: relative;
}

.diagram-connector-lines .line {
  position: absolute;
  top: 0;
  background: rgba(255, 255, 255, 0.08);
}

.diagram-connector-lines .line.l2 {
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--brand-secondary), var(--brand-primary));
}

.diagram-connector-lines .line.l1 {
  left: 15%;
  width: 35%;
  height: 2px;
  top: 50%;
  background: rgba(255, 255, 255, 0.08);
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  height: 50%;
  top: 50%;
}

.diagram-connector-lines .line.l3 {
  right: 15%;
  width: 35%;
  height: 2px;
  top: 50%;
  background: rgba(255, 255, 255, 0.08);
  border-right: 2px solid rgba(255, 255, 255, 0.08);
  height: 50%;
  top: 50%;
}

.diagram-subnodes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  z-index: 2;
}

.diagram-node-sub {
  flex: 1;
  padding: 12px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.diagram-node-sub i {
  font-size: 1.2rem;
}

.diagram-node-sub.sub-admin { border-color: rgba(0, 92, 179, 0.3); }
.diagram-node-sub.sub-admin i { color: var(--accent-admin); }

.diagram-node-sub.sub-student { border-color: rgba(248, 169, 0, 0.3); }
.diagram-node-sub.sub-student i { color: var(--brand-secondary); }

.diagram-node-sub.sub-app { border-color: rgba(0, 51, 102, 0.3); }
.diagram-node-sub.sub-app i { color: #80bfff; }

.diagram-node-sub:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Ecosystem & Modules Section
   ========================================================================== */
.ecosistema-section {
  padding: 100px 0;
  border-top: 1px solid var(--color-border);
  background: radial-gradient(100% 50% at 50% 0%, rgba(0, 51, 102, 0.15) 0%, rgba(2, 7, 20, 0) 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.section-pre {
  color: var(--brand-secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.module-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-8px);
  border-color: rgba(248, 169, 0, 0.3);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-glow);
}

.module-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.module-icon.admin-color {
  background: rgba(0, 82, 163, 0.1);
  color: #80bfff;
  border: 1px solid rgba(0, 82, 163, 0.2);
}

.module-icon.student-color {
  background: rgba(248, 169, 0, 0.1);
  color: var(--brand-secondary);
  border: 1px solid rgba(248, 169, 0, 0.2);
}

.module-icon.app-color {
  background: rgba(0, 51, 102, 0.15);
  color: #4da6ff;
  border: 1px solid rgba(0, 51, 102, 0.3);
}

.module-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.module-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.admin-tag { background: rgba(0, 82, 163, 0.2); color: #99ccff; }
.student-tag { background: rgba(248, 169, 0, 0.15); color: #ffe6b3; }
.app-tag { background: rgba(0, 51, 102, 0.25); color: #b3d9ff; }

.module-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.module-features-list {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.module-features-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.module-features-list li i {
  margin-right: 8px;
  color: var(--brand-secondary);
}

.module-features-list li strong {
  color: var(--color-text-main);
}

/* ==========================================================================
   Details Deep Dive Section
   ========================================================================== */
.details-section {
  padding: 100px 0;
  border-top: 1px solid var(--color-border);
  background: radial-gradient(100% 50% at 50% 100%, rgba(248, 169, 0, 0.03) 0%, rgba(2, 7, 20, 0) 100%);
}

.details-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

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

.details-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.details-row.reverse .details-text {
  order: 2;
}

.details-row.reverse .details-visual {
  order: 1;
}

.badge-text {
  font-family: var(--font-family-title);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.badge-text.admin-color { color: #80bfff; }
.badge-text.student-color { color: var(--brand-secondary); }
.badge-text.app-color { color: #99ccff; }

.details-text h2 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.details-text > p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.details-row:nth-child(1) .feat-icon { color: #80bfff; }
.details-row:nth-child(2) .feat-icon { color: var(--brand-secondary); }
.details-row:nth-child(3) .feat-icon { color: #99ccff; }

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Detail Mockups UI */
.details-visual {
  display: flex;
  justify-content: center;
}

/* 1. Admin Console Mockup */
.inner-mockup {
  width: 100%;
  height: 240px;
  max-width: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 16px;
  background: rgba(8, 20, 44, 0.8);
  border: 1px solid rgba(0, 92, 179, 0.2);
}

.mock-top {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mock-content {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  height: calc(100% - 26px);
}

.mock-sidebar-menu {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  height: 100%;
}

.mock-body-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-title-line {
  height: 12px;
  width: 40%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.mock-stats-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat-box {
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.mock-table-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-table-lines .line-row {
  height: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}
.mock-table-lines .line-row:nth-child(2) { width: 85%; }
.mock-table-lines .line-row:nth-child(3) { width: 70%; }

/* 2. Mobile Mockup */
.phone-mock-visual {
  width: 170px;
  height: 320px;
  border: 8px solid #0b1a33;
  border-radius: 24px;
  padding: 8px;
  background: #020714;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 169, 0, 0.1);
}

.phone-camera-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 10px;
  background: #0b1a33;
  border-radius: 10px;
  z-index: 10;
}

.phone-screen-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 6px;
  background: #05132d;
  border-radius: 14px;
  overflow: hidden;
}

.phone-top-status {
  height: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.phone-card-graphic {
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.5), rgba(248, 169, 0, 0.25));
  border: 1px solid rgba(248, 169, 0, 0.3);
  border-radius: 8px;
  position: relative;
  padding: 10px;
}

.card-chip {
  width: 14px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-bottom: 12px;
}

.card-logo-placeholder {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.card-name-placeholder {
  width: 70px;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-bottom: 6px;
}

.card-qr-placeholder {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 2px;
  padding: 2px;
}

.phone-button-placeholder {
  height: 24px;
  background: var(--brand-secondary);
  border-radius: 6px;
}

/* 3. Signature Pad Mockup */
.signature-pad-mock {
  width: 320px;
  height: 180px;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8, 20, 44, 0.8);
  border: 1px solid rgba(0, 51, 102, 0.25);
}

.mock-top-bar {
  font-family: var(--font-family-title);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.canvas-mock-area {
  flex-grow: 1;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.01);
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.canvas-svg-path {
  width: 100%;
  height: 100%;
}

.mock-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mock-btn {
  width: 50px;
  height: 16px;
  border-radius: 4px;
}

.mock-btn.clear { background: rgba(255, 255, 255, 0.05); }
.mock-btn.save { background: var(--brand-secondary); }

/* ==========================================================================
   Workflow / Explainer Section
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.workflow-steps-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.step-selector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  gap: 12px;
}

.step-selector-btn .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.step-selector-btn .lbl {
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.step-selector-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--brand-secondary);
}

/* Active Timeline States */
.step-selector-btn.active {
  border-color: var(--brand-secondary);
  background: rgba(248, 169, 0, 0.04);
  box-shadow: 0 0 15px rgba(248, 169, 0, 0.1);
}

.step-selector-btn.active .num {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: var(--color-text-dark);
}

.step-selector-btn.active .lbl {
  color: var(--color-text-main);
}

.workflow-details-panel {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 169, 0, 0.15);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: slideUp 0.4s ease;
}

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

.step-desc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.desc-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.desc-info h3 i {
  color: var(--brand-secondary);
}

.desc-info p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.step-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.step-bullet-list li i {
  color: var(--brand-secondary);
  margin-top: 4px;
  font-size: 0.8rem;
}

.desc-visual {
  height: 200px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-badge-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.icon-connector {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.status-badge.no_solicitado {
  background: rgba(107, 125, 144, 0.15);
  color: #a3b8cc;
}
.status-badge.no_solicitado::before { background: var(--status-no-solicitado); }

.status-badge.solicitado {
  background: rgba(248, 169, 0, 0.15);
  color: #ffe0a3;
}
.status-badge.solicitado::before { background: var(--status-solicitado); }

.status-badge.impreso {
  background: rgba(0, 136, 255, 0.15);
  color: #a3d2ff;
}
.status-badge.impreso::before { background: var(--status-impreso); }

.status-badge.vigente {
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
}
.status-badge.vigente::before { background: var(--status-vigente); }

.status-badge.vencido {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}
.status-badge.vencido::before { background: var(--status-vencido); }

.signature-receipt-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--status-vigente);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Technical Infrastructure & Benefits
   ========================================================================== */
.infra-section {
  padding: 100px 0;
  border-top: 1px solid var(--color-border);
  background: radial-gradient(100% 50% at 50% 0%, rgba(0, 51, 102, 0.08) 0%, rgba(2, 7, 20, 0) 100%);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.infra-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.infra-card:hover {
  border-color: var(--brand-secondary);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-4px);
}

.infra-icon {
  font-size: 1.8rem;
  color: var(--brand-secondary);
  margin-bottom: 20px;
}

.infra-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.infra-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--brand-secondary);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

/* Laptop / Desktop Small (1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .badge-new {
    margin-bottom: 16px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .details-row, .details-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .details-row.reverse .details-text {
    order: 1;
  }

  .details-row.reverse .details-visual {
    order: 2;
  }

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

  .workflow-steps-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-desc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .desc-visual {
    height: 160px;
  }

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

/* Tablet (768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .main-header {
    padding: 10px 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(2, 7, 20, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .workflow-steps-selector {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-selector-btn {
    flex-direction: row;
    align-items: center;
    padding: 14px 20px;
    gap: 16px;
    text-align: left;
  }

  .workflow-details-panel {
    padding: 24px;
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Mobile Screen Small (480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

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

  .details-visual img, .details-visual .glass-card {
    max-width: 100%;
  }
}
