@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS Variables */
:root {
  --color-primary: #000000; /* Preto */
  --color-secondary: #D9D1FF; /* Rosa blush premium -> Lavanda */
  --color-bg-light: #050405; /* Background base super escuro */
  --color-text-dark: #FCFCFC; /* Texto claro */
  --color-black: #080708;
  --color-white: #FFFFFF;
  
  --color-primary-glow: rgba(0, 0, 0, 0.6);
  --color-secondary-glow: rgba(217, 209, 255, 0.4);
  
  /* Fallbacks - browser will prioritize Utopia and Adobe Clean if installed */
  --font-title: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  --shadow-premium: 0 30px 60px rgba(8, 7, 8, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  --shadow-neon: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Hide cursor for custom glow */
}

html {
  font-size: 16px;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Space Canvas */
#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.8;
}

/* Custom Cursor */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-secondary-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transition: width 0.3s, height 0.3s, background 0.3s;
}

a:hover ~ .cursor-glow, 
button:hover ~ .cursor-glow,
.glass-icon:hover ~ .cursor-glow,
input:hover ~ .cursor-glow,
textarea:hover ~ .cursor-glow,
.rocket-btn:hover ~ .cursor-glow {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4vw;
}

.container-narrow {
  max-width: 800px;
}

.section-padding {
  padding: 10rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* Backgrounds & Text Colors */
.bg-light { background-color: var(--color-bg-light); }
.bg-dark { background-color: var(--color-black); color: var(--color-white); }
.bg-dark-deep { background-color: #050405; }
.text-light { color: var(--color-white); }
.text-dark { color: var(--color-text-dark); }
.light-text { color: rgba(255,255,255,0.7); }
.text-primary { color: var(--color-secondary) !important; }

/* Effects */
.glass-panel {
  background: rgba(22, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 20px rgba(217, 209, 255, 0.05);
}

.glass-dark-panel {
  background: rgba(22, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 20px rgba(217, 209, 255, 0.1);
}

.text-glow {
  color: var(--color-secondary);
  text-shadow: 0 0 20px rgba(217, 209, 255, 0.5);
  font-style: italic;
  animation: cosmic-breathe 4s ease-in-out infinite alternate;
}

.text-glow-dark {
  color: var(--color-secondary);
  text-shadow: 0 0 30px rgba(217, 209, 255, 0.4);
  font-style: italic;
  animation: cosmic-breathe-dark 4s ease-in-out infinite alternate;
}

@keyframes cosmic-breathe {
  0% { text-shadow: 0 0 10px rgba(217, 209, 255, 0.3); opacity: 0.85; }
  100% { text-shadow: 0 0 30px rgba(217, 209, 255, 0.8), 0 0 50px rgba(217, 209, 255, 0.4); opacity: 1; }
}

@keyframes cosmic-breathe-dark {
  0% { text-shadow: 0 0 15px rgba(0, 0, 0, 0.3); opacity: 0.85; }
  100% { text-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 0, 0, 0.4); opacity: 1; }
}

.badge-premium {
  display: inline-block;
  padding: 1px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  margin-bottom: 2rem;
}

.badge-premium span {
  display: block;
  padding: 0.5rem 1.5rem;
  background: var(--color-bg-light);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
}

.bg-dark .badge-premium span {
  background: var(--color-black);
  color: var(--color-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.magnetic-btn {
  will-change: transform;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(217, 209, 255, 0.3);
}

.btn-glow {
  box-shadow: var(--shadow-neon);
}

.btn-outline-sutil {
  background-color: transparent;
  color: var(--color-text-dark);
}

.btn-outline-glow {
  background-color: rgba(217, 209, 255, 0.05);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.btn-outline-glow:hover {
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-neon);
  color: var(--color-primary);
}

.btn-block { width: 100%; }

.futuristic-border {
  position: relative;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
}

.futuristic-border::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width 0.4s ease;
}

.futuristic-border:hover::after {
  width: 80%;
  box-shadow: 0 0 10px var(--color-primary);
}

/* Typography styles */
.section-header { margin-bottom: 5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -1px; margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.125rem; line-height: 1.6; max-width: 600px; margin: 0 auto; color: rgba(255,255,255,0.7); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-links a { color: var(--color-black); }
.navbar.scrolled .social-icons a { color: var(--color-black); }
.navbar.scrolled .social-icons a:hover { color: var(--color-secondary); }
.navbar.scrolled .btn-outline-sutil { color: var(--color-black); border-color: rgba(0,0,0,0.2); }
.navbar.scrolled .hover-underline::after { background-color: var(--color-black); }
.navbar.scrolled .mobile-menu-btn { color: var(--color-black); }

/* Logo Toggle */
.brand-logo { display: flex; align-items: center; justify-content: center; }
.logo-img-top { display: block; height: 75px; }
.logo-img-scrolled { display: none; height: 70px; }

.navbar.scrolled .logo-img-top { display: none; }
.navbar.scrolled .logo-img-scrolled { display: block; }

/* Fallback styling in case images are missing */
.brand-logo img {
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}
.navbar.scrolled .brand-logo img {
  color: var(--color-black);
}
.navbar-container { display: flex; align-items: center; justify-content: space-between; }
/* Custom Logo CSS matching provided image */
.custom-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.logo-title { font-family: var(--font-title); font-size: 1.8rem; font-weight: 500; letter-spacing: 3px; color: var(--color-white); }
.logo-sub { font-family: var(--font-body); font-size: 0.55rem; font-weight: 500; letter-spacing: 1px; color: var(--color-secondary); margin-top: 4px; }
.footer-custom-logo .logo-title, .footer-custom-logo .logo-sub { color: var(--color-white); }



/* Glitch Effect Setup */
.glitch-text {
  position: relative;
  color: var(--color-primary);
}
.bg-dark .glitch-text { color: var(--color-white); }

.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 red;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--color-secondary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 80px, 0); }
  5% { clip: rect(50px, 9999px, 12px, 0); }
  10% { clip: rect(32px, 9999px, 60px, 0); }
  15% { clip: rect(80px, 9999px, 90px, 0); }
  20% { clip: rect(15px, 9999px, 30px, 0); }
  100% { clip: rect(10px, 9999px, 80px, 0); }
}

.nav-links { display: flex; gap: 3rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.hover-underline {
  position: relative;
}
.hover-underline::after {
  content: ''; position: absolute; width: 0; height: 1px;
  bottom: -4px; left: 0; background-color: var(--color-secondary);
  transition: width 0.3s ease;
}
.hover-underline:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 2rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { font-size: 1.25rem; opacity: 0.7; }
.social-icons a:hover { opacity: 1; color: var(--color-secondary); transform: scale(1.1); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--color-secondary); }
.mobile-nav {
  position: fixed; top: 0; left: 100%; width: 100%; height: 100vh;
  padding: 6rem 2rem; display: flex; flex-direction: column; gap: 2rem;
  transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
}
.mobile-nav.active { left: 0; }
.mobile-nav a { font-size: 2rem; font-family: var(--font-title); }

@media (max-width: 992px) {
  .nav-links, .nav-actions .btn, .social-icons { display: none; }
  .mobile-menu-btn { display: block; z-index: 1001; position: relative; }
}

/* 2. Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 6rem;
  overflow: hidden;
}

.grid-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  animation: grid-shift 20s linear infinite;
}

@keyframes grid-shift {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -1px; color: var(--color-text-dark); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 1.5rem; color: var(--color-secondary); }
.hero-description { font-size: 1.125rem; color: #555; margin-bottom: 3rem; max-width: 90%; }

.hero-visual { position: relative; }
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.hero-image-wrapper img {
  border-radius: calc(var(--radius-lg) - 10px);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.95);
}

.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(22, 20, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.float-anim-1 { animation: float 6s ease-in-out infinite; }
.float-anim-2 { animation: float 8s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.floating-card.top-right { top: 5%; right: -15%; }
.floating-card.bottom-left { bottom: 10%; left: -10%; }
.glow-icon { font-size: 2rem; color: var(--color-secondary); filter: drop-shadow(0 0 10px rgba(217, 209, 255, 0.4)); }
.data-value { display: block; font-family: var(--font-title); font-size: 1.5rem; letter-spacing: -0.5px; font-weight: 600; }
.data-label { font-size: 0.75rem; color: #AAA; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}

.tech-ring {
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  border: 1px dashed var(--color-secondary);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 20s linear infinite;
  z-index: -1;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 2.5rem; }
  .floating-card { display: none !important; }
  .tech-ring { display: none !important; }
}

/* 3. Results */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.result-card {
  padding: 4rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s;
}
.result-card:hover::before { transform: translateX(100%); }
.result-icon-wrapper { font-size: 3rem; color: var(--color-secondary); margin-bottom: 1.5rem; }
.result-number { font-size: 5rem; color: var(--color-white); margin-bottom: 0.5rem; }
.result-text { font-size: 1.125rem; color: #AAA; }

/* 4. Problems */
.problems-container {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 6rem; align-items: center;
}
.timeline-line {
  position: absolute; left: 23px; top: 0; bottom: 0; width: 2px;
  background: var(--color-secondary-glow);
}
.timeline-progress {
  position: absolute; left: 0; top: 0; width: 100%;
  background: var(--color-secondary); height: 0%;
}
.problems-timeline { position: relative; }
.problem-item {
  display: flex; align-items: center; gap: 2rem; margin-bottom: 2rem; opacity: 0; transform: translateX(50px);
}
.problem-bullet {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-bg-light);
  border: 2px solid var(--color-secondary);
  z-index: 2; position: relative;
  transition: all 0.5s ease;
}
.problem-item.active .problem-bullet {
  background: var(--color-secondary);
  box-shadow: 0 0 15px rgba(217, 209, 255, 0.4);
}
.problem-card {
  flex: 1; padding: 1.5rem 2rem; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 1.5rem;
}
.problem-card i { font-size: 2rem; color: var(--color-secondary); }
.problem-card p { font-size: 1.25rem; font-weight: 500; margin: 0; }

@media (max-width: 992px) {
  .problems-container { grid-template-columns: 1fr; }
}

/* 5. Jornada (STACKING CARDS EFEITO LÃ‚MINA) */
.journey {
  background-color: var(--color-black);
  position: relative;
  padding: 8rem 0;
}
.header-jornada { margin-bottom: 6rem; }
.journey-text { font-size: 1.25rem; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 800px; margin: 0 auto; }
.mission-text { font-size: 1.5rem; line-height: 1.4; letter-spacing: -0.5px; font-family: var(--font-title); margin-top: 2rem; }

.cards-jornada-container {
  padding-bottom: 50vh;
}

.stacked-cards-wrapper {
  position: relative;
  width: 100%;
}

.stack-card {
  position: sticky;
  top: 150px;
  margin-bottom: 100px;
  width: 100%;
}

.card-content {
  border-radius: var(--radius-lg);
  padding: 4rem;
  border-top: 1px solid rgba(217, 209, 255, 0.2);
  box-shadow: 0 -20px 40px rgba(0,0,0,0.5);
}

.step-indicator {
  font-family: var(--font-title);
  color: var(--color-secondary);
  font-size: 1.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.step-title { font-size: 2.25rem; line-height: 1.2; letter-spacing: -1px; color: var(--color-white); margin-bottom: 1.5rem; }
.card-info p { font-size: 1.125rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.tech-list li {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; color: var(--color-white); font-weight: 500;
}
.tech-list i { color: var(--color-secondary); }

.card-visual {
  display: flex; justify-content: center; align-items: center;
  height: 100%; padding: 4rem;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.tech-icon-large {
  font-size: 10rem;
  color: var(--color-secondary);
  filter: drop-shadow(0 0 30px rgba(217, 209, 255, 0.3));
}

.floating { animation: slow-float 5s ease-in-out infinite; }
@keyframes slow-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.ambient-light {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0;
}
.light-1 { top: 20%; left: -200px; width: 500px; height: 500px; background: rgba(217, 209, 255, 0.08); }
.light-2 { bottom: 10%; right: -200px; width: 600px; height: 600px; background: rgba(217, 209, 255, 0.05); }

@media (max-width: 992px) {
  .card-split { grid-template-columns: 1fr; gap: 2rem; }
  .card-content { padding: 2.5rem; }
  .tech-icon-large { font-size: 6rem; }
  .cards-jornada-container { padding-bottom: 2rem; }
  .stack-card { position: relative; top: 0 !important; margin-bottom: 2rem; }
}

/* 6. Programas 3D Tilt */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.mt-md-up { margin-top: -30px; }

.program-card {
  background: #080708;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  transform-style: preserve-3d;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.card-glow-effect {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 2px var(--color-secondary);
  transition: opacity 0.3s;
}
.program-card:hover .card-glow-effect { opacity: 1; }

.program-card.highlight {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 30px 60px rgba(217, 209, 255, 0.25);
}

.program-badge {
  display: inline-block; padding: 0.25rem 1rem;
  background-color: var(--color-bg-light);
  color: var(--color-secondary); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; border-radius: 20px;
  margin-bottom: 1.5rem; border: 1px solid rgba(0,0,0,0.05);
}

.badge-light { background: rgba(255,255,255,0.1); color: var(--color-secondary); border-color: transparent;}

.program-title { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1.5rem; color: var(--color-secondary); transform: translateZ(30px); }
.program-card.highlight .program-title { color: var(--color-primary); }
.program-body { flex-grow: 1; transform: translateZ(20px); }
.program-body p { margin-bottom: 2rem; font-size: 1rem; color: #AAA; }
.program-card.highlight p { color: rgba(0,0,0,0.8); }

.program-features li { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 1rem; font-size: 0.9rem;}
.program-features i { color: var(--color-secondary); margin-top: 3px; }
.program-card.highlight i { color: var(--color-primary); }

@media (max-width: 992px) {
  .programs-grid { grid-template-columns: 1fr; }
  .mt-md-up { margin-top: 0; }
}

/* 7. CTA & Formulario Glass */
.cta-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;}
.cta-title { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem;}
.cta-description { font-size: 1.25rem; margin-bottom: 3rem;}

.tech-stats { display: flex; gap: 2rem; }
.stat-item {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding-left: 1.5rem; border-left: 2px solid var(--color-secondary);
}
.stat-item i { font-size: 2rem; color: var(--color-secondary); }

.cta-form-wrapper { padding: 3rem; border-radius: var(--radius-lg); position: relative; }
.form-glow {
  position: absolute; top: -20px; right: -20px; width: 100px; height: 100px;
  background: var(--color-secondary); filter: blur(50px); z-index: -1;
}

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
label { display: block; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.5rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px;}
.input-glass input, .input-glass select, .input-glass textarea {
  width: 100%; padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.input-glass option {
  background-color: #1a1a1a;
  color: #ffffff;
}
.input-glass input:focus, .input-glass select:focus, .input-glass textarea:focus {
  outline: none; border-color: var(--color-secondary);
  background: rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
  .cta-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { padding: 5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); overflow: visible; }
.footer-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; position: relative; }
.footer-desc { max-width: 350px; font-size: 0.9rem; margin-top: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.glass-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: center; align-items: center; font-size: 1.25rem;
  transition: var(--transition-smooth);
}
.glass-icon:hover { background: var(--color-secondary); transform: translateY(-5px); color: var(--color-primary); }

/* Rocket Button */
.rocket-btn {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -80px;
  width: 70px;
  height: 70px;
  background: var(--color-secondary);
  border: 1px solid rgba(217, 209, 255, 0.4);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  box-shadow: 0 0 30px rgba(217, 209, 255, 0.4);
  cursor: pointer;
  overflow: visible;
  transition: background 0.3s, color 0.3s;
}
.rocket-btn i {
  display: inline-block;
  transform: rotate(-45deg); /* Point straight up */
}
.rocket-btn:hover {
  background: var(--color-white);
  color: var(--color-secondary);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Fire/Thruster effect added dynamically by JS */
.rocket-fire {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 80px;
  background: linear-gradient(to bottom, var(--color-white), var(--color-secondary), var(--color-primary), transparent);
  border-radius: 50%;
  filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  z-index: -1; 
}

@keyframes flicker-fire {
  0% { transform: translateX(-50%) scaleX(1) scaleY(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scaleX(1.3) scaleY(1.5); opacity: 1; filter: blur(4px); }
  100% { transform: translateX(-50%) scaleX(0.9) scaleY(0.9); opacity: 0.9; }
}

.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem; }

/* 9. Comprehensive Mobile Optimization */
@media (max-width: 768px) {
  /* Fix giant paddings and spacing on mobile */
  .card-content { padding: 2rem; }
  .result-card { padding: 2rem 1.5rem; }
  .program-card { padding: 2rem 1.5rem; }
  .section-padding { padding: 4rem 0; }
  .navbar { padding: 1rem 0; }
  .header-jornada { margin-bottom: 3rem; }
  
  /* Stack grids */
  .results-grid { grid-template-columns: 1fr; }
  
  /* Fix typography */
  .step-title { font-size: 1.75rem; }
  .program-title { font-size: 1.5rem; }
  .mission-text { font-size: 1.15rem; }
  
  /* Problem Timeline adjustments */
  .problem-item { gap: 1rem; }
  .problem-card { padding: 1.5rem 1rem; }
  .problem-card p { font-size: 1rem; }
  .timeline-line { left: 24px; }
  .problem-bullet { width: 40px; height: 40px; }
  .problem-item.active { transform: translateX(20px); }
  
  /* Hero card */
  .floating-card { padding: 0.75rem 1rem; }
  .data-value { font-size: 1.25rem; }
}
