/* ===================================================================
   BEONE SPORTS - UNIFIED STYLESHEET
   Single CSS file for easy maintenance and fast loading
   
   SECTIONS:
   1. Variables & Reset
   2. Navigation & Header
   3. Hero Section
   4. Slant Divider (KEY: Change background color here)
   5. Drakedive Section
   6. Computers & Media
   7. AMS Section
   8. Videos Section
   9. Get Started Section
   10. Carousel/Slideshow
   11. Human Platform Section
   12. The Nos Section
   13. Pricing & Footer
   14. Reveal Animations
   15. Responsive (Mobile First)
   16. Accessibility
=================================================================== */

/* ===================================================================
   1. VARIABLES & RESET
=================================================================== */

:root {
  --slant-height: 220px;
  --slant-offset: 80px;
  --accent: #6366ff;
  --muted: #6b7280;
  --bg: #ffffff;  /* ← CHANGE BACKGROUND COLOR HERE */
  --card: #f8fafb;
}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  color: #0f172a;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

.content-paragraphs p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 18px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================================
   2. NAVIGATION & HEADER
=================================================================== */

.nav {
  border-bottom: 0;
  background: transparent;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 102px;
  width: auto;
  object-fit: contain;
  filter: none;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.2s ease;
  padding: 6px 12px;
  background: transparent;
  border-radius: 6px;
}

.desktop-nav a:hover {
  color: #ffffff;
  background: var(--accent);
}

@media (min-width: 901px) {
  .desktop-nav {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .hamburger-menu {
    display: none !important;
  }
}

.nav-toggle {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 6px;
  z-index: 200;
  position: relative;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .desktop-nav {
    display: none !important;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hamburger-menu {
  display: none;
  position: fixed;
  top: 80px;
  right: 20px;
  width: 160px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
  overflow: hidden;
  z-index: 200;
}

.hamburger-menu.active {
  display: block;
}

.hamburger-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease;
}

.hamburger-menu a:last-child {
  border-bottom: none;
}

.hamburger-menu a:hover {
  background-color: rgba(99, 102, 255, 0.1);
}

.hamburger-menu.active {
  display: block;
}

/* Buttons */
.btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 4px 15px rgba(99, 102, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(0) translateZ(0);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 102, 255, 0.4), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
  background: transparent;
  border: 1px solid #e6eefb;
  color: var(--muted);
  padding: 8px 12px;
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(99, 102, 255, 0.05);
}

.btn-ghost:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1px solid #e6e6ef;
  color: var(--muted);
}

/* Promo Banner */
/* ===================================================================
   3. HERO SECTION
=================================================================== */

.hero {
  padding: 68px 0 200px;
  min-height: 416px;
  background-image: url("../images/Deskblueyellow.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--slant-height, 160px) + var(--slant-offset));
  background: var(--bg);
  z-index: 3;
  pointer-events: none;
  -webkit-clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0% 100%);
  clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0% 100%);
  transform: translateY(30px);
}

.hero .hero-inner {
  position: static;
  z-index: 4;
  justify-content: flex-start;
}

.hero-inner {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 400px;
}

.hero-box {
  position: absolute;
  left: 10vw;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 10vw);
  max-width: 720px;
  z-index: 5;
  background: transparent;  
  border-radius: 12px;
  max-width: 560px;
  box-shadow: none;
  margin-left: 0;
  margin-top: 80px;
}

.hero-box .hero-title {
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.30);
}

.hero-box .hero-sub {
  color: var(--muted);
  text-shadow: none;
  font-size: 18px;
  line-height: 1.6;
}

.hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 60px;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  mix-blend-mode: screen;
}

.hero-title .line {
  display: block;
  margin-bottom: 6px;
}

.hero-title .navy {
  color: #032b56;
  text-shadow: none;
}

.hero-bubble {
  width: 320px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 0;
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.5;
  display: block;
  text-align: left;
  position: absolute;
  top: 140px;
  left: 10vw;
  margin-top: 0;
  z-index: 10;
  visibility: visible;
  box-shadow: none;
}

.hero-bubble .bubble-arrow {
  display: inline;
  margin-left: 8px;
  font-size: 18px;
}

.hero-sub {
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 300;
}

.hero-content {
  flex: 1;
}

.hero-ctas {
  display: flex;
  gap: 12px;
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mockup {
  background: linear-gradient(180deg, rgba(99, 102, 255, 0.06), transparent);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
  transform: translateY(0);
}

.mockup img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ===================================================================
   4. SLANT DIVIDER - CHANGE COLOR HERE
   
   To change the slant divider color, modify the 'background' property
   below. For example:
   - Black: background: #000000;
   - White: background: #ffffff;
   - Any color: background: #hexcode;
=================================================================== */

.slant-divider {
  height: calc(var(--slant-height) + var(--slant-offset));
  margin-top: 30px;
  background: #ffffff;  /* ← CHANGE SLANT COLOR HERE */
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  -webkit-clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0% 100%);
  clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0% 100%);
}

/* ===================================================================
   5. DRAKEDIVE SECTION - CHANGE BACKGROUND HERE
   
   To change the drakedive background, modify the 'background' property
   in .drakedive below. For example:
   - Black: background: #000000;
   - White: background: #ffffff;
   - Any color: background: #hexcode;
=================================================================== */

.drakedive {
  background: #ffffff;  /* ← CHANGE DRAKEDIVE BACKGROUND HERE */
  padding-top: 30px;
  padding-bottom: 30px;
}

.drakedive .section-title {
  color: #000000;
  text-align: left;
  font-size: 48px;
  font-weight: 700;
}

.drakedive p, .drakedive .section-lead, .drake-copy {
  color: #000000;
}

.drake-media {
  display: block;
  margin-top: 28px;
}

.drake-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.drake-image-wrap {
  text-align: center;
}

.drake-content {
  text-align: left;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.drake-copy-box {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(3, 43, 86, 0.06);
  max-width: 520px;
  flex: 1;
}

.drake-copy {
  margin: 0;
  color: #475569;
  font-size: 24px;
  line-height: 1.45;
  text-align: left;
}

.drake-million-img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.drake-subtitle-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.drake-subtitle .drake-char {
  display: inline-block;
  position: relative;
  line-height: 1;
  font-size: inherit;
  padding: 0;
}

.drake-subtitle .drake-space {
  display: inline-block;
  width: 0.45em;
}

.drake-subtitle .drake-char::after {
  content: attr(data-char);
  position: absolute;
  left: 50%;
  top: calc(100% + 28px);
  display: block;
  transform: translateX(-50%) scaleY(-1);
  transform-origin: top center;
  color: inherit;
  opacity: 0.9;
  filter: blur(1.2px);
  pointer-events: none;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0) 100%);
}

/* ===================================================================
   6. COMPUTERS & MEDIA SECTION
=================================================================== */

.computers {
  background: transparent;
  padding: 30px 0;
}

.computers .section-title,
.computers .section-lead {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.computers .section-title {
  font-size: 48px;
  font-weight: 700;
}

.computers-media {
  text-align: center;
  margin-top: 28px;
}

.webapplanding-image {
  display: block;
  margin: 20px auto;
  max-width: 1100px;
  width: 95%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Video variant matching the webapp image sizing for visual consistency */
.webapplanding-video {
  display: block;
  margin: 20px auto;
  /* slightly smaller than the large hero image so the animation reads as a media inset */
  max-width: 720px;
  width: 75%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Desktop: make the animation more compact on larger screens */
@media (min-width: 901px) {
  .webapplanding-video {
    max-width: 560px;
    width: 48%;
  }
}

/* Replacement image used in the NOS grid when swapping from video */
.nos-replacement-image {
  width: 80%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* ===================================================================
   7. AMS SECTION
=================================================================== */

.ams {
  background: #ffffff;
  padding: 30px 0;
  text-align: center;
}

.ams-media {
  margin-top: 20px;
}

.ams-image {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.ams-video {
  max-width: 55%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  background: #000;
}

.ams .section-title,
.ams .section-lead {
  text-align: left;
}

.ams .section-title {
  font-size: 48px;
  font-weight: 700;
}

/* ===================================================================
   8. VIDEOS SECTION
=================================================================== */

.videos {
  background: #ffffff;
  padding: 30px 0;
}

.videos .section-title,
.videos .section-lead {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.videos .section-title {
  font-size: 48px;
  font-weight: 700;
}

.videos-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: nowrap;
}

.videos-media {
  flex: 1;
  min-width: 0;
}

.videos-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.videos-player {
  flex: 1;
  min-width: 320px;
  display: flex;
  align-items: center;
}

.video-player {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
}

.animation-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
  display: block;
}

.video-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.video-logos .logo {
  height: 56px;
  object-fit: contain;
  opacity: 0.95;
}

/* ===================================================================
   9. GET STARTED SECTION
=================================================================== */

.get-started {
  background: #ffffff;
  padding: 30px 0;
}

.get-started .section-title,
.get-started .section-lead {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 100%;
}

.get-started .section-title {
  font-size: 48px;
  font-weight: 700;
}

.gs-icons {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 20px;
}

.gs-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #0b1220;
}

.gs-image {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
}

.gs-icon p {
  margin: 0;
  font-weight: 600;
  color: #0b1220;
}

.gs-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 12px;
}

.gs-feature-icon {
  flex: 0 0 auto;
  margin-left: -10px;
}

.gs-feature-copy {
  max-width: 760px;
  text-align: left;
  margin-top: -8px;
}

/* ===================================================================
   10. CAROUSEL/SLIDESHOW
=================================================================== */

.slideshow {
  background: #ffffff;
  padding: 30px 0;
}

.slideshow .section-title {
  margin-bottom: 50px;
  font-size: 48px;
  font-weight: 700;
}

.carousel {
  position: relative;
  overflow: visible;
  margin-top: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
  height: 520px;
  transform-style: preserve-3d;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  max-width: 1100px;
  height: 520px;
  border-radius: 12px;
  transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 300ms;
  opacity: 0.75;
  filter: grayscale(6%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.carousel-item.active {
  opacity: 1;
  filter: none;
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.22);
  z-index: 3000;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--accent);
}

/* ===================================================================
   11. HUMAN PLATFORM SECTION
=================================================================== */

.human-platform {
  background-image: url("../images/bluyel.png");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 80px 0;
}

.human-platform .section-title {
  color: #ffffff;
  margin-bottom: 18px;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.human-platform .hp-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 20px;
}

.human-platform-extend .hp-cta {
  align-self: flex-start;
}

.human-platform .hp-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  text-align: left;
}

.human-platform .hp-list li {
  margin: 24px 0;
  font-size: 22px;
  line-height: 1.5;
  color: #ffffff;
  position: relative;
  padding-left: 44px;
  font-weight: 500;
}

.human-platform .hp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F5B800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.human-platform .hp-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a2a3a;
}

.human-platform .hp-cta {
  background: #F5B800;
  color: #000;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: none;
  transform: translateY(0);
}

.human-platform .hp-cta::after {
  content: " >";
  margin-left: 6px;
}

.human-platform .hp-cta:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

.human-platform .hp-cta:active {
  transform: translateY(-1px);
}

.human-platform .hp-logo img {
  height: 80px;
  width: auto;
  margin-top: 12px;
  opacity: 0.95;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.human-platform-extend {
  background-image: url("../images/deskbluewhite.png") !important;
  background-size: 110% !important;
  background-position: calc(center - 500px) center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
  padding: 60px 0 !important;
  position: relative;
}

.slant-divider-hp {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  z-index: 1;
}

.human-platform-extend .section-title {
  color: #032b56 !important;
  font-weight: 700;
  text-align: left;
  font-size: 72px;
}

.human-platform-extend .hp-list {
  text-align: left !important;
  padding-left: 0 !important;
  margin-left: -500px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 800px;
}

.human-platform-extend .section-lead {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ===================================================================
   12. THE NOS SECTION
=================================================================== */

.the-nos {
  background: #ffffff;
  padding: 60px 0 100px;
}

.the-nos .nos-headings {
  position: relative;
  height: 260px;
}

.nos-layer {
  position: absolute;
  left: 6vw;
  right: auto;
  text-align: left;
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  color: #000;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(12px) scale(1);
  transition: opacity 600ms ease, transform 600ms ease;
  transform-origin: left top;
}

.nos-1 {
  top: 0px;
  transform: translateY(12px) scale(1.12);
  transition-delay: 0.5s;
}

.nos-2 {
  top: 36px;
  transform: translateY(12px) scale(1.06);
  transition-delay: 1s;
}

.nos-3 {
  top: 72px;
  transform: translateY(12px) scale(1.00);
  transition-delay: 1.5s;
}

.nos-4 {
  top: 108px;
  transform: translateY(12px) scale(0.94);
  transition-delay: 2s;
}

.nos-1.is-visible {
  transform: translateY(0) scale(1.12);
  opacity: 1;
}

.nos-2.is-visible {
  transform: translateY(0) scale(1.06);
  opacity: 1;
}

.nos-3.is-visible {
  transform: translateY(0) scale(1.00);
  opacity: 1;
}

.nos-4.is-visible {
  transform: translateY(0) scale(0.94);
  opacity: 1;
}

.nos-lead {
  max-width: 820px;
  margin: 20px 0 18px;
  color: #475569;
  text-align: left;
}

.nos-cta {
  margin: 32px 0;
  display: flex;
  justify-content: flex-start;
  width: max-content;
}

.nos-cta .btn-primary {
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 100px;
  background: #F5B800;
  color: #000;
  border: 0;
  box-shadow: none;
  font-weight: 600;
}

.nos-cta .btn-primary::after {
  content: " >";
  margin-left: 6px;
}

.nos-cta .btn-primary:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.nos-videos-grid {
  display: grid;
  /* make the primary animation significantly larger */
  grid-template-columns: 6fr 1fr; /* wider primary column */
  gap: 24px;
  margin-top: 40px;
  justify-items: center;
  align-items: start; /* keep videos aligned at top */
}

.nos-video-item {
  width: 100%;
}

/* Simplified NOS media: single centered image */
.nos-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.nos-centered-image {
  width: 85%;
  max-width: 1100px;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

@media (min-width: 901px) {
  .nos-centered-image {
    width: 95%;
    max-width: 1400px;
  }
  .nos-media { min-height: 60vh; }
}

.nos-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
  display: block;
  object-fit: cover;
}

/* Desktop: make animation bigger and broadjump smaller while staying aligned */
@media (min-width: 901px) {
  .nos-videos-grid {
    grid-template-columns: 6fr 1fr; /* wider primary column on desktop */
  }
  .nos-videos-grid .nos-video:first-child {
    height: 820px;    /* increase primary animation height */
    max-height: 86vh;
    width: 100%;
    object-fit: cover;
  }
  .nos-videos-grid .nos-video:last-child {
    height: 420px;    /* reduce broadjump height */
    max-height: 48vh;
    width: 100%;
    object-fit: cover;
  }
}

.nos-video-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: nowrap;
}

.nos-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.nos-logo:hover {
  opacity: 1;
}

/* ===================================================================
   13. SECTION STYLES (Global)
=================================================================== */

.section-title {
  font-size: 28px;
  margin: 12px 0;
  font-weight: 600;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
}

.feature .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.feature h3 {
  margin: 10px 0 6px;
}

/* ===================================================================
   14. PRICING & FOOTER
=================================================================== */

.pricing {
  padding: 48px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #eef2f7;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.card.popular {
  box-shadow: 0 6px 24px rgba(99, 102, 255, 0.14);
  border-color: transparent;
}

.price {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}

.site-footer {
  border-top: 1px solid #f1f5f9;
  padding: 18px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-links a {
  margin-left: 12px;
  color: var(--muted);
  text-decoration: none;
}

/* ===================================================================
   15. REVEAL ANIMATIONS
=================================================================== */

.reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Directional offsets for cleaner motion */
.reveal.from-left { transform: translateX(-14px) translateY(6px); }
.reveal.from-right { transform: translateX(14px) translateY(6px); }
.reveal.from-below { transform: translateY(18px); }

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ===================================================================
   16. FLOATING CTA & FOOTER
=================================================================== */

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 90;
  pointer-events: auto;
}

.floating-cta .btn {
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
}

.floating-cta .btn-ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--muted);
}

/* Button focus styles */
.btn:focus,
.nav-toggle:focus {
  outline: 3px solid rgba(99, 102, 255, 0.18);
  outline-offset: 2px;
}

/* ===================================================================
   17. RESPONSIVE DESIGN - MOBILE FIRST
   Breakpoints: 1400, 1200, 1000, 900, 800, 700, 600, 480, 360
=================================================================== */

@media (max-width: 1400px) {
  .brand-logo {
    height: 96px;
  }
  .hero {
    padding: 76px 0 220px;
    min-height: 480px;
  }
  .hero-title {
    font-size: 64px;
    line-height: 1.02;
  }
  .hero-title .line {
    margin-bottom: 10px;
  }
  .hero-inner {
    margin-top: 300px;
  }
  .slant-divider {
    height: 240px;
  }
  :root {
    --slant-height: 240px;
  }
  .hero-box {
    left: 8vw;
    width: 48%;
  }
  .hero-bubble {
    top: 130px;
    left: 8vw;
  }
  .drakedive .section-title {
    font-size: 44px;
  }
  .computers .section-title {
    font-size: 44px;
  }
  .ams .section-title {
    font-size: 44px;
  }
  .videos .section-title {
    font-size: 44px;
  }
  .get-started .section-title {
    font-size: 44px;
  }
  .slideshow .section-title {
    font-size: 44px;
  }
  .human-platform-extend .section-title {
    font-size: 66px;
  }
  .human-platform-extend .hp-list {
    max-width: 720px;
  }
}

@media (max-width: 1200px) {
  .brand-logo {
    height: 88px;
  }
  .hero {
    padding: 72px 0 200px;
    min-height: 440px;
  }
  .hero-title {
    font-size: 56px;
    line-height: 1.04;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 200px;
  }
  :root {
    --slant-height: 200px;
  }
  .hero-box {
    width: 50%;
  }
  .hero-bubble {
    top: 120px;
  }
  .drakedive .section-title {
    font-size: 42px;
  }
  .computers .section-title {
    font-size: 42px;
  }
  .ams .section-title {
    font-size: 42px;
  }
  .videos .section-title {
    font-size: 42px;
  }
  .get-started .section-title {
    font-size: 42px;
  }
  .slideshow .section-title {
    font-size: 42px;
  }
  .human-platform-extend .section-title {
    font-size: 60px;
  }
  .human-platform-extend .hp-list {
    max-width: 650px;
  }
}

@media (max-width: 1000px) {
  .brand-logo {
    height: 84px;
  }
  .hero {
    padding: 64px 0 180px;
    min-height: 420px;
  }
  .hero-title {
    font-size: 55px;
    line-height: 1.06;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 100px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 60%;
  }
  .hero-bubble {
    top: 110px;
  }
  .videos-grid {
    flex-direction: column;
  }
  .videos-player {
    order: 2;
  }
  .videos-media {
    order: 1;
  }
  .video-logos .logo {
    height: 48px;
  }
  .gs-icons {
    flex-direction: row;
    gap: 24px;
  }
  .human-platform-extend {
    padding: 48px 0;
    background-image: url("../images/phonebluewhite.png") !important;
    background-size: cover !important;
    background-position: calc(center - 500px) center !important;
  }
  .human-platform-extend .section-title {
    color: #ffffff !important;
  }
  .human-platform-extend .section-title {
    font-size: 32px;
  }
  .nos-cta {
    margin: 20px auto;
    width: auto;
  }
  .nos-cta .btn-primary {
    padding: 12px 20px;
    font-size: 16px;
  }
  .carousel-track {
    height: auto;
    padding: 8px;
  }
  .carousel-item {
    height: 320px;
    width: 92%;
    max-width: none;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .drakedive .section-title {
    font-size: 40px;
  }
  .computers .section-title {
    font-size: 40px;
  }
  .ams .section-title {
    font-size: 40px;
  }
  .videos .section-title {
    font-size: 40px;
  }
  .get-started .section-title {
    font-size: 40px;
  }
  .slideshow .section-title {
    font-size: 40px;
  }
  .human-platform-extend .section-title {
    font-size: 54px;
  }
  .human-platform-extend .hp-list {
    max-width: 580px;
  }
}

@media (max-width: 900px) {
  .brand-logo {
    height: 76px;
  }
  .hero {
    padding: 56px 0 180px;
    min-height: 400px;
    background-position: top center;
    background-size: cover;
  }
  .hero-title {
    font-size: 50px;
    line-height: 1.08;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 65%;
    left: 6vw;
  }
  .hero-bubble {
    top: 100px;
    left: 6vw;
  }
  .promo-banner {
    position: static;
    display: block;
    width: calc(100% - 40px);
    margin: 12px 0 8px 20px;
    max-width: none;
    transform: none;
    left: auto;
    box-shadow: none;
  }
  .hero-box .hero-title,
  .hero-box .hero-sub {
    text-align: left;
    max-width: calc(100% - 40px);
    white-space: normal;
    word-break: break-word;
    margin-left: 0;
  }
  .drake-content {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .drake-million-img {
    max-width: 140px;
    width: 100%;
    height: auto;
  }
  .drake-copy-box {
    flex: 0 0 48%;
    max-width: 48%;
    padding: 12px;
  }
  .drake-copy {
    font-size: 14px;
  }
  .gs-icons {
    flex-direction: column;
  }
  .gs-feature {
    flex-direction: column;
    text-align: center;
  }
  .nos-layer {
    position: static;
    display: block;
    font-size: 28px;
    text-align: left;
    margin: 0;
    padding: 0;
    transition: opacity 600ms ease, transform 600ms ease;
    opacity: 1;
    transform: none;
    line-height: 1;
  }
  .nos-layer.is-visible {
    opacity: 1;
    transform: none;
  }
  .the-nos .nos-headings {
    height: auto;
    position: relative;
  }
    height: auto;
  }
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .drakedive .section-title {
    font-size: 38px;
  }
  .computers .section-title {
    font-size: 38px;
  }
  .ams .section-title {
    font-size: 38px;
  }
  .videos .section-title {
    font-size: 38px;
  }
  .get-started .section-title {
    font-size: 38px;
  }
  .slideshow .section-title {
    font-size: 38px;
  }
  .human-platform-extend .section-title {
    font-size: 48px;
  }
  .human-platform-extend .hp-list {
    max-width: 520px;
  }
  .nos-videos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .nos-logo {
    height: 70px;
  }
}

@media (max-width: 800px) {
  .brand-logo {
    height: 76px;
  }
  .hero {
    padding: 56px 0 180px;
    min-height: 400px;
  }
  .hero-title {
    font-size: 48px;
    line-height: 1.08;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 70%;
    left: 6vw;
    padding-left: 16px;
  }
  .hero-bubble {
    top: 100px;
    left: 6vw;
  }
  .drakedive .section-title {
    font-size: 36px;
  }
  .computers .section-title {
    font-size: 36px;
  }
  .ams .section-title {
    font-size: 36px;
  }
  .videos .section-title {
    font-size: 36px;
  }
  .get-started .section-title {
    font-size: 36px;
  }
  .slideshow .section-title {
    font-size: 36px;
  }
  .human-platform-extend .section-title {
    font-size: 44px;
  }
  .human-platform-extend .hp-list {
    max-width: 460px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 48px 0 180px;
    min-height: 380px;
    background-position: top center;
    background-size: cover;
  }
  .human-platform-extend .hp-list {
    margin-left: 0 !important;
  }
  .brand-logo {
    height: 72px;
  }
  .hero-title {
    font-size: 44px;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 80%;
    left: 5vw;
  }
  .hero-bubble {
    top: 95px;
    left: 5vw;
  }
  .promo-banner {
    top: 80px;
    width: calc(100% - 48px);
  }
  .drakedive .section-title {
    font-size: 34px;
  }
  .computers .section-title {
    font-size: 34px;
  }
  .ams .section-title {
    font-size: 34px;
  }
  .videos .section-title {
    font-size: 34px;
  }
  .get-started .section-title {
    font-size: 34px;
  }
  .slideshow .section-title {
    font-size: 34px;
  }
  .human-platform-extend .section-title {
    font-size: 40px;
  }
  .human-platform-extend .hp-list {
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
  }
  .ams-video {
    max-width: 100%;
    max-height: none;
  }
  .container,
  .hero,
  .hero-inner,
  .promo-banner {
    box-sizing: border-box;
    max-width: 100%;
  }
  .promo-banner {
    width: calc(100% - 32px);
    margin: 12px 16px;
    left: auto;
  }
  .hero {
    padding: 48px 0 180px;
    min-height: 360px;
  }
  .hero-title {
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -2px;
  }
  .hero-title .navy {
    display: inline;
  }
  .hero-inner {
    margin-top: 260px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 88%;
    left: 4vw;
    padding-left: 12px;
  }
  .hero-bubble {
    top: 90px;
    left: 4vw;
    width: 180px;
    font-size: 12px;
  }
  .brand-logo {
    height: 68px;
  }
  .container {
    padding: 0 16px;
  }
  .nav-inner {
    padding: 12px 0;
  }
  .hero-title span {
    display: block;
    width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .mockup {
    padding: 12px;
  }
  .feature {
    padding: 14px;
  }
  .section-title {
    font-size: 22px;
  }
  .human-platform .hp-logo img {
    height: 56px;
    width: auto;
  }
  .video-logos {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .video-logos .logo {
    height: 40px;
    flex: 0 1 auto;
  }
  .gs-icons {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }
  .gs-icon {
    flex: 1;
    max-width: 140px;
  }
  .drake-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 16px;
  }
  .drake-million-img {
    max-width: 150px;
    width: 100%;
    height: auto;
  }
  .drake-content p {
    margin: 0;
    flex: 1;
    color: #475569;
    font-size: 15px;
  }
  img,
  .computers-image,
  .webapplanding-image,
  .mockup img,
  .drake-image,
  .videos-image {
    max-width: 100%;
    height: auto;
    width: 100%;
    display: block;
  }
  .computers-image {
    width: 100%;
    max-width: 100%;
  }
  .floating-cta {
    left: 12px;
    right: 12px;
    justify-content: space-between;
  }
  .floating-cta .btn {
    flex: 1;
    margin: 0 6px;
  }
  .drakedive .section-title {
    font-size: 32px;
  }
  .computers .section-title {
    font-size: 32px;
  }
  .ams .section-title {
    font-size: 32px;
  }
  .videos .section-title {
    font-size: 32px;
  }
  .get-started .section-title {
    font-size: 32px;
  }
  .slideshow .section-title {
    font-size: 32px;
  }
  .human-platform-extend .section-title {
    font-size: 36px;
    text-align: left;
  }
  .human-platform-extend .hp-list {
    max-width: 100%;
  }
  .human-platform-extend .hp-content {
    align-items: flex-start;
    text-align: left;
  }
  .human-platform-extend .hp-cta {
    align-self: flex-start;
  }
  .human-platform .hp-logo {
    align-self: center;
    margin-top: 24px;
  }
  .nos-videos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nos-logo {
    height: 60px;
  }
  .nos-video-logos {
    gap: 16px;
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 64px;
  }
  .hero {
    padding: 40px 0 180px;
    min-height: 340px;
    background-position: top center;
    background-size: cover;
  }
  .hero-title {
    font-size: 50px;
    line-height: 1.12;
    letter-spacing: -2px;
  }
  .hero-inner {
    margin-top: 240px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .hero-box {
    width: 90%;
    left: 4vw;
    padding-left: 12px;
  }
  .hero-bubble {
    top: 85px;
    left: 4vw;
    width: 160px;
    font-size: 11px;
  }
  .promo-banner {
    position: static;
    margin: 8px auto;
  }
  .nav-inner {
    padding: 10px 0;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 14px;
  }
  .btn {
    padding: 10px 12px;
  }
  .drake-million-img {
    max-width: 120px;
    width: 100%;
    height: auto;
  }
  .video-logos {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .video-logos .logo {
    height: 36px;
  }
  .drake-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .drake-copy-box {
    width: 100%;
    max-width: 100%;
  }
  .drake-copy {
    white-space: nowrap;
  }
  .drakedive .section-title {
    font-size: 28px;
  }
  .computers .section-title {
    font-size: 28px;
  }
  .computers .section-title {
    font-size: 28px;
  }
  .ams .section-title {
    font-size: 28px;
  }
  .ams .section-title {
    font-size: 28px;
  }
  .videos .section-title {
    font-size: 28px;
  }
  .get-started .section-title {
    font-size: 28px;
  }
  .slideshow .section-title {
    font-size: 28px;
  }
  .human-platform-extend .section-title {
    font-size: 32px;
    text-align: left;
  }
  .human-platform-extend .hp-list {
    max-width: 100%;
  }
  .human-platform-extend .hp-content {
    align-items: flex-start;
    text-align: left;
  }
  .human-platform-extend .hp-cta {
    align-self: flex-start;
  }
  .human-platform .hp-logo {
    align-self: center;
    margin-top: 30px;
  }
  .human-platform .hp-logo img {
    height: 100px;
  }
  .human-platform .hp-list li {
    font-size: 15px;
    margin: 18px 0;
  }
  .nos-videos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nos-logo {
    height: 50px;
  }
  .nos-video-logos {
    gap: 10px;
    margin-top: 24px;
    flex-wrap: nowrap;
  }
  .nos-video {
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    height: 28px;
  }
  .hero {
    padding: 32px 0 180px;
    min-height: 320px;
    background-size: cover;
  }
  .hero-title {
    font-size: 50px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-inner {
    margin-top: 220px;
  }
  .hero-box {
    width: 92%;
    left: 4vw;
  }
  .hero-bubble {
    top: 50px;
    left: 4vw;
    width: 140px;
    font-size: 10px;
    padding: 4px;
  }
  .slant-divider {
    height: 180px;
  }
  :root {
    --slant-height: 180px;
  }
  .btn {
    padding: 10px 12px;
  }
  .drake-million-img {
    max-width: 100px;
    width: 100%;
    height: auto;
  }
  .drakedive .section-title {
    font-size: 24px;
  }
  .computers .section-title {
    font-size: 24px;
  }
  .ams .section-title {
    font-size: 24px;
  }
  .videos .section-title {
    font-size: 24px;
  }
  .get-started .section-title {
    font-size: 24px;
  }
  .slideshow .section-title {
    font-size: 24px;
  }
  .human-platform-extend .section-title {
    font-size: 28px;
  }
  .human-platform-extend .hp-list {
    max-width: 100%;
  }
}

/* HERO SIZE OVERRIDES: increase hero title size per user request */
.hero-title {
  font-size: 80px;
  line-height: 1.02;
}

@media (max-width: 1400px) {
  .hero-title { font-size: 76px; }
}

@media (max-width: 1000px) {
  .hero-title { font-size: 72px; }
}

@media (max-width: 900px) {
  .hero-title { font-size: 68px; }
}

@media (max-width: 800px) {
  .hero-title { font-size: 64px; }
}

@media (max-width: 700px) {
  .hero-title { font-size: 60px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 56px; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 52px; }
}

/* HERO LAYOUT ADJUSTMENTS: increase top spacing and slant to accommodate larger titles */
.hero {
  padding-top: 120px; /* more breathing room above the hero */
}
.hero-inner {
  margin-top: 460px; /* base increase to keep content visually balanced */
}

@media (max-width: 1400px) {
  .hero { padding-top: 110px; }
  .hero-inner { margin-top: 360px; }
  .slant-divider { height: 260px; }
  :root { --slant-height: 260px; }
}

@media (max-width: 1000px) {
  .hero { padding-top: 100px; }
  .hero-inner { margin-top: 320px; }
  .slant-divider { height: 220px; }
  :root { --slant-height: 220px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-inner { margin-top: 320px; }
  .slant-divider { height: 200px; }
  :root { --slant-height: 200px; }
}

@media (max-width: 800px) {
  .hero { padding-top: 92px; }
  .hero-inner { margin-top: 320px; }
}

@media (max-width: 700px) {
  .hero { padding-top: 80px; }
  .hero-inner { margin-top: 300px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 72px; }
  .hero-inner { margin-top: 280px; }
  .slant-divider { height: 200px; }
  :root { --slant-height: 200px; }
  /* push hero box down to avoid bubble overlapping the title */
  /* move hero box and bubble slightly higher (upward) */
  .hero-box { margin-top: 130px; }
  .hero-bubble { top: 96px; }
  /* move slant down a bit */
  .hero::after { transform: translateY(-18px); }
}

@media (max-width: 360px) {
  .hero { padding-top: 64px; }
  .hero-inner { margin-top: 260px; }
  /* move hero box and bubble slightly higher on very small screens */
  .hero-box { margin-top: 150px; }
  .hero-bubble { top: 110px; }
  .slant-divider { height: 180px; }
  :root { --slant-height: 180px; }
  .hero::after { transform: translateY(-28px); }
}

/* MOBILE SLANT ADJUSTMENTS: move slant up on smaller screens and reduce height */
@media (max-width: 480px) {
  .hero::after {
    transform: translateY(20px);
  }
  .slant-divider { height: 180px; }
  :root { --slant-height: 180px; }
}

@media (max-width: 360px) {
  .hero::after {
    transform: translateY(10px);
  }
  .slant-divider { height: 160px; }
  :root { --slant-height: 160px; }
}

/* For very large screens, move the slant up and reduce its visual offset */
@media (min-width: 1401px) {
  .slant-divider {
    height: 220px;
  }
  :root {
    --slant-height: 220px;
  }
  .hero::after {
    transform: translateY(-35px);
  }
}

/* Ensure sections after the hero are pushed down so the slant/bubble don't overlap
   This adds extra top spacing to all sibling sections following `.hero` and is
   responsive to keep proportions on smaller screens. */
.hero + section,
.hero ~ section {
  padding-top: 120px; /* base offset to clear hero */
}

@media (max-width: 1400px) {
  .hero + section,
  .hero ~ section { padding-top: 100px; }
}

@media (max-width: 1000px) {
  .hero + section,
  .hero ~ section { padding-top: 88px; }
}

@media (max-width: 900px) {
  .hero + section,
  .hero ~ section { padding-top: 76px; }
}

@media (max-width: 480px) {
  .hero + section,
  .hero ~ section { padding-top: 140px; }
}

@media (max-width: 360px) {
  .hero + section,
  .hero ~ section { padding-top: 160px; }
}

/* Move the 'computers' section up and bring all following sections up with it.
   Adjust the value below to control how much higher the computers section sits. */
.computers {
  margin-top: -80px;
}
.computers ~ section {
  margin-top: -80px;
}

@media (max-width: 480px) {
  .computers { margin-top: -60px; }
  .computers ~ section { margin-top: -60px; }
}

@media (max-width: 360px) {
  .computers { margin-top: -40px; }
  .computers ~ section { margin-top: -40px; }
}

/* Mobile carousel adjustments (improve image visibility on small screens)
   - Increase horizontal coverage of frames slightly so images appear larger
*/
@media (max-width: 1000px) {
  .carousel-track { height: auto; padding: 10px; }
  /* expand carousel beyond container gutters so frames can exceed viewport width slightly */
  .carousel { max-width: none; width: calc(100% + 64px); margin-left: -32px; margin-right: -32px; }
  /* make slide frames wider than the visible image while keeping image constrained */
  .carousel-item {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    height: 320px;
    width: calc(100% + 56px); /* frame wider than viewport area */
    max-width: none;
    margin: 0 0 14px 0;
    border-radius: 10px;
    background: transparent;
  }
  /* keep image fully visible inside the wider frame */
  .carousel-item img {
    width: auto;
    max-width: calc(100% - 56px);
    max-height: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
}

@media (max-width: 480px) {
  .carousel-track { padding: 6px; }
  .carousel { max-width: none; width: calc(100% + 48px); margin-left: -24px; margin-right: -24px; }
  .carousel-item { height: 300px; width: calc(100% + 40px); margin-bottom: 12px; }
  .carousel-item img {
    width: auto;
    max-width: calc(100% - 40px);
    max-height: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    display: block;
  }
}

@media (max-width: 360px) {
  .carousel { max-width: none; width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }
  .carousel-item { height: 260px; width: calc(100% + 32px); margin-bottom: 10px; }
  .carousel-item img {
    width: auto;
    max-width: calc(100% - 32px);
    max-height: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    display: block;
  }
}

/* Option A: make slideshow fully edge-to-edge on small viewports (remove container gutters) */
@media (max-width: 1000px) {
  .slideshow .container { padding-left: 0; padding-right: 0; }
  .carousel { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  .carousel-track { padding: 0 !important; }
  .carousel-item { width: 100% !important; max-width: none !important; margin: 0 0 12px 0 !important; border-radius: 0 !important; }
  .carousel-item img { margin: 0 auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
}

/* ===================================================================
   18. ACCESSIBILITY - Respect Reduced Motion
=================================================================== */

@media (prefers-reduced-motion: reduce) {
  html, body, * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .carousel-item,
  .nos-layer {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Honeypot: visually hidden but accessible to assistive tech if needed */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
