/* ==========================================================================
   PORTAL DE ROBÓTICA CBA - ESTILOS MODO CLARO & TOTALMENTE RESPONSIVE
   Team Bellas Artes Bots | Colegio Bellas Artes
   ========================================================================== */

:root {
  /* Paleta Institucional CBA (Modo Claro) */
  --cba-navy:            #002855;
  --cba-navy-dark:       #001a3a;
  --cba-navy-light:      #0a3d7c;
  --cba-blue-subtle:     #edf4fd;
  
  --electric-blue:       #0066CC;
  --electric-blue-hover: #0052a3;
  --electric-cyan:       #0284c7;
  --electric-glow:       rgba(0, 102, 204, 0.15);

  --cba-gold:            #b8860b;
  --cba-gold-bright:     #FFD700;
  --cba-gold-hover:      #d97706;
  --cba-gold-glow:       rgba(217, 119, 6, 0.2);

  --status-green:        #059669;
  --status-green-hover:  #047857;
  --status-glow:         rgba(5, 150, 105, 0.2);

  --bg-page:             #f8fafc;
  --card-bg:             #ffffff;
  --card-border:         rgba(0, 40, 85, 0.09);
  --card-border-hover:   rgba(0, 102, 204, 0.35);

  --text-primary:        #002855;
  --text-heading:        #001a3a;
  --text-body:           #334155;
  --text-secondary:      #475569;
  --text-muted:          #64748b;

  --border-subtle:       rgba(0, 40, 85, 0.08);
  --border-card:         rgba(0, 40, 85, 0.10);

  --font-heading:        'Orbitron', sans-serif;
  --font-body:           'Inter', sans-serif;
  --font-mono:           'JetBrains Mono', monospace;

  --radius-sm:           8px;
  --radius-md:           14px;
  --radius-lg:           20px;
  --radius-pill:         9999px;

  --shadow-sm:           0 2px 8px rgba(0, 40, 85, 0.04);
  --shadow-card:         0 10px 30px -4px rgba(0, 40, 85, 0.07), 0 4px 6px -2px rgba(0, 40, 85, 0.03);
  --shadow-card-hover:   0 20px 40px -6px rgba(0, 40, 85, 0.12), 0 0 20px rgba(0, 102, 204, 0.08);

  --transition-smooth:   all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fondos y Efectos de Ambiente */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.07), transparent 70%);
}

.bg-glow-2 {
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.09), transparent 70%);
}

.bg-glow-3 {
  width: min(550px, 90vw);
  height: min(550px, 90vw);
  bottom: 0;
  left: 20%;
  background: radial-gradient(circle, rgba(0, 40, 85, 0.04), transparent 70%);
}

.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 40, 85, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 40, 85, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  min-width: 0;
}

.brand-identity:hover {
  transform: translateY(-1px);
}

.brand-logo-frame {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 40, 85, 0.12);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 40, 85, 0.06);
  flex-shrink: 0;
}

.brand-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 800;
  color: var(--cba-navy);
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: clamp(0.68rem, 1.8vw, 0.75rem);
  color: var(--cba-gold);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  padding: 0.25rem 0.2rem;
}

.nav-item:hover {
  color: var(--cba-navy);
}

/* MAIN CONTENT */
main {
  position: relative;
  z-index: 1;
}

/* PLATFORMS SECTION */
.platforms-section {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: 1rem;
}

.platform-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

/* Cuadrícula holográfica de fondo estilo blueprint */
.holo-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 40, 85, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 40, 85, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

/* Haz de escáner láser 3D */
.holo-laser {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 75px;
  background: linear-gradient(180deg, transparent 0%, var(--laser-color, rgba(0, 102, 204, 0.15)) 70%, var(--laser-line, #007BFF) 100%);
  border-bottom: 2.5px solid var(--laser-line, #007BFF);
  box-shadow: 0 0 16px var(--laser-line, #007BFF);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

@keyframes scan-laser {
  0% { top: -75px; }
  100% { top: 105%; }
}

@media (hover: hover) {
  .platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--theme-color, var(--electric-blue));
    box-shadow: 0 20px 45px -8px rgba(0, 40, 85, 0.14), 0 0 35px var(--glow-color, rgba(0, 102, 204, 0.25)), inset 0 0 15px var(--glow-color, rgba(0, 102, 204, 0.08));
  }

  .platform-card:hover .holo-laser {
    opacity: 1;
    animation: scan-laser 2.2s linear infinite;
  }
}

.platform-card:active {
  transform: translateY(-2px) scale(1);
}

.card-glow-border {
  height: 4px;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Variables cromáticas del escáner holográfico por categoría */
.platform-card[data-category="academica"] {
  --theme-color: #f59e0b;
  --glow-color: rgba(245, 158, 11, 0.35);
  --laser-line: #fbbf24;
  --laser-color: rgba(245, 158, 11, 0.20);
}

.platform-card[data-category="tecnica"] {
  --theme-color: #007BFF;
  --glow-color: rgba(0, 123, 255, 0.35);
  --laser-line: #38bdf8;
  --laser-color: rgba(0, 123, 255, 0.20);
}

.platform-card[data-category="evaluacion"] {
  --theme-color: #10B981;
  --glow-color: rgba(16, 185, 129, 0.35);
  --laser-line: #34d399;
  --laser-color: rgba(16, 185, 129, 0.20);
}

.platform-card[data-category="asistencias"] {
  --theme-color: #6366f1;
  --glow-color: rgba(99, 102, 241, 0.35);
  --laser-line: #a5b4fc;
  --laser-color: rgba(99, 102, 241, 0.20);
}

.platform-card[data-category="academica"] .card-glow-border {
  background: linear-gradient(90deg, #FFD700, #F59E0B);
}

.platform-card[data-category="tecnica"] .card-glow-border {
  background: linear-gradient(90deg, #007BFF, #0056cc);
}

.platform-card[data-category="evaluacion"] .card-glow-border {
  background: linear-gradient(90deg, #10B981, #059669);
}

.platform-card[data-category="portal"] .card-glow-border {
  background: linear-gradient(90deg, #002855, #007BFF);
}

.platform-card[data-category="asistencias"] .card-glow-border {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.card-inner {
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 3;
}

.card-icon-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.icon-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.avatar-academia {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(245, 158, 11, 0.10));
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: var(--cba-gold);
}

.avatar-wro {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.12), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(0, 102, 204, 0.25);
  color: var(--electric-blue);
}

.avatar-cba {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--status-green);
}

.avatar-portal {
  background: linear-gradient(135deg, rgba(0, 40, 85, 0.12), rgba(0, 123, 255, 0.08));
  border: 1px solid rgba(0, 40, 85, 0.25);
  color: var(--cba-navy);
}

.avatar-asistencias {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.09));
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #4f46e5;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
}

.card-entity {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-summary {
  color: var(--text-body);
  font-size: clamp(0.88rem, 1.5vw, 0.92rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  background: var(--cba-blue-subtle);
  border: 1px solid rgba(0, 40, 85, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--cba-navy);
}

.feature-tag i {
  font-size: 0.72rem;
  color: var(--cba-gold);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-launch {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: clamp(0.82rem, 1.8vw, 0.88rem);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-launch-academia {
  background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
  color: #001a3a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-launch-academia:hover {
  background: linear-gradient(135deg, #FFE033 0%, #FFD700 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.btn-launch-wro {
  background: linear-gradient(135deg, #007BFF 0%, #0056cc 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.3);
}

.btn-launch-wro:hover {
  background: linear-gradient(135deg, #1a8cff 0%, #007BFF 100%);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
  transform: translateY(-2px);
}

.btn-launch-cba {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-launch-cba:hover {
  background: linear-gradient(135deg, #34d399 0%, #10B981 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-launch-portal {
  background: linear-gradient(135deg, #002855 0%, #004080 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 40, 85, 0.3);
}

.btn-launch-portal:hover {
  background: linear-gradient(135deg, #003366 0%, #002855 100%);
  box-shadow: 0 6px 20px rgba(0, 40, 85, 0.45);
  transform: translateY(-2px);
  color: #FFD700;
}

.btn-launch-asistencias {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-launch-asistencias:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.btn-copy-url {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0, 40, 85, 0.04);
  flex-shrink: 0;
}

.btn-copy-url:hover {
  background: var(--cba-blue-subtle);
  color: var(--cba-navy);
  border-color: rgba(0, 40, 85, 0.25);
  transform: translateY(-1px);
}

.btn-icon-link {
  text-decoration: none;
}

.btn-icon-link:hover {
  background: var(--cba-navy);
  color: #FFD700;
  border-color: var(--cba-navy);
}

/* ABOUT SECTION */
.about-section {
  position: relative;
  z-index: 1;
  padding: 1rem clamp(1rem, 4vw, 1.5rem) clamp(3rem, 6vw, 5rem);
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #edf4fd 100%);
  border: 1px solid rgba(0, 40, 85, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
  max-width: 1000px;
  margin: 0 auto;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cba-gold);
  font-size: clamp(0.75rem, 1.8vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.about-text {
  color: var(--text-body);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 850px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid rgba(0, 40, 85, 0.12);
  border-radius: var(--radius-pill);
  font-size: clamp(0.76rem, 1.6vw, 0.82rem);
  color: var(--cba-navy);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 40, 85, 0.04);
}

.about-pill i {
  color: var(--cba-gold);
}

/* FOOTER */
.site-footer {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem) 2rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.footer-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  letter-spacing: 0.05em;
  color: var(--cba-navy);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--cba-blue-subtle);
  border: 1px solid rgba(0, 40, 85, 0.12);
  border-radius: 50%;
  color: var(--cba-navy);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  background: var(--cba-navy);
  border-color: var(--cba-navy);
  color: #FFD700;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cba-navy);
  margin-bottom: 1.15rem;
  letter-spacing: 0.05em;
}

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

.footer-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.footer-list a:hover {
  color: var(--electric-blue);
  transform: translateX(3px);
}

.footer-meta-item {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 40, 85, 0.08);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--electric-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--cba-navy);
  text-decoration: underline;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid var(--status-green);
  box-shadow: 0 10px 30px rgba(0, 40, 85, 0.12), 0 0 15px rgba(5, 150, 105, 0.15);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  color: var(--cba-navy);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-notification i {
  color: var(--status-green);
  font-size: 1.1rem;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS E INTELIGENTES
   ========================================================================== */

/* Laptops y Pantallas medianas (≤ 1180px) */
@media (max-width: 1180px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Tablets en formato vertical y Móviles grandes (≤ 768px) */
@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 1.25rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 1.25rem;
    justify-content: center;
    text-align: center;
  }
}

/* Teléfonos Móviles Estándar (≤ 540px) */
@media (max-width: 540px) {
  .header-container {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }

  .brand-logo-frame {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    padding: 3px;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-item {
    font-size: 0.84rem;
  }

  .card-inner {
    padding: 1.35rem 1.15rem;
  }

  .card-icon-banner {
    gap: 0.85rem;
  }

  .icon-avatar {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
  }

  .feature-tags {
    gap: 0.4rem;
  }

  .feature-tag {
    font-size: 0.71rem;
    padding: 0.25rem 0.55rem;
  }
}

/* Teléfonos Muy Compactos (≤ 380px) */
@media (max-width: 380px) {
  .brand-subtitle {
    display: none; /* Oculta en pantallas diminutas para no saturar el header */
  }

  .brand-title {
    font-size: 0.78rem;
  }

  .card-actions {
    flex-direction: column;
  }

  .btn-launch {
    width: 100%;
  }

  .btn-copy-url {
    width: 100%;
    height: 42px;
  }

  .about-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-pill {
    width: 100%;
    justify-content: flex-start;
  }
}
