/* =========================================================
   NEXUS LAB - DESIGN SYSTEM & STYLESHEET
   EdTech & Commerce Tech Innovation - Ultra Premium UI
   ========================================================= */

:root {
  /* Color Palette */
  --bg-dark: #080B11;
  --bg-dark-secondary: #0E131F;
  --bg-card: rgba(15, 22, 36, 0.75);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.16);
  --border-glass-glow: rgba(99, 102, 241, 0.4);

  --primary: #6366F1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent-cyan: #06B6D4;
  --accent-purple: #A855F7;
  --accent-green: #10B981;
  --accent-blue: #3B82F6;

  --edtech-gradient: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  --commerce-gradient: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  --brand-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
  --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', 'Fira Code', monospace;

  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 10px 35px -10px rgba(6, 182, 212, 0.35);
}

/* =========================================================
   Base Reset & Global Styles
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Background Atmospheric Glows */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.sphere-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366F1, transparent 70%);
  top: -120px;
  right: -120px;
}

.sphere-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06B6D4, transparent 70%);
  top: 45%;
  left: -180px;
}

.sphere-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  bottom: 5%;
  right: 5%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.gradient-text-ed {
  background: var(--edtech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.gradient-text-com {
  background: var(--commerce-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

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

.text-ed {
  color: var(--primary) !important;
}

.text-com {
  color: var(--accent-cyan) !important;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

/* Sub-Badges & Pills */
.sub-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.85rem;
  background: rgba(99, 102, 241, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  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 8px rgba(16, 185, 129, 0);
  }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  color: #FFFFFF;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-icon.sm {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

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

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

.mobile-cta {
  display: none;
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero-section {
  padding: 150px 0 90px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val-wrapper {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* =========================================================
   Hero Visual / Tech Code Showcase
   ========================================================= */
.hero-visual {
  position: relative;
}

.tech-card-showcase {
  position: relative;
  padding: 1.5rem 0.5rem;
}

.card-glass.main-card {
  background: rgba(13, 19, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 40px -10px rgba(99, 102, 241, 0.25);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-glass.main-card:hover {
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), 0 0 50px -5px rgba(99, 102, 241, 0.35);
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.25rem;
  background: rgba(8, 11, 17, 0.7);
  border-bottom: 1px solid var(--border-glass);
}

.card-header .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.card-header .dot.red {
  background-color: #EF4444;
}

.card-header .dot.yellow {
  background-color: #F59E0B;
}

.card-header .dot.green {
  background-color: #10B981;
}

.terminal-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 0.75rem;
}

.terminal-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.terminal-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.terminal-tab.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.45);
  color: #FFFFFF;
}

.terminal-tab.biz-tab.active {
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(6, 182, 212, 0.45);
  color: #FFFFFF;
}

.card-title-mini {
  margin-left: auto;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.code-preview {
  padding: 1.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-main);
  background: rgba(10, 15, 25, 0.5);
}

.code-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.code-line.indent {
  padding-left: 1.5rem;
}

/* Syntax Highlighting */
.c-keyword {
  color: #F472B6;
  font-weight: 600;
}

.c-string {
  color: #34D399;
}

.c-comment {
  color: #64748B;
  font-style: italic;
}

.c-func {
  color: #38BDF8;
}

.c-prop {
  color: #818CF8;
}

.c-bool {
  color: #FBBF24;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(14, 20, 34, 0.92);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  z-index: 2;
}

.floating-badge:hover {
  transform: translateY(-4px) scale(1.02);
}

.badge-edtech {
  top: -15px;
  right: -15px;
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(168, 85, 247, 0.3);
  animation: floatSlow 5s ease-in-out infinite;
}

.badge-commerce {
  bottom: -20px;
  left: -15px;
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(6, 182, 212, 0.3);
  animation: floatSlowReverse 5.5s ease-in-out infinite;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatSlowReverse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(8px);
  }
}

.badge-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.badge-icon-wrap.edtech-bg {
  background: var(--edtech-gradient);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.badge-icon-wrap.commerce-bg {
  background: var(--commerce-gradient);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.floating-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  display: block;
}

.floating-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

/* =========================================================
   Solutions / Verticals Section
   ========================================================= */
.section-solutions {
  padding: 110px 0 90px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.solution-card:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px -10px rgba(99, 102, 241, 0.25);
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-accent-bar.ed {
  background: var(--edtech-gradient);
}

.card-accent-bar.com {
  background: var(--commerce-gradient);
}

.solution-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.solution-icon.ed-icon {
  background: var(--edtech-gradient);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.solution-icon.com-icon {
  background: var(--commerce-gradient);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.pillar-category {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  display: block;
}

.solution-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.solution-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feature-list li {
  font-size: 0.9375rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.feature-list li i {
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.link-btn:hover {
  gap: 0.75rem;
}

/* =========================================================
   Interactive Impact Simulator Section
   ========================================================= */
.section-interactive {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.04) 50%, transparent 100%);
}

.interactive-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

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

.interactive-title {
  font-size: 2.1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.interactive-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.vertical-toggle {
  display: flex;
  gap: 0.6rem;
  background: rgba(8, 11, 17, 0.7);
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  width: fit-content;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.toggle-btn:not(.active):hover {
  color: var(--text-main);
}

.calculator-card {
  background: rgba(8, 11, 17, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.range-group {
  margin-bottom: 2rem;
}

.range-group label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.range-val-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.range-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.range-unit {
  font-size: 0.9375rem;
  color: var(--text-dim);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary);
  border: 3px solid #ffffff;
}

.metrics-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.m-title {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.m-val {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.m-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================
   Features / Value Proposition Section
   ========================================================= */
.section-features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 30px -5px rgba(99, 102, 241, 0.2);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-box:nth-child(2) .feature-icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
}

.feature-box:nth-child(3) .feature-icon {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
  color: var(--accent-purple);
}

.feature-box:nth-child(4) .feature-icon {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

.feature-box:hover .feature-icon {
  transform: scale(1.08);
}

.feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   Institutions / Trust Section
   ========================================================= */
.section-trust {
  padding: 80px 0 100px 0;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-box {
  min-height: 205px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.75) 0%, rgba(10, 15, 26, 0.9) 100%);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1.25rem 1.4rem 1.25rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.logo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 25%, rgba(0, 255, 178, 0.07), transparent 70%);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.logo-crest-wrap {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.logo-crest-wrap img,
.logo-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.22);
  opacity: 0.95;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.logo-inst-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.logo-inst-type {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.logo-box:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(26, 36, 56, 0.85) 0%, rgba(13, 19, 34, 0.95) 100%);
  border-color: rgba(0, 255, 178, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 255, 178, 0.25), 0 0 24px rgba(99, 102, 241, 0.18);
}

.logo-box:hover .logo-crest-wrap img,
.logo-box:hover img {
  opacity: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(0, 255, 178, 0.5));
  transform: scale(1.28);
}

.logo-box:hover .logo-inst-name {
  color: #FFFFFF;
}

/* =========================================================
   Contact Section
   ========================================================= */
.section-contact {
  padding: 100px 0;
}

.contact-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-card);
}

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

.contact-title {
  font-size: 2.1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
}

.c-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.c-point i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form-container {
  background: rgba(8, 11, 17, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  text-overflow: ellipsis;
  transition: var(--transition-smooth);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #0E1422;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-toast {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #A7F3D0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-toast.show {
  display: flex;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(6, 9, 14, 0.98);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-col ul a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* (Reglas responsivas migradas a css/responsive.css) */

/* =========================================================
   NEXUS LAB - DUAL BRANCH ARCHITECTURE (EDUCACIÓN & BUSINESS)
   ========================================================= */

/* Pill Switcher en Navbar */
.nav-branch-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  backdrop-filter: blur(14px);
}

.pill-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.pill-tab.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

/* Hero Dual Gateway */
.hero-dual-gateway {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}

.gateway-card {
  position: relative;
  background: rgba(14, 20, 36, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: var(--transition-smooth);
}

.gateway-card.edu::before {
  background: var(--edtech-gradient);
}

.gateway-card.biz::before {
  background: var(--commerce-gradient);
}

.gateway-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), 0 0 35px -5px rgba(99, 102, 241, 0.25);
}

.gateway-card.biz:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-card), 0 0 35px -5px rgba(6, 182, 212, 0.25);
}

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

.gateway-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #FFFFFF;
}

.gateway-icon.edu-icon {
  background: var(--edtech-gradient);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
}

.gateway-icon.biz-icon {
  background: var(--commerce-gradient);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

.badge-audience {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.badge-audience-edu {
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
}

.badge-audience-biz {
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67E8F9;
}

.gateway-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.gateway-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.gateway-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.gateway-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.gateway-features li i {
  font-size: 0.85rem;
}

.gateway-btn {
  margin-top: auto;
  width: 100%;
}

/* Barra de Filtro Rápido de Ramas (Sticky/Inline) */
.branch-filter-section {
  padding: 2.5rem 0 1rem 0;
  position: relative;
  z-index: 10;
}

.branch-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.branch-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.branch-filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.branch-filter-btn.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.branch-filter-btn[data-filter-branch="edu"].active {
  background: var(--edtech-gradient);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
}

.branch-filter-btn[data-filter-branch="biz"].active {
  background: var(--commerce-gradient);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

/* Grillas Especializadas de Servicios */
.services-branch-block {
  padding: 70px 0 90px 0;
}

.services-branch-block:not(:last-child) {
  border-bottom: 1px solid var(--border-glass);
}

.branch-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.7;
}

.service-card.card-edu::after {
  background: var(--edtech-gradient);
}

.service-card.card-biz::after {
  background: var(--commerce-gradient);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), 0 0 35px -5px rgba(99, 102, 241, 0.25);
}

.service-card.card-biz:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: var(--shadow-card), 0 0 35px -5px rgba(6, 182, 212, 0.25);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FFFFFF;
}

.service-icon-box.edu {
  background: var(--edtech-gradient);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.service-icon-box.biz {
  background: var(--commerce-gradient);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.6;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.service-card-highlights li {
  font-size: 0.86rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.service-card-highlights li i {
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.service-consult-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: #FFFFFF;
}

.service-card.card-biz .service-consult-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
}

/* Badges de Simulador */
.badge-edu-tag {
  background: rgba(99, 102, 241, 0.14) !important;
  color: #A5B4FC !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.badge-biz-tag {
  background: rgba(6, 182, 212, 0.14) !important;
  color: #67E8F9 !important;
  border-color: rgba(6, 182, 212, 0.3) !important;
}

/* (Ajustes de rama responsivos migrados a css/responsive.css) */

/* =========================================================
   GATEWAY COMPACT CARDS & SMOOTH TRANSITIONS
   ========================================================= */

.hero-gateway-compact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.gateway-compact-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem 1.35rem;
  background: rgba(14, 20, 36, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.gateway-compact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transition: var(--transition-smooth);
}

.gateway-compact-card.edu::before {
  background: var(--edtech-gradient);
}

.gateway-compact-card.biz::before {
  background: var(--commerce-gradient);
}

.gateway-compact-card:hover {
  transform: translateX(5px) translateY(-2px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.gateway-compact-card.biz:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(6, 182, 212, 0.25);
}

.gcc-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.gcc-icon.edu {
  background: var(--edtech-gradient);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.gcc-icon.biz {
  background: var(--commerce-gradient);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.gcc-info {
  flex-grow: 1;
}

.gcc-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
}

.gcc-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.15rem 0;
  color: var(--text-main);
}

.gcc-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.gcc-arrow {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.gateway-compact-card:hover .gcc-arrow {
  color: #fff;
  transform: translateX(4px);
}

/* Transiciones Suaves y Micro-animaciones */
.fade-enter {
  animation: fadeInScale 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.code-fade {
  animation: codeFadeIn 0.35s ease-out both;
}

@keyframes codeFadeIn {
  0% {
    opacity: 0.2;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-3deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   TEAM SHOWCASE (EQUIPO DE 6 INTEGRANTES)
   ========================================================= */
.team-showcase-wrapper {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-glass);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-card {
  flex: 0 1 350px;
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 2.25rem 1.6rem;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0.6;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), 0 0 35px -5px rgba(99, 102, 241, 0.25);
}

.member-avatar-box {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  position: relative;
  padding: 3px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  transition: var(--transition-smooth);
}

.team-card:hover .member-avatar-box {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.member-avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #0b1120;
}

.member-name {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.member-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
  display: inline-block;
}

.badge-role-edu {
  background: rgba(99, 102, 241, 0.15);
  color: #A5B4FC;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.badge-role-biz {
  background: rgba(6, 182, 212, 0.15);
  color: #67E8F9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-role-gen {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-role-leg {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-role-des {
  background: rgba(236, 72, 153, 0.15);
  color: #F472B6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.member-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.member-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.member-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.member-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* (Ajustes de cards responsivas migrados a css/responsive.css) */