/* ==========================================================================
   HERO SECTION, 3D VISUAL & INTERACTIVE COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   NAVIGATION BAR (Fixed Pill-Shaped Glassmorphism)
   -------------------------------------------------------------------------- */
.navbar-container {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 1.25rem;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 860px;
  width: 100%;
}

.navbar-pill:hover {
  border-color: var(--glass-border-highlight);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.25s var(--ease-smooth), left 0.25s var(--ease-smooth);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.btn-nav-cta {
  background: #FFFFFF;
  color: #0F0F11;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35), 0 4px 15px rgba(0, 0, 0, 0.4);
  background-color: #FFFFFF;
}

.btn-nav-cta:active {
  transform: scale(0.98);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 6px;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* --------------------------------------------------------------------------
   HERO SECTION LAYOUT
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 1.75rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

/* Hero Left Column / Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInSub 0.8s var(--ease-hero) 0.05s forwards;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Headline Slide-up Animation */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.75vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.headline-line-wrapper {
  overflow: hidden;
  display: block;
  padding-bottom: 0.08em;
}

.headline-line {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  animation: headlineSlideUp 0.8s var(--ease-hero) forwards;
}

.headline-line.line-1 {
  animation-delay: 0.12s;
}

.headline-line.line-2 {
  animation-delay: 0.26s;
  background: linear-gradient(135deg, #FFFFFF 30%, #D0D0C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-line.line-3 {
  animation-delay: 0.4s;
  color: var(--accent-orange-bright);
  background: linear-gradient(135deg, #FF6F3D 0%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes headlineSlideUp {
  0% {
    transform: translateY(115%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Sub-headline */
.hero-subheadline {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInSub 0.8s var(--ease-hero) 0.5s forwards;
}

@keyframes fadeInSub {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
  opacity: 0;
  animation: fadeInSub 0.8s var(--ease-hero) 0.65s forwards;
  flex-wrap: wrap;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #FF4500 0%, #FE6601 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 35px var(--accent-orange-glow), 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary-glow:hover::before {
  left: 100%;
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(255, 69, 0, 0.65), 0 8px 25px rgba(0, 0, 0, 0.5);
  filter: brightness(1.05);
}

.btn-primary-glow:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s var(--ease-smooth);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary-outline:active {
  transform: translateY(0) scale(0.98);
}

/* Micro Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeInSub 0.8s var(--ease-hero) 0.8s forwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-faint);
}

.trust-icon {
  width: 16px;
  height: 16px;
  stroke: var(--accent-teal-bright);
}

/* --------------------------------------------------------------------------
   HERO RIGHT: 3D VISUAL CONTAINER & INTERACTIVE DEVICE
   -------------------------------------------------------------------------- */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  opacity: 0;
  animation: fadeInSub 1s var(--ease-hero) 0.35s forwards;
}

/* Three.js Background Canvas */
.webgl-canvas-container {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  pointer-events: none;
  z-index: 1;
}

#hero-three-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 3D Parallax Phone Mockup */
.device-container {
  position: relative;
  width: 320px;
  height: 640px;
  background: #111114;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 40px -10px rgba(44, 122, 123, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
  z-index: 2;
  will-change: transform;
}

.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
}

.notch-camera {
  width: 10px;
  height: 10px;
  background: #1A1A20;
  border-radius: 50%;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #1A1A1A;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.75rem 1.5rem 1.75rem;
}

/* Wallpaper Backdrop Layer inside phone */
.phone-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.phone-backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Phone Screen Content */
.phone-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.phone-app-pill {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.app-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FE6601;
}

/* Breathing Ring Element */
.breath-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: auto 0;
}

.breath-mark {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(248, 109, 0, 0.35);
  box-shadow: 0 0 25px rgba(248, 109, 0, 0.2);
}

.breath-circle-inner {
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  border: 2px solid #F86D00;
}

.breath-label {
  font-size: 1.25rem;
  font-weight: 500;
  color: #F5F5F0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
}

/* Phone Bottom Controls */
.phone-bottom-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.phone-count-label {
  font-size: 0.85rem;
  color: #CFCFC9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.btn-phone-continue {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  background-color: #333333;
  color: #A0A09B;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-phone-continue.ready {
  background-color: #F86D00;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(248, 109, 0, 0.5);
}

.phone-grace-text {
  font-size: 0.75rem;
  color: #B0B0AA;
}

.btn-phone-dismiss {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.85rem;
  color: #CFCFC9;
  text-align: center;
  margin-top: -0.2rem;
  transition: color 0.2s ease;
}

.btn-phone-dismiss:hover {
  color: #FFFFFF;
}

/* Floating Interactive Badges around Phone */
.floating-pill {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 5;
  font-size: 0.825rem;
  color: var(--text-main);
  animation: floatSlow 6s ease-in-out infinite alternate;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.floating-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05) !important;
}

.floating-pill-left {
  left: -20%;
  bottom: 25%;
  animation-delay: 0.5s;
}

.floating-pill-right {
  right: -25%;
  top: 20%;
  animation-delay: 1.5s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Wallpaper Switcher Control bar under phone */
.device-controls-bar {
  position: absolute;
  bottom: -3.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 20, 24, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  z-index: 10;
}

.control-btn {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.control-btn:hover, .control-btn.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.control-btn.active {
  background: var(--accent-orange);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   INTERACTIVE LIVE PAUSE SIMULATOR MODAL
   -------------------------------------------------------------------------- */
.pause-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.pause-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pause-modal-card {
  position: relative;
  width: 90%;
  max-width: 440px;
  height: 85vh;
  max-height: 760px;
  background: #1A1A1A;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-hero);
  display: flex;
  flex-direction: column;
}

.pause-modal-backdrop.active .pause-modal-card {
  transform: scale(1) translateY(0);
}

.pause-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pause-modal-close:hover {
  transform: scale(1.1);
  background: rgba(255, 69, 0, 0.8);
}

/* --------------------------------------------------------------------------
   WALLPAPER & VIDEO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.section-container {
  padding: 6rem 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 1rem auto 0;
}

/* Feature Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(255, 69, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.pillar-icon-box.teal {
  background: var(--accent-teal-subtle);
  border-color: rgba(44, 122, 123, 0.35);
  color: var(--accent-teal-bright);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-main);
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Wallpaper Gallery Showcase */
.wallpaper-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.wallpaper-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.wallpaper-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wallpaper-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-orange);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.wallpaper-card:hover img {
  transform: scale(1.08);
}

.wallpaper-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #FFFFFF;
}

/* Video Showcase Modal / Player */
.video-preview-card {
  background: #151518;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  margin-top: 3rem;
}

.video-player-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9/16;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

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

/* --------------------------------------------------------------------------
   STORYTELLING & REAL-LIFE IMPACT SECTION
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.story-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 69, 0, 0.4);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 69, 0, 0.15);
}

.story-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #0B0B0D;
}

.story-image-wrap.landscape {
  aspect-ratio: 16/10;
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover .story-image-wrap img {
  transform: scale(1.05);
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(15, 15, 17, 0.3) 50%,
    rgba(15, 15, 17, 0.95) 100%
  );
  pointer-events: none;
}

.story-content {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.story-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-main);
  line-height: 1.25;
}

.story-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PRODUCT SPOTLIGHT & REAL SCREENSHOT SECTION
   -------------------------------------------------------------------------- */
.spotlight-card {
  background: linear-gradient(135deg, rgba(23, 23, 26, 0.85) 0%, rgba(17, 17, 20, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  margin-top: 3.5rem;
}

.spotlight-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.spotlight-device-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 69, 0, 0.2);
  transition: transform 0.4s var(--ease-hero);
}

.spotlight-device-img:hover {
  transform: translateY(-8px) scale(1.02);
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: left;
}

.spotlight-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.spotlight-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spotlight-feature-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.15);
  border: 1px solid rgba(255, 69, 0, 0.4);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.spotlight-brand-banner {
  margin-top: 3.5rem;
  background: #F5F5F0;
  border-radius: 32px;
  padding: 3.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1A1A1A;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.spotlight-brand-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer-container {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.75rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .wallpaper-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-preview-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar-pill {
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    gap: 1rem;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding-top: 6.5rem;
  }
  .wallpaper-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-pill {
    display: none;
  }
}

/* =========================================================================
   APP SCREENSHOTS INFINITE MARQUEE
   ========================================================================= */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Fade edges for modern feel */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-row {
  display: flex;
  width: fit-content;
  gap: 1.5rem;
}

/* Animations for opposite directions */
.marquee-row.left {
  animation: marquee-left 40s linear infinite;
}

.marquee-row.right {
  animation: marquee-right 40s linear infinite;
}

/* Pause on hover for interaction */
.marquee-container:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes marquee-right {
  0% { transform: translateX(calc(-50% - 0.75rem)); }
  100% { transform: translateX(0); }
}

/* Screenshot Cards in Marquee */
.screenshot-card {
  position: relative;
  width: 280px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, border-color 0.4s ease;
  flex-shrink: 0;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glassmorphic hover effects */
.marquee-container:hover .screenshot-card {
  opacity: 0.4;
  filter: grayscale(40%);
}

.marquee-container .screenshot-card:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  z-index: 10;
  border-color: rgba(254, 102, 1, 0.5);
  box-shadow: 0 20px 50px rgba(254, 102, 1, 0.2);
}

@media (max-width: 768px) {
  .screenshot-card {
    width: 200px;
  }
}
