﻿:root {
  /* Colores oficiales de Oracool App */
  --primary: #ffb703;
  /* Amarillo principal */
  --secondary: #fb8500;
  /* Naranja */
  --dark: #219ebc;
  /* Azul oscuro */
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --text: #1E293B;
  --text-secondary: #64748B;
  --muted: #94A3B8;
  --border: #E2E8F0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text)
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s
}

.nav a:hover {
  color: var(--primary);
  background: rgba(255, 183, 3, .1)
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border)
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  font-size: 13px;
  color: var(--text-secondary)
}

.lang-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 183, 3, .05);
  color: var(--text)
}

.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white)
}

.flag-icon-img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
}

.lang-code {
  font-weight: 600;
  letter-spacing: 0.5px
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1100;
  padding: 80px 24px 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto;
}

.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  transition: all 0.2s;
}

.mobile-nav a:hover {
  background: rgba(255, 183, 3, 0.1);
  color: var(--primary);
}

.mobile-lang-switcher {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mobile-lang-switcher .lang-switcher {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  flex-direction: row;
  gap: 24px;
}

.mobile-lang-switcher .lang-btn {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-lang-switcher .lang-btn.active {
  background: transparent;
}

.mobile-lang-switcher .flag-icon-img {
  width: 32px;
  transition: transform 0.2s;
}

.mobile-lang-switcher .lang-btn:hover .flag-icon-img {
  transform: scale(1.1);
}

.desktop-only {
  display: flex;
}

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, rgba(255, 183, 3, .05) 0%, rgba(251, 133, 0, .03) 100%);
  position: relative;
  overflow: hidden
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 183, 3, .1) 0%, transparent 70%);
  border-radius: 50%
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 183, 3, .1);
  border: 1px solid rgba(255, 183, 3, .2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px
}

.giraffe-emoji {
  font-size: 20px
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  line-height: 1.6
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all .3s;
  border: 2px solid transparent
}

.btn-icon {
  font-size: 20px
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 183, 3, .3)
}

/* App Replica Mockups */
.mockup-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Common Card Styles */
.app-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 85%;
  max-width: 320px;
}

/* Mockup: Create Prediction */
.mockup-create {
  text-align: center;
}

.mockup-create-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.mockup-create .mockup-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mockup-create .mockup-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.mockup-input {
  width: 100%;
  height: 45px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FAFAFA;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: #9CA3AF;
  font-size: 13px;
}

.mockup-visibility {
  text-align: left;
  margin-bottom: 15px;
}

.mockup-vis-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.mockup-vis-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.mockup-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--button-primary);
}

.mockup-btn {
  background: var(--button-primary);
  color: white;
  padding: 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  width: 100%;
}

/* Mockup: Pending Card */
.mockup-pending-card {
  background: #FFF7ED;
  border: 2px solid var(--button-primary);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 80%;
  max-width: 280px;
  margin-bottom: 20px;
}

.mockup-pending-text {
  color: #C2410C;
  font-weight: 600;
  font-size: 14px;
  font-style: italic;
}

.mockup-pending-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.action-btn {
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.action-btn.failed {
  background: #ef4444;
}

.action-btn.correct {
  background: #22c55e;
}

/* Mockup: Group Code */
.mockup-group-code {
  display: flex;
  align-items: center;
  gap: 15px;
}

.code-box {
  background: white;
  border: 2px solid var(--button-primary);
  padding: 10px 20px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 24px;
  font-weight: 800;
  color: var(--button-primary);
  letter-spacing: 2px;
}

/* Mockup: Admin Tools */
.mockup-admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.admin-avatar {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}

.admin-name {
  font-weight: 700;
  margin-bottom: 12px;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-tool-btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.btn-promote {
  background: #dcfce7;
  color: #166534;
}

.btn-kick {
  background: #fee2e2;
  color: #991b1b;
}

/* Mockup: Ranking */
.mockup-ranking {
  width: 85%;
  max-width: 300px;
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.ranking-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.ranking-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ranking-row:last-child {
  border-bottom: none;
}

.rank-num {
  width: 24px;
  font-weight: 800;
  color: var(--button-primary);
}

.rank-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-secondary);
}

.rank-pts {
  font-weight: 700;
  color: var(--text-primary);
}

/* Mockup: Validation */
.mockup-validation-card {
  padding: 15px;
}

.val-step {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.val-step:last-child {
  border-bottom: none;
  margin-bottom: 0px;
  padding-bottom: 0;
}

.val-title {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.val-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.val-answer {
  font-style: italic;
  font-size: 13px;
  color: #333;
}

.btn-mark-valid {
  background: var(--button-primary);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.status-valid {
  color: #22c55e;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-hidden {
  /* Only hide on large screens if desired, but for now we want buttons visible everywhere */
  /* display: none; */
}

@media (min-width: 992px) {

  /* If we strictly want to hide something on desktop */
  .desktop-hidden.actually-hide {
    display: none;
  }
}


/* Tutorial Modal & Carousel Styles */
.tutorial-modal-overlay {
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
}

.tutorial-modal-content {
  background: white;
  width: 100%;
  max-width: 450px;
  /* Mobile-like width */
  height: 90vh;
  max-height: 800px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease-out;
}

.carousel-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.carousel-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

.slide-image-container {
  flex: 3;
  /* Allows image to take up space */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #f8f9fa;
  /* Fallback bg */
  min-height: 300px;
  transition: background-color 0.3s ease;
}

.slide-image {
  width: 80%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slide-triangle-chests {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.chest-row {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.chest-top {
  width: 35%;
}

.chest-bottom {
  width: 35%;
}

.slide-text-container {
  flex: 2;
  padding: 30px 24px;
  text-align: center;
  background: white;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slide-text-container h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.slide-text-container p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Carousel Navigation */
.carousel-navigation {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #FFC107;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.nav-btn:hover {
  transform: scale(1.05);
  background: #FFD54F;
}

.nav-btn:disabled,
.nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background-color: #FFC107;
}

/* Tutorial Actions Button on Page */
.tutorial-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.btn-outline.launch-tutorial {
  background: #FF9800;
  color: #fff;
  border: 2px solid #FF9800;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.2s ease;
}

.btn-outline.launch-tutorial:hover {
  background: #fff;
  color: #FF9800;
  border: 2px solid #FF9800;
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tutorial-modal-content {
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .slide-text-container h3 {
    font-size: 1.5rem;
  }

  .slide-text-container p {
    font-size: 1rem;
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, .4)
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05)
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px)
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center
}

.giraffe-container {
  position: relative;
  animation: float 3s ease-in-out infinite
}

.giraffe-hero {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .1))
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.features {
  padding: 100px 0;
  background: var(--white)
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 60px;
  letter-spacing: -0.02em
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform .3s
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
  border-color: var(--primary)
}

.feature-card:hover::before {
  transform: scaleX(1)
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 183, 3, .1);
  border-radius: 20px
}

.giraffe-icon {
  width: 60px;
  height: 60px;
  object-fit: contain
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 183, 3, .05) 0%, rgba(251, 133, 0, .03) 100%)
}

.tutorial-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(251, 133, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tutorial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(251, 133, 0, 0.15);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 183, 3, .3)
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0
}

.cta-section {
  padding: 100px 0;
  max-width: 960px;
  margin: 60px auto;
  /* Centered and more vertical space on desktop */
  background: linear-gradient(135deg, #FB8500 0%, #FFB703 100%);
  border-radius: 48px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 50px rgba(251, 133, 0, 0.3);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-section {
    margin: 40px 16px;
    padding: 80px 20px;
    border-radius: 32px;
  }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section .section-title {
  color: white;
  margin-bottom: 20px;
  font-size: 42px;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

@media (max-width: 560px) {
  .cta-section .section-title {
    font-size: 32px;
  }

  .cta-section .section-subtitle {
    font-size: 18px;
  }
}

/* Background decorative circles */
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.cta-section::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}

.cta-section::after {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.site-footer {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--border)
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.footer-links {
  display: flex;
  gap: 24px
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s
}

.footer-links a:hover {
  color: var(--primary)
}

/* Legal pages styles */
main h1 {
  font-size: 36px;
  margin: 0 0 12px
}

main h2 {
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--text)
}

main h3 {
  font-size: 18px;
  margin: 24px 0 12px
}

main p {
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--muted)
}

main ul,
main ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6
}

main li {
  margin-bottom: 8px
}

main a {
  color: #C4B5FD;
  text-decoration: none
}

main a:hover {
  text-decoration: underline
}

main details {
  margin: 16px 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px
}

main summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text)
}

main details[open] summary {
  margin-bottom: 12px
}

@media (max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center
  }

  .hero h1 {
    font-size: 48px
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}

@media (max-width:768px) {
  .hero {
    padding: 60px 0 80px
  }

  .hero h1 {
    font-size: 40px
  }

  .hero-description {
    font-size: 18px
  }

  .section-title {
    font-size: 36px
  }

  .features {
    padding: 80px 0
  }

  .how-it-works {
    padding: 80px 0
  }

  .features-grid {
    gap: 20px
  }

  .nav.desktop-only,
  .lang-switcher.desktop-only {
    display: none
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-inner {
    padding: 16px 16px
  }

  .brand {
    padding-left: 4px
  }

  .lang-switcher {
    margin-left: auto;
    padding-left: 0;
    padding-right: 4px;
    border-left: none
  }
}

@media (max-width:560px) {
  .hero h1 {
    font-size: 32px
  }

  .hero-description {
    font-size: 16px
  }

  .section-title {
    font-size: 28px
  }

  .features-grid {
    grid-template-columns: 1fr
  }

  .feature-card {
    padding: 24px 20px
  }

  .card-icon {
    width: 80px;
    height: 80px
  }

  .giraffe-icon {
    width: 65px;
    height: 65px
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    align-items: center;
    justify-content: center
  }

  .step-number {
    margin: 0 auto
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center
  }
}

/* Store Badges */
.store-badge {
  display: inline-block;
  transition: transform 0.3s, opacity 0.3s;
}

.store-badge:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.badge-img {
  height: 50px;
  width: auto;
}

@media (max-width: 560px) {
  .badge-img {
    height: 40px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.modal-header {
  text-align: center;
  margin-bottom: 16px;
}

.modal-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.modal-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-giraffe {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Beta Modal Carousel Styles */
.beta-modal-content {
  padding: 0;
  max-width: 450px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.beta-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.beta-panel {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.beta-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.2;
}

.beta-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.beta-action-area {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.beta-navigation {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #fbfbfb;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.beta-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 8px rgba(255, 183, 3, 0.3);
}

.beta-nav-btn:hover {
  transform: scale(1.1);
  background: var(--secondary);
}

.beta-nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.beta-dots {
  display: flex;
  gap: 8px;
}

.beta-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.beta-dot.active {
  width: 24px;
  background-color: var(--primary);
}

.beta-btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

.beta-form {
  display: flex;
  gap: 12px;
}

.beta-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.2s;
  outline: none;
}

.beta-form input[type="email"]:focus {
  border-color: var(--primary);
}

.modal-submit {
  white-space: nowrap;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 20px;
}

.success-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.modal-success p {
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

/* Admin Panel Styles */
.admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.admin-panel.active {
  opacity: 1;
  visibility: visible;
}

.admin-content {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.admin-content h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 20px;
  color: var(--text);
}

.admin-emails {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  max-height: 300px;
  overflow-y: auto;
}

.email-item {
  padding: 10px 14px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 8px;
  font-family: monospace;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
}

.email-item:last-child {
  margin-bottom: 0;
}

.no-emails {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.admin-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 8px;
  line-height: 1;
}

.admin-close:hover {
  color: var(--text);
}

@media (max-width: 560px) {
  .modal-content {
    padding: 28px 20px;
  }

  .beta-form {
    flex-direction: column;
  }


  .admin-actions {
    flex-direction: column;
  }
}

/* Home Section Mobile Refinements (Tutorial Cards) */
@media (max-width: 600px) {
  .tutorial-card-icon {
    width: 100px;
    height: 100px;
  }
}

/* Tutorial Page Styles */
.tutorial-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, rgba(255, 183, 3, .08) 0%, rgba(251, 133, 0, .04) 100%);
  text-align: center;
}

.tutorial-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tutorial-description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.tutorial-section {
  padding: 80px 0;
}

.tutorial-section-alt {
  background: var(--surface);
}

.tutorial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tutorial-container-reverse {
  direction: ltr;
}

.tutorial-container-reverse .tutorial-visual {
  order: -1;
}

.tutorial-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 183, 3, .15);
  border: 1px solid rgba(255, 183, 3, .3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tutorial-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tutorial-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
}

.tutorial-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tutorial-features li {
  font-size: 16px;
  color: var(--text);
  padding: 12px 0;
  line-height: 1.6;
}

.tutorial-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tutorial-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .1));
  border-radius: 20px;
}

.tutorial-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 183, 3, .05) 0%, rgba(251, 133, 0, .03) 100%);
  text-align: center;
}

.tutorial-cta h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tutorial-cta p {
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

.learn-more-container {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Tutorial Page */
@media (max-width: 1024px) {
  .tutorial-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tutorial-container-reverse .tutorial-visual {
    order: 0;
  }

  .tutorial-hero h1 {
    font-size: 40px;
  }

  .tutorial-content h2 {
    font-size: 32px;
    text-align: center;
  }

  .tutorial-content p {
    text-align: center;
  }

  .tutorial-badge {
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .tutorial-hero {
    padding: 60px 0 40px;
  }

  .tutorial-hero h1 {
    font-size: 32px;
  }

  .tutorial-description {
    font-size: 18px;
  }

  .tutorial-section {
    padding: 60px 0;
  }

  .tutorial-content h2 {
    font-size: 28px;
  }

  .tutorial-content p {
    font-size: 16px;
  }

  .tutorial-cta {
    padding: 60px 0;
  }

  .tutorial-cta h2 {
    font-size: 32px;
  }

  .tutorial-cta p {
    font-size: 18px;
  }

  .learn-more-container {
    margin-top: 32px;
  }
}

/* Restored Tutorial Modal & Carousel Styles */
.tutorial-modal-overlay {
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
}

.tutorial-modal-content {
  background: white;
  width: 100%;
  max-width: 450px;
  height: 90vh;
  max-height: 800px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease-out;
}

.carousel-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  /* Important for flex child scrolling */
}

.slide-image-container {
  flex: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #f8f9fa;
  min-height: 250px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

/* Full Panel Mode - mockup fills entire slide */
.slide-image-container.full-panel-mode {
  flex: 1;
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
}

.slide-image-container.full-panel-mode .mockup-container {
  width: 100%;
  min-height: min-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
}

/* Full Panel Card Styles */
.full-panel-card {
  width: 100%;
  max-width: 400px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.full-panel-card .fp-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 8px;
}

.full-panel-card .fp-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.full-panel-card .fp-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.full-panel-card .fp-image-lg {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.full-panel-card .fp-desc {
  font-size: 0.95rem;
  color: #4a5568;
  text-align: center;
  line-height: 1.5;
  max-width: 320px;
}

.full-panel-card .fp-desc strong {
  font-weight: 700;
  color: #1a1a1a;
}

.slide-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90%;
  min-width: 100px;
  min-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Size modifiers for individual control */
.slide-image--small {
  width: 80px !important;
  height: 80px !important;
}

.slide-image--medium {
  width: 100px;
  height: 100px;
}

.slide-image--large {
  width: 140px;
  height: 140px;
}

.slide-image--xlarge {
  width: 180px;
  height: 180px;
}

/* Mobile adjustments for size modifiers */
@media (max-width: 600px) {
  .slide-image--small {
    width: 70px;
    height: 70px;
  }

  .slide-image--medium {
    width: 90px;
    height: 90px;
  }

  .slide-image--large {
    width: 130px;
    height: 130px;
  }

  .slide-image--xlarge {
    width: 160px;
    height: 160px;
  }
}

.slide-triangle-chests {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.chest-row {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.chest-top {
  width: 35%;
}

.chest-bottom {
  width: 35%;
}

.slide-text-container {
  flex: 2;
  padding: 30px 24px;
  text-align: center;
  background: white;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slide-text-container h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  color: #1a1a1a;
  /* Fallback */
  margin-bottom: 16px;
  line-height: 1.2;
}

.slide-text-container p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Carousel Navigation */
.carousel-navigation {
  height: 80px;
  min-height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: none;
  background: #FFC107;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.nav-btn:hover {
  transform: scale(1.05);
  background: #FFD54F;
}

.nav-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background-color: #FFC107;
}

/* Tutorial Actions Button */
.tutorial-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.btn-outline.launch-tutorial {
  background: #FF9800;
  color: #fff;
  border: 2px solid #FF9800;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.2s ease;
}

.btn-outline.launch-tutorial:hover {
  background: #fff;
  color: #FF9800;
  border: 2px solid #FF9800;
  transform: scale(1.02);
}

/* Fix for Missing Hover State */
.learn-more-btn:hover {
  background-color: #e07600;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 133, 0, 0.3);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .tutorial-modal-content {
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .slide-text-container h3 {
    font-size: 1.5rem;
  }

  .slide-text-container p {
    font-size: 1rem;
  }
}

/* Removed duplicate mockup styles */

/* Results Grid Mockup (Predictions Slide 4) */
.mockup-results-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Final Slide Buttons - Rounder to match APP */
.final-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.final-buttons .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  max-width: 280px;
  min-height: 54px;
  text-align: center;
  line-height: 1.2;
}

.final-buttons .btn-primary {
  background-color: #fb8500;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(251, 133, 0, 0.3);
}

.final-buttons .btn-primary:hover {
  background-color: #e57a00;
  transform: translateY(-2px);
}

.final-buttons .btn-outline {
  background-color: transparent;
  color: #fb8500;
  border: 2px solid #fb8500;
}

.final-buttons .btn-outline:hover {
  background-color: #fff7ed;
  color: #e57a00;
  border-color: #e57a00;
}

/* Results Chests Mockup (Predictions Slide 4) */
.results-chests-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.result-chest {
  object-fit: contain;
  transition: transform 0.2s;
}

.result-chest.green {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.3));
}

.result-chest.red {
  width: 80px;
  height: 80px;
  margin: 10px 0;
  /* Align center with larger items */
  filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.3));
}

/* Groups Chests Mockup (Predictions Slide 5) */
.mockup-groups-chests {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
  width: 100%;
}

.group-chests-row {
  display: flex;
  flex-direction: column;
  /* Vertical stack like APP */
  align-items: center;
  gap: 8px;
  width: 100%;
}

.group-chests-icons {
  display: flex;
  flex-wrap: wrap;
  width: 104px;
  /* Force 2x2 grid: (48 + 4 + 48) + wiggle room */
  gap: 4px;
  justify-content: center;
}

.mini-chest {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.group-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.group-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 100px;
}

/* Privacy Badge Mockup (Groups Slide 3) */
.mockup-privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.privacy-chest {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.privacy-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.lock-icon {
  font-size: 18px;
}

/* Time Limit Badge Mockup (Groups Slide 4) */
.mockup-time-limit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.time-limit-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.time-limit-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #fb8500 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(251, 133, 0, 0.3);
}

.clock-icon {
  font-size: 18px;
}

/* Options + Free Response Mockup (Groups Slide 5) */
.mockup-options-free {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-width: 320px;
  margin: 0 auto;
}

.mockup-options-free .app-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mockup-options-free .card-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}

.option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.option-row.selected {
  background: #f0f9ff;
  border-color: #0ea5e9;
}

.option-row.correct {
  background: #dcfce7;
  border-color: #22c55e;
}

.option-row.faded {
  opacity: 0.5;
}

.radio-selected {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0ea5e9;
  border: 3px solid #0ea5e9;
  position: relative;
}

.radio-selected::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.radio-unselected {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
}

.check-icon {
  color: #22c55e;
  font-weight: bold;
  font-size: 16px;
}

.free-input {
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Resolution Mockup (Groups Slide 6) */
.mockup-resolution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 16px;
}

.resolution-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 300px;
}

.winners-section {
  text-align: center;
}

.winners-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text);
}

.winners-avatars {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.winner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.winner-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.winner-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Final Predictions Mockup (Predictions Slide 6) */
.mockup-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px;
}

.final-giraffe {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.final-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.final-learn-groups,
.final-understood {
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.final-learn-groups {
  background: transparent;
  border: 2px solid #fb8500;
  color: #fb8500;
}

.final-learn-groups:hover {
  background: #fb8500;
  color: white;
}

.final-understood {
  background: #fb8500;
  border: none;
  color: white;
}

.final-understood:hover {
  background: #e07600;
}

/* Validation Mockup Updates */
.val-arrow {
  text-align: center;
  font-size: 20px;
  color: var(--muted);
  margin: 10px 0;
}

.val-approved {
  background: #dcfce7;
  border-radius: 8px;
}

.val-pending {
  background: #f8fafc;
  border-radius: 8px;
}

.val-buttons {
  display: flex;
  gap: 8px;
}

.val-btn-check,
.val-btn-x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.val-btn-check {
  background: #dcfce7;
  color: #22c55e;
}

.val-btn-x {
  background: #fee2e2;
  color: #ef4444;
}

/* Pulse Animation for Tutorial Buttons */
@keyframes pulse-button {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(251, 133, 0, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(251, 133, 0, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(251, 133, 0, 0.3);
  }
}

.pulse-animation {
  animation: pulse-button 2s infinite ease-in-out;
}

.pulse-animation:hover {
  animation: none;
  transform: scale(1.05);
}

/* Enhanced How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--surface);
}

.how-it-works .section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: var(--text);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.step {
  background: var(--bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.step-number {
  background: var(--primary);
  color: var(--text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.learn-more-container {
  text-align: center;
  margin-top: 40px;
}

/* Tutorial Sections */
.tutorial-section {
  padding: 80px 0;
  overflow: hidden;
}

.tutorial-section-alt {
  background-color: var(--secondary-color);
}

.tutorial-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.tutorial-container-reverse {
  flex-direction: row-reverse;
}

.tutorial-content {
  flex: 1;
}

.tutorial-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.tutorial-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  /* Limit height */
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

.tutorial-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--primary-color);
  /* Corrected from accent-color if undefined, or use a specific color */
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.tutorial-section-alt .tutorial-badge {
  background: rgba(255, 255, 255, 0.05);
  /* Slightly different for alt bg */
}

/* Tutorial Features List */
.tutorial-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.tutorial-features li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.tutorial-actions {
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .tutorial-container,
  .tutorial-container-reverse {
    flex-direction: column-reverse;
    /* Stack content below text? Or Image on top? */
    /* Common pattern: Image top or content top. Let's stick to column-reverse for visual impact */
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .tutorial-visual img {
    max-height: 300px;
  }

  .tutorial-features li {
    justify-content: center;
  }
}

/* ===== Tutorial Selector Cards ===== */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.tutorial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.tutorial-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tutorial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.tutorial-card-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tutorial-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.tutorial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

.tutorial-card .btn {
  margin-top: auto;
}

/* ===== Tutorial Modal Carousel ===== */
.tutorial-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.tutorial-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tutorial-modal-content {
  background: transparent;
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  height: 80vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tutorial-modal-overlay.active .tutorial-modal-content {
  transform: scale(1);
}

.carousel-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.carousel-slide {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Unified slide panel - single colored container that fills ALL space */
.slide-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px 30px;
  flex: 1;
  border-radius: 24px 24px 0 0;
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Visual content area */
.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  min-height: 120px;
}

.slide-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Title and description */
.slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.slide-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Action buttons in slide */
.slide-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.slide-buttons .btn {
  min-width: 120px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/* Primary button (Tutorial) */
.slide-buttons .btn-primary {
  background: #FFB300;
  /* Amber/Orange */
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}

.slide-buttons .btn-primary:hover {
  background: #FFA000;
  transform: translateY(-2px);
}

/* Secondary button (Entendido/General) - Should be ORANGE */
.slide-buttons .btn-secondary {
  background: #FF9800;
  color: #fff;
  border: none;
}

.slide-buttons .btn-secondary:hover {
  background: #FFB74D;
}

/* Exit button (Salir) - Should be GREEN */
.slide-buttons .btn-exit {
  background: #4CAF50;
  color: #fff;
  border: none;
}

.slide-buttons .btn-exit:hover {
  background: #66BB6A;
}

.carousel-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px 32px;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #FFC107;
  /* Yellow - same as active dot */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #fff;
  /* White arrow */
  box-shadow: 0 2px 6px rgba(255, 193, 7, 0.35);
}

.nav-btn:hover:not(:disabled) {
  background: #FFD54F;
  transform: scale(1.05);
}

.nav-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0E0E0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #FFC107;
  /* Yellow/Orange */
  width: 24px;
  border-radius: 12px;
  /* Oval shape */
}

.dot:hover:not(.active) {
  background: #BDBDBD;
}

#tutorial-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

#tutorial-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Slide action buttons */
.slide-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.slide-buttons .btn {
  min-width: 140px;
}

/* Tutorial modal buttons */
.btn {
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: #FF9800;
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: #FF9800;
  border: 2px solid #FF9800;
  transform: scale(1.02);
}

.btn-secondary {
  background: #FF9800;
  color: #fff;
}

.btn-secondary:hover {
  background: #FFB74D;
  transform: scale(1.02);
}

.btn-exit {
  background: #4CAF50;
  color: #fff;
}

.btn-exit:hover {
  background: #66BB6A;
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .tutorial-cards {
    grid-template-columns: 1fr;
  }

  .tutorial-card-icon {
    width: 80px;
    height: 80px;
  }

  .tutorial-modal-content {
    width: 95%;
    max-height: 90vh;
    max-height: 90dvh;
  }

  .slide-image-container {
    padding: 0;
    min-height: 240px;
  }

  /* Let modifier classes control size */
  .slide-image {
    width: auto;
    height: auto;
  }

  .tutorial-card {
    padding: 24px 20px;
  }

  .slide-text-container {
    padding: 20px 20px 24px;
  }

  .slide-text-container h3 {
    font-size: 1.25rem;
  }

  .slide-text-container p {
    font-size: 0.95rem;
  }

  .carousel-navigation {
    padding: 0 20px 20px;
  }
}

/* Mobile Refinements */
@media (max-width: 768px) {

  /* Tutorial card icons 1.4x larger (100px -> 140px) */
  .tutorial-card-icon {
    width: 140px !important;
    height: 140px !important;
  }

  .tutorial-card-icon img {
    width: 100% !important;
    height: 100% !important;
  }

  /* "Todo lo que necesitas" icons 1.4x larger (80px -> 112px, 60px -> 84px) */
  .card-icon {
    width: 112px !important;
    height: 112px !important;
    border-radius: 28px !important;
  }

  .giraffe-icon {
    width: 84px !important;
    height: 84px !important;
  }
}

/* Modal Steps */
.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 14px;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-content p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.step-actions {
  display: flex;
  gap: 10px;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.step-btn.btn-outline {
  background: white;
  border-color: var(--border);
  color: var(--text);
}

.step-btn.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 183, 3, 0.1);
}

.step-btn.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255, 183, 3, 0.3);
}

.step-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}