/* ----------------------------------------------------
   🎨 Aules AI Copilot - Premium Landing Page Stylesheet
   ---------------------------------------------------- */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bg-deep: #080C14;
  --bg-marine: #0F1626;
  --bg-card: rgba(20, 28, 48, 0.45);
  --bg-card-hover: rgba(26, 36, 62, 0.6);
  --border-glass: rgba(99, 102, 241, 0.15);
  --border-glass-hover: rgba(99, 102, 241, 0.35);
  
  /* Gradients & Colors */
  --color-primary: #6366F1;
  --color-primary-dark: #4F46E5;
  --color-accent: #EC4899;
  --color-accent-dark: #D946EF;
  --color-violet: #8B5CF6;
  
  /* Semantic Text Colors */
  --color-text-main: #F8FAFC;
  --color-text-sub: #94A3B8;
  
  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --shadow-glow-pink: 0 0 25px rgba(236, 72, 153, 0.2);
}

/* -----------------------------------------
   🛡️ Base Reset & Typography
   ----------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-sub);
}

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 100px 0;
}

.bg-darker {
  background-color: #05070D;
}

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

.hidden {
  display: none !important;
}

/* -----------------------------------------
   ✨ Background Glows
   ----------------------------------------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  right: -100px;
  animation: floatGlow 12s infinite alternate ease-in-out;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-violet) 0%, rgba(139, 92, 246, 0) 70%);
  top: 600px;
  left: -200px;
  animation: floatGlow 18s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

/* -----------------------------------------
   🧱 UI Elements & Buttons
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow-pink);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.35);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-main);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
}

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

.navbar.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.accent-text {
  background: linear-gradient(135deg, #a5b4fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-sub);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* -----------------------------------------
   🚀 Hero Section
   ----------------------------------------- */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

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

.badge-new {
  display: inline-flex;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.animate-pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-main);
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-sub);
}

.hero-stats .divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------
   💻 Window Mockup Styling
   ----------------------------------------- */
.mockup-window {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-header {
  background: #151c2d;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.mockup-url {
  font-size: 11px;
  color: var(--color-text-sub);
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 16px;
  border-radius: 6px;
  margin-left: 24px;
  width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-body {
  padding: 0;
  height: 380px;
  position: relative;
}

.aules-layout {
  display: grid;
  grid-template-columns: 60px 1fr;
  height: 100%;
}

.aules-sidebar {
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.aules-main {
  padding: 20px;
  background: #090d16;
  position: relative;
}

.submission-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.student-avatar {
  font-size: 24px;
}

.sub-header h4 {
  font-size: 13px;
}

.sub-header p {
  font-size: 10px;
}

.sub-content {
  font-size: 11px;
  color: var(--color-text-main);
  background: #070a12;
  padding: 10px;
  border-radius: 6px;
}

.code-comment {
  color: #6b7280;
  font-family: monospace;
}

/* Injected panel mockup */
.injected-panel-mock {
  position: absolute;
  top: 80px;
  right: 20px;
  width: 240px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-family: var(--font-main);
  overflow: hidden;
}

.panel-header {
  background: rgba(99, 102, 241, 0.2);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.badge-pro-sm {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 8px;
  margin-left: 4px;
}

.panel-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-status {
  font-size: 9px;
  color: #a5b4fc;
}

.grade-badge-mock {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feedback-mock {
  font-size: 8px;
  background: #0f172a;
  padding: 6px;
  border-radius: 6px;
  color: var(--color-text-sub);
  line-height: 1.4;
}

/* -----------------------------------------
   📢 Secciones Comunes (Títulos)
   ----------------------------------------- */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
}

/* -----------------------------------------
   🤝 Beneficios Grid
   ----------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  background-color: var(--bg-card-hover);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* -----------------------------------------
   🔮 Simulator Styling (La Demo Interactiva)
   ----------------------------------------- */
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.sim-settings h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

.sim-group {
  margin-bottom: 24px;
}

.sim-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.sim-group select,
.sim-group textarea {
  width: 100%;
  background: #0f1626;
  border: 1px solid var(--border-glass);
  color: var(--color-text-main);
  font-family: var(--font-main);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.sim-group select:focus,
.sim-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.radio-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  background: #0f1626;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.radio-card.active {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.05);
}

.radio-emoji {
  font-size: 22px;
}

.radio-card strong {
  display: block;
  font-size: 13px;
  color: var(--color-text-main);
}

.radio-card p {
  font-size: 11px;
}

/* Console Simulation */
.sim-console {
  background: #04060b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.console-header {
  background: #0d121e;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.green { background-color: var(--color-success); }
.status-dot.yellow { background-color: var(--color-warning); }

.console-badge {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

.console-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.console-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ai-brain-icon {
  font-size: 50px;
  animation: floatBrain 4s infinite alternate ease-in-out;
}

@keyframes floatBrain {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.console-placeholder h4 {
  font-size: 18px;
}

.console-placeholder p {
  font-size: 13px;
  max-width: 280px;
}

/* Result panel in console */
.console-result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
}

.grade-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
}

.grade-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-success);
}

.grade-max {
  font-size: 10px;
  color: var(--color-text-sub);
}

.result-header h4 {
  font-size: 16px;
}

.result-header p {
  font-size: 12px;
}

.detail-block h5 {
  font-size: 12px;
  color: var(--color-text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.crit-check {
  color: var(--color-success);
  font-weight: bold;
  margin-right: 6px;
}

.feedback-bubble {
  background: #0f1625;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
  max-height: 180px;
  overflow-y: auto;
  border-left: 4px solid var(--color-primary);
}

.success-alert-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
}

/* -----------------------------------------
   ⚙️ Características Grid
   ----------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.tech-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 13px;
  line-height: 1.6;
}

/* -----------------------------------------
   💳 Pricing Section & Toggle
   ----------------------------------------- */
.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-sub);
}

.toggle-label.active {
  color: var(--color-text-main);
}

.badge-discount {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--color-accent);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 4px;
}

/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1e293b;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 50px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  border-color: var(--border-glass-hover);
  background-color: var(--bg-card-hover);
}

.pricing-card.popular {
  border: 2px solid var(--color-primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.card-header h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card-header p {
  font-size: 13px;
  margin-bottom: 24px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 30px;
}

.currency {
  font-size: 20px;
  font-weight: 700;
}

.price-val {
  font-size: 44px;
  font-weight: 800;
}

.period {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-left: 4px;
}

.custom-price-label {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.card-features {
  margin-bottom: 40px;
}

.card-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features .check {
  color: var(--color-success);
  font-weight: bold;
}

.card-features .cross {
  color: var(--color-danger);
  font-weight: bold;
}

/* -----------------------------------------
   ❓ FAQ Accordion
   ----------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.35);
  background-color: var(--bg-card-hover);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* -----------------------------------------
   📢 Closing CTA Banner
   ----------------------------------------- */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #090e1c 0%, #0d0a1b 100%);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 16px;
  margin-bottom: 30px;
}

/* -----------------------------------------
   👣 Footer Styling
   ----------------------------------------- */
.main-footer {
  background: #04060a;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  max-width: 320px;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

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

.footer-links-group a:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  font-size: 11px;
}

/* -----------------------------------------
   📋 Pasos de Instalación
   ----------------------------------------- */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-violet) 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* -----------------------------------------
   📱 Responsive Queries (Grid & Column adaptation)
   ----------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  .hero-media {
    max-width: 600px;
    margin: 0 auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0 auto;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .simulator-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .install-steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }
  .nav-links, .nav-cta {
    display: none; /* In production, we'd add toggle js for responsive menu */
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
