/* ==========================================================================
   VISIONARIOS ACADEMY - TELEGRAM MINI APP
   Palette: Luxury Black, White & Gold (Negro, Blanco y Dorado)
   With Dynamic Interactive Hover Effects
   ========================================================================== */

:root {
  /* Core Base Colors */
  --bg-deep: #030304;
  --bg-main: #09090c;
  --bg-surface: #111116;
  --bg-surface-elevated: #181820;
  --bg-glass: rgba(17, 17, 22, 0.85);
  
  /* Luxury Gold Tones */
  --gold-primary: #D4AF37;
  --gold-light: #FCE8B3;
  --gold-champagne: #F5E5C9;
  --gold-dark: #A67C1E;
  --gold-subtle: rgba(212, 175, 55, 0.15);
  --gold-subtle-hover: rgba(212, 175, 55, 0.28);
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #FFF2D1 0%, #E0BA55 40%, #B88A24 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #EAC665 40%, #C9992D 100%);
  --gold-text-gradient: linear-gradient(135deg, #FFFFFF 0%, #F5DE9B 40%, #D4AF37 100%);
  --card-gradient: linear-gradient(145deg, #14141a 0%, #0c0c10 100%);
  --card-gradient-hover: linear-gradient(145deg, #1c1c24 0%, #121217 100%);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(212, 175, 55, 0.4);
  --border-gold-strong: #D4AF37;
  
  /* Text */
  --text-pure: #ffffff;
  --text-heading: #fafafa;
  --text-body: #d4d4dc;
  --text-muted: #8b8b99;
  --text-gold: #E5BE53;
  --text-inverse: #050505;
  
  /* Button Themes */
  --btn-primary-bg: var(--gold-gradient);
  --btn-primary-text: #050505;
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-border: rgba(255, 255, 255, 0.18);
  --btn-secondary-text: #ffffff;

  /* Shadows & Glows */
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --gold-glow-strong: 0 0 40px rgba(212, 175, 55, 0.65);
  --white-glow: 0 0 25px rgba(255, 255, 255, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.2);

  /* Geometry & Physics */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-body);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Telegram / Mobile viewport container */
.app-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-main);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 20px rgba(212, 175, 55, 0.08);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Subtle luxury gold ambient top glow */
.bg-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   TOP HEADER
   -------------------------------------------------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 9, 12, 0.88);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 12px 18px 10px;
  transition: border-color var(--transition-fast);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.brand-badge-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-monogram {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}

.brand-badge-container:hover .brand-monogram {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--text-pure);
  text-transform: uppercase;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter var(--transition-fast);
}

.brand-badge-container:hover .brand-title {
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.brand-subtitle {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* Step Indicator Pill */
.step-indicator-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-indicator-pill:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* Dynamic Progress Bar */
.progress-bar-track {
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 5%;
  background: var(--gold-gradient);
  box-shadow: 0 0 14px #E0BA55;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   SLIDES / SCREENS CONTAINER
   -------------------------------------------------------------------------- */
.slides-viewport {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  z-index: 1;
}

/* Screen wrapper */
.screen {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 20px 20px 105px 20px;
  min-height: 100%;
}

.screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --------------------------------------------------------------------------
   TYPOGRAPHY & TAGS
   -------------------------------------------------------------------------- */
.screen-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold-primary);
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-fast);
}

.screen-tag:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}

.screen-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-primary);
}

.screen-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.screen-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 22px;
}

.screen-desc strong {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   VIDEO PLACEHOLDER (VERTICAL 9:16 MOBILE FORMAT)
   -------------------------------------------------------------------------- */
.video-card-placeholder {
  position: relative;
  width: 100%;
  max-width: 295px;
  aspect-ratio: 9 / 16;
  max-height: 490px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.15);
  margin: 10px auto 18px auto;
  cursor: pointer;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* HOVER EFFECT ON VIDEO CARD */
.video-card-placeholder:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.4);
}

.video-card-placeholder:active {
  transform: scale(0.99);
}

/* Simulated grid background for video placeholder */
.video-bg-graphic {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1b1710 0%, #060608 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
}

.video-watermark-logo {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 5px;
  color: rgba(212, 175, 55, 0.05);
  text-transform: uppercase;
  user-select: none;
  transition: color var(--transition-smooth);
}

.video-card-placeholder:hover .video-watermark-logo {
  color: rgba(212, 175, 55, 0.09);
}

/* Center Play Button Overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  transition: background var(--transition-fast);
}

.video-card-placeholder:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* Luxury Golden Play Button */
.play-button-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 10px rgba(255, 255, 255, 0.4);
  position: relative;
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}

.play-button-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  animation: pulseGoldRipple 2.4s infinite;
}

@keyframes pulseGoldRipple {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.25; }
  100% { transform: scale(1.35); opacity: 0; }
}

.play-button-circle svg {
  width: 24px;
  height: 24px;
  fill: #050505;
  margin-left: 3px;
  transition: transform var(--transition-fast);
}

.video-card-placeholder:hover .play-button-circle {
  transform: scale(1.14);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.85), 0 0 15px rgba(255, 255, 255, 0.6);
}

.play-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  transition: color var(--transition-fast);
}

.video-card-placeholder:hover .play-label {
  color: var(--gold-light);
}

/* Video Header & Badges */
.video-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.badge-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
}

.video-duration {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Video Footer Bar */
.video-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.video-footer-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.video-card-placeholder:hover .video-footer-title {
  color: var(--gold-champagne);
}

.video-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
}

.eq-bar {
  width: 3px;
  background: var(--gold-primary);
  border-radius: 1px;
  box-shadow: 0 0 6px var(--gold-primary);
  animation: eqBounce 1s infinite ease-in-out alternate;
}
.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: 0.4s; }

@keyframes eqBounce {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* Active Video Player Container (When clicked/playing) */
.active-player-wrapper {
  display: none;
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 4;
}

.active-player-wrapper.playing {
  display: flex;
  flex-direction: column;
}

.active-player-wrapper video,
.active-player-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.close-video-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.close-video-btn:hover {
  background: var(--gold-primary);
  color: #000000;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 15px var(--gold-primary);
}

/* Video Sub-links */
.video-action-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -14px;
  margin-bottom: 22px;
  font-size: 12px;
}

.action-link {
  color: var(--gold-champagne);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.action-link:hover {
  color: #ffffff;
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   CONTENT CARDS & STEP COMPONENTS WITH LUXURY HOVER
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.card-item {
  background: var(--card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Interactive Card Item Hover Effect */
.card-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(212, 175, 55, 0.55);
  background: var(--card-gradient-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.card-item:hover::before {
  left: 140%;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform var(--transition-spring), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-primary);
  transition: stroke var(--transition-fast);
}

.card-item:hover .card-icon {
  transform: scale(1.12) rotate(4deg);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.card-item:hover .card-icon svg {
  stroke: #ffffff;
}

.card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.card-item:hover .card-body h4 {
  color: var(--gold-champagne);
}

.card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.card-item:hover .card-body p {
  color: var(--text-body);
}

/* Pro Tip / Callout Box */
.tip-box {
  background: rgba(212, 175, 55, 0.04);
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.tip-box:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.tip-box .tip-icon {
  color: var(--gold-primary);
  font-size: 19px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--gold-primary));
}

.tip-box p {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
}

.tip-box strong {
  color: var(--gold-light);
}

/* Form Mockup Visual on Screen 2 */
.form-mockup {
  background: var(--card-gradient);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-mockup:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
}

.mockup-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-champagne);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.mock-input {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.mock-input:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: #0d0d12;
  transform: translateX(3px);
}

.mock-input-label {
  color: var(--text-muted);
  font-size: 12px;
}

.mock-badge {
  font-size: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--gold-light);
  font-weight: 700;
}

/* Checklist items */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px;
  background: var(--card-gradient);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.checklist-item:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(212, 175, 55, 0.5);
  background: var(--card-gradient-hover);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.12);
}

.check-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}

.checklist-item:hover .check-num {
  transform: scale(1.15) rotate(-10deg);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.7);
}

.check-content h5 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.checklist-item:hover .check-content h5 {
  color: var(--gold-champagne);
}

.check-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.checklist-item:hover .check-content p {
  color: var(--text-body);
}

/* Success Card */
.success-hero {
  text-align: center;
  padding: 30px 10px 10px;
}

.success-badge-circle {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.55), 0 0 20px rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: pulseGoldRipple 2.5s infinite;
  transition: transform var(--transition-spring);
}

.success-badge-circle:hover {
  transform: scale(1.12) rotate(5deg);
}

.success-badge-circle svg {
  width: 44px;
  height: 44px;
  stroke: #000000;
}

/* --------------------------------------------------------------------------
   DIRECT STOCKITY LINK CARD & BUTTON
   -------------------------------------------------------------------------- */
.direct-link-card {
  background: linear-gradient(145deg, #16161d 0%, #0a0a0d 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
  text-align: center;
  transition: all var(--transition-smooth);
}

.direct-link-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
  transform: translateY(-3px);
}

.direct-link-card p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 14px;
}

.btn-stockity-out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold-gradient);
  color: #050505;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

/* Hover effect on Stockity Button */
.btn-stockity-out:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.65), 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  color: #000000;
}

.btn-stockity-out::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-stockity-out:hover::before {
  left: 130%;
}

/* --------------------------------------------------------------------------
   BOTTOM NAVIGATION BAR & BUTTONS
   -------------------------------------------------------------------------- */
.bottom-nav-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 9, 12, 0.94);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 14px 20px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  user-select: none;
}

.nav-btn:active {
  transform: scale(0.97);
}

/* Abandon Button Hover Effect */
.btn-abandon {
  flex: 0 0 auto;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-abandon:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(239, 68, 68, 0.2);
}

.btn-abandon svg {
  stroke: #a1a1aa;
  transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.btn-abandon:hover svg {
  stroke: #ef4444;
  transform: translateX(-2px);
}

/* Back Button Hover Effect */
.btn-back {
  flex: 0 0 auto;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-back:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-back svg {
  transition: transform var(--transition-fast);
}

.btn-back:hover svg {
  transform: translateX(-3px);
  stroke: var(--gold-primary);
}

/* Next / Continue Primary Button Hover Effect */
.btn-next, .btn-continue {
  background: var(--gold-gradient);
  color: #050505;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-next:hover, .btn-continue:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.65), 0 0 20px rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.02);
  color: #000000;
}

.btn-next svg, .btn-continue svg {
  transition: transform var(--transition-fast);
}

.btn-next:hover svg, .btn-continue:hover svg {
  transform: translateX(4px);
}

/* Dynamic reflective sweep on primary button hover */
.btn-next::before, .btn-continue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-next:hover::before, .btn-continue:hover::before {
  left: 140%;
}

.nav-btn.full-width {
  flex: 1 1 100%;
}

/* --------------------------------------------------------------------------
   MODAL / POPUP
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.25);
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  background: #000000;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all var(--transition-fast);
}

.text-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   DESKTOP PREVIEW FRAME WRAPPER
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body {
    background-color: #020203;
    padding: 30px 0;
    align-items: center;
  }

  .app-viewport {
    height: 840px;
    max-height: 92vh;
    border-radius: 36px;
    border: 3px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.15);
  }

  .desktop-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    background: #000000;
    border-radius: 20px;
    z-index: 50;
    border: 1px solid rgba(212, 175, 55, 0.3);
  }
}


/* --------------------------------------------------------------------------
   QUESTION ACCORDION & MOTIVATION PANELS UNDER EACH BUTTON
   -------------------------------------------------------------------------- */
.motivation-box {
  background: linear-gradient(145deg, #13131a 0%, #07070a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px 15px;
  margin: 18px auto;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
  transition: all var(--transition-smooth);
}

.motivation-box:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.2);
}

.motivation-header {
  text-align: center;
  margin-bottom: 14px;
}

.motivation-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.motivation-question {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.motivation-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.motivation-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.motivation-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  user-select: none;
  text-align: left;
}

.motivation-btn:hover {
  transform: translateX(3px);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
  color: var(--gold-champagne);
}

.motivation-btn:active {
  transform: scale(0.98);
}

/* When the item is open, the button attaches to panel below */
.motivation-item.open .motivation-btn {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.18);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

.btn-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000000;
  font-size: 11.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.btn-label {
  flex: 1;
  letter-spacing: 0.2px;
}

.btn-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: transform var(--transition-smooth);
}

.motivation-item.open .btn-chevron {
  transform: rotate(180deg);
}

/* The answer panel directly under the button */
.motivation-panel {
  display: none;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--gold-primary);
  border-top: none;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 13px 14px 15px 14px;
}

.motivation-item.open .motivation-panel {
  display: block;
  animation: slideDownFade 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.message-tag-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.14);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.message-mentor-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.message-quote-body {
  position: relative;
  padding-left: 20px;
}

.quote-symbol {
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold-primary);
  opacity: 0.8;
  font-family: Georgia, serif;
}

.motivation-quote-text {
  font-size: 12.5px;
  color: #f4f4f5;
  line-height: 1.55;
  font-style: italic;
}


/* --------------------------------------------------------------------------
   STOCKITY INVITATION CTA BLOCK (INSIDE MOTIVATION CARD)
   -------------------------------------------------------------------------- */
.stockity-invite-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

.invite-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #000000;
  background: var(--gold-gradient);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.invite-desc {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
}

.btn-invite-stockity {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #050505;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-smooth);
}

.btn-invite-stockity:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.65), 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #000000;
}

.btn-invite-stockity:active {
  transform: scale(0.97);
}


/* --------------------------------------------------------------------------
   TESTIMONIALS CARDS & CUSTOMER JOURNEY
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.testimonial-card {
  background: linear-gradient(145deg, #121218 0%, #08080c 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 15px;
  position: relative;
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
}

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

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.user-meta-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.user-meta-status {
  font-size: 10.5px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 3px;
}

.star-rating {
  color: #D4AF37;
  font-size: 11px;
  letter-spacing: 1px;
}

.testimonial-text {
  font-size: 12.5px;
  color: #e4e4e7;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 8px;
}

.testimonial-tag-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Metrics highlight row */
.community-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.metric-stat-box {
  background: #09090d;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
}

.metric-stat-num {
  font-size: 15px;
  font-weight: 900;
  color: #D4AF37;
  display: block;
}

.metric-stat-lbl {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
