:root {
  --primary: #0066cc;
  --primary-glow: rgba(0, 102, 204, 0.3);
  --secondary: #6c757d;
  --accent: #00d2ff;
  --background: #0a0e14;
  --surface: #151b23;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --glass: rgba(21, 27, 35, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.glass-morphism {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--primary-glow);
}

section {
  padding: 5rem 10%;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(10, 34, 64, 0.75) 0%, rgba(10, 14, 20, 0.75) 100%), url('/Imagenes/banner-hcv.png') center/cover no-repeat;
  padding: 200px 10% 5rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  max-width: 950px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.glass-morphism {
  background: rgba(10, 14, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-container {
  display: flex;
  align-items: center;
  z-index: 1010;
}

.logo-container img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.15));
  transition: all 0.3s ease;
}

.logo-container img:hover {
  filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.35));
  transform: scale(1.03);
}

.nav-menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  margin-left: 4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Menu Toggle (Hamburguer) */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 1010;
  padding: 0;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Adjustments & Navigation Drawer */
@media (max-width: 991px) {
  .nav {
    padding: 0.8rem 5%;
  }

  .logo-container img {
    height: 100px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80%);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    padding: 8rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.5rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
    margin-left: 0;
  }

  .nav-menu-wrapper.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.3rem 0;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-secondary {
    text-align: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
  }

  .page-container {
    padding-top: 140px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 5%;
  }

  .hero h1 {
    font-size: 2.5rem !important; /* Override inline styles if present */
  }

  .hero p {
    font-size: 1.1rem !important;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 160px 5% 4rem;
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem !important;
  }

  .hero p {
    font-size: 1rem !important;
  }

  .logo-container img {
    height: 100px; /* Keep logo at least 100px */
  }
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  padding: 2rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  background-color: var(--background);
}

.dashboard-sidebar {
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  border-right: 1px solid var(--glass-border);
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.sidebar-logo img {
  width: 80px;
  margin-bottom: 3rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-item {
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent);
  background: var(--primary-glow);
}

.dashboard-content {
  flex: 1;
  margin-left: 100px;
  padding: 2rem 5%;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.search-bar {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  width: 400px;
  gap: 1rem;
}

.search-bar input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.health-summary .summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  border-radius: 30px;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(21, 27, 35, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.viz-circle {
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
}

.viz-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
}

.viz-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Timeline */
.timeline-section h3 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  gap: 2rem;
  cursor: pointer;
}

.item-date {
  width: 120px;
  color: var(--text-secondary);
  font-weight: 500;
}

.item-icon {
  background: var(--glass);
  padding: 10px;
  border-radius: 12px;
}

.item-details {
  flex: 1;
}

.item-details h4 {
  font-size: 1.1rem;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completado {
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
}

.status-badge.revisado-por-ia {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.icon-btn {
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    width: 60px;
    padding: 1rem 0;
  }

  .sidebar-logo img {
    width: 40px;
  }

  .dashboard-content {
    margin-left: 60px;
  }

  .search-bar {
    width: 100%;
  }

  .health-summary .summary-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .item-date {
    width: auto;
  }
}

/* Doctor Dashboard Specifics */
.doctor-sidebar .nav-item:hover,
.doctor-sidebar .nav-item.active {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.insights-card {
  padding: 2.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
}

.insights-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.insights-content {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.insight-stat h4 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.insight-stat p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.appointment-card {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  margin-bottom: 1rem;
  gap: 1.5rem;
}

.app-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  width: 100px;
}

.app-patient {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-patient span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.app-risk {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: bold;
}

.app-risk.alto {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.app-risk.bajo {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.alerts-center {
  padding: 1.5rem;
  border-radius: 20px;
}

.alert-item {
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  border-left: 4px solid var(--accent);
}

.alert-item.critical {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.alert-item p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

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

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tool-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.mt-4 {
  margin-top: 2rem;
}

.text-accent {
  color: var(--accent);
}

.text-warning {
  color: #f59e0b;
}

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

.btn-action {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.doctor-avatar {
  background: var(--accent);
  color: black;
}

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

/* Health Copilot Styles */
.copilot-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.copilot-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.trigger-label {
  position: absolute;
  right: 70px;
  background: var(--glass);
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.copilot-window {
  width: 380px;
  max-height: 550px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}

.copilot-header {
  padding: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.badge-ia {
  background: var(--accent);
  color: black;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.copilot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 350px;
}

.message {
  padding: 0.8rem 1rem;
  border-radius: 18px;
  font-size: 0.9rem;
  max-width: 85%;
}

.message.assistant {
  background: var(--glass);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}

.message.user {
  background: var(--primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.copilot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.suggestion-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.suggestion-chip:hover {
  background: rgba(0, 210, 255, 0.1);
}

.copilot-input-area {
  padding: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 0.8rem;
}

.copilot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 15px;
  color: white;
  outline: none;
}

.send-btn {
  background: var(--primary);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Health Charts Styles */
.health-charts-card {
  padding: 2rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.2) 100%);
  border: 1px solid var(--glass-border);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 50px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.pulsing {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.chart-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.alert-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 12px;
}

.alert-box p {
  font-size: 0.85rem;
  color: #f59e0b;
}

/* DID Management Styles */
.did-container {
  padding: 2.5rem;
  border-radius: 30px;
  background: var(--surface);
}

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

.did-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.did-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.did-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.did-tab.active {
  color: var(--accent);
  background: rgba(0, 210, 255, 0.05);
}

.id-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.qr-box {
  width: 120px;
  height: 120px;
  background: white;
  padding: 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.did-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #10b981;
  margin-top: 0.5rem;
}

.auth-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-radius: 20px;
}

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

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

.auth-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.expire-badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.expire-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.expire-badge.expiring {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.revoke-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.btn-primary-sm {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-add-auth {
  width: 100%;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px dashed var(--glass-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .id-card {
    flex-direction: column;
    text-align: center;
  }

  .auth-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Service Ecosystem Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 50px;
}

.service-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.service-type {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.service-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-text.open {
  color: #10b981;
}

.status-text.closed {
  color: #8b949e;
}

.service-card-footer {
  margin-top: 1.5rem;
}

.btn-service-action {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-service-action:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.section-header-pill h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Digital Prescription Styles */
.prescription-card {
  padding: 1.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.px-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.px-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.px-status {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
}

.px-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.px-body h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.dosage {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.px-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.px-integrity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.px-footer {
  display: flex;
  gap: 1rem;
}

.btn-icon-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: white;
  cursor: pointer;
}

.btn-icon-text.primary {
  background: var(--primary);
  border-color: var(--primary);
}

/* Teleconsultation Styles */
.call-card {
  padding: 1.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.05);
  color: #10b981;
  padding: 4px 12px;
  border-radius: 50px;
}

.call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.call-body {
  margin-bottom: 1.5rem;
}

.doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.avatar.sm {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

.call-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.call-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.av-status {
  display: flex;
  gap: 8px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 8px;
}

.btn-join-call {
  background: #ef4444;
  /* Rojo para emergencias/llamadas */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Wearables Styles */
.stat-pill {
  flex: 1;
  padding: 1.2rem;
  border-radius: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.stats-row {
  display: flex;
  gap: 1rem;
}

.stat-icon {
  background: rgba(255, 255, 255, 0.05);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.stat-data .value {
  font-size: 1.2rem;
  font-weight: 700;
}

.stat-data .unit {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

.stat-data .label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.device-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 15px;
  margin-bottom: 0.8rem;
}

.device-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.device-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
}

.sync-icon {
  color: var(--text-secondary);
  cursor: pointer;
}

.btn-add-device {
  width: 100%;
  padding: 12px;
  border-radius: 15px;
  border: 1px dashed var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .stats-row {
    flex-direction: column;
  }

  .px-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Doctor Tools Styles */
.doctor-prescription-tool,
.remote-monitoring-tool,
.doctor-teleconsultation {
  padding: 1.5rem;
  border-radius: 25px;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.integrity-badge,
.e2e-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 50px;
}

.integrity-badge {
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent);
}

.e2e-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.patient-selector-static {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.id-tag {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.glass-input,
.glass-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 15px;
  color: white;
  outline: none;
}

.glass-textarea {
  height: 100px;
  resize: none;
}

.ai-assist-box {
  background: rgba(0, 210, 255, 0.03);
  border: 1px solid rgba(0, 210, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
}

.ai-assist-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ai-assist-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-primary-glow {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

/* Remote Monitoring */
.patient-monitor-card {
  padding: 1.2rem;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.patient-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.vital-data {
  text-align: right;
}

.hr-value {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.hr-value.normal {
  color: #10b981;
}

.hr-value.warning {
  color: #f59e0b;
}

.device-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.patient-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* Teleconsultation Doctor */
.video-placeholder {
  aspect-ratio: 16/9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.preview-controls {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 1rem;
}

.control-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.control-btn.active {
  background: var(--primary);
}

.call-info-panel {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-join-conference {
  background: #10b981;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.risk-indicator {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.risk-indicator.low {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.risk-indicator.high {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Lab Results Styles */
.upload-dropzone {
  padding: 4rem 2rem;
  border: 2px dashed var(--glass-border);
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-icon {
  background: rgba(0, 210, 255, 0.05);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #10b981;
  margin-top: 1.5rem;
}

.analysis-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border-radius: 18px;
  margin-bottom: 0.8rem;
}

.value-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.value-group .value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.value-group .delta {
  font-size: 0.75rem;
  font-weight: 600;
}

.delta.negative {
  color: #10b981;
}

.delta.positive {
  color: #ef4444;
}

.interpretation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.ai-interpretation-box {
  padding: 1.5rem;
  background: rgba(0, 210, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(0, 210, 255, 0.1);
}

/* DID Verification Flow Styles */
.did-flow-modal {
  width: 450px;
  padding: 3rem;
  border-radius: 40px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.did-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.biometric-visual {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.scan-line {
  position: absolute;
  width: 30%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  animation: scan 1.5s infinite ease-in-out;
}

@keyframes scan {
  0% {
    left: -30%;
  }

  100% {
    left: 100%;
  }
}

.qr-container-flow {
  padding: 20px;
  background: white;
  border-radius: 25px;
  position: relative;
}

.qr-overlay-scanning {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: qr-scan 2s infinite linear;
}

@keyframes qr-scan {
  0% {
    top: 10%;
  }

  100% {
    top: 90%;
  }
}

/* Hospital Admin Styles */
.admin-theme {
  --primary: #3b82f6;
  --accent: #60a5fa;
}

.admin-stat-card {
  flex: 1;
  padding: 1.5rem;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.stats-row-admin {
  display: flex;
  gap: 1.5rem;
}

.admin-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.viz-placeholder {
  height: 350px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 2rem;
}

.fake-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
}

.fake-chart .bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px 8px 0 0;
  transition: all 0.5s ease;
}

.fake-chart .bar.active {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.issue-card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  border-left: 4px solid transparent;
}

.issue-card.high {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.issue-card.medium {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.progress-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 5px;
}

.bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.admin-sidebar {
  background: rgba(15, 23, 42, 0.6);
}

@media (max-width: 1100px) {
  .admin-main-grid {
    grid-template-columns: 1fr;
  }

  .stats-row-admin {
    flex-wrap: wrap;
  }
}

/* Travel Passport & SOS Styles */
.module-header-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab-btn.active {
  color: var(--accent);
  background: rgba(0, 210, 255, 0.05);
  border-bottom: 2px solid var(--accent);
}

.tab-btn.emergency.active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  border-bottom: 2px solid #ef4444;
}

.travel-context-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 15px;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-info h4 {
  font-size: 0.9rem;
  margin: 0;
}

.status-badge.valid {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
}

.vaccine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 0.8rem;
}

.v-info span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.tip-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
}

/* SOS View */
.sos-alert-header {
  text-align: center;
  padding: 1rem 0;
}

.pulse-circle {
  width: 15px;
  height: 15px;
  background: #ef4444;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
  animation: pulse-sos 2s infinite;
}

@keyframes pulse-sos {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.emergency-actions {
  display: flex;
  gap: 1rem;
}

.btn-sos-call {
  flex: 1;
  background: #ef4444;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-share-did-emergency {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--glass-border);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* Smart Insurance Styles */
.section-header-compact {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 1rem;
}

.status-pill-small {
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 800;
}

.status-pill-small.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.policy-card {
  border-left: 3px solid var(--accent);
}

.p-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Interoperability Hub Styles */
.module-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-sync {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-sync:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sync.syncing svg {
  animation: spin 1s infinite linear;
}

.interop-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.protocol-pill {
  padding: 1rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-meta .name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.p-meta .status {
  font-size: 0.65rem;
  font-weight: 500;
}

.p-meta .status.online {
  color: #10b981;
}

.data-bridge-visualization {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.bridge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.flow-viz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.node {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 600;
}

.node.local {
  border-color: var(--accent);
  color: var(--accent);
}

.connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-line {
  position: absolute;
  width: 20px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: data-flow 2s infinite linear;
}

@keyframes data-flow {
  0% {
    left: 0%;
  }

  100% {
    left: 100%;
  }
}

.logs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--text-secondary);
}

.logs-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
  height: 150px;
  overflow-y: hidden;
  font-family: 'Courier New', Courier, monospace;
}

.log-entry {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.log-entry .type {
  font-weight: 800;
  width: 30px;
}

.log-entry .type.in {
  color: #10b981;
}

.log-entry .type.out {
  color: var(--accent);
}

.log-entry .system {
  flex: 1;
  color: var(--text-secondary);
}

.log-entry .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  align-self: center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Nav & Header Custom Enhancements */
.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-glow);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

/* Corporate Page Content styling */
.page-container {
  padding-top: 170px;
  min-height: calc(100vh - 300px);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

/* Footer layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: left;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent);
}

/* Forms layout */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  color: white;
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.15);
}

.pricing-card.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent);
  color: black;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 4px 35px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--text-primary);
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

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

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface);
  border: 1px solid var(--glass-border);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Responsive Grid Utilities */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 576px) {
  .grid-2-col {
    grid-template-columns: 1fr;
  }
}