/* ==========================================================================
   STYLE SYSTEM — EVYON DIGITAL BRAND & PRESENTATION
   B2 Transportes Presentation Landing Page
   ========================================================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Core Theme Variables */
:root {
  /* Common Accent Colors */
  --accent-purple: #7d22e6;
  --accent-purple-glow: rgba(125, 34, 230, 0.4);
  --accent-purple-light: #9f4bfd;
  --accent-magenta: #e622d9;
  --accent-magenta-glow: rgba(230, 34, 217, 0.3);
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.2);
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.2);
  --accent-red: #ff1744;
  --accent-red-glow: rgba(255, 23, 68, 0.2);
  --accent-yellow: #ffd600;
  
  /* Typography */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Theme-specific (initially dark, but sections overwrite these) */
  --bg-main: #07020d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-sub: #a397be;
  --shadow-glow: 0 8px 32px 0 rgba(125, 34, 230, 0.15);
  --grid-color: rgba(125, 34, 230, 0.04);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: #07020d;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   THEME CLASSES (For Alternating Sections)
   ========================================================================== */

/* Dark Section Style */
.section-dark {
  --bg-main: #080312;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-sub: #b3a7cb;
  --shadow-glow: 0 10px 40px 0 rgba(125, 34, 230, 0.25);
  --grid-color: rgba(125, 34, 230, 0.04);
  
  background-color: var(--bg-main);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

/* Cyber grid background for dark sections */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Ambient glow blobs in dark sections */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.blob-purple {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: 10%;
  left: -100px;
}
.blob-magenta {
  width: 500px;
  height: 500px;
  background: var(--accent-magenta);
  bottom: 10%;
  right: -150px;
}

/* Light Section Style */
.section-light {
  --bg-main: #fafaff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: rgba(125, 34, 230, 0.12);
  --text-main: #0c061a;
  --text-sub: #5c5370;
  --shadow-glow: 0 10px 40px 0 rgba(125, 34, 230, 0.06);
  --grid-color: rgba(125, 34, 230, 0.02);
  
  background-color: var(--bg-main);
  color: var(--text-main);
  position: relative;
}

/* Clean abstract grid for light sections */
.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   LAYOUT CONTAINERS & HELPER STYLES
   ========================================================================== */
section {
  padding: 100px 0;
  width: 100%;
}

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

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

.section-header .tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-purple-light);
  background: rgba(125, 34, 230, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(125, 34, 230, 0.15);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.1rem;
}

/* Glassmorphism card base */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(15px);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(125, 34, 230, 0.25);
  transform: translateY(-5px);
}

/* Interactive Glowing Button */
.btn-evyon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(125, 34, 230, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-evyon::after {
  content: '';
  position: absolute;
  top: 0; left: -50%; width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  transition: 0.75s;
}

.btn-evyon:hover::after {
  left: 120%;
}

.btn-evyon:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(125, 34, 230, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  border-color: var(--accent-purple-light);
  background: rgba(125, 34, 230, 0.05);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(10, 5, 22, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 70px;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-evyon {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-evyon span {
  color: var(--accent-purple-light);
}

.logo-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.project-badge {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 500;
  color: #a397be;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: #b3a7cb;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent-purple-light);
  transition: var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION (DARK)
   ========================================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(circle at 80% 20%, rgba(125, 34, 230, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(230, 34, 217, 0.08) 0%, transparent 60%),
              #07020d;
}

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

.hero-content {
  position: relative;
  z-index: 10;
}

.evyon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple-light);
  background: rgba(125, 34, 230, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(125, 34, 230, 0.2);
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(125, 34, 230, 0.1);
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 70%, var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-purple-light);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.85rem;
  color: #8c7eab;
  margin-bottom: 0;
}

/* Hero visual mockup (Interactive elements inside mockup) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glow-ambient {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.mockup-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-mini {
  background: rgba(14, 8, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(125, 34, 230, 0.15);
  backdrop-filter: blur(20px);
  padding: 25px;
  width: 100%;
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.db-bullets {
  display: flex;
  gap: 6px;
}

.bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}
.bullet:nth-child(2) { background: #ffbd2e; }
.bullet:nth-child(3) { background: #27c93f; }

.db-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a397be;
}

.db-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.db-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
}

.db-card-label {
  font-size: 0.75rem;
  color: #7b6f95;
  margin-bottom: 5px;
}

.db-card-val {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
}

.db-card-val.purple { color: var(--accent-purple-light); }
.db-card-val.cyan { color: var(--accent-cyan); }
.db-card-val.magenta { color: var(--accent-magenta); }
.db-card-val.green { color: var(--accent-green); }

.db-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.db-list-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.db-list-status.pend {
  background: rgba(255, 214, 0, 0.1);
  color: var(--accent-yellow);
}
.db-list-status.done {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
}

/* ==========================================================================
   CHALLENGE & VISION SECTION (LIGHT)
   ========================================================================== */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.comparison-box {
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Chaotic side styling */
.comparison-box.chaotic {
  background: #ffffff;
  border: 1px solid rgba(255, 23, 68, 0.12);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.02);
}

.comparison-box.chaotic h3 {
  color: var(--accent-red);
  font-size: 1.6rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Resolved side styling */
.comparison-box.resolved {
  background: #ffffff;
  border: 1px solid rgba(125, 34, 230, 0.15);
  box-shadow: 0 10px 45px rgba(125, 34, 230, 0.05);
}

.comparison-box.resolved h3 {
  color: var(--accent-purple);
  font-size: 1.6rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 15px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comparison-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  margin-bottom: 2px;
}

.chaotic .comparison-item strong { color: #2e263d; }
.resolved .comparison-item strong { color: var(--accent-purple); }

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

.comparison-item i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.chaotic i { color: var(--accent-red); }
.resolved i { color: var(--accent-green); }

/* ==========================================================================
   USER PROFILES SECTION (DARK & INTERACTIVE)
   ========================================================================== */
.profile-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.profile-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a397be;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.profile-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.profile-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(125, 34, 230, 0.4);
}

.profile-content-wrap {
  position: relative;
  min-height: 480px;
}

.profile-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  animation: fadeIn 0.5s ease forwards;
}

.profile-panel.active {
  display: grid;
}

.profile-info h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.profile-tagline {
  font-size: 1.1rem;
  color: var(--accent-purple-light);
  margin-bottom: 25px;
  font-weight: 500;
}

.profile-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.rules-list h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-list.allowed h4 { color: var(--accent-green); }
.rules-list.forbidden h4 { color: var(--accent-red); }

.rules-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules-items li {
  font-size: 0.85rem;
  color: #a397be;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.rules-items li i {
  margin-top: 3px;
}

.rules-list.allowed li i { color: var(--accent-green); }
.rules-list.forbidden li i { color: var(--accent-red); }

/* Interactive Interface Simulator Mockup */
.profile-mockup {
  background: rgba(14, 8, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mock-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.mock-window-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7b6f95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mock-db-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   MODULES EXPLORER (LIGHT & INTERACTIVE)
   ========================================================================== */
.modules-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid rgba(125, 34, 230, 0.12);
  color: var(--text-sub);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(125, 34, 230, 0.05);
  color: var(--accent-purple);
}

.filter-btn.active {
  background: var(--accent-purple);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(125, 34, 230, 0.15);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}

.module-card {
  background: #ffffff;
  border: 1px solid rgba(125, 34, 230, 0.1);
  border-radius: 16px;
  padding: 25px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(125, 34, 230, 0.08);
}

.module-id {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(125, 34, 230, 0.2);
}

.module-icon {
  font-size: 1.8rem;
  color: var(--accent-purple);
  margin-bottom: 20px;
}

.module-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #120924;
}

.module-card p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.module-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-purple-light);
  background: rgba(125, 34, 230, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 15px;
}

/* Module Interactive Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 2, 13, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 24px;
  border: 1px solid rgba(125, 34, 230, 0.2);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 25px; right: 25px;
  background: rgba(125, 34, 230, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-purple);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-purple);
  color: #ffffff;
}

.modal-header-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.modal-icon {
  font-size: 2.2rem;
  color: var(--accent-purple);
}

.modal-title h3 {
  font-size: 1.6rem;
  color: #120924;
}

.modal-title span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple-light);
}

.modal-body {
  color: var(--text-sub);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-body h5 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: #120924;
  margin-bottom: 10px;
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-body ul li {
  font-size: 0.85rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-body ul li i {
  color: var(--accent-purple-light);
}

.entity-list {
  background: #f5f4fa;
  border-radius: 12px;
  padding: 15px 20px;
  border: 1px solid rgba(125, 34, 230, 0.06);
}

/* ==========================================================================
   RIDE FLOW & FINANCIAL SIMULATOR (DARK)
   ========================================================================== */
.simulator-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

/* Timeline/Flow Styling */
.timeline-wrap {
  position: relative;
  padding-left: 30px;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 10px; left: 6px;
  width: 2px; height: 95%;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-magenta));
}

.timeline-step {
  position: relative;
  margin-bottom: 30px;
}

.timeline-marker {
  position: absolute;
  top: 5px; left: -30px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--accent-purple-light);
  box-shadow: 0 0 10px rgba(125, 34, 230, 0.6);
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-step:hover .timeline-marker {
  background: var(--accent-purple-light);
  transform: scale(1.2);
}

.timeline-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.timeline-tag.rule-tag {
  background: rgba(255, 23, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 23, 68, 0.2);
}

/* Calculator Card Styling */
.calc-card {
  padding: 35px;
}

.calc-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 15px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: #b3a7cb;
  font-weight: 500;
}

.slider-val {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.slider-control {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition-fast);
}

.slider-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-purple-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(125, 34, 230, 0.8);
  transition: var(--transition-fast);
}

.slider-control::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.result-label {
  font-size: 0.9rem;
  color: #b3a7cb;
}

.result-value {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.result-value.glow-green {
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.result-value.glow-purple {
  color: var(--accent-purple-light);
  text-shadow: 0 0 15px rgba(125, 34, 230, 0.3);
}

.calc-warning-box {
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.warning-success {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.15);
  color: #69f0ae;
}

.warning-danger {
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.15);
  color: #ff5252;
}

.warning-alert {
  background: rgba(255, 214, 0, 0.08);
  border: 1px solid rgba(255, 214, 0, 0.15);
  color: #ffd740;
}

/* ==========================================================================
   PRICING & PHASES (LIGHT)
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-sub);
  transition: var(--transition-fast);
}

.pricing-toggle-label.active {
  color: var(--accent-purple);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(125, 34, 230, 0.15);
  border: 1px solid rgba(125, 34, 230, 0.2);
  transition: .4s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent-purple);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider-switch {
  background-color: var(--accent-purple);
}

input:checked + .slider-switch:before {
  transform: translateX(26px);
  background-color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pricing-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 45px;
  border: 1px solid rgba(125, 34, 230, 0.1);
  box-shadow: 0 15px 45px rgba(125, 34, 230, 0.04);
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-box.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 20px 50px rgba(125, 34, 230, 0.08);
}

.pricing-box.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  color: #120924;
  margin-bottom: 10px;
}

.pricing-header p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 25px;
}

.price-wrap {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(125, 34, 230, 0.08);
  padding-bottom: 25px;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.price-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: #120924;
  line-height: 1.1;
  margin: 5px 0;
}

.price-num span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sub);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pricing-features li i {
  font-size: 1.1rem;
}

.pricing-features li.included i {
  color: var(--accent-green);
}

.pricing-features li.excluded i {
  color: rgba(255, 23, 68, 0.4);
}

.pricing-box.dark-partnership {
  background: #0d061c;
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(125, 34, 230, 0.25);
}

.pricing-box.dark-partnership .pricing-header h3 {
  color: #ffffff;
}

.pricing-box.dark-partnership .pricing-header p {
  color: #a397be;
}

.pricing-box.dark-partnership .price-num {
  color: #ffffff;
}

.pricing-box.dark-partnership .price-num span {
  color: #a397be;
}

.pricing-box.dark-partnership .pricing-features li {
  color: #c4b5fd;
}

.pricing-box.dark-partnership .price-sub {
  color: #8c7eab;
}

.pricing-box.dark-partnership .pricing-features li.excluded i {
  color: rgba(255, 23, 68, 0.6);
}

/* Stacked Pricing Styles & Animations */
.pricing-stack-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-hook-banner {
  animation: fadeIn 0.8s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   FOOTER & BOTTOM CTA
   ========================================================================== */
footer {
  background: #05020a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-info p {
  color: #8c7eab;
  font-size: 0.9rem;
  margin-top: 10px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-title);
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

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

.footer-col ul a {
  color: #8c7eab;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6a5e88;
}

.evyon-signature {
  font-size: 0.8rem;
  color: #8c7eab;
  display: flex;
  align-items: center;
  gap: 6px;
}

.evyon-signature i {
  color: var(--accent-magenta);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .simulator-layout, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .hero-grid, .challenge-grid, .profile-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-visual {
    order: -1;
  }
  .nav-menu {
    display: none; /* In a real project, we would add a hamburger menu */
  }
  .profile-tabs {
    flex-direction: column;
    width: 100%;
  }
  .profile-tab-btn {
    width: 100%;
    text-align: center;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION FALLBACK
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .mockup-container {
    transform: none !important;
  }
  .mockup-container:hover {
    transform: none !important;
  }
}
