/* ==========================================================================
   CUÁNTICO ACADEMY - ESTILOS CORPORATIVOS & ALTA BARBERÍA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Syne:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-main: #090a0f;
  --bg-card: rgba(18, 20, 29, 0.75);
  --bg-card-hover: rgba(26, 29, 43, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.22);
  --accent-gold: #e5b352;
  --accent-gold-glow: rgba(229, 179, 82, 0.25);
  --accent-cyan: #00f2fe;
  --accent-cyan-glow: rgba(0, 242, 254, 0.25);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(229, 179, 82, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 242, 254, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #222738;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism & Panels */
.glass-panel {
  background: rgba(14, 17, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.glass-card {
  background: rgba(16, 20, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(229, 179, 82, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 30px rgba(229, 179, 82, 0.12);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #e5b352 0%, #f59e0b 100%);
  color: #050507;
  font-weight: 700;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
  box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes pulseSlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.08); }
}

.animate-pulse-slow {
  animation: pulseSlow 7s infinite ease-in-out;
}

/* AI Chat Bubbles & Streaming */
.ai-bubble {
  background: rgba(18, 22, 36, 0.92);
  border-radius: 18px 18px 18px 4px;
}

.user-bubble {
  background: linear-gradient(135deg, rgba(229, 179, 82, 0.2) 0%, rgba(217, 119, 6, 0.25) 100%);
  border-radius: 18px 18px 4px 18px;
}

.typing-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background-color: var(--accent-gold);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.followup-chip:hover {
  background: rgba(229, 179, 82, 0.15);
  border-color: rgba(229, 179, 82, 0.4);
  color: #fef08a;
  transform: translateY(-1px);
}

/* Active Filter Pill */
.filter-btn.active {
  background: linear-gradient(135deg, #e5b352 0%, #f59e0b 100%);
  color: #050507;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Before / After Slider Comparison Card */
.comparison-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

/* Social Proof Floating Toast */
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
}

.toast-enter {
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-exit {
  animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Quiz Option Hover & Active */
.quiz-opt-btn {
  transition: all 0.2s ease;
}
.quiz-opt-btn:hover {
  border-color: rgba(229, 179, 82, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}
.quiz-opt-btn.correct {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #a7f3d0 !important;
}
.quiz-opt-btn.incorrect {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
}

/* Payment Gateway Styles */
.payment-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.payment-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.payment-tab.active {
  background: linear-gradient(135deg, rgba(229, 179, 82, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(229, 179, 82, 0.8);
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(229, 179, 82, 0.15);
}

.btn-paypal {
  background: linear-gradient(135deg, #ffc439 0%, #f6b528 100%);
  color: #003087;
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(246, 181, 40, 0.4);
}

.btn-paypal:hover {
  background: linear-gradient(135deg, #ffd15c 0%, #f4aa15 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(246, 181, 40, 0.6);
}

.btn-revolut {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
}

.btn-revolut:hover {
  background: #111111;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(255, 255, 255, 0.15);
}

.btn-bizum {
  background: linear-gradient(135deg, #00c1d4 0%, #0098a6 100%);
  color: #ffffff;
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 193, 212, 0.35);
}

.btn-bizum:hover {
  background: linear-gradient(135deg, #1fe5f9 0%, #008794 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 193, 212, 0.55);
}

