@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --bg-color: #030408;
  --bg-secondary: #080d1a;
  --bg-card: rgba(15, 23, 42, 0.42);
  --aws-orange: #ff9900;
  --aws-blue: #42b4ff;
  --aws-purple: #ad5cff;
  --aws-magenta: #ff57e9;
  --aws-mint: #00e582;
  --text-light: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.12);
  
  /* Colores Nativos Mac Terminal */
  --mac-titlebar-bg: #2d2d2d;
  --mac-titlebar-border: #383838;
  --mac-terminal-bg: #000000;
  --mac-red: #ff5f56;
  --mac-yellow: #ffbd2e;
  --mac-green: #27c93f;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
  --font-mono: 'Fira Code', 'Menlo', 'Monaco', 'Courier New', monospace;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

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

/* =========================================
   DEEP SPACE & CONSTELLATIONS BACKGROUND
   ========================================= */
.space-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background-color: #030408;
}

#space-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.space-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(3, 4, 8, 0.8) 100%);
}

/* =========================================
   INTRO SPLASH SCREEN
   ========================================= */
.intro-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  visibility: visible;
}

.intro-splash.splash-fade-out {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  animation: splashLogoEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.splash-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--aws-orange);
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes splashLogoEnter {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================================
   0. HEADER SÓLIDO (SIN GLASSMORPHISM EN PC Y MÓVIL)
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: #030408;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.site-header.scrolled {
  background: #030408;
  border-bottom: 1px solid rgba(255, 153, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

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

/* Logo & Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
  min-height: 44px;
}

.brand-logo-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--aws-orange);
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.3);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-logo-wrapper {
  transform: scale(1.06);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

/* Hamburger Button with Smooth 3-bar to X animation */
.nav-hamburger {
  width: 44px;
  height: 44px;
  background: #0b101c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  z-index: 1010;
}

.nav-hamburger:hover,
.nav-hamburger:focus-visible {
  background: rgba(255, 153, 0, 0.2);
  border-color: var(--aws-orange);
  outline: none;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background-color 0.25s ease;
  transform-origin: center;
}

/* Transform to X */
.nav-hamburger.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--aws-orange);
}

.nav-hamburger.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--aws-orange);
}

/* Nav Overlay & Menu Panel (Sólido sin glassmorphism) */
.nav-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--header-height));
  background: rgba(3, 4, 8, 0.95);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-menu-panel {
  max-width: 480px;
  width: 100%;
  background: #0c1222;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(-15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-overlay.active .nav-menu-panel {
  transform: translateY(0);
}

.nav-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.nav-item-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: #f1f5f9;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  min-height: 48px;
}

.nav-item-link:hover,
.nav-item-link:focus-visible {
  background: rgba(255, 153, 0, 0.18);
  color: var(--aws-orange);
  transform: translateX(6px);
  outline: none;
}

.nav-cta-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.nav-btn-cta {
  width: 100%;
  min-height: 48px;
}

/* =========================================
   TYPOGRAPHY & GLOBAL STYLES
   ========================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-light);
  text-align: center;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-main);
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 85px 0;
}

.layer-section {
  position: relative;
  background-color: transparent;
}

/* =========================================
   COMPONENTS (TRANSPARENT GLASS CARDS & BUTTONS)
   ========================================= */
.tech-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  position: relative;
  border-radius: 16px;
}

.tech-card:hover {
  transform: translateY(-4px);
  background-color: rgba(20, 30, 50, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 153, 0, 0.15);
}

.tech-card.shadow-blue:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(66, 180, 255, 0.2); }
.tech-card.shadow-purple:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(173, 92, 255, 0.2); }
.tech-card.shadow-mint:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 130, 0.2); }

/* Neo Buttons */
.neo-btn {
  background: rgba(255, 153, 0, 0.16);
  color: var(--aws-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 13px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  border-radius: 12px;
  border: 1px solid rgba(255, 153, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  min-height: 46px;
}

.neo-btn:hover,
.neo-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 153, 0, 0.28);
  color: #fff;
  border-color: rgba(255, 153, 0, 0.7);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.35);
  outline: none;
}

.neo-btn:active {
  transform: translateY(1px);
}

.neo-btn.btn-mint {
  background: rgba(0, 229, 130, 0.15);
  color: var(--aws-mint);
  border-color: rgba(0, 229, 130, 0.35);
}
.neo-btn.btn-mint:hover,
.neo-btn.btn-mint:focus-visible {
  background: rgba(0, 229, 130, 0.28);
  color: #fff;
  border-color: rgba(0, 229, 130, 0.7);
  box-shadow: 0 8px 25px rgba(0, 229, 130, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 6px;
}

.badge-mint {
  background: rgba(0, 229, 130, 0.12);
  color: var(--aws-mint);
  border: 1px solid rgba(0, 229, 130, 0.3);
}

.badge-free {
  background: rgba(255, 153, 0, 0.14);
  color: var(--aws-orange);
  border: 1px solid rgba(255, 153, 0, 0.35);
}

/* =========================================
   1. HERO SECTION (CENTRADO & LIMPIO)
   ========================================= */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  min-height: calc(85vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
}

.hero-logo-container {
  margin-bottom: 24px;
}

.hero-logo-pv {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  border: 2px solid var(--aws-orange);
  box-shadow: 0 0 30px rgba(255, 153, 0, 0.35);
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-title-nowrap {
  background: linear-gradient(90deg, var(--aws-orange), #ffbb00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  margin-bottom: 34px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================================
   2. BENTO SOCIAL CARDS (SOLO 3 CANALES)
   ========================================= */
.socials-hero-header {
  text-align: center;
  margin-bottom: 35px;
}

.social-cards-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.social-bento-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 26px;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 84px;
}

.social-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background 0.25s ease;
}

.social-bento-card.card-whatsapp::before { background: var(--aws-mint); }
.social-bento-card.card-meetup::before { background: var(--aws-orange); }
.social-bento-card.card-instagram::before { background: var(--aws-magenta); }

.social-bento-card:hover,
.social-bento-card:focus-visible {
  transform: translateY(-4px);
  background: rgba(20, 30, 52, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
  outline: none;
}

.social-bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.social-bento-card:hover .social-bento-icon {
  transform: scale(1.1);
}

.icon-whatsapp { background: rgba(0, 229, 130, 0.15); color: var(--aws-mint); border: 1px solid rgba(0, 229, 130, 0.3); }
.icon-meetup { background: rgba(255, 153, 0, 0.15); color: var(--aws-orange); border: 1px solid rgba(255, 153, 0, 0.3); }
.icon-instagram { background: rgba(255, 87, 233, 0.15); color: var(--aws-magenta); border: 1px solid rgba(255, 87, 233, 0.3); }

.social-bento-content {
  flex-grow: 1;
}

.social-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-title-row h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.external-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-bento-card:hover .external-icon {
  transform: translate(3px, -3px);
  color: #fff;
}

/* =========================================
   3. NOSOTROS / EQUIPO (SOLO HÉCTOR Y JEFFERSON)
   ========================================= */
.team-grid-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 32px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
}

.team-avatar-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--aws-orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #111;
}

.team-role-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #080d1a;
  color: var(--aws-orange);
  border: 1px solid rgba(255, 153, 0, 0.5);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

.team-name {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 4px;
}

.team-role-title {
  font-size: 0.92rem;
  color: var(--aws-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.team-social-links {
  display: flex;
  gap: 12px;
}

.team-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-social-links a:hover {
  background: rgba(255, 153, 0, 0.2);
  color: #fff;
  border-color: rgba(255, 153, 0, 0.5);
  transform: translateY(-2px);
}

/* =========================================
   4. EVENTOS SECTION (MEETUP OFICIAL)
   ========================================= */
.events-hero-header {
  text-align: center;
  margin-bottom: 35px;
}

.events-lead-badge {
  margin-bottom: 14px;
}

.events-main-cta {
  margin-top: 20px;
}

.events-category-block {
  margin-bottom: 20px;
}

.event-detailed-card {
  padding: 34px;
}

.event-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.event-tags-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-date-text {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--aws-orange);
  font-weight: 700;
}

.event-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.event-venue {
  font-size: 0.95rem;
  color: var(--aws-blue);
  margin-bottom: 14px;
  font-weight: 600;
}

.event-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.event-footer-action {
  display: flex;
}

/* =========================================
   5. TERMINAL BASH ESTILO MAC (AUTÉNTICO NEGRO Y GRIS MAC)
   ========================================= */
.terminal-section-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-terminal-display {
  width: 100%;
  background: var(--mac-terminal-bg);
  border-radius: 10px;
  border: 1px solid #333333;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-terminal-display:focus-within,
.faq-terminal-display:hover {
  border-color: #555555;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 1), 0 0 25px rgba(255, 153, 0, 0.1);
}

/* Borde superior gris oscuro idéntico a macOS */
.mac-titlebar {
  background: var(--mac-titlebar-bg);
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--mac-titlebar-border);
  user-select: none;
  cursor: default;
}

.mac-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.mac-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.mac-btn:hover { filter: brightness(1.25); transform: scale(1.1); }
.mac-close { background-color: var(--mac-red); border: 0.5px solid rgba(0,0,0,0.3); }
.mac-minimize { background-color: var(--mac-yellow); border: 0.5px solid rgba(0,0,0,0.3); }
.mac-maximize { background-color: var(--mac-green); border: 0.5px solid rgba(0,0,0,0.3); }

.mac-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #b5b5b5;
  font-weight: 500;
  pointer-events: none;
}

/* Cuerpo de la terminal: Fondo negro absoluto y fuente mono */
.mac-terminal-body {
  background-color: #000000;
  padding: 24px 26px;
  font-family: var(--font-mono);
  font-size: 0.93rem;
  line-height: 1.65;
  color: #f1f1f1;
  min-height: 420px;
  max-height: 540px;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Estilo MOTD / Linux Welcome Banner */
.terminal-motd {
  margin-bottom: 14px;
}

.motd-ascii {
  font-family: var(--font-mono);
  color: var(--aws-orange);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px;
  white-space: pre;
  overflow-x: auto;
}

.motd-line {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  margin-bottom: 3px;
  color: #9ca3af;
}

.motd-hint {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.terminal-divider {
  height: 1px;
  background: #222222;
  margin: 14px 0 16px;
}

.faq-terminal-output {
  margin-bottom: 12px;
}

.faq-terminal-output * {
  font-family: var(--font-mono);
}

.faq-cmd-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.faq-cmd-line span {
  font-family: var(--font-mono);
}

.faq-answer-block {
  color: #d1d5db;
  background: #0d0d0d;
  border-left: 3px solid var(--aws-mint);
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
  line-height: 1.65;
  font-size: 0.92rem;
  font-family: var(--font-mono);
  animation: fadeIn 0.2s ease;
}

.faq-answer-block code {
  color: var(--aws-orange);
  background: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.faq-answer-block strong {
  color: #ffffff;
  font-family: var(--font-mono);
}

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

/* Línea de entrada estilo terminal bash */
.terminal-active-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.interactive-prompt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  user-select: none;
}

.prompt-user {
  color: #00e582; /* Verde terminal */
}

.prompt-dir {
  color: #42b4ff; /* Azul directorio */
}

.terminal-cli-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.terminal-cli-input-wrapper input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 500;
  width: 100%;
  outline: none;
  caret-color: #00e582;
  padding: 2px 0;
}

/* =========================================
   6. FINAL CTA SECTION
   ========================================= */
.final-cta-section {
  padding: 50px 0 90px;
}

.final-cta-card {
  padding: 55px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(66, 180, 255, 0.3);
  background: radial-gradient(circle at 50% 0%, rgba(66, 180, 255, 0.15) 0%, rgba(15, 23, 42, 0.5) 75%);
}

.final-cta-content h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: #fff;
}

.final-cta-content p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.final-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER & MODALS
   ========================================= */
footer {
  background-color: #030408;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.75;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--aws-orange);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0c1222;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  max-width: 650px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s, transform 0.2s;
}

.modal-close:hover {
  color: var(--aws-orange);
  transform: scale(1.1);
}

.modal-content h2 {
  color: var(--aws-mint);
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-right: 30px;
}

.modal-content h3 {
  color: var(--aws-blue);
  font-size: 1.15rem;
  margin: 18px 0 8px;
}

.modal-content p, .modal-content li {
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* =========================================
   RESPONSIVE DESIGN & ACCESSIBILITY
   ========================================= */
@media (max-width: 1024px) {
  .social-cards-trio {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  section {
    padding: 55px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

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

  .hero-cta-group .neo-btn {
    width: 100%;
  }

  .final-cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-btns .neo-btn {
    width: 100%;
  }

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

  .team-grid-duo {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .final-cta-card {
    padding: 35px 20px;
  }

  .final-cta-content h2 {
    font-size: 1.8rem;
  }

  .mac-terminal-body {
    padding: 18px 16px;
    font-size: 0.88rem;
    min-height: 350px;
  }

  .motd-ascii {
    font-size: 0.58rem;
  }
}

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

  .brand-name {
    font-size: 0.95rem;
  }

  .tech-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
