/* ==========================================================================
   SecticSolar - Modern Premium Stylesheet
   Created with HSL color system, Glassmorphic UI & Cyber-Solar accents
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

/* CSS Variables */
:root {
  /* Color System */
  --bg-deep: 224 35% 8%; /* #0B0D19 - Deep Space */
  --bg-surface: 224 30% 12%; /* #121624 - Card surface */
  --bg-surface-glass: 224 30% 12% / 0.7;
  
  --solar-accent: 38 95% 55%; /* #F59E0B - Solar Gold */
  --solar-accent-hover: 38 95% 45%;
  --solar-glow: 38 95% 55% / 0.15;
  
  --tech-accent: 217 91% 60%; /* #3B82F6 - Tech Blue */
  --tech-glow: 217 91% 60% / 0.15;
  
  --text-primary: 210 40% 98%; /* High contrast text */
  --text-secondary: 215 20% 75%; /* Body/secondary text */
  --text-dim: 215 15% 50%; /* Captions/borders */
  
  --border-light: 220 20% 20% / 0.4;
  --border-active: 38 95% 55% / 0.3;
  
  /* Layout & Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: hsl(var(--bg-deep));
  color: hsl(var(--text-primary));
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: hsl(var(--bg-deep));
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border: 2px solid hsl(var(--bg-deep));
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--solar-accent));
}

/* Global Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: hsl(var(--text-secondary));
  font-weight: 400;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* Header & Glassmorphic Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border-light));
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: hsl(var(--bg-deep) / 0.9);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: white;
}

.logo span {
  color: hsl(var(--solar-accent));
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px hsl(var(--solar-accent) / 0.3);
  color: white;
  font-size: 18px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--text-secondary));
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  transition: var(--transition-smooth);
}

nav a.active, nav a:hover {
  color: white;
}

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

.cta-button {
  background: linear-gradient(135deg, hsl(var(--solar-accent)), hsl(var(--solar-accent-hover)));
  color: hsl(var(--bg-deep));
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 25px hsl(var(--solar-accent) / 0.3);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px hsl(var(--solar-accent) / 0.5);
  color: hsl(var(--bg-deep));
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Main Content Container & Routing Layout */
main {
  padding-top: 80px;
}

.page-section {
  display: none;
  min-height: calc(100vh - 80px);
}

.page-section.active {
  display: block;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Hero & General Layouts */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsl(var(--tech-accent) / 0.1);
  border: 1px solid hsl(var(--tech-accent) / 0.3);
  color: hsl(var(--tech-accent));
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-badge i {
  animation: pulse solarPulse 2s infinite;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: hsl(var(--text-secondary));
  margin-bottom: 40px;
  font-family: var(--font-body);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid hsl(var(--border-light));
  padding-top: 32px;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 12px;
  color: hsl(var(--text-dim));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, hsl(var(--solar-accent) / 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(30px);
}

.hero-image {
  border: 1px solid hsl(var(--border-light));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-image:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: hsl(var(--solar-accent) / 0.3);
}

/* Featured Product Section (ConjuntoOS Showcase) */
.product-showcase-container {
  background: linear-gradient(to bottom, hsl(var(--bg-deep)), hsl(var(--bg-surface)));
  padding: 100px 24px;
}

.product-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.section-header h2 span {
  color: hsl(var(--solar-accent));
}

.section-header p {
  font-size: 16px;
  color: hsl(var(--text-secondary));
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.laptop-mockup {
  position: relative;
  background: #000;
  padding: 16px;
  border-radius: 20px;
  border: 4px solid #222;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.laptop-screen {
  aspect-ratio: 16/10;
  background: #111;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #333;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateX(10px);
  border-color: hsl(var(--solar-accent) / 0.4);
  background: hsl(var(--bg-surface) / 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: hsl(var(--solar-accent) / 0.1);
  color: hsl(var(--solar-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  shrink-0: 0;
}

.feature-card:nth-child(even) .feature-icon {
  background: hsl(var(--tech-accent) / 0.1);
  color: hsl(var(--tech-accent));
}

.feature-content h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 13px;
  color: hsl(var(--text-secondary));
}

/* Page: Quiénes Somos (About Us) */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.about-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.about-subtitle {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.3;
  color: hsl(var(--solar-accent));
  font-style: italic;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.founder-card {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, hsl(var(--solar-accent) / 0.08) 0%, transparent 70%);
}

.founder-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--solar-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.founder-avatar-placeholder {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, hsl(var(--solar-accent) / 0.2), hsl(var(--tech-accent) / 0.2));
  border: 1px solid hsl(var(--border-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
}

.founder-meta h3 {
  font-size: 22px;
  color: white;
}

.founder-meta span {
  font-size: 12px;
  color: hsl(var(--solar-accent));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.founder-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: hsl(var(--text-secondary));
  font-weight: 600;
  margin-top: 4px;
}

.founder-bio {
  font-size: 14px;
  color: hsl(var(--text-secondary));
  margin-bottom: 24px;
}

.founder-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

/* Page: Nuestros Servicios (Our Services) */
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 20px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--tech-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: hsl(var(--tech-accent) / 0.1);
  color: hsl(var(--tech-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
  box-shadow: 0 10px 25px hsl(var(--tech-accent) / 0.15);
}

.service-card:nth-child(2) .service-icon-wrapper {
  background: hsl(var(--solar-accent) / 0.1);
  color: hsl(var(--solar-accent));
  box-shadow: 0 10px 25px hsl(var(--solar-accent) / 0.15);
}

.service-card h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  color: hsl(var(--text-secondary));
  margin-bottom: 24px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-bullets li {
  font-size: 13px;
  color: hsl(var(--text-secondary));
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li i {
  color: hsl(var(--solar-accent));
}

/* Page: Contáctenos (Contact Us) */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

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

.contact-card-info {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 20px;
  padding: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: hsl(var(--solar-accent) / 0.1);
  color: hsl(var(--solar-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  shrink-0: 0;
}

.contact-item-text h4 {
  font-size: 16px;
  color: white;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 13px;
  color: hsl(var(--text-secondary));
}

.contact-form-wrapper {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-title {
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: hsl(var(--text-secondary));
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--text-secondary));
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid hsl(var(--border-light));
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: hsl(var(--solar-accent) / 0.5);
  box-shadow: 0 0 15px hsl(var(--solar-accent) / 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer Section */
footer {
  background: hsl(var(--bg-deep));
  border-top: 1px solid hsl(var(--border-light));
  padding: 60px 24px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: hsl(var(--solar-accent));
}

.footer-brand p {
  font-size: 13px;
  color: hsl(var(--text-secondary));
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.social-circle:hover {
  background: hsl(var(--solar-accent));
  color: hsl(var(--bg-deep));
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: hsl(var(--text-secondary));
}

.footer-links a:hover {
  color: hsl(var(--solar-accent));
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid hsl(var(--border-light));
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: hsl(var(--text-dim));
}

/* Premium Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-active));
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification i {
  color: hsl(var(--solar-accent));
  font-size: 20px;
}

.toast-text h4 {
  font-size: 13px;
  color: white;
  margin-bottom: 2px;
}

.toast-text p {
  font-size: 11px;
  color: hsl(var(--text-secondary));
}

/* Keyframe Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes solarPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .about-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: hsl(var(--bg-deep) / 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(var(--border-light));
    padding: 30px 24px;
    gap: 24px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 99;
  }
  
  nav ul.mobile-active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .cta-header-btn {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ==========================================================================
   ConjuntoOS Modules Presentation Showcase Styles
   ========================================================================== */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.module-card {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 20px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  opacity: 0;
  transition: var(--transition-smooth);
}

.module-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--solar-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px hsl(var(--solar-accent) / 0.1);
}

.module-card:hover::before {
  opacity: 1;
}

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

.module-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: hsl(var(--solar-accent) / 0.1);
  color: hsl(var(--solar-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px hsl(var(--solar-accent) / 0.1);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.module-card:hover .module-icon {
  transform: scale(1.1) rotate(5deg);
  background: hsl(var(--solar-accent));
  color: hsl(var(--bg-deep));
  box-shadow: 0 8px 25px hsl(var(--solar-accent) / 0.4);
}

/* Give even numbered modules a tech blue style for visual variety */
.module-card:nth-child(even) .module-icon {
  background: hsl(var(--tech-accent) / 0.1);
  color: hsl(var(--tech-accent));
  box-shadow: 0 8px 20px hsl(var(--tech-accent) / 0.1);
}

.module-card:nth-child(even):hover .module-icon {
  background: hsl(var(--tech-accent));
  color: hsl(var(--bg-deep));
  box-shadow: 0 8px 25px hsl(var(--tech-accent) / 0.4);
}

.module-card:nth-child(even):hover {
  border-color: hsl(var(--tech-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px hsl(var(--tech-accent) / 0.1);
}

.module-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--text-secondary));
}

.module-badge.real-time {
  background: hsl(var(--solar-accent) / 0.1);
  border-color: hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
  animation: pulse solarPulse 2s infinite;
}

.module-card h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.module-desc {
  font-size: 14px;
  color: hsl(var(--text-secondary));
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.module-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-top: 1px solid hsl(var(--border-light));
  padding-top: 18px;
}

.module-features li {
  font-size: 12.5px;
  color: hsl(var(--text-secondary));
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.module-features li i {
  color: hsl(var(--tech-accent));
  margin-top: 3px;
  font-size: 11px;
}

.module-card:nth-child(even) .module-features li i {
  color: hsl(var(--solar-accent));
}

.module-benefit {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid hsl(var(--border-light));
  border-radius: 12px;
  padding: 16px;
  transition: var(--transition-smooth);
}

.module-card:hover .module-benefit {
  background: rgba(255, 255, 255, 0.04);
  border-color: hsl(var(--solar-accent) / 0.2);
}

.module-card:nth-child(even):hover .module-benefit {
  border-color: hsl(var(--tech-accent) / 0.2);
}

.module-benefit h4 {
  font-size: 12px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.module-benefit h4 i {
  color: hsl(var(--solar-accent));
}

.module-card:nth-child(even) .module-benefit h4 i {
  color: hsl(var(--tech-accent));
}

.module-benefit p {
  font-size: 11.5px;
  color: hsl(var(--text-dim));
  line-height: 1.5;
}

.module-card:hover .module-benefit p {
  color: hsl(var(--text-secondary));
}

/* Responsive adjustments for Ecosistema ConjuntoOS section */
@media (max-width: 968px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Advantages & Interactive Slider Enhancements (ConjuntoOS)
   ========================================================================== */

/* Advantages Section */
.advantages-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background: linear-gradient(135deg, hsl(var(--bg-surface) / 0.8), hsl(var(--bg-deep) / 0.8));
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  transition: var(--transition-smooth);
  z-index: -1;
}

.advantage-card.role-admin::before {
  background: hsl(var(--solar-accent));
}

.advantage-card.role-copropietario::before {
  background: hsl(var(--tech-accent));
}

.advantage-card.role-vigilante::before {
  background: hsl(38 95% 55%);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.advantage-card.role-admin:hover {
  border-color: hsl(var(--solar-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px hsl(var(--solar-accent) / 0.08);
}

.advantage-card.role-copropietario:hover {
  border-color: hsl(var(--tech-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px hsl(var(--tech-accent) / 0.08);
}

.advantage-card.role-vigilante:hover {
  border-color: hsl(var(--solar-accent) / 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px hsl(var(--solar-accent) / 0.08);
}

.advantage-card:hover::before {
  opacity: 0.3;
  transform: scale(1.2);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.role-admin .role-badge {
  background: hsl(var(--solar-accent) / 0.1);
  border: 1px solid hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
}

.role-copropietario .role-badge {
  background: hsl(var(--tech-accent) / 0.1);
  border: 1px solid hsl(var(--tech-accent) / 0.3);
  color: hsl(var(--tech-accent));
}

.role-vigilante .role-badge {
  background: hsl(var(--solar-accent) / 0.1);
  border: 1px solid hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
}

.advantage-card h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: hsl(var(--text-secondary));
  margin-bottom: 28px;
  line-height: 1.5;
}

.advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid hsl(var(--border-light));
  padding-top: 24px;
}

.advantage-list li {
  font-size: 13px;
  color: hsl(var(--text-secondary));
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.advantage-list li i {
  margin-top: 3px;
  font-size: 11px;
}

.role-admin .advantage-list li i {
  color: hsl(var(--solar-accent));
}

.role-copropietario .advantage-list li i {
  color: hsl(var(--tech-accent));
}

.role-vigilante .advantage-list li i {
  color: hsl(var(--solar-accent));
}

.advantage-list li strong {
  color: white;
  font-weight: 600;
}

/* Slider Interactive Tabs */
.slider-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.slider-tab {
  background: hsl(var(--bg-surface) / 0.5);
  border: 1px solid hsl(var(--border-light));
  border-radius: 16px;
  padding: 16px 20px;
  color: hsl(var(--text-secondary));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.slider-tab i {
  font-size: 18px;
  transition: var(--transition-smooth);
}

.slider-tab:hover {
  background: hsl(var(--bg-surface));
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
}

.slider-tab.active {
  background: hsl(var(--bg-surface));
  color: white;
  border-color: hsl(var(--solar-accent) / 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px hsl(var(--solar-accent) / 0.1);
}

.slider-tab.active i {
  color: hsl(var(--solar-accent));
  transform: scale(1.1);
}

/* Show slide matching and transitions inside mockup */
.slider-images-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.03) translateX(10px);
  transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Glow under Laptop Mockup */
.laptop-mockup {
  position: relative;
}

.laptop-glow {
  position: absolute;
  bottom: -15px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, hsl(var(--solar-accent) / 0.25) 0%, transparent 80%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.laptop-mockup:hover .laptop-glow {
  background: radial-gradient(ellipse at center, hsl(var(--solar-accent) / 0.4) 0%, transparent 80%);
  transform: scale(1.1);
}

/* Slide Navigation Arrows */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: hsl(var(--bg-surface) / 0.8);
  border: 1px solid hsl(var(--border-light));
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn:hover {
  background: hsl(var(--solar-accent));
  color: hsl(var(--bg-deep));
  border-color: hsl(var(--solar-accent));
  box-shadow: 0 4px 15px hsl(var(--solar-accent) / 0.4);
}

.slider-nav-btn.prev {
  left: -22px;
}

.slider-nav-btn.next {
  right: -22px;
}

/* Interactive Description Side Panel */
.showcase-descriptions {
  position: relative;
  min-height: 380px;
}

.desc-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  visibility: hidden;
}

.desc-card.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.desc-badge {
  display: inline-block;
  background: hsl(var(--tech-accent) / 0.1);
  border: 1px solid hsl(var(--tech-accent) / 0.3);
  color: hsl(var(--tech-accent));
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.desc-card:nth-child(even) .desc-badge {
  background: hsl(var(--solar-accent) / 0.1);
  border-color: hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
}

.desc-header h3 {
  font-size: 28px;
  color: white;
  margin-bottom: 16px;
  font-weight: 800;
}

.desc-card p {
  font-size: 15px;
  color: hsl(var(--text-secondary));
  margin-bottom: 24px;
  line-height: 1.6;
}

.desc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.desc-bullets li {
  font-size: 13.5px;
  color: hsl(var(--text-secondary));
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.desc-bullets li i {
  color: hsl(var(--solar-accent));
  margin-top: 3px;
  font-size: 13px;
}

.desc-card:nth-child(even) .desc-bullets li i {
  color: hsl(var(--tech-accent));
}

.desc-cta {
  display: flex;
  gap: 16px;
}

/* Scroll Reveal Base Class */
.scroll-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .advantages-grid > :last-child {
    grid-column: span 2;
  }
  
  .slider-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slider-nav-btn.prev {
    left: -10px;
  }

  .slider-nav-btn.next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 60px 24px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .advantages-grid > :last-child {
    grid-column: span 1;
  }
  
  .slider-tab {
    padding: 12px 14px;
    font-size: 12px;
  }
  
  .desc-header h3 {
    font-size: 22px;
  }
}

/* Premium Glassmorphic Modal Styles for Ecosistema ConjuntoOS Widgets */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.modal-card {
  background: linear-gradient(135deg, hsl(var(--bg-surface)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--border-light));
  border-radius: 28px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px hsl(var(--solar-accent) / 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  background: hsl(var(--solar-accent));
  color: hsl(var(--bg-deep));
  border-color: hsl(var(--solar-accent));
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
}

.modal-visual {
  padding: 40px;
  background: hsl(var(--bg-deep) / 0.5);
  border-right: 1px solid hsl(var(--border-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  border: 1px solid hsl(var(--border-light));
  transition: var(--transition-smooth);
}

.modal-visual img:hover {
  transform: scale(1.02);
  border-color: hsl(var(--solar-accent) / 0.3);
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-badge-info {
  display: inline-block;
  background: hsl(var(--solar-accent) / 0.1);
  border: 1px solid hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

#modalTitle {
  font-size: 32px;
  color: white;
  margin-bottom: 24px;
  font-weight: 800;
}

.modal-body-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.info-section h4 {
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.info-section h4 i {
  color: hsl(var(--solar-accent));
}

.info-section p {
  font-size: 13.5px;
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}

  .modal-info {
    padding: 30px;
  }
}

/* ==========================================================================
   Módulo Detalle - Dynamic Product Page Premium Styles
   ========================================================================== */

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.detail-nav-back {
  margin-bottom: 30px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: hsl(var(--solar-accent));
  transition: var(--transition-smooth);
}

.back-link:hover {
  transform: translateX(-5px);
  color: white;
}

/* Detail Hero Section */
.detail-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 40px 0;
}

.detail-hero-content {
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-title {
  font-size: 56px;
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.detail-title span {
  background: linear-gradient(135deg, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-lead {
  font-size: 20px;
  color: hsl(var(--text-secondary));
  margin-bottom: 40px;
  line-height: 1.6;
}

.detail-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Gallery Showcase */
.detail-showcase-gallery {
  margin-bottom: 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
}

.gallery-card {
  background: linear-gradient(135deg, hsl(var(--bg-surface)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--solar-accent) / 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-card.mobile-card:hover {
  border-color: hsl(var(--tech-accent) / 0.3);
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}

.desktop-card .gallery-tag {
  background: hsl(var(--solar-accent) / 0.1);
  border: 1px solid hsl(var(--solar-accent) / 0.3);
  color: hsl(var(--solar-accent));
}

.mobile-card .gallery-tag {
  background: hsl(var(--tech-accent) / 0.1);
  border: 1px solid hsl(var(--tech-accent) / 0.3);
  color: hsl(var(--tech-accent));
}

.gallery-img-wrapper {
  aspect-ratio: 16/10;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-light));
  margin-bottom: 28px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-card .gallery-img-wrapper {
  aspect-ratio: 16/14; /* Tighter ratio for mobile app displays */
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.02);
}

.gallery-card h4 {
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}

.gallery-card p {
  font-size: 13.5px;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
}

/* Video Player section */
.detail-video-section {
  margin-bottom: 100px;
}

.video-player-wrapper {
  max-width: 900px;
  margin: 50px auto 0;
}

.video-container {
  background: #000;
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px hsl(var(--solar-accent) / 0.1);
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
}

.video-screen {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  background: #05060f;
}

.video-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.video-overlay p {
  color: white;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: hsl(var(--solar-accent));
  color: hsl(var(--bg-deep));
  border: none;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 30px hsl(var(--solar-accent) / 0.5);
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 40px hsl(var(--solar-accent) / 0.7);
}

/* Spinner during video simulation loading state */
.video-active-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 20, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.video-active-spinner.active {
  opacity: 1;
}

.video-active-spinner i {
  font-size: 40px;
  color: hsl(var(--solar-accent));
}

.video-active-spinner span {
  font-size: 13px;
  color: hsl(var(--text-secondary));
  font-weight: 600;
}

/* Actions text log simulated inside video */
.video-action-log {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(18, 22, 36, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border-light));
  border-radius: 12px;
  padding: 14px 20px;
  max-width: 80%;
  color: white;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-action-log.active {
  opacity: 1;
  transform: translateY(0);
}

.video-action-log.highlight {
  animation: logHighlight 0.4s ease-out;
}

@keyframes logHighlight {
  0% { border-color: hsl(var(--border-light)); }
  50% { border-color: hsl(var(--solar-accent) / 0.8); }
  100% { border-color: hsl(var(--border-light)); }
}

.video-action-log p {
  font-size: 13px;
  color: white;
  font-weight: 600;
  line-height: 1.4;
}

.log-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: hsl(var(--solar-accent));
  margin-bottom: 4px;
}

/* Custom Controls Bar */
.video-controls {
  height: 54px;
  background: hsl(var(--bg-surface));
  border-top: 1px solid hsl(var(--border-light));
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  z-index: 12;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.control-btn:hover {
  color: hsl(var(--solar-accent));
}

.progress-bar-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, hsl(var(--solar-accent)), hsl(var(--tech-accent)));
  border-radius: 10px;
  transition: width 0.1s linear;
}

.video-time {
  font-size: 12px;
  color: hsl(var(--text-dim));
  font-family: monospace;
}

.video-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 900;
  color: #ef4444;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse solarPulse 1.5s infinite;
}

/* Steps Grid */
.detail-steps-section {
  margin-bottom: 100px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.step-card {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.step-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, hsl(var(--solar-accent) / 0.3), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 13.5px;
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}

/* Comparison Table */
.detail-comparison-section {
  margin-bottom: 100px;
}

.comparison-table-wrapper {
  background: hsl(var(--bg-surface));
  border: 1px solid hsl(var(--border-light));
  border-radius: 24px;
  overflow: hidden;
  margin-top: 50px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 24px 30px;
  border-bottom: 1px solid hsl(var(--border-light));
}

.comparison-table th {
  background: hsl(var(--bg-deep) / 0.5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: white;
}

.comparison-table td {
  font-size: 13.5px;
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comp-bad, .comp-good {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  width: fit-content;
}

.comp-bad {
  color: #ef4444;
}

.comp-good {
  color: #10b981;
}

/* FAQs específica */
.detail-faq-section {
  margin-bottom: 100px;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Dynamic Page Footer CTA */
.detail-cta-footer {
  margin-bottom: 60px;
}

.cta-footer-card {
  background: linear-gradient(135deg, hsl(var(--bg-surface)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--border-light));
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.cta-footer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, hsl(var(--solar-accent) / 0.05) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.cta-footer-card * {
  position: relative;
  z-index: 2;
}

.cta-footer-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: hsl(var(--solar-accent) / 0.1);
  color: hsl(var(--solar-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px hsl(var(--solar-accent) / 0.2);
}

.cta-footer-card h3 {
  font-size: 32px;
  color: white;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-footer-card p {
  font-size: 16px;
  color: hsl(var(--text-secondary));
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Detail view media queries */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .detail-title {
    font-size: 40px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 16px 20px;
  }
}

@media (max-width: 600px) {
  .detail-hero {
    margin-bottom: 40px;
  }
  
  .detail-lead {
    font-size: 16px;
  }
  
  .detail-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .gallery-card {
    padding: 24px;
  }
  
  .comparison-table-wrapper {
    overflow-x: auto;
  }
  
  .comparison-table {
    min-width: 600px;
  }
  
  .cta-footer-card {
    padding: 40px 24px;
  }
  
  .cta-footer-card h3 {
    font-size: 24px;
  }
}

/* ==========================================================================
   Full-Width Premium Layered Backgrounds (index.html)
   ========================================================================== */

/* Hero Full-Width Background Wrapper */
.hero-bg-wrapper {
  position: relative;
  background-color: hsl(var(--bg-deep));
  /* Futuristic tech cyber-grid + nebula glows */
  background-image: 
    radial-gradient(circle at 10% 20%, hsl(var(--solar-accent) / 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsl(var(--tech-accent) / 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  border-bottom: 1px solid hsl(var(--border-light));
  overflow: hidden;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, hsl(var(--solar-accent) / 0.02) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 2;
}

/* Advantages Full-Width Background Wrapper */
.advantages-bg-wrapper {
  position: relative;
  background: radial-gradient(circle at 50% 50%, hsl(var(--bg-surface) / 0.4) 0%, hsl(var(--bg-deep)) 100%);
  border-bottom: 1px solid hsl(var(--border-light));
  overflow: hidden;
}

/* Styled Decorative Mesh Gradients on Wrapper */
.advantages-bg-wrapper::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(var(--solar-accent) / 0.05) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.advantages-bg-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(var(--tech-accent) / 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.advantages-section {
  position: relative;
  z-index: 2;
}

/* Upgraded Product Showcase Full-Width Container */
.product-showcase-container {
  position: relative;
  background-color: hsl(var(--bg-deep));
  /* Focused radial glow directly behind the laptop mockup + Cyber grid pattern */
  background-image: 
    radial-gradient(circle at 50% 45%, hsl(var(--solar-accent) / 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, hsl(var(--tech-accent) / 0.06) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  overflow: hidden;
}

.product-showcase-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse at center, hsl(var(--solar-accent) / 0.04) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.product-showcase {
  position: relative;
  z-index: 2;
}

