/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: var(--teal-950);
}
.hero-slider__track { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.7s ease;
    display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__media {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.04);
}
.hero-slide__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(11,61,63,0.92) 0%, rgba(11,61,63,0.55) 45%, rgba(245,166,35,0.25) 100%);
}
.hero-slide__content { position: relative; z-index: 2; max-width: 640px; color: var(--white); }
.hero-slide__content h1 { color: var(--white); font-size: 46px; margin-bottom: 18px; }
.hero-slide__content p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 520px; }

.hero-slider__dots {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 3;
}
.hero-slider__dot {
    width: 10px; height: 10px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
    transition: background 0.2s, width 0.2s;
}
.hero-slider__dot.is-active { background: var(--orange-500); width: 26px; border-radius: 6px; }

.hero-slider__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.15); color: var(--white); font-size: 22px;
    cursor: pointer; z-index: 3; backdrop-filter: blur(4px);
}
.hero-slider__arrow:hover { background: var(--orange-500); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
    background: linear-gradient(90deg, var(--teal-600), var(--teal-300));
    margin-top: -1px;
}
.stats-strip__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 32px 24px;
}
.stat { text-align: center; color: var(--white); }
.stat__number { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 900; }
.stat__label { font-size: 13px; opacity: 0.9; }

/* ==========================================================================
   STORY BLOCKS
   ========================================================================== */
.story { padding: 96px 0; }
.story-block {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    margin-bottom: 96px;
}
.story-block:last-child { margin-bottom: 0; }
.story-block--reverse { direction: rtl; }
.story-block--reverse > * { direction: ltr; }
.story-block__media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
    width: 100%;
}
.story-block__text h2 { font-size: 32px; }

/* ==========================================================================
   REELS SHOWCASE — signature element: phone-framed video strip
   ========================================================================== */
.reels { padding: 96px 0; background: var(--teal-950); }
.reels__head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.reels__head h2, .reels__head .eyebrow { color: var(--white); }
.reels__head .eyebrow { background: rgba(255,255,255,0.1); color: var(--yellow-400); }
.reels__head p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0; }

.reels__socials { display: flex; gap: 10px; }
.social-pill {
    padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.25); color: var(--white);
}
.social-pill--youtube:hover { background: #ff3b3b; border-color: #ff3b3b; }
.social-pill--tiktok:hover { background: #25f4ee; border-color: #25f4ee; color: var(--teal-950); }

.reels__track {
    display: flex; gap: 24px; overflow-x: auto; padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
}
.reels__track::-webkit-scrollbar { height: 6px; }
.reels__track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }

.reel-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 14px;
}
.reel-card__badge {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; color: var(--white);
}
.reel-card__badge--youtube { background: #FF0000; }
.reel-card__badge--tiktok { background: #000000; }
.reel-card__badge--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.reel-card__badge--facebook { background: #1877F2; }

/* ============ VARIABLES ============ */
.reels__track {
    --reel-radius: 20px;
    --reel-border: 6px solid #06181a;
    --reel-ratio: 9 / 16;
  }
  
  /* ============ LAYOUT ============ */
  /* Desktop: 4 columns */
  .reels__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  
  /* Tablet: 2 columns */
  @media (max-width: 1024px) {
    .reels__track {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* Phone: horizontal swipe slider */
  @media (max-width: 768px) {
    .reels__track {
      display: flex;
      flex-wrap: nowrap;
      gap: 12px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding: 0 16px 10px;
      scroll-padding-inline: 16px;
    }
    .reels__track::-webkit-scrollbar {
      display: none;
    }
    .reels__track .reel-card {
      flex: 0 0 78vw;
      max-width: 320px;
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }
  }
  
  /* ============ CARD ============ */
  .reel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  
  /* ============ BADGE ============ */
  .reel-card__badge {
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: #333;
  }
  .reel-card__badge--youtube   { background: #ff0000; }
  .reel-card__badge--tiktok    { background: #000; }
  .reel-card__badge--facebook  { background: #1877f2; }
  .reel-card__badge--instagram {
    background: radial-gradient(circle at 30% 107%,
      #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  }
  
  /* ============ FRAME + POSTER (same box for ALL platforms) ============ */
  .reel-card__frame,
  .reel-card__poster {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: var(--reel-ratio);
    border: var(--reel-border);
    border-radius: var(--reel-radius);
    background: #000;
    overflow: hidden;
  }
  
  .reel-card__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  
  /* Poster fallback */
  .reel-card__poster {
    background-size: cover;
    background-position: center;
  }
  .reel-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white, #fff);
    background: rgba(11, 61, 63, 0.35);
  }
  
  /* ============ PLATFORM TWEAKS ============ */
  /* Instagram: crop the header/footer bars (adjust the px values if needed) */
  .reel-card__frame--instagram iframe {
    top: -56px;
    height: calc(100% + 56px + 90px);
  }
  
  /* YouTube: a 16:9 video is letterboxed (black bars) inside the 9:16 frame.
     Uncomment to make it fill the frame instead (crops the sides): */
  /*
  .reel-card__frame--youtube iframe {
    inset: auto;
    top: 0;
    left: 50%;
    width: 316%;
    height: 100%;
    transform: translateX(-50%);
  }
  */
  
  /* ============ TITLE ============ */
  .reel-card__title {
    margin: 12px 4px 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white, #fff);
  }
/* ============ NAV BUTTONS ============ */
.reels {
    position: relative;
  }
  
  .reels__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: none;               /* hidden on desktop/tablet: the grid has nothing to scroll */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 0 3px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    color: #fff;
    background: rgba(6, 24, 26, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
  }
  .reels__nav--prev { left: 4px; }
  .reels__nav--next { right: 4px; }
  
  .reels__nav:hover {
    background: #06181a;
    transform: translateY(-50%) scale(1.08);
  }
  .reels__nav:active {
    transform: translateY(-50%) scale(0.95);
  }
  .reels__nav:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }
  
  /* Show the buttons only where the track is a slider (phone) */
  @media (max-width: 768px) {
    .reels__nav { display: flex; }
  }
  

/* ==========================================================================
   VALUES
   ========================================================================== */
   .values { padding: 96px 0; }
   .values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
   .value-card {
       background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
       padding: 28px; box-shadow: var(--shadow-card);
   }
   .value-card__icon {
       display: flex; align-items: center; justify-content: center;
       width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
       background: linear-gradient(135deg, var(--orange-500), var(--yellow-400));
       color: var(--white);
       font-size: 18px;
       line-height: 1;
       flex-shrink: 0;
   }
   .value-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; color: var(--dark); }
   .value-card p { font-size: 14px; margin: 0; color: var(--muted); line-height: 1.6; }
   
   @media (max-width: 992px) {
     .values__grid { grid-template-columns: repeat(2, 1fr); }
     .values { padding: 60px 0; }
   }
   @media (max-width: 520px) {
     .values__grid { grid-template-columns: 1fr; }
   }
/* ==========================================================================
   AUTH SECTION
   ========================================================================== */
   .auth-section { background: var(--teal-950); padding: 96px 0; }
   .auth-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
   .auth-section__pitch h2 { color: var(--white); font-size: 34px; line-height: 1.2; }
   .auth-section__perks { list-style: none; padding: 0; margin: 24px 0 0; }
   .auth-section__perks li {
       color: rgba(255,255,255,0.85); font-size: 15px; padding: 10px 0 10px 30px;
       position: relative; border-bottom: 1px solid rgba(255,255,255,0.08);
   }
   .auth-section__perks li::before {
       content: \'✓\'; position: absolute; left: 0; color: var(--yellow-400); font-weight: 700;
   }
   .auth-section__perks li:last-child { border-bottom: none; }
   
   .auth-card {
       background: var(--white); border-radius: var(--radius-lg);
       box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
       padding: 32px;
       text-align: center;
   }
   .auth-card__title { font-size: 20px; font-weight: 800; color: var(--teal-950); margin: 0 0 8px; }
   .auth-card__text { font-size: 14px; color: var(--ink-600); line-height: 1.6; margin: 0 0 24px; }
   .auth-card__actions { display: flex; flex-direction: column; gap: 12px; }
   
   /* you can delete .auth-card__tabs / .auth-card__tab / .auth-card__panel rules */
   
   @media (max-width: 900px) {
     .auth-section__grid { grid-template-columns: 1fr; gap: 36px; }
     .auth-section { padding: 64px 0; }
     .auth-section__pitch h2 { font-size: 28px; }
   }
/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { padding: 90px 0; text-align: center; }
.final-cta__inner { max-width: 560px; margin: 0 auto; }
.final-cta h2 { font-size: 32px; }
.final-cta__actions { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .hero-slide__content h1 { font-size: 34px; }
    .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .story-block, .auth-section__grid { grid-template-columns: 1fr; gap: 32px; }
    .story-block--reverse { direction: ltr; }
    .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hero-slider { height: 480px; }
    .values__grid { grid-template-columns: 1fr; }
    .reel-card { flex: 0 0 200px; }
}
.reels__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  
  .social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  
  .social-pill:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  /* Colors */
  .social-pill--youtube {
    background: #FF0000;
  }
  .social-pill--tiktok {
    background: #000000;
  }
  .social-pill--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }
  .social-pill--facebook {
    background: #1877F2;
  }