/* ============================================================
   SkillShowcase — index.css  (Fully Responsive)
   Breakpoints:
     Mobile  : ≤ 480px
     Tablet  : 481px – 768px
     Laptop  : 769px – 1024px
     Desktop : ≥ 1025px
   ============================================================ */

/* Mobile menu — must be at top so it can be overridden per breakpoint */
/* .navbar__nav--open is toggled by JS on hamburger click              */

/* ── Mobile nav dropdown ──────────────────────────────────── */
.navbar {
  position: relative;
  /* needed so the dropdown is anchored correctly */
}

.navbar__nav--open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 14px 20px 18px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
  gap: 2px;
  z-index: 99;
  animation: fadeInUp .18s ease;
}

.navbar__nav--open .navbar__link {
  padding: 10px 12px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.navbar-overlay {
  display: none;
}

.navbar-overlay.is-active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(0, 0, 0, .4);
  z-index: 98;
  backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --navy: #1a2744;
  --navy-dark: #111c38;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-bg: #eff6ff;
  --gold: #f59e0b;
  --teal: #06b6d4;
  --teal-light: #e0f7fa;
  --green: #22c55e;
  --red: #ef4444;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .14);
  --transition: .2s ease;

  /* Fluid spacing scale */
  --space-xs: clamp(8px, 1.5vw, 12px);
  --space-sm: clamp(12px, 2vw, 16px);
  --space-md: clamp(16px, 3vw, 24px);
  --space-lg: clamp(24px, 4vw, 40px);
  --space-xl: clamp(40px, 6vw, 80px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26, 39, 68, .25);
}

.btn--primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 39, 68, .30);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 30px;
  font-size: clamp(14px, 1.5vw, 15px);
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .65);
  font-weight: 600;
  padding: 11px 28px;
  font-size: clamp(14px, 1.5vw, 15px);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  height: 62px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* Brand */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.3px;
}

.navbar__brand-tagline {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 400;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.navbar__link--active {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
}

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar__search-wrap {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 5px 14px;
  gap: 8px;
  transition: var(--transition);
}

.navbar__search-wrap:focus-within {
  border-color: var(--blue-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.navbar__search-icon {
  font-size: 13px;
  color: var(--gray-400);
}

.navbar__search {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--gray-700);
  width: 160px;
  font-family: inherit;
}

.navbar__search::placeholder {
  color: var(--gray-400);
}

.navbar__bell {
  font-size: 18px;
  color: var(--gray-500);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar__bell:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.navbar__login {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar__login:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.navbar__hamburger {
  display: none;
  font-size: 22px;
  padding: 6px 8px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
}

/* ============================================================
   VIDEO HERO
   ============================================================ */
.video-hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
}

.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: .85;
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 16, 36, .88) 0%, rgba(10, 16, 36, .35) 50%, rgba(10, 16, 36, .10) 100%),
    linear-gradient(to bottom, rgba(10, 16, 36, .45) 0%, transparent 30%);
}

.video-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 22px);
  padding: 0 clamp(16px, 4vw, 32px);
  max-width: 820px;
  width: 100%;
}

.video-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(9.5px, 1.1vw, 11.5px);
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}

.video-hero__title {
  font-size: clamp(32px, 6.5vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: clamp(-1px, -0.15vw, -2px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.video-hero__title-accent {
  color: #60a5fa;
}

.video-hero__sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.video-hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.video-hero__mute-btn {
  position: absolute;
  bottom: 72px;
  right: clamp(16px, 3vw, 28px);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.video-hero__mute-btn:hover {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.1);
}

.video-hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.video-hero__scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dot {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    top: 6px;
    opacity: 1;
  }

  80% {
    top: 22px;
    opacity: .3;
  }
}

/* ============================================================
   HERO INFO
   ============================================================ */
.hero {
  background: var(--white);
  padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 60px);
  border-bottom: 1px solid var(--gray-200);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: clamp(-0.5px, -0.15vw, -1.5px);
  margin-bottom: 18px;
}

.hero__sub {
  font-size: clamp(14px, 1.7vw, 16px);
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  max-width: 540px;
}

.hero__search-bar:focus-within {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.hero__search-icon {
  padding: 0 14px;
  font-size: 15px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--gray-700);
  padding: 13px 0;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}

.hero__search-input::placeholder {
  color: var(--gray-400);
}

.hero__search-btn {
  border-radius: 0;
  padding: 13px clamp(14px, 2.5vw, 28px);
  font-size: 14px;
  flex-shrink: 0;
}

/* Social Proof */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-proof__avatars {
  display: flex;
  align-items: center;
}

.sp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-left: -10px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.sp-avatar:first-child {
  margin-left: 0;
}

.sp-avatar--1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.sp-avatar--2 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.sp-avatar--3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.sp-avatar--4 {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.sp-avatar--5 {
  background: linear-gradient(135deg, #fa709a, #fee140);
}

.social-proof__text {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.4;
}

.social-proof__text strong {
  color: var(--navy);
  font-weight: 700;
}

/* Feature card */
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px);
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.feature-icon--blue {
  background: #dbeafe;
  color: var(--blue);
}

.feature-icon--navy {
  background: #e0e7ef;
  color: var(--navy);
}

.feature-icon--gold {
  background: #fef3c7;
  color: var(--gold);
}

.feature-icon--teal {
  background: var(--teal-light);
  color: var(--teal);
}

.feature-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.categories {
  padding: clamp(16px, 2.5vw, 28px) 0 0;
}

.categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 1vw, 10px);
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(7px, 1vw, 9px) clamp(12px, 1.5vw, 18px);
  border-radius: 6px;
  font-size: clamp(12px, 1.3vw, 13.5px);
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}

.category-tab--active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  font-weight: 700;
}

.category-tab--active:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.category-tab__icon {
  font-size: 14px;
}

/* ============================================================
   VIDEOS SECTION
   ============================================================ */
.videos-section {
  padding: clamp(20px, 3vw, 36px) 0 clamp(36px, 5vw, 60px);
}

.videos-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(16px, 2.5vw, 28px);
  flex-wrap: wrap;
  gap: 16px;
}

.videos-section__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--view-all:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 39, 68, .25);
}

.btn--view-all .btn-arrow {
  transition: transform var(--transition);
  font-size: 16px;
}

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

.videos-section__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.4px;
  margin-bottom: 4px;
}

.videos-section__sub {
  font-size: 13px;
  color: var(--gray-400);
}

.videos-section__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
}

.sort-select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.view-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-400);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.view-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.view-btn--active {
  background: var(--gray-100);
  color: var(--navy);
  border-color: var(--gray-300);
}

/* Grid — default 4 columns for desktop */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.videos-grid.list-view {
  grid-template-columns: 1fr;
}

.videos-grid.list-view .video-card {
  display: flex;
  flex-direction: row;
}

.videos-grid.list-view .video-card__thumb {
  width: 260px;
  flex-shrink: 0;
}

.videos-grid.list-view .video-card__body {
  flex: 1;
}

/* ============================================================
   VIDEO CARD
   ============================================================ */
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card__thumb {
  position: relative;
  height: clamp(150px, 18vw, 190px);
  overflow: hidden;
}

.video-card__bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}

.video-card:hover .video-card__bg {
  transform: scale(1.05);
}

/* Gradient backgrounds for each profession */
.video-card__bg--welding {
  background: linear-gradient(135deg, #1e3a5f 0%, #f97316 60%, #fbbf24 100%);
}

.video-card__bg--gypsum {
  background: linear-gradient(135deg, #dfe9f3 0%, #a8c0cc 50%, #7fb3c8 100%);
}

.video-card__bg--formwork {
  background: linear-gradient(135deg, #78909c 0%, #b0bec5 50%, #f57c00 100%);
}

.video-card__bg--tiling {
  background: linear-gradient(135deg, #e8f5e9 0%, #a5d6a7 50%, #f9fbe7 100%);
}

.video-card__bg--masonry {
  background: linear-gradient(135deg, #795548 0%, #a1887f 50%, #d7ccc8 100%);
}

.video-card__bg--plumbing {
  background: linear-gradient(135deg, #bf360c 0%, #e64a19 50%, #78909c 100%);
}

.video-card__bg--painting {
  background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 50%, #c5cae9 100%);
}

.video-card__bg--electrical {
  background: linear-gradient(135deg, #3e2723 0%, #795548 50%, #ff8f00 100%);
}

.video-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--gray-900);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--navy);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
  transition: var(--transition);
  padding-left: 3px;
}

.video-card__play:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card__duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .72);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Card Body */
.video-card__body {
  padding: clamp(12px, 1.5vw, 16px) clamp(12px, 1.5vw, 16px) clamp(14px, 1.8vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.video-card__worker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
  background-size: cover;
  background-position: center;
}

/* Avatar gradient placeholders */
.avatar--1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar--2 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.avatar--3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.avatar--4 {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.avatar--5 {
  background: linear-gradient(135deg, #fa709a, #fee140);
}

.avatar--6 {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.avatar--7 {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.avatar--8 {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.video-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.video-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.video-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card__rating {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

.video-card__id {
  font-size: 11.5px;
  color: var(--gray-400);
}

.video-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-tag {
  font-size: 11.5px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 3px;
}

.meta-tag--location {
  color: var(--red);
}

.video-card__watch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
  transition: var(--transition);
}

.video-card__watch:hover {
  color: var(--blue);
}

/* ============================================================
   STATS (old - kept for backward compat)
   ============================================================ */
.stats {
  padding: 0 0 clamp(32px, 5vw, 56px);
}

.stats__inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--gray-50);
}

.stat-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-item__icon--blue {
  background: #dbeafe;
  color: var(--blue);
}

.stat-item__icon--navy {
  background: #e0e7ef;
  color: var(--navy);
  font-size: 14px;
}

.stat-item__icon--teal {
  background: var(--teal-light);
  color: var(--teal);
}

.stat-item__icon--gray {
  background: var(--gray-100);
  color: var(--gray-400);
}

.stat-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item__num {
  font-size: 20px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -.5px;
}

.stat-item__label {
  font-size: 12.5px;
  color: var(--gray-500);
}

/* ============================================================
   UPGRADED STATS SECTION
   ============================================================ */
.stats-upgraded {
  position: relative;
  background: linear-gradient(135deg, #0a1020 0%, #1a2744 45%, #0f2a50 100%);
  padding: clamp(52px, 8vw, 90px) 0 clamp(60px, 9vw, 100px);
  overflow: hidden;
}

.stats-upgraded__bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, .18) 0%, transparent 70%);
  pointer-events: none;
}

.stats-upgraded__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

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

.stats-upgraded__eyebrow {
  display: inline-block;
  font-size: clamp(10px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 12px;
  background: rgba(96, 165, 250, .12);
  border: 1px solid rgba(96, 165, 250, .25);
  padding: 4px 14px;
  border-radius: 20px;
}

.stats-upgraded__title {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: clamp(-0.5px, -0.1vw, -1px);
}

.stats-upgraded__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

/* Stat card */
.stat-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 26px) clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.stat-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-card__icon-wrap--blue {
  background: rgba(37, 99, 235, .25);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .3);
}

.stat-card__icon-wrap--green {
  background: rgba(34, 197, 94, .20);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, .3);
}

.stat-card__icon-wrap--teal {
  background: rgba(6, 182, 212, .20);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, .3);
}

.stat-card__icon-wrap--gold {
  background: rgba(245, 158, 11, .20);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .3);
}

.stat-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card__num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1;
}

.stat-card__label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .75);
}

.stat-card__desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .40);
  line-height: 1.5;
  margin-top: 2px;
}

/* Progress bar */
.stat-card__bar {
  height: 4px;
  background: rgba(255, 255, 255, .08);
  border-radius: 4px;
  overflow: hidden;
}

.stat-card__fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}

.stat-card__fill--blue {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.stat-card__fill--green {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

.stat-card__fill--teal {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.stat-card__fill--gold {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

/* ============================================================
   TRUSTED BY — MARQUEE
   ============================================================ */
.trusted-by {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: clamp(22px, 4vw, 36px) 0;
  overflow: hidden;
}

.trusted-by__header-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.trusted-by__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
  border-right: 1px solid var(--gray-200);
  transition: color var(--transition);
  cursor: default;
  user-select: none;
}

.partner-logo:hover {
  color: var(--navy);
}

.partner-logo__icon {
  font-size: 20px;
}

/* ============================================================
   GET STARTED FORM
   ============================================================ */
.get-started {
  background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 50%, #eff6ff 100%);
  padding: clamp(52px, 8vw, 96px) 0 clamp(60px, 9vw, 108px);
  position: relative;
  overflow: hidden;
}

.get-started::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, .08) 0%, transparent 70%);
  pointer-events: none;
}

.get-started__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* Left */
.get-started__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .15);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.get-started__title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: clamp(-0.5px, -0.1vw, -1.2px);
  margin-bottom: 20px;
}

.get-started__accent {
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.get-started__desc {
  font-size: clamp(14px, 1.6vw, 15.5px);
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 420px;
}

.get-started__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.get-started__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  color: var(--gray-700);
  font-weight: 500;
}

.perk-check {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--blue), #06b6d4);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.get-started__contact-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  max-width: 360px;
}

.get-started__contact-icon {
  font-size: 18px;
}

/* Right — Form card */
.gs-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(26, 39, 68, .10), 0 1px 3px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.gs-card__header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%);
  padding: clamp(18px, 2.5vw, 28px) clamp(18px, 2.5vw, 30px);
}

.gs-card__title {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.gs-card__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.gs-form {
  padding: clamp(18px, 2.5vw, 28px) clamp(18px, 2.5vw, 30px) clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gs-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gs-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gs-form__group--full {
  grid-column: 1 / -1;
}

.gs-form__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
}

.gs-form__req {
  color: var(--red);
}

.gs-form__input {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.gs-form__input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.gs-form__input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
}

.gs-form__input::placeholder {
  color: var(--gray-400);
}

.gs-form__select {
  cursor: pointer;
  appearance: auto;
}

.gs-form__textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.gs-form__submit {
  width: 100%;
  padding: 14px;
  font-size: clamp(14px, 1.6vw, 15px);
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: .2px;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}

.gs-form__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, .08) 100%);
}

.gs-form__privacy {
  font-size: 11.5px;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: clamp(40px, 6vw, 64px) 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-size: 14px;
}

.footer__logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.footer__tagline {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer__link {
  font-size: 14px;
  color: var(--gray-500);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 500;
}

.footer__link:hover {
  color: var(--blue);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.footer__copy {
  font-size: 14px;
  color: var(--gray-500);
}

.footer__credit {
  font-size: 14px;
  color: var(--gray-500);
}

.footer__credit a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.footer__credit a:hover {
  color: var(--navy);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

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

.modal {
  background: #000;
  border-radius: var(--radius-lg);
  width: min(860px, 96vw);
  max-height: 92vh;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(.92);
  transition: transform .25s ease;
  overflow: hidden;
}

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

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.modal__close:hover {
  background: rgba(255, 255, 255, .25);
}

.modal__video-placeholder {
  text-align: center;
  color: var(--white);
}

.modal__play-icon {
  font-size: 56px;
  opacity: .7;
  display: block;
  margin-bottom: 12px;
}

.modal__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  padding: 12px 48px 12px 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .8) 0%, transparent 100%);
  pointer-events: none;
}

.modal__player-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
}

.modal__player-wrap iframe,
.modal__player-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  min-width: 260px;
  max-width: min(360px, calc(100vw - 32px));
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
  pointer-events: none;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.toast__icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.toast__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast__body strong {
  font-size: 14px;
  font-weight: 700;
}

.toast__body p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .65);
}

.toast__close {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.toast__close:hover {
  background: rgba(255, 255, 255, .22);
}

/* ============================================================
   CHECKBOX PILL GRID
   ============================================================ */
.gs-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.gs-checkbox-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.gs-checkbox-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}

.gs-checkbox-pill span {
  flex: 1;
}

.gs-checkbox-pill::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-checkbox-pill:hover {
  border-color: var(--blue-light);
  background: var(--blue-bg);
  color: var(--navy);
}

.gs-checkbox-pill:hover::after {
  border-color: var(--blue-light);
}

.gs-checkbox-pill.is-checked {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26, 39, 68, .20);
}

.gs-checkbox-pill.is-checked::after {
  content: '✓';
  background: rgba(255, 255, 255, .25);
  border-color: transparent;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gs-checkbox-grid.error .gs-checkbox-pill {
  border-color: rgba(239, 68, 68, .4);
}

.gs-checkbox-hint {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-card {
  animation: fadeInUp .4s ease both;
}

.video-card:nth-child(1) {
  animation-delay: .05s;
}

.video-card:nth-child(2) {
  animation-delay: .10s;
}

.video-card:nth-child(3) {
  animation-delay: .15s;
}

.video-card:nth-child(4) {
  animation-delay: .20s;
}

.video-card:nth-child(5) {
  animation-delay: .25s;
}

.video-card:nth-child(6) {
  animation-delay: .30s;
}

.video-card:nth-child(7) {
  animation-delay: .35s;
}

.video-card:nth-child(8) {
  animation-delay: .40s;
}

@keyframes statCount {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  animation: statCount .5s ease both;
}

.stat-item:nth-child(1) {
  animation-delay: .1s;
}

.stat-item:nth-child(2) {
  animation-delay: .2s;
}

.stat-item:nth-child(3) {
  animation-delay: .3s;
}

.stat-item:nth-child(4) {
  animation-delay: .4s;
}

/* ============================================================
   ██████████████████████████████████████████████████████████
   RESPONSIVE BREAKPOINTS
   ██████████████████████████████████████████████████████████
   ============================================================ */

/* ── Desktop ≥ 1025px ────────────────────────────────────────
   The default styles above are already desktop-optimised.
   Only a few tweaks needed. */
@media (min-width: 1025px) {
  .navbar__search {
    width: 180px;
  }

  .videos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Laptop 769px – 1024px ───────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Navbar */
  .navbar__search {
    width: 130px;
  }

  .navbar__brand-tagline {
    display: none;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr 360px;
    gap: 32px;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Upgraded Stats */
  .stats-upgraded__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Old stats */
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--gray-200);
  }

  /* Get Started */
  .get-started__inner {
    gap: 40px;
  }
}

/* ── Laptop / Tablet boundary — hide search wrap ────────── */
@media (max-width: 940px) {
  .navbar__search-wrap {
    display: none;
  }
}

/* ── Tablet 481px – 768px ────────────────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {

  /* Navbar */
  .navbar__nav {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__login {
    display: none;
  }

  .navbar__search-wrap {
    display: none;
  }

  .navbar__actions {
    gap: 8px;
  }

  /* Video Hero */
  .video-hero {
    height: 75vh;
    min-height: 480px;
  }

  .video-hero__content {
    align-items: center;
    text-align: center;
  }

  .video-hero__cta {
    justify-content: center;
  }

  .video-hero__mute-btn {
    bottom: 52px;
    right: 16px;
  }

  .video-hero__scroll-indicator {
    bottom: 16px;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__right {
    display: none;
  }

  .hero__search-bar {
    max-width: 100%;
  }

  /* Categories — 2 rows scroll-snap on small tablets */
  .categories__list {
    flex-wrap: wrap;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid.list-view .video-card {
    flex-direction: column;
  }

  .videos-grid.list-view .video-card__thumb {
    width: 100%;
  }

  /* Upgraded Stats */
  .stats-upgraded__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Old stats */
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--gray-200);
  }

  /* Get Started */
  .get-started__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .get-started__desc {
    max-width: 100%;
  }

  /* Checkbox */
  .gs-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Fix iOS input zoom */
  .gs-form__input,
  .hero__search-input,
  .navbar__search,
  .gallery-hero__search-input,
  .toolbar-search-input {
    font-size: 16px;
  }
}

/* ── Mobile ≤ 480px ─────────────────────────────────────── */
@media (max-width: 480px) {

  /* Global */
  body {
    font-size: 14px;
  }

  /* Navbar — compact mobile layout */
  .navbar__inner {
    height: 56px;
    gap: 4px;
    padding: 0 10px;
  }

  .navbar__brand {
    gap: 6px;
  }

  .navbar__brand-name {
    font-size: 14px;
    letter-spacing: -0.5px;
  }

  .navbar__nav {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
    padding: 4px;
    margin-left: 2px;
  }

  .navbar__login {
    display: none;
  }

  .navbar__search-wrap {
    display: none;
  }

  .navbar__bell {
    display: none;
  }

  /* Hide tagline to save space */
  .navbar__brand-tagline {
    display: none;
  }

  /* Compact buttons */
  .navbar__actions {
    gap: 4px;
  }

  .navbar__actions .btn--primary {
    padding: 6px 10px;
    font-size: 12px;
  }

  #langToggleBtn {
    margin-right: 0 !important;
    padding: 0 8px !important;
  }

  .auth-disabled-wrap {
    gap: 6px !important;
  }

  /* Video Hero */
  .video-hero {
    height: 70vh;
    min-height: 420px;
  }

  .video-hero__content {
    align-items: center;
    text-align: center;
    padding: 0 20px;
    gap: 14px;
  }

  .video-hero__cta {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .video-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .video-hero__badge {
    font-size: 9px;
    letter-spacing: .8px;
  }

  .video-hero__sub {
    font-size: 13.5px;
  }

  .video-hero__mute-btn {
    bottom: 48px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .video-hero__scroll-indicator {
    bottom: 12px;
  }

  /* Hero */
  .hero {
    padding: 28px 0 24px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__right {
    display: none;
  }

  .hero__title {
    margin-bottom: 12px;
  }

  .hero__sub {
    margin-bottom: 18px;
  }

  .hero__search-bar {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero__search-btn {
    width: 100%;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .hero__search-input {
    padding: 12px 0;
    width: 100%;
  }

  /* Categories — horizontally scrollable row */
  .categories {
    padding: 14px 0 0;
  }

  .categories__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    gap: 8px;
  }

  .categories__list::-webkit-scrollbar {
    display: none;
  }

  .category-tab {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  /* Videos */
  .videos-section {
    padding: 16px 0 32px;
  }

  .videos-section__header {
    flex-direction: column;
    gap: 12px;
  }

  .videos-section__controls {
    width: 100%;
    justify-content: flex-end;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Hide list view toggle button on mobile — single column is already ideal */
  #listViewBtn {
    display: none;
  }

  .videos-grid.list-view .video-card {
    flex-direction: column;
  }

  .videos-grid.list-view .video-card__thumb {
    width: 100%;
  }

  /* Upgraded stats */
  .stats-upgraded {
    padding: 40px 0 48px;
  }

  .stats-upgraded__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 16px 14px 14px;
    gap: 12px;
  }

  .stat-card__num {
    font-size: 26px;
  }

  .stat-card__icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  /* Old stats */
  .stats__inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Trusted by */
  .partner-logo {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Get Started */
  .get-started {
    padding: 40px 0 48px;
  }

  .get-started__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .get-started__desc {
    max-width: 100%;
  }

  .get-started__contact-note {
    max-width: 100%;
  }

  /* Form */
  .gs-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gs-card__header {
    padding: 16px 18px;
  }

  .gs-form {
    padding: 16px 18px 20px;
    gap: 14px;
  }

  .gs-form__submit {
    padding: 13px;
    font-size: 14px;
  }

  /* Checkbox pills */
  .gs-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .gs-checkbox-pill {
    padding: 8px 10px;
    font-size: 12px;
  }

  /* Toast */
  .toast {
    bottom: 12px;
    right: 12px;
    left: 12px;
    min-width: unset;
    max-width: unset;
    width: calc(100% - 24px);
  }

  /* Footer */
  .footer {
    padding: 40px 0 calc(24px + env(safe-area-inset-bottom));
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__nav {
    gap: 40px;
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Fix iOS input zoom */
  .gs-form__input,
  .hero__search-input,
  .navbar__search,
  .gallery-hero__search-input,
  .toolbar-search-input {
    font-size: 16px;
  }
}

/* ── Very small phones ≤ 360px ───────────────────────────── */
@media (max-width: 360px) {
  .stats-upgraded__grid {
    grid-template-columns: 1fr;
  }

  .gs-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .video-hero__cta .btn {
    font-size: 13px;
  }
}