html, body { margin: 0; height: 100%; background: #000; color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }
.reveal-root { --brand-blue: #2f8cff; --warm-orange: #ff8a2b; --black: #000000; --gray: #d3d3d3; --light-gray: #ececec; --bg: #ffffff; background: var(--bg); }
.wrap { 
  position: relative; 
  width: 100%; 
  height: 100vh; 
  overflow: visible; 
  --brand-gap: 12px; 
  z-index: 1;
  cursor: pointer;
}
.wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #000000 0%, #888888 40%, #ffffff 80%);
  z-index: -1;
  pointer-events: none;
}
.wrap::after {
  content: '';
  position: absolute;
  bottom: -5vh;
  left: 0;
  right: 0;
  height: 5vh;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
  z-index: -1;
  pointer-events: none;
}
.layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 260ms ease;
  opacity: 0;
  z-index: 2;
}
.layer.show { opacity: 1; }
.video-morph {
  transform-origin: center center;
  will-change: transform, border-radius;
  position: fixed !important;
  z-index: 1;
  pointer-events: none; /* ensure it never blocks text interactions */
}
.nav { position: absolute; top: 16px; right: 24px; display: flex; gap: 24px; font-size: 16px; z-index: 5; user-select: none; align-items: center; }
.nav a { color: #fff; text-decoration: none; opacity: 0.92; }
.nav a:hover { opacity: 1; }
.nav a:last-child { border: 2px solid rgba(255, 255, 255, 0.85); padding: 8px 16px; border-radius: 8px; opacity: 1; transition: all 0.3s ease; }
.nav a:last-child:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 1); }
.center-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 6vw; z-index: 5;
               opacity: 0; transition: opacity 500ms ease; will-change: opacity; }
.center-text.show { opacity: 1; }
.headline { 
  font-size: clamp(28px, 6vw, 64px); 
  line-height: 1.08; 
  font-weight: 800; 
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, 
    #4169E1 0%,    /* blue */
    #9370DB 15%,   /* purple */
    #FFD700 30%,   /* yellow */
    #FF8C00 45%,   /* orange */
    #32CD32 60%,   /* green */
    #A9A9A9 75%,   /* gray */
    #4169E1 100%   /* back to blue */
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 8s linear infinite;
  text-shadow: none;
}
.headline span { white-space: nowrap; }
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@media (max-width: 768px) {
  html {
    overflow-x: clip;
  }
  body {
    overflow-x: clip;
    width: 100vw;
  }
  .headline { font-size: clamp(36px, 8vw, 72px); }
}
.grad { position: absolute; inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0) 25%),
                    linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 30%);
        z-index: 3; pointer-events: none; }
/* removed old section rule */
.brand-group { position: absolute; right: 20px; bottom: -8px; display: flex; flex-direction: row; align-items: flex-end; gap: 0; z-index: 5; pointer-events: auto; --orb-trim: 10%; cursor: pointer; }
.brand-group img { display: block; clip-path: inset(0 var(--orb-trim) 0 var(--orb-trim)); -webkit-clip-path: inset(0 var(--orb-trim) 0 var(--orb-trim)); }
.brand-main { width: clamp(64px, 12vw, 120px); height: auto; image-rendering: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
/* removed rolling mini orb */

/* ===== Second page (reveal) ===== */
.reveal-root { background: var(--bg); }
.reveal-stage { position: sticky; top: 0; height: 100vh; background: var(--bg); color: var(--black); display: grid; place-items: center; }
.video-anchor { 
  position: absolute; 
  top: 20vh; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 100px; 
  height: 100px; 
  pointer-events: none; 
  z-index: 10;
  /* Hidden anchor - just for positioning */
}
.orb-indicator {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  will-change: opacity;
  width: 200px;
  height: 200px;
  border: none;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.orb-indicator canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}
.reveal-pin { height: 100%; display: grid; place-items: center; padding: 2vh 6vw; }
@supports (height: 100svh) {
  .reveal-stage { height: 100svh; }
}
.reveal-title { margin: 0; font-size: clamp(48px, 8vw, 62px); line-height: 1.4; text-align: center; font-weight: 800; letter-spacing: 0.2px; color: var(--black); text-transform: uppercase; max-width: 95vw; }
.reveal-line { display: flex; justify-content: center; align-items: baseline; gap: clamp(0.3em, 1.5vw, 0.8em); flex-wrap: wrap; }
.reveal-title .word { transition: color 120ms linear; will-change: color, opacity; display: inline-block; white-space: nowrap; }
.reveal-title #w-orb { text-transform: none; font-size: clamp(62px, 10vw, 82px); font-weight: 900; letter-spacing: 0.5px; 
  background: linear-gradient(90deg, var(--warm-orange) 0%, #a855f7 50%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; }
.reveal-title #w-bloo { font-size: clamp(62px, 10vw, 82px); }
.reveal-title #w-bloo { text-transform: uppercase; }
.reveal-title .bloo-wrap { position: relative; display: inline-block; vertical-align: baseline; }
.reveal-title .bloo-img { display: none; }
.reveal-title #w-bloo { font-family: 'Dancing Script', cursive; font-style: normal; font-weight: 700; text-transform: none; }
.reveal-title .letter { display: inline-block; transition: color 80ms linear; will-change: color; }
.reveal-sub { height: 80vh; display: grid; place-items: center; padding: 10vh 8vw; background: #f7f7f7; color: #111; font-size: clamp(18px, 2.2vw, 22px); }
.reveal-track { height: 80vh; background: var(--bg); }
.scroll-indicator {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  color: var(--black);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  animation: bounce 2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 100;
}
.scroll-indicator.show {
  opacity: 0.8 !important;
  display: flex !important;
}
.scroll-text {
  font-size: 16px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--black);
}
.scroll-indicator svg {
  display: block;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}
@media (max-width: 768px) {
  .scroll-indicator { bottom: 15vh !important; z-index: 10000 !important; }
  .scroll-text { font-size: 15px; }
}

/* Scroll indicator for page 3 (black text, shows during rewind) */
.scroll-indicator-page3 {
  position: fixed;
  color: #000000;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 100;
}
.scroll-indicator-page3 .scroll-text {
  font-size: 11px;
}

/* Scroll indicator for page 4 (black text on white) */
.scroll-indicator-page4 {
  color: #000000;
  bottom: 10vh;
  transform: translateX(-50%) scale(0.8);
}
.scroll-indicator-page4 .scroll-text {
  font-size: 13px;
}

/* Scroll indicator for page 5 (white text on blue) */
.scroll-indicator-page5 {
  color: #ffffff;
  bottom: 3vh;
  transform: translateX(-50%) scale(0.8);
}
.scroll-indicator-page5 .scroll-text {
  font-size: 13px;
}

/* Mobile fixes for reveal section */
@media (max-width: 768px) {
  .reveal-stage { top: 7vh; }
  .reveal-pin { padding: 0 4vw; padding-top: 12vh; }
  .reveal-title { max-width: 90vw; display: block; text-align: center; font-size: clamp(38px, 7vw, 52px); }
  .reveal-line { display: inline; }
  .reveal-title .word { display: inline; }
  .reveal-title #w-orb { 
    font-size: clamp(52px, 9vw, 68px);
    text-transform: none;
    font-weight: 900;
    background: linear-gradient(90deg, #ff8a2b 0%, #a855f7 50%, #2f8cff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .scroll-indicator { display: none !important; }
  .reveal-title #w-bloo { font-size: clamp(52px, 9vw, 68px); }
  .video-anchor { top: 10vh; }
}

/* ===== Third page (Bloo awareness) ===== */
.third-root { --bg:#fbf8f2; --ink:#0a0a0a; --muted:#b7b8bb; --accent:#4aa3ff; background: var(--bg); position: relative; }
.third-stage { position:sticky; top:0; height:100vh; display:grid; grid-template-columns:50% 50%; align-items:center; justify-items:stretch; padding:0 clamp(16px,4vw,72px); z-index:0; overflow:hidden; }
.third-left { display:flex; align-items:center; justify-content:flex-end; padding-right:clamp(24px,6vw,80px); padding-left:clamp(24px,4vw,60px); position:relative; z-index:2; }
.third-tagline { font-size:clamp(37px,6.33vw,125px); line-height:1.05; font-weight:500; max-width:18ch; letter-spacing:-0.01em; color: var(--ink); }
.third-bloo { font-family:"Dancing Script",cursive; color:var(--accent); font-weight:700; font-size:1.05em; }
.third-you { color:var(--accent); font-weight:700; }
.third-right { display:flex; align-items:center; justify-content:flex-start; padding-left:0; position:relative; margin-left:-30%; width:160%; height:100%; }
.third-video-container { position:relative; width:100%; max-width:none; height:80vh; display:flex; align-items:center; justify-content:center; }
.third-video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; transform: scale(1.35); }
.video-text-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: flex; align-items: flex-start; justify-content: flex-start; padding-top: 10%; padding-left: 15%; z-index: 10; }
.video-text { font-size: clamp(14px, 1.6vw, 20px); font-weight: 600; color: #000000; text-align: left; opacity: 0; transition: opacity 0.2s ease-out; text-shadow: 0 0 15px rgba(255,255,255,0.7); line-height: 1.2; max-width: 80%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; will-change: opacity; transform: translateZ(0); -webkit-font-smoothing: antialiased; }
.video-text-small { display: block; font-size: clamp(11px, 1.2vw, 15px); font-weight: 400; margin-top: 2px; }
.multi-text-overlay .video-text-small { display: block; font-size: clamp(11px, 1.2vw, 15px); font-weight: 400; margin-top: 2px; }
/* Proactive accent flash */
/* Proactive flash composed with the text block so it shares z-index and timing */
/* Desktop-only image replacement for Proactive text+flash */
.proactive-img { display: none; }
@media (min-width: 769px) {
  .proactive-img {
    display: block;
    max-width: clamp(140px, 14.7vw, 273px);
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.7));
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  /* Larger size for Presence and Learning images */
  .multi-text-overlay img[src="second_text.png"] {
    max-width: clamp(210px, 22vw, 410px);
  }
  /* Even larger for Learning image */
  .multi-text-overlay img[src="third_text.png"] {
    max-width: clamp(280px, 29vw, 540px);
  }
}
@media (max-width: 768px) {
  .video-text { 
    font-size: clamp(12px, 3vw, 18px) !important; 
    line-height: 1.3 !important;
    max-width: 90% !important;
  }
  .video-text-small { 
    font-size: clamp(10px, 2.5vw, 14px) !important; 
    margin-top: 3px !important;
  }
  .video-text-overlay { 
    padding-top: 8% !important; 
    padding-bottom: 0 !important; 
    padding-left: 6% !important; 
    padding-right: 6% !important;
    align-items: flex-start !important; 
    justify-content: flex-start !important; 
  }
  .multi-text-overlay {
    max-width: 85% !important;
    margin-bottom: 8px !important;
  }
}
.third-track { height:70vh; }
@media (max-width:1440px) and (min-width:1001px){
  .third-right { margin-left:-30%; width:160%; height:100%; }
  .third-video-container { max-width:none; height:80vh; }
}
@media (max-width:1000px){
  .third-stage { grid-template-columns:1fr; padding:16px 24px; gap:8px; }
  .third-left { justify-content:center; padding:0; z-index:auto; }
  .third-tagline { text-align:center; max-width:20ch; }
  .third-right { padding-left:0; margin-left:0; width:100%; }
  .third-video-container { margin-inline:auto; max-width:468px; }
  .third-track { height: 140vh; }
}
@media (max-width:768px){
  .third-stage { 
    top: 0; 
    padding: 16px 24px !important;
    gap: 24px !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .third-left {
    padding: 0 !important;
    justify-content: center !important;
    order: 1;
    padding-top: 8vh !important;
  }
  .third-tagline { 
    font-size: clamp(34px, 10.14vw, 53px) !important; 
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  .third-right { 
    margin-top: 0 !important; 
    margin-left: 0 !important; 
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 2;
  }
  .third-video-container { 
    max-width: 100% !important; 
    width: 100% !important;
    min-height: auto !important;
    height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .third-video {
    transform: scale(1.6) !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
  }
}
@media (max-width:600px){
  .third-tagline { 
    font-size:clamp(28px,8vw,44px) !important; 
    max-width:100%; 
  }
  .third-video-container { 
    height: 55vh !important;
  }
  .third-video {
    transform: scale(1.8) !important;
  }
}

/* ===== Page 4-5 container for overlay transition ===== */
.page-45-container {
  position: relative;
  margin-top: -10vh;
}
.page-45-track {
  height: 200vh;
}

/* ===== Fourth page (Safety & Privacy) ===== */
.fourth-root { 
  background: #000000; 
  min-height: 100vh; 
  height: 100vh;
  display: grid; 
  place-items: center; 
  padding: 4vh 4vw; 
  position: sticky;
  top: 0;
  z-index: 4;
}
.fourth-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 120px); max-width: 1400px; width: 100%; }
.fourth-left { display: flex; align-items: center; justify-content: center; }
.fourth-image-placeholder { 
  width: 100%; 
  max-width: 550px; 
  aspect-ratio: 1; 
  background: transparent; 
  border-radius: 24px; 
  overflow: hidden; 
  display: flex; 
  align-items: flex-start; 
  justify-content: center; 
  position: relative;
  box-shadow: none;
  margin-top: -80px;
}
.fourth-image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.fourth-video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  border-radius: 24px;
}
.fourth-right { padding: 0 clamp(20px, 4vw, 60px); }
.fourth-title { font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: 0.5px; margin: 0 0 clamp(24px, 3vh, 40px) 0; color: #ffffff; }
.fourth-text { font-size: clamp(20px, 2.5vw, 36px); line-height: 1.4; font-weight: 600; margin: 0 0 16px 0; color: #ffffff; }
.fourth-fanatics { color: #4aa3ff; font-weight: 800; }
.fourth-learn-more { font-size: clamp(16px, 1.8vw, 24px); color: #4aa3ff; font-weight: 600; margin: 0; cursor: pointer; transition: opacity 0.3s ease; }
.fourth-learn-more:hover { opacity: 0.7; }

/* Flip Card Styles */
.fourth-flip-container {
  perspective: 1000px;
  width: 100%;
  min-height: 400px;
}
.fourth-flip-inner {
  position: relative;
  width: 100%;
  min-height: 400px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.fourth-flip-container.flipped .fourth-flip-inner {
  transform: rotateY(180deg);
}
.fourth-flip-front,
.fourth-flip-back {
  position: absolute;
  width: 100%;
  min-height: 400px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fourth-flip-back {
  transform: rotateY(180deg);
  background: rgba(20, 20, 20, 0.95);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 40px);
  overflow-y: auto;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fourth-back-text {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.55;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-align: left;
}

/* Responsive for page 4 */
@media (max-width: 1000px) {
  .fourth-stage { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .fourth-image-placeholder { max-width: 350px; margin: 0 auto; }
  .fourth-right { padding: 0 20px; }
}
@media (max-width: 768px) {
  .fourth-image-placeholder { max-width: 280px; }
  .fourth-title { font-size: clamp(34px, 8.4vw, 58px); }
  .fourth-text { font-size: clamp(22px, 6vw, 38px); }
  .fourth-flip-back { max-height: 500px; padding: 20px; }
  .fourth-back-text { font-size: 13px; }
}

/* ===== Page 5-6 container for overlay transition ===== */
.page-56-container {
  position: relative;
}
.page-56-track {
  height: 200vh;
}

/* ===== Fifth page (Discover Apps) ===== */
.fifth-root { 
  --sq: clamp(12px, 1.8vw, 22px);
  --blue: #1f4fff;
  --white: #ffffff;
  --light: rgba(255,255,255,0.16);
  --heavy: rgba(255,255,255,0.86);
  background: var(--blue);
  background-image:
    linear-gradient(var(--light) 1px, transparent 1px),
    linear-gradient(90deg, var(--light) 1px, transparent 1px);
  background-size: var(--sq) var(--sq), var(--sq) var(--sq);
  background-attachment: fixed;
  min-height: 100vh;
  height: 100vh;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 5;
  margin-top: -100vh;
}
.fifth-wrap {
  max-width: 100%;
  width: 100%;
  padding: 2vh 2vw;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}
.fifth-header {
  text-align: center;
  padding: 0 0 2vh 0;
  flex-shrink: 0;
}
.fifth-title {
  margin: 0 0 1vh 0;
  font-weight: 800;
  line-height: 1;
  font-size: clamp(24px, 4.5vw, 48px);
  text-shadow: 0 2px 0 rgba(0,0,0,0.1);
}
.fifth-subtitle {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.4;
  opacity: 0.9;
  font-weight: 400;
}
.fifth-apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 auto;
  justify-content: center;
  padding: 0 2vw;
  max-width: 1400px;
  flex-shrink: 0;
}
.fifth-app-item {
  perspective: 1000px;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}
.fifth-app-flip {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
}
.fifth-app-item:hover .fifth-app-flip {
  transform: rotateY(180deg);
}
.fifth-app-front,
.fifth-app-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100%;
}
.fifth-app-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fifth-app-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.fifth-app-back-title {
  margin: 0 0 6px 0;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  color: #1f4fff;
}
.fifth-app-back-desc {
  margin: 0;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.3;
  color: #333333;
  font-weight: 400;
}
.fifth-app-card {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  display: block;
}
.fifth-app-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fifth-app-name {
  margin: 0;
  color: #ffffff;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 500;
  opacity: 0.95;
  text-align: center;
}
.fifth-footer {
  text-align: center;
  padding: 2vh 0 0 0;
  font-size: clamp(11px, 1.5vw, 14px);
  opacity: 0.9;
  flex-shrink: 0;
}
.fifth-footer a {
  color: #fff;
  text-underline-offset: 3px;
}
@media (max-width: 1000px) {
  .fifth-apps-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fifth-app-card { max-width: 160px; }
  .fifth-app-name { font-size: 12px; }
}
@media (max-width: 760px) {
  .fifth-root { 
    --sq: clamp(8px, 2.1vw, 18px); 
    height: 100vh; 
    min-height: 100vh; 
    padding-top: 8vh !important;
  }
  .fifth-wrap {
    padding: 2vh 4vw !important;
  }
  .fifth-header {
    padding: 0 0 1.5vh 0 !important;
  }
  .fifth-title { 
    font-size: clamp(36px, 9vw, 64px) !important; 
    line-height: 1.1 !important;
    margin-bottom: 1.5vh !important;
  }
  .fifth-subtitle { 
    font-size: clamp(13px, 3.5vw, 17px) !important; 
    line-height: 1.4 !important;
    padding: 0 2vw !important;
  }
  .fifth-apps-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fifth-app-item { gap: 2px; max-width: 140px; }
  .fifth-app-card { max-width: 100%; }
  .fifth-app-name { font-size: 11px; }
  .fifth-app-hide-mobile { display: none; }
  .fifth-app-back { padding: 12px; }
  .fifth-app-back-title { font-size: 13px; margin-bottom: 6px; }
  .fifth-app-back-desc { font-size: 10px; line-height: 1.3; }
}
@media (max-width: 480px) {
  .fifth-app-card { max-width: 130px; }
  .fifth-apps-grid { gap: 6px; }
  .fifth-app-name { font-size: 10px; }
}

/* ===== Sixth page (Bloo Product Hero) ===== */
.sixth-root {
  background: #ffffff;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 4vw;
  position: sticky;
  top: 0;
  z-index: 6;
  margin-top: -100vh;
  overflow: hidden;
  position: relative;
}
.sixth-root::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('sketch.png');
  background-size: 40%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.sixth-wrap {
  max-width: 1400px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sixth-content {
  margin-bottom: clamp(32px, 4vh, 48px);
  position: relative;
  z-index: 1;
}
.sixth-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  margin: 0 0 clamp(16px, 3vh, 24px) 0;
  color: #000000;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sixth-orb {
  background: linear-gradient(90deg, #ff8a2b 0%, #a855f7 50%, #2f8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.sixth-bloo {
  font-family: "Dancing Script", cursive;
  color: #4aa3ff;
  font-weight: 700;
}
.sixth-subtitle {
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.4;
  color: #000000;
  margin: 0 auto clamp(32px, 5vh, 48px) auto;
  max-width: 700px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.sixth-invite-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  width: 100%;
}
.sixth-btn {
  font-size: clamp(14px, 1.8vw, 18px);
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid #0071e3;
}
.sixth-btn-invite {
  background: transparent;
  color: #0071e3;
  cursor: pointer;
  font-family: inherit;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sixth-btn-invite:hover {
  background: rgba(0, 113, 227, 0.08);
}
.sixth-btn-invite.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.sixth-code-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.27s ease 0.13s, transform 0.27s ease 0.13s;
  pointer-events: none;
}
.sixth-code-form.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.code-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.code-box {
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 24px;
  border: 2px solid #d2d2d7;
  border-radius: 12px;
  outline: none;
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  background: #ffffff;
  color: #1d1d1f;
  transition: border-color 0.3s ease;
}
.code-box:focus {
  border-color: #0071e3;
}
.code-box.error {
  border-color: #ff3b30;
}
.sixth-btn-submit {
  background: transparent;
  color: #0071e3;
  border: 2px solid #0071e3;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  height: 56px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sixth-btn-submit:hover {
  background: rgba(0, 113, 227, 0.08);
}
.sixth-btn-submit.active {
  background: #0071e3;
  color: #ffffff;
}
.sixth-btn-submit.active:hover {
  background: #0077ed;
}

/* Mobile adjustments for code entry */
@media (max-width: 768px) {
  .code-boxes { gap: 8px; }
  .code-box { width: 52px; height: 52px; font-size: 22px; }
  .sixth-btn-submit { height: 52px; padding: 0 24px; font-size: 15px; }
}
.sixth-image {
  max-width: 600px;
  max-height: 45vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sixth-image img {
  width: 100%;
  height: auto;
  max-height: 45vh;
  object-fit: contain;
  display: block;
}

/* Responsive for page 6 */
@media (max-width: 768px) {
  .page-56-track { height: 100vh; }
  .sixth-root { 
    padding: 6vh 4vw 0 4vw; 
    align-items: flex-start; 
    justify-content: flex-start;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    margin-top: -100vh;
  }
  .sixth-wrap { height: 100%; display: flex; align-items: center; justify-content: center; }
  .sixth-content { margin-bottom: 0; margin-top: 0; width: 100%; }
  .sixth-title { font-size: clamp(32px, 8vw, 56px); margin-bottom: 16px; margin-top: 0; line-height: 1.15; }
  .sixth-subtitle { font-size: clamp(15px, 4vw, 19px); margin-bottom: 32px; line-height: 1.35; max-width: 90%; margin-left: auto; margin-right: auto; }
  .sixth-invite-container { margin-top: 0; }
  .sixth-btn { padding: 11px 26px; font-size: clamp(14px, 3.5vw, 17px); }
}
