/*
 * Classroom Pro - Premium Styles
 * $10,000 High-End Website Design
 * Blue Merle Color Scheme
 */

/* ========================================
   DESIGN TOKENS & VARIABLES
   ======================================== */

:root {
  /* Blue Merle Colors */
  --primary-50: #f5f7f9;
  --primary-100: #ebeef2;
  --primary-200: #d3dae3;
  --primary-300: #acb9c9;
  --primary-400: #8899aa;
  --primary-500: #6D8196;
  --primary-600: #5a6b7e;
  --primary-700: #485566;
  --primary-800: #3a4552;
  --primary-900: #2d3640;

  --accent-400: #de8e65;
  --accent-500: #C68346;
  --accent-600: #a86d3b;

  --charcoal: #323232;
  --silver: #C4C4C4;
  --white: #ffffff;

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #6D8196 0%, #485566 50%, #C68346 100%);
  --gradient-hero: linear-gradient(135deg, #2d3640 0%, #485566 30%, #6D8196 60%, #8899aa 100%);
  --gradient-text: linear-gradient(135deg, #6D8196 0%, #C68346 100%);
  --gradient-accent: linear-gradient(135deg, #C68346 0%, #de8e65 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Shadows - 5 Level System */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-modal: 1040;
  --z-tooltip: 1060;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: linear-gradient(135deg, #f5f7f9 0%, #ebeef2 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--primary-500);
  color: var(--white);
}

/* ========================================
   PREMIUM NAVIGATION
   ======================================== */

.premium-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(109, 129, 150, 0.1);
  transition: all var(--transition-base);
}

.premium-nav.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: none;
  margin: 0;
  padding: 0 1rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: transform var(--transition-fast);
  margin-left: 2%;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.brand-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

.brand-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.85rem;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
}

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

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  border: 1px solid var(--glass-border);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  transform: translateX(4px);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-right: 0.5rem;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--charcoal);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.btn-ghost:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.btn-primary-nav {
  background: var(--gradient-accent);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-base);
  /* Blooket-style layered shadow - solid bottom shadow for depth */
  box-shadow: 0 4px 0 0 rgba(166, 90, 48, 0.8), 0 6px 12px rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
}

.btn-primary-nav:hover {
  transform: translateY(-1px);
  /* Lift shadow on hover */
  box-shadow: 0 5px 0 0 rgba(166, 90, 48, 0.8), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary-nav:active {
  transform: translateY(2px);
  /* Press down effect */
  box-shadow: 0 2px 0 0 rgba(166, 90, 48, 0.8), 0 3px 6px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all var(--transition-fast);
}

/* ========================================
   CINEMATIC HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.animated-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 25% 25%, var(--primary-900) 2%, transparent 2%),
    radial-gradient(circle at 75% 75%, var(--accent-500) 2%, transparent 2%);
  background-size: 100px 100px;
  animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(198, 131, 70, 0.3));
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  /* Blooket-style layered shadow */
  box-shadow: 0 6px 0 0 rgba(166, 90, 48, 0.8), 0 8px 24px rgba(198, 131, 70, 0.4);
  font-family: var(--font-sans);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 0 rgba(166, 90, 48, 0.8), 0 12px 32px rgba(198, 131, 70, 0.5);
}

.btn-hero-primary:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 rgba(166, 90, 48, 0.8), 0 5px 16px rgba(198, 131, 70, 0.4);
}

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

.btn-hero-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-base);
  font-family: var(--font-sans);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 0;
  border-top: none;
  margin-top: 2.5rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all var(--transition-base);
  transform: translateY(0);
  position: relative;
  cursor: pointer;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  background: rgba(255, 255, 255, 0.2);
}

.stat-icon-wrapper {
  margin-bottom: 1rem;
}

.stat-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 16px rgba(109, 129, 150, 0.3));
  transition: transform var(--transition-base);
}

.stat-item:hover .stat-icon {
  transform: scale(1.15) translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.stat-label {
  font-size: 1rem;
  opacity: 1;
  font-weight: 600;
  margin-bottom: 0;
  color: white;
}

.stat-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(45, 54, 64, 0.98);
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: normal;
  max-width: 280px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-tooltip);
  margin-bottom: 0.5rem;
}

.stat-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(45, 54, 64, 0.98);
}

.stat-item:hover .stat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.stat-sublabel {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.4;
  max-width: 200px;
}

/* Hero Visual - Floating Cards */
.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-1 {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.card-2 {
  top: 45%;
  right: 20%;
  animation: float 6s ease-in-out 2s infinite;
}

.card-3 {
  bottom: 15%;
  left: 30%;
  animation: float 6s ease-in-out 4s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.card-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-status {
  display: inline-block;
  background: var(--gradient-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.85rem;
  opacity: 0.7;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-arrow {
  width: 2px;
  height: 20px;
  background: white;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translateX(-50%) rotate(45deg);
}

/* ========================================
   MEET LASSO - VIDEO BACKGROUND HERO
   ======================================== */

/* Full-Width Video Background */
.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 54, 64, 0.75) 0%,
    rgba(72, 85, 102, 0.65) 30%,
    rgba(109, 129, 150, 0.55) 60%,
    rgba(136, 153, 170, 0.50) 100%
  );
  backdrop-filter: blur(2px);
}

/* Content Overlay - Glass Morphism Card */
.hero-content-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

/* Meet Lasso Badge */
.meet-lasso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.badge-paw {
  font-size: 1.3rem;
  animation: paw-wave 2s ease-in-out infinite;
}

@keyframes paw-wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-20deg);
  }
  75% {
    transform: rotate(20deg);
  }
}

/* Hero Title in Glass Card */
.hero-content-card .hero-title {
  font-size: clamp(3rem, 5vw, 6rem);
  margin-bottom: 2rem;
  text-align: center;
}

/* Subtitle Container */
.hero-subtitle-container {
  margin-bottom: 2.5rem;
}

.hero-subtitle-main {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-subtitle-main strong {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.5rem, 3vw, 2rem);
  filter: drop-shadow(0 0 20px rgba(198, 131, 70, 0.5));
}

.hero-content-card .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
}

/* CTA Buttons in Glass Card */
.hero-content-card .hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Stats in Glass Card */
.hero-content-card .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content-card .stat-item {
  text-align: center;
}

.hero-content-card .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 15px rgba(198, 131, 70, 0.4));
}

.hero-content-card .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ========================================
   MEET LASSO - VIDEO BACKGROUND ON RIGHT SIDE
   ======================================== */

/* Large Video Background - Right 65% of Screen (Asymmetric Layout) */
.hero-lasso-video-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-lasso-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-lasso-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(72, 85, 102, 1) 0%,
    rgba(90, 107, 126, 0.85) 12%,
    rgba(109, 129, 150, 0.70) 25%,
    rgba(136, 153, 170, 0.50) 40%,
    rgba(136, 153, 170, 0.30) 55%,
    rgba(136, 153, 170, 0.15) 70%,
    rgba(136, 153, 170, 0.05) 85%,
    transparent 100%
  );
  z-index: 1;
}

/* Solid background behind glass pane to eliminate seam */
.hero-lasso-bg .hero-background {
  background: #485566;
}

.hero-lasso-bg .animated-gradient {
  display: none;
}

/* Content positioned on left side with glass-morphism card */
.hero-lasso-bg .hero-container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 2.25rem 4rem 0 4rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-lasso-bg .hero-content {
  max-width: clamp(440px, 50vw, 600px);
  margin-left: 0;
  margin-right: auto;
  margin-top: 1.5rem;
  color: white;
  text-align: left;
  /* Enhanced premium glass-morphism card */
  background: rgba(109, 129, 150, 0.15);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.6rem, 2.5vw, 2.5rem);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(109, 129, 150, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 10px 30px rgba(255, 255, 255, 0.05) inset;
}

.hero-lasso-bg .hero-title {
  margin-bottom: 0.9rem;
  font-size: clamp(1.5rem, 4vw, 3rem);
}

.hero-lasso-bg .hero-subtitle-container {
  margin-bottom: 1.25rem;
}

.hero-lasso-bg .hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 0;
  line-height: 1.5;
}

.hero-lasso-bg .hero-cta {
  margin-bottom: 1rem;
}

.hero-lasso-bg .btn-hero-primary,
.hero-lasso-bg .btn-hero-secondary {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.hero-lasso-bg .meet-lasso-badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.hero-lasso-bg .hero-stats {
  padding-top: 0;
  gap: 1.5rem;
}

.hero-lasso-bg .hero-title,
.hero-lasso-bg .hero-subtitle-container,
.hero-lasso-bg .meet-lasso-badge {
  text-align: left;
}

.hero-lasso-bg .hero-cta {
  justify-content: flex-start;
}

.hero-lasso-bg .hero-stats {
  text-align: left;
}

/* Fix scroll indicator for lasso hero */
.hero-lasso-bg .scroll-indicator {
  z-index: 10;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Responsive for video background layout */
@media (max-width: 1400px) {
  .hero-section {
    padding-top: 60px;
  }

  .hero-lasso-bg .hero-container {
    padding: 2rem 3rem 0 3rem;
  }

  .hero-lasso-bg .hero-content {
    max-width: 580px;
    padding: 2rem 2rem;
    margin-top: 2rem;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    padding-top: 50px;
  }

  .hero-lasso-bg .hero-container {
    padding: 1.5rem 2rem 0 2rem;
  }

  .hero-lasso-bg .hero-content {
    max-width: 500px;
    padding: 1.75rem 1.75rem;
    margin-top: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    padding-top: 40px;
  }

  .hero-lasso-video-background {
    width: 55%;
  }

  .hero-lasso-gradient-overlay {
    background: linear-gradient(
      90deg,
      rgba(45, 54, 64, 0.95) 0%,
      rgba(45, 54, 64, 0.85) 15%,
      rgba(45, 54, 64, 0.6) 35%,
      transparent 55%
    );
  }

  .hero-lasso-bg .hero-container {
    padding: 1.25rem 1.5rem 0 1.5rem;
  }

  .hero-lasso-bg .hero-content {
    max-width: 450px;
    padding: 1.5rem 1.5rem;
    margin-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-lasso-video-background {
    width: 100%;
    height: 40%;
    top: auto;
    bottom: 0;
  }

  .hero-lasso-gradient-overlay {
    background: linear-gradient(
      180deg,
      rgba(45, 54, 64, 0.95) 0%,
      rgba(45, 54, 64, 0.7) 50%,
      transparent 100%
    );
  }

  .hero-lasso-bg .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-lasso-bg .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-lasso-bg .btn-hero-primary,
  .hero-lasso-bg .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-lasso-bg .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   MEET LASSO - SPLIT HERO LAYOUT (OLD)
   ======================================== */

/* Split Layout Container */
.hero-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Left Content Area */
.hero-split .hero-content {
  color: white;
}

/* Right Video Container */
.hero-video-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lasso-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.lasso-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats Grid for Split Layout */
.hero-split .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero-split .stat-item {
  text-align: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.hero-split .stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* Responsive for Split Layout */
@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .lasso-video-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-split .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-split-container {
    gap: 2rem;
  }

  .lasso-video-wrapper {
    max-width: 320px;
  }

  .hero-split .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-split .stat-item {
    padding: 1rem;
  }

  .hero-split .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-split .btn-hero-primary,
  .hero-split .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   SECTION STYLES
   ======================================== */

section {
  padding: 60px 0;
  position: relative;
  scroll-margin-top: 110px;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--charcoal);
}

.section-description {
  font-size: 1.1rem;
  color: var(--primary-700);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ========================================
   FILTER CONTROLS
   ======================================== */

.filter-controls {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  flex: 1;
  min-width: min(100%, 300px);
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.5;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--primary-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(109, 129, 150, 0.1);
}

.filter-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tag {
  background: white;
  border: 2px solid var(--primary-200);
  color: var(--charcoal);
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.filter-tag:hover {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

.filter-tag.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.sort-dropdown {
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-200);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  background: white;
  transition: all var(--transition-fast);
}

.sort-dropdown:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(109, 129, 150, 0.1);
}

/* ========================================
   TOOLS GRID - GLASSMORPHISM CARDS
   ======================================== */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.tool-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 20px;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

/* Glassmorphism Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(31, 38, 135, 0.2);
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-base);
}

.tool-card:hover .tool-icon {
  transform: scale(1.1) rotate(5deg);
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--charcoal);
}

.tool-description {
  color: var(--primary-700);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.tool-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--primary-100);
  color: var(--primary-700);
  padding: 0.375rem 0.75rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tool-btn {
  width: 100%;
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  /* Blooket-style layered shadow */
  box-shadow: 0 4px 0 0 rgba(166, 90, 48, 0.8), 0 6px 16px rgba(0, 0, 0, 0.12);
  font-family: var(--font-sans);
}

.tool-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 0 rgba(166, 90, 48, 0.8), 0 8px 24px rgba(109, 129, 150, 0.3);
}

.tool-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(166, 90, 48, 0.8), 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.tool-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hidden class for filtering */
.tool-card.hidden {
  display: none !important;
}

.tools-grid {
  min-height: 400px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.feature-text p {
  color: var(--primary-700);
  line-height: 1.5;
  font-size: 0.9rem;
}

.feature-visual {
  position: relative;
  height: 400px;
}

.glass-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.panel-1 {
  width: 280px;
  height: 320px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.panel-2 {
  width: 220px;
  height: 160px;
  bottom: 20%;
  right: 15%;
  animation: float 6s ease-in-out 3s infinite;
}

.panel-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.panel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

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

.stat-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.progress-ring-circle {
  stroke-dasharray: 327;
  stroke-dashoffset: 82;
  transform-origin: center;
  animation: progress 2s ease-out forwards;
}

@keyframes progress {
  to {
    stroke-dashoffset: 0;
  }
}

.stat-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-content p {
  color: var(--charcoal);
  font-weight: 600;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.metric-icon {
  font-size: 2.5rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-weight: 600;
  color: var(--charcoal);
}

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */

.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 4rem;
}

.carousel-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-200);
  color: var(--primary-600);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--primary-500);
  color: white;
  transform: translateY(-50%) !important;
  box-shadow: var(--shadow-lg);
}

.carousel-btn:active,
.carousel-btn:focus {
  background: var(--primary-500);
  color: white;
  transform: translateY(-50%) !important;
  box-shadow: var(--shadow-lg);
  outline: none;
}

.prev-btn {
  left: 0 !important;
}

.next-btn {
  right: 0 !important;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--primary-100);
  transition: all var(--transition-slow);
}

.testimonial-card.active {
  display: block;
  animation: slideIn var(--transition-slow);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-rating {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--primary-800);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--primary-200);
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.author-title {
  color: var(--primary-600);
  font-size: 0.95rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-200);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--primary-500);
  transform: scale(1.3);
}

/* Founder Avatar - Match Original */
.founder-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6D8196, #C68346);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary-200);
  object-fit: cover;
}

.avatar-initial {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-3xl) 0;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-content {
  text-align: center;
  color: white;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: white;
  color: var(--primary-600);
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  /* Blooket-style layered shadow - lighter for white buttons */
  box-shadow: 0 5px 0 0 rgba(109, 129, 150, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 0 rgba(109, 129, 150, 0.2), 0 12px 32px rgba(0, 0, 0, 0.25);
}

.btn-cta-primary:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 rgba(109, 129, 150, 0.2), 0 5px 16px rgba(0, 0, 0, 0.15);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-sans);
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--primary-600);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */

.premium-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-xl);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--accent-400);
}

.footer-heading {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-400);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* ========================================
   FLOATING INFO CARDS - RIGHT SIDE OVERLAY
   ======================================== */

/* Feature Video Background */
.feature-video-background {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 88%;
  overflow: visible;
  border-radius: 0;
  z-index: 0;
  background: transparent;
}

.feature-bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
}

.feature-visual {
  position: relative;
}

.feature-visual .floating-info-cards {
  position: relative;
  width: 100%;
  height: 1100px;
  margin: 6rem auto 0;
  z-index: 1;
}

.info-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  width: 180px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

/* Horizontal Row Across Top - Aligned with "Saddle Up for Success" heading */
.info-card-top {
  top: -15%;
  left: 10%;
  transform: translateY(0);
  z-index: 2;
}

.info-card-bottom-left {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.info-card-bottom-right {
  top: -15%;
  right: 10%;
  transform: translateY(0);
  z-index: 1;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(198, 131, 70, 0.1) 0%, rgba(109, 129, 150, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.4) inset;
  background: rgba(45, 54, 64, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.info-card-top:hover {
  transform: translateY(-12px) scale(1.08);
  z-index: 10;
}

.info-card-bottom-left:hover {
  transform: translateX(-50%) translateY(-12px) scale(1.08);
  z-index: 10;
}

.info-card-bottom-right:hover {
  transform: translateY(-12px) scale(1.08);
  z-index: 10;
}

.info-card-icon {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-card-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 16px rgba(109, 129, 150, 0.4));
  transition: transform var(--transition-base);
}

.info-card:hover .info-card-icon svg {
  transform: scale(1.15) translateY(-4px);
}

.info-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d3640;
  margin-bottom: 0;
  line-height: 1.3;
  font-family: var(--font-sans);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.info-card:hover .info-card-title {
  color: rgba(255, 255, 255, 1);
}

.info-card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-slow);
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.info-card:hover .info-card-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.info-card-details p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
}

/* Floating animation for cards - disabled to allow positioning control */

@keyframes floatCardTop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes floatCardBottomLeft {
  0%, 100% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

@keyframes floatCardBottomRight {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.info-card:hover {
  animation: none;
}

/* Responsive positioning for floating cards */
@media (max-width: 1400px) {
  .floating-info-cards {
    right: 5%;
    max-width: 280px;
  }

  .info-card {
    padding: 1.5rem 1.25rem;
  }

  .info-card-title {
    font-size: 1.05rem;
  }

  .info-card-details p {
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .floating-info-cards {
    right: 3%;
    max-width: 260px;
    gap: 1.5rem;
  }

  .info-card {
    padding: 1.25rem 1rem;
  }

  .info-card-icon svg {
    width: 40px;
    height: 40px;
  }

  .info-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .floating-info-cards {
    position: static;
    transform: none;
    max-width: 100%;
    flex-direction: row;
    justify-content: center;
    margin: 2rem auto 0;
    padding: 0 2rem;
    gap: 1.25rem;
  }

  .info-card {
    flex: 1;
    max-width: 280px;
  }

  @keyframes floatCard {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }

  .info-card:hover {
    transform: translateY(-12px) scale(1.03);
  }
}

@media (max-width: 768px) {
  .floating-info-cards {
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 1rem;
  }

  .info-card {
    max-width: 100%;
  }

  .info-card:hover .info-card-details {
    max-height: 150px;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    justify-content: center;
  }

  /* Meet Lasso - Tablet */
  .hero-content-card {
    padding: 3rem 2rem;
    max-width: 90%;
  }

  .hero-content-card .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  /* Meet Lasso - Mobile */
  .hero-content-card {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
  }

  .meet-lasso-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-subtitle-main {
    font-size: 1.2rem;
  }

  .hero-subtitle-main strong {
    font-size: 1.4rem;
  }

  .hero-content-card .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content-card .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-content-card .stat-number {
    font-size: 1.8rem;
  }

  .hero-content-card .stat-label {
    font-size: 0.85rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .testimonials-carousel {
    padding: 2rem 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* ========================================
   SCROLL ANIMATIONS (Handled by AOS library)
   ======================================== */

[data-aos] {
  transition-duration: 0.8s;
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading {
  opacity: 0.5;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--primary-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ========================================
   BRAND TEXT LOGO - CLASSIC WESTERN
   ======================================== */

.brand-logo-svg {
  height: 50px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-logo-svg:hover {
  transform: scale(1.05);
}

/* Header Logo Container - Large Logo with Slogan in Navigation */
.header-logo-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.header-logo-large {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast);
}

.header-logo-large:hover {
  transform: scale(1.03);
}

.header-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  white-space: nowrap;
}

@media (max-width: 1200px) {
  /* Reduce section spacing for laptops */
  .pricing-section {
    padding: 50px 20px !important;
  }

  .features-section,
  .testimonials-section,
  .tools-section {
    padding: 50px 0 !important;
  }

  section {
    scroll-margin-top: 105px;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-container {
    padding: 0 1.5rem;
  }

  .tool-card {
    padding: 1.25rem;
  }

  .tools-grid {
    gap: 1.25rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  /* Make navigation more compact */
  .nav-menu {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }

  .nav-brand {
    font-size: 1.3rem;
  }

  .btn-primary-nav {
    padding: 0.6rem 0.95rem;
    font-size: 0.95rem;
  }

  .nav-container {
    height: 80px;
    padding: 0 1rem;
  }

  .header-logo-large {
    height: 70px;
  }

  .header-slogan {
    font-size: clamp(1.1rem, 1.85vw, 1.35rem);
  }
}

@media (max-width: 1024px) {
  .header-logo-large {
    height: 60px;
  }

  .header-slogan {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .header-logo-container {
    gap: 0.75rem;
  }

  .header-logo-large {
    height: 50px;
  }

  .header-slogan {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .nav-container {
    gap: 0.875rem;
    height: 75px;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  /* Reduce section padding for laptop screens */
  .section-container {
    padding: 0 1.5rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  section {
    scroll-margin-top: 100px;
  }

  .pricing-section {
    padding: 45px 20px !important;
  }

  .features-section,
  .testimonials-section,
  .tools-section {
    padding: 45px 0 !important;
  }

  .tool-card {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .tool-title {
    font-size: 1.1rem;
  }

  .tool-description {
    font-size: 0.85rem;
  }

  /* Make navigation even more compact */
  .nav-menu {
    gap: 0.7rem;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.35rem 0.45rem;
    white-space: nowrap;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .btn-primary-nav {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
  }

  .nav-container {
    height: 65px;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    gap: 0.75rem;
    height: 70px;
    padding: 0 0.75rem;
  }

  .nav-brand {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .header-slogan {
    display: none;
  }

  .nav-container {
    gap: 0.5rem;
    height: 60px;
    padding: 0 0.5rem;
  }

  .nav-brand {
    font-size: 1.1rem;
  }
}

.brand-text-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-lesson {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #4a5568;
  letter-spacing: -0.5px;
}

.rope-divider {
  height: 40px;
  width: 30px;
  margin: 0 4px;
  filter: drop-shadow(1px 1px 2px rgba(139, 90, 43, 0.3));
  animation: rope-sway 3s ease-in-out infinite;
}

@keyframes rope-sway {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.brand-lasso {
  font-family: 'Rye', cursive;
  font-size: 2.4rem;
  color: #C68346;
  text-shadow: 2px 2px 0px rgba(198,131,70,0.3), 1px 1px 4px rgba(198,131,70,0.4);
  font-weight: 900;
}

/* ========================================
   ULTRA-WIDE SCREENS (2000px+)
   ======================================== */

@media (min-width: 2000px) {
  .hero-section {
    padding-top: 100px;
  }

  .hero-lasso-bg .hero-container {
    padding: 3rem 4rem 0 4rem;
  }

  .hero-lasso-bg .hero-content {
    max-width: 620px;
    padding: 2.25rem 2.25rem;
    margin-top: 2rem;
  }

  .nav-container {
    height: 100px;
    gap: 1.5rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
  }

  .btn-primary-nav {
    font-size: 1.05rem;
    padding: 0.7rem 1.1rem;
  }

  .header-logo-large {
    height: 85px;
  }

  .header-slogan {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  }

  section {
    padding: 80px 0;
    scroll-margin-top: 120px;
  }
}

/* ========================================
   DYNAMIC PREMIUM BUTTON STATES
   ======================================== */

/* Premium button - Active state (for premium users) */
.btn-premium-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 0 0 rgba(5, 150, 105, 0.8), 0 6px 16px rgba(16, 185, 129, 0.4) !important;
  transition: all var(--transition-base) !important;
}

.btn-premium-active:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 0 0 rgba(5, 150, 105, 0.8), 0 8px 24px rgba(16, 185, 129, 0.5) !important;
}

.btn-premium-active:active {
  transform: translateY(2px) !important;
  box-shadow: 0 2px 0 0 rgba(5, 150, 105, 0.8), 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

/* Premium button - Locked state (for free users) */
.btn-premium-locked {
  background: #9ca3af !important;
  color: #6b7280 !important;
  border: none !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  box-shadow: 0 2px 0 0 rgba(75, 85, 99, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all var(--transition-base) !important;
}

.btn-premium-locked:hover {
  background: #9ca3af !important;
  transform: none !important;
  box-shadow: 0 2px 0 0 rgba(75, 85, 99, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-premium-locked:disabled {
  pointer-events: none;
}
