:root {
  --gs1-blue: #002c6c;
  --gs1-blue-light: #0052cc;
  --gs1-orange: #f26334;
  --gs1-orange-light: #ff7a50;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --green-500: #22c55e;
  --green-100: #dcfce7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== */
/* PERFORMANCE OPTIMIZATIONS */
/* ==================== */

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* ==================== */
/* SCROLL-TRIGGERED ANIMATIONS */
/* ==================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-children .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.stagger-children .reveal:nth-child(2) {
  transition-delay: 80ms;
}
.stagger-children .reveal:nth-child(3) {
  transition-delay: 160ms;
}
.stagger-children .reveal:nth-child(4) {
  transition-delay: 240ms;
}
.stagger-children .reveal:nth-child(5) {
  transition-delay: 320ms;
}
.stagger-children .reveal:nth-child(6) {
  transition-delay: 400ms;
}
.stagger-children .reveal:nth-child(7) {
  transition-delay: 480ms;
}

/* ==================== */
/* HEADER */
/* ==================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.65rem 1.5rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-divider {
  width: 1px;
  height: 24px;
  background: var(--gray-300);
}

.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gs1-blue);
}

.logo-text span {
  color: var(--gs1-orange);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  position: relative;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gs1-orange);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:not(.btn):hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--gs1-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.2s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gs1-orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(242, 99, 52, 0.2);
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(242, 99, 52, 0.35);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 99, 52, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gs1-blue);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--gs1-blue);
  background: var(--gs1-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 44, 108, 0.2);
}

.btn-large {
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

/* Ripple effect on buttons */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--gray-700);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(242, 99, 52, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(0, 44, 108, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Floating particles in hero */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}

.hero-particle:nth-child(1) {
  left: 10%;
  background: rgba(242, 99, 52, 0.3);
  animation-duration: 12s;
  animation-delay: 0s;
}
.hero-particle:nth-child(2) {
  left: 25%;
  background: rgba(0, 44, 108, 0.2);
  width: 4px;
  height: 4px;
  animation-duration: 16s;
  animation-delay: 2s;
}
.hero-particle:nth-child(3) {
  left: 50%;
  background: rgba(242, 99, 52, 0.25);
  width: 8px;
  height: 8px;
  animation-duration: 14s;
  animation-delay: 4s;
}
.hero-particle:nth-child(4) {
  left: 70%;
  background: rgba(0, 44, 108, 0.15);
  width: 5px;
  height: 5px;
  animation-duration: 18s;
  animation-delay: 1s;
}
.hero-particle:nth-child(5) {
  left: 90%;
  background: rgba(242, 99, 52, 0.2);
  animation-duration: 13s;
  animation-delay: 3s;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Hero entrance animations */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

@keyframes hero-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gs1-blue);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero h1 .highlight {
  background: linear-gradient(
    135deg,
    var(--gs1-orange) 0%,
    var(--gs1-orange-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation:
    hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards,
    gradient-shimmer 3s ease-in-out infinite 1.5s;
}

@keyframes gradient-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(25px);
  animation: hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(15px);
  animation: hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  transition: color 0.2s ease;
}

.trust-badge:hover {
  color: var(--gray-700);
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--green-500);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
  opacity: 0;
  animation:
    hero-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards,
    bounce 2s ease-in-out 2s infinite;
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ==================== */
/* STICKY PHONE SECTION */
/* ==================== */

.phone-section {
  position: relative;
  height: 350vh;
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    var(--gray-50) 50%,
    var(--white) 100%
  );
}

.phone-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}

/* Phone container */
.phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-container {
  position: relative;
  width: 260px;
  height: 540px;
  z-index: 10;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle tilt on screen change */
.phone-container.tilt-left {
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
}

.phone-container.tilt-right {
  transform: perspective(800px) rotateY(3deg) rotateX(1deg);
}

.phone-container.tilt-none {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

/* Phone glow effect */
.phone-glow {
  position: absolute;
  inset: -20px;
  border-radius: 54px;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    background 0.6s ease;
  pointer-events: none;
  z-index: -1;
  filter: blur(25px);
}

.phone-glow.glow-orange {
  background: rgba(242, 99, 52, 0.15);
  opacity: 1;
}

.phone-glow.glow-blue {
  background: rgba(0, 44, 108, 0.12);
  opacity: 1;
}

.phone-glow.glow-green {
  background: rgba(34, 197, 94, 0.12);
  opacity: 1;
}

/* Phone frame */
.phone-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 50%, #0d0d0d 100%);
  border-radius: 42px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: box-shadow 0.6s ease;
}

.phone-container:hover .phone-frame {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 15px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.phone-frame::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 100px;
  width: 3px;
  height: 30px;
  background: linear-gradient(180deg, #3a3a3a, #1a1a1a);
  border-radius: 0 2px 2px 0;
}

.phone-frame::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 150px;
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, #3a3a3a, #1a1a1a);
  border-radius: 0 2px 2px 0;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 16px;
  z-index: 20;
}

.phone-screen {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
}

/* Screens - Enhanced transitions */
.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.92) translateZ(0);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.screen.active {
  opacity: 1;
  transform: scale(1) translateZ(0);
}

.screen.exiting {
  opacity: 0;
  transform: scale(1.08) translateZ(0);
}

/* Screen 1: CMS - Product Page Preview */
.screen-cms {
  background: linear-gradient(160deg, #fef9f3 0%, #f0f7ff 50%, #f5f3ff 100%);
  position: relative;
}

.cms-canvas {
  position: absolute;
  inset: 0;
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
}

/* Product Image Area */
.cms-product-image {
  flex: 0 0 140px;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
}

.cms-circle-bg {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(255, 180, 100, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse-circle 3s ease-in-out infinite;
}

@keyframes pulse-circle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.cms-bottle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bottle-float 4s ease-in-out infinite;
}

@keyframes bottle-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(1deg);
  }
  75% {
    transform: translateY(2px) rotate(-0.5deg);
  }
}

.cms-bottle-cap {
  width: 22px;
  height: 10px;
  background: linear-gradient(180deg, #666 0%, #444 100%);
  border-radius: 4px 4px 0 0;
}

.cms-bottle-body {
  width: 48px;
  height: 80px;
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 50%, #eee 100%);
  border-radius: 6px 6px 10px 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cms-bottle-label {
  position: absolute;
  top: 12px;
  left: 5px;
  right: 5px;
  height: 42px;
  background: linear-gradient(135deg, var(--gs1-orange) 0%, #e55a2b 100%);
  border-radius: 3px;
}

.cms-bottle-label::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  right: 5px;
  height: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

.cms-bottle-shine {
  position: absolute;
  top: 6px;
  left: 3px;
  width: 5px;
  height: 55px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7) 0%,
    transparent 100%
  );
  border-radius: 3px;
}

/* Product Info */
.cms-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cms-brand {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gs1-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: white;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.cms-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.cms-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.cms-stars {
  color: #fbbf24;
  font-size: 0.7rem;
  letter-spacing: -1px;
}

.cms-reviews {
  font-size: 0.6rem;
  color: var(--gray-500);
}

.cms-desc {
  font-size: 0.65rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin: 0 0 10px 0;
  padding: 0 8px;
}

.cms-btn {
  background: linear-gradient(135deg, var(--gs1-blue) 0%, #003d8f 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 44, 108, 0.25);
  margin-top: auto;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Floating widget indicators */
.cms-float-widget {
  position: absolute;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
  animation: float-widget 3s ease-in-out infinite;
}

.cms-fw-1 {
  top: 50px;
  right: 10px;
  animation-delay: 0s;
}

.cms-fw-2 {
  top: 180px;
  left: 8px;
  animation-delay: 0.6s;
}

.cms-fw-3 {
  bottom: 80px;
  right: 12px;
  animation-delay: 1.2s;
}

@keyframes float-widget {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(5deg);
  }
  66% {
    transform: translateY(3px) rotate(-2deg);
  }
}

/* Speed badge */
.cms-speed {
  position: absolute;
  top: 46px;
  left: 12px;
  background: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--green-500);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 5;
  animation: float-widget 4s ease-in-out 0.3s infinite;
}

/* Screen 2: Smart Resolver */
.screen-resolver {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  padding: 44px 0.875rem 0.875rem;
}

.resolver-header {
  text-align: center;
  margin-bottom: 0.6rem;
}

.resolver-header h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.resolver-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

/* === ANIMATED ROUTING FLOW === */
.resolver-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Origin row */
.resolver-origin {
  position: relative;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resolver-origin-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  opacity: 0;
  transform: scale(0.8) translateY(-8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.resolver-origin-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.resolver-origin-flag {
  font-size: 1.3rem;
  line-height: 1;
}

.resolver-origin-info {
  display: flex;
  flex-direction: column;
}

.resolver-origin-country {
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}

.resolver-origin-label {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Animated path lines */
.resolver-path {
  position: relative;
  width: 2px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resolver-path-line {
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.resolver-path-pulse {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gs1-orange);
  box-shadow: 0 0 8px rgba(242, 99, 52, 0.6);
  opacity: 0;
}

.resolver-path-pulse.animate {
  animation: pulse-down 0.7s ease-in-out forwards;
}

@keyframes pulse-down {
  0% {
    top: -6px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 2px);
    opacity: 0;
  }
}

/* Resolver hub (center) */
.resolver-hub {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gs1-orange) 0%, #e55a2b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(242, 99, 52, 0.3);
  z-index: 2;
}

.resolver-hub.pulse {
  animation: hub-pulse 0.4s ease-out;
}

@keyframes hub-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(242, 99, 52, 0.3);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 4px 25px rgba(242, 99, 52, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(242, 99, 52, 0.3);
  }
}

.resolver-hub svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.resolver-hub-label {
  font-size: 0.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* Hub ripple ring */
.resolver-hub-ring {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(242, 99, 52, 0.4);
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
}

.resolver-hub-ring.animate {
  animation: ring-expand 0.7s ease-out forwards;
}

@keyframes ring-expand {
  0% {
    inset: 0px;
    opacity: 0.6;
  }
  100% {
    inset: -10px;
    opacity: 0;
    border-radius: 22px;
  }
}

/* Path down from hub */
.resolver-path-down {
  position: relative;
  width: 2px;
  height: 28px;
}

.resolver-path-down .resolver-path-line {
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.resolver-path-down .resolver-path-pulse {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
}

.resolver-path-down .resolver-path-pulse.animate {
  animation: pulse-down 0.7s ease-in-out forwards;
}

/* Destination pulse colors */
.resolver-path-pulse.route-mx {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.resolver-path-pulse.route-us {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}
.resolver-path-pulse.route-de {
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

/* Destination row */
.resolver-destination {
  position: relative;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resolver-dest-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.45rem 1rem;
  opacity: 0;
  transform: scale(0.8) translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    background 0.3s ease;
}

.resolver-dest-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.resolver-dest-item.active.route-mx {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
}
.resolver-dest-item.active.route-us {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
}
.resolver-dest-item.active.route-de {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.08);
}

.resolver-dest-logo {
  height: 26px;
  width: auto;
  max-width: 85px;
  object-fit: contain;
}

.resolver-dest-name-label {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Status text */
.resolver-status {
  text-align: center;
  margin-top: 0.5rem;
  height: 24px;
  position: relative;
}

.resolver-status-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resolver-status-item.active {
  opacity: 1;
}

.resolver-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.resolver-status-dot.mx {
  background: #22c55e;
}
.resolver-status-dot.us {
  background: #3b82f6;
}
.resolver-status-dot.de {
  background: #a855f7;
}

.resolver-status-text {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Cycle dots */
.resolver-cycle-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.resolver-cycle-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.resolver-cycle-dot.active {
  transform: scale(1.4);
}
.resolver-cycle-dot.active:nth-child(1) {
  background: #22c55e;
}
.resolver-cycle-dot.active:nth-child(2) {
  background: #3b82f6;
}
.resolver-cycle-dot.active:nth-child(3) {
  background: #a855f7;
}

/* Screen 3: Analytics */
.screen-analytics {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 44px 0.6rem 0.6rem;
  overflow: hidden;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.analytics-header h3 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

.analytics-period {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.55rem;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
}

/* --- Scans KPI card --- */
.analytics-scans {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.4rem;
}

.analytics-scans-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.analytics-value {
  font-family: "Space Mono", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.analytics-scans-sub {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.analytics-change {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 600;
}

.analytics-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(
    180deg,
    var(--gs1-orange) 0%,
    rgba(242, 99, 52, 0.3) 100%
  );
  border-radius: 1.5px 1.5px 0 0;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 0 !important;
}

.screen-analytics.active .chart-bar {
  transition-delay: calc(var(--bar-index) * 60ms);
}

.screen-analytics.active .chart-bar:nth-child(1) {
  height: 30% !important;
  --bar-index: 0;
}
.screen-analytics.active .chart-bar:nth-child(2) {
  height: 50% !important;
  --bar-index: 1;
}
.screen-analytics.active .chart-bar:nth-child(3) {
  height: 35% !important;
  --bar-index: 2;
}
.screen-analytics.active .chart-bar:nth-child(4) {
  height: 65% !important;
  --bar-index: 3;
}
.screen-analytics.active .chart-bar:nth-child(5) {
  height: 45% !important;
  --bar-index: 4;
}
.screen-analytics.active .chart-bar:nth-child(6) {
  height: 80% !important;
  --bar-index: 5;
}
.screen-analytics.active .chart-bar:nth-child(7) {
  height: 60% !important;
  --bar-index: 6;
}
.screen-analytics.active .chart-bar:nth-child(8) {
  height: 90% !important;
  --bar-index: 7;
  background: var(--gs1-orange);
}
.screen-analytics.active .chart-bar:nth-child(9) {
  height: 70% !important;
  --bar-index: 8;
}

/* --- Middle row: pie + thermometer --- */
.analytics-mid-row {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.analytics-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
}

.analytics-card-title {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Pie chart - pure CSS */
.pie-container {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pie-chart {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.pie-chart-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #f26334 0deg 0deg,
    #3b82f6 0deg 0deg,
    #a855f7 0deg 0deg,
    rgba(255, 255, 255, 0.1) 0deg 360deg
  );
  transition: background 1.2s ease;
}

.screen-analytics.active .pie-chart-bg {
  background: conic-gradient(
    #f26334 0deg 187deg,
    #3b82f6 187deg 295deg,
    #a855f7 295deg 338deg,
    rgba(255, 255, 255, 0.15) 338deg 360deg
  );
}

.pie-chart-hole {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #151e30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pie-chart-center {
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pie-legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pie-legend-dot.ios {
  background: #f26334;
}
.pie-legend-dot.android {
  background: #3b82f6;
}
.pie-legend-dot.desktop {
  background: #a855f7;
}
.pie-legend-dot.other {
  background: rgba(255, 255, 255, 0.15);
}

.pie-legend-text {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.65);
}

.pie-legend-pct {
  font-family: "Space Mono", monospace;
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  margin-left: auto;
}

/* Thermometer benchmark */
.thermo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.thermo-visual {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 52px;
}

.thermo-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.thermo-bar-label {
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.thermo-bar-track {
  width: 18px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}

.thermo-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 9px;
  transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 0;
}

.thermo-bar-fill.brand {
  background: linear-gradient(180deg, var(--gs1-orange) 0%, #e55a2b 100%);
}

.thermo-bar-fill.avg {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.screen-analytics.active .thermo-bar-fill.brand {
  height: 82%;
  transition-delay: 0.4s;
}

.screen-analytics.active .thermo-bar-fill.avg {
  height: 48%;
  transition-delay: 0.6s;
}

.thermo-value-tag {
  font-family: "Space Mono", monospace;
  font-size: 0.5rem;
  font-weight: 700;
  position: absolute;
  right: -3px;
  transform: translateX(100%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.thermo-value-tag.brand-tag {
  color: var(--gs1-orange);
}

.thermo-value-tag.avg-tag {
  color: rgba(255, 255, 255, 0.5);
}

.screen-analytics.active .thermo-value-tag {
  opacity: 1;
  transition-delay: 1s;
}

.thermo-result {
  display: flex;
  align-items: center;
  gap: 3px;
}

.thermo-result-value {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #4ade80;
}

.thermo-result-label {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Map card (bottom) --- */
.analytics-map-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.analytics-map-title {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-live-dot {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.45rem;
  color: #4ade80;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.map-live-dot::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.analytics-map {
  position: relative;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
}

/* Simplified Latam map using SVG path */
.map-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.map-bg svg {
  width: 100%;
  height: 100%;
}

/* Hotspot dots */
.map-hotspot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screen-analytics.active .map-hotspot {
  transform: translate(-50%, -50%) scale(1);
}

.map-hotspot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  animation: hotspot-ping 2s ease-out infinite;
}

@keyframes hotspot-ping {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.map-hotspot.hot-1 {
  background: var(--gs1-orange);
  left: 28%;
  top: 32%;
}
.map-hotspot.hot-1::after {
  background: rgba(242, 99, 52, 0.3);
  animation-delay: 0s;
}
.screen-analytics.active .map-hotspot.hot-1 {
  transition-delay: 0.5s;
}

.map-hotspot.hot-2 {
  background: #3b82f6;
  left: 45%;
  top: 55%;
}
.map-hotspot.hot-2::after {
  background: rgba(59, 130, 246, 0.3);
  animation-delay: 0.7s;
}
.screen-analytics.active .map-hotspot.hot-2 {
  transition-delay: 0.7s;
}

.map-hotspot.hot-3 {
  background: #22c55e;
  left: 58%;
  top: 38%;
}
.map-hotspot.hot-3::after {
  background: rgba(34, 197, 94, 0.3);
  animation-delay: 1.2s;
}
.screen-analytics.active .map-hotspot.hot-3 {
  transition-delay: 0.9s;
}

.map-hotspot.hot-4 {
  background: #a855f7;
  left: 72%;
  top: 62%;
}
.map-hotspot.hot-4::after {
  background: rgba(168, 85, 247, 0.3);
  animation-delay: 0.4s;
}
.screen-analytics.active .map-hotspot.hot-4 {
  transition-delay: 1.1s;
}

.map-hotspot.hot-5 {
  background: #f59e0b;
  left: 36%;
  top: 68%;
}
.map-hotspot.hot-5::after {
  background: rgba(245, 158, 11, 0.3);
  animation-delay: 1.5s;
}
.screen-analytics.active .map-hotspot.hot-5 {
  transition-delay: 1.3s;
}

/* Hotspot size variation */
.map-hotspot.lg {
  width: 10px;
  height: 10px;
}
.map-hotspot.sm {
  width: 6px;
  height: 6px;
}

/* Map legend */
.map-legend {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.3rem;
  justify-content: center;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.5);
}

.map-legend-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

/* Screen 4: DPP */
.screen-dpp {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 30%, white 100%);
  padding: 44px 0.875rem 0.875rem;
}

/* Product hero area */
.dpp-product-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 90px;
  margin-bottom: 0.4rem;
}

.dpp-product-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  background: radial-gradient(
    circle,
    rgba(5, 150, 105, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: dpp-glow-pulse 3s ease-in-out infinite;
}

@keyframes dpp-glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* CSS Bottle illustration */
.dpp-product-bottle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  animation: dpp-bottle-float 4s ease-in-out infinite;
}

@keyframes dpp-bottle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.dpp-bottle-cap {
  width: 14px;
  height: 8px;
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  border-radius: 3px 3px 0 0;
  position: relative;
  z-index: 1;
}

.dpp-bottle-body {
  width: 36px;
  height: 58px;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 30%, #6ee7b7 100%);
  border-radius: 4px 4px 6px 6px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(5, 150, 105, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dpp-bottle-label {
  position: absolute;
  top: 10px;
  left: 4px;
  right: 4px;
  height: 28px;
  background: white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dpp-bottle-leaf {
  font-size: 0.8rem;
}

.dpp-bottle-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
  border-radius: 4px 0 0 6px;
}

.dpp-badge {
  position: absolute;
  right: 15%;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: white;
  padding: 0.25rem 0.55rem;
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 600;
  color: #059669;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dpp-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.1rem;
  text-align: center;
}

.dpp-subtitle {
  font-size: 0.6rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 0.5rem;
}

.dpp-card {
  background: white;
  border-radius: 10px;
  padding: 0.6rem;
  margin-bottom: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dpp-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dpp-icon.origin {
  background: #dbeafe;
}
.dpp-icon.recycle {
  background: #dcfce7;
}
.dpp-icon.carbon {
  background: #fef3c7;
}

.dpp-text {
  flex: 1;
  min-width: 0;
}

.dpp-text h4 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-800);
}

.dpp-text p {
  font-size: 0.55rem;
  color: var(--gray-500);
}

.dpp-arrow {
  color: var(--gray-300);
  font-size: 0.7rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* Hands - Enhanced GPU accelerated */
.hand {
  position: absolute;
  width: 280px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hand-left {
  left: -80px;
  bottom: 40px;
  transform: translateX(-100px) rotate(-8deg) translateZ(0);
}

.hand-left.active {
  transform: translateX(0) rotate(0deg) translateZ(0);
  opacity: 1;
}

.hand-right {
  right: -80px;
  bottom: 40px;
  transform: translateX(100px) rotate(8deg) scaleX(-1) translateZ(0);
}

.hand-right.active {
  transform: translateX(0) rotate(0deg) scaleX(-1) translateZ(0);
  opacity: 1;
}

/* Text panels - Enhanced */
.text-panel {
  position: absolute;
  width: 300px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-panel.left {
  left: 5%;
  text-align: left;
  transform: translateX(-50px) translateZ(0);
}

.text-panel.right {
  right: 5%;
  text-align: right;
  transform: translateX(50px) translateZ(0);
}

.text-panel.active {
  opacity: 1;
  transform: translateX(0) translateZ(0);
  pointer-events: auto;
}

/* Staggered children inside active text panel */
.text-panel .number,
.text-panel h2,
.text-panel .subtitle,
.text-panel p,
.text-panel .feature-checks,
.text-panel .btn {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.text-panel.active .number {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}
.text-panel.active h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.text-panel.active .subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.text-panel.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.text-panel.active .feature-checks {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}
.text-panel.active .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.text-panel .number {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  color: var(--gs1-orange);
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
}

.text-panel h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gs1-blue);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.text-panel .subtitle {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.text-panel p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.feature-checks {
  margin-bottom: 1.25rem;
}

.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.feature-check svg {
  width: 16px;
  height: 16px;
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.text-panel.right .feature-check {
  justify-content: flex-end;
}

.text-panel.right .feature-checks {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Progress indicators - Enhanced */
.progress-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.progress-dot {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-dot:hover {
  background: var(--gray-400);
  transform: scale(1.3);
}

.progress-dot.active {
  background: var(--gs1-orange);
  transform: scale(1);
  width: 24px;
  border-radius: 4px;
}

/* Background shapes - Enhanced with parallax */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  transition: transform 0.8s ease-out;
}

.bg-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(242, 99, 52, 0.15);
  top: 15%;
  left: -5%;
}

.bg-shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(0, 44, 108, 0.1);
  bottom: 10%;
  right: -5%;
}

/* ==================== */
/* CASE STUDY CINEMATIC */
/* ==================== */

/* Custom properties for composable float animations */
@property --drift-x { syntax: '<length>'; initial-value: 0px; inherits: false; }
@property --drift-y { syntax: '<length>'; initial-value: 0px; inherits: false; }
@property --push-x  { syntax: '<length>'; initial-value: 0px; inherits: false; }
@property --push-y  { syntax: '<length>'; initial-value: 0px; inherits: false; }

.case-study {
  position: relative;
  height: 300vh;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

.case-study::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(242, 99, 52, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(0, 44, 108, 0.06) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.case-study-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Top label + headline - fade out as video expands */
.case-study-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 3rem;
  text-align: center;
  z-index: 10;
  transition:
    opacity 0.1s linear,
    transform 0.1s linear;
}

.case-study-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.case-study-label-line {
  width: 30px;
  height: 1px;
  background: var(--gs1-orange);
  opacity: 0.5;
}

.case-study-label-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gs1-orange);
}

.case-study-headline h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.case-study-headline h2 span {
  background: linear-gradient(135deg, var(--gs1-orange), #ff8c42);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-study-headline p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin: 0 auto;
}

/* Video - scales from small to fullscreen */
.case-study-video-wrap {
  position: relative;
  z-index: 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(242, 99, 52, 0.08);
  width: 65%;
  max-width: 780px;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.case-study-video-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(242, 99, 52, 0.3),
    transparent 50%,
    rgba(0, 44, 108, 0.2)
  );
  z-index: 1;
  pointer-events: none;
  opacity: var(--border-opacity, 1);
  transition: opacity 0.1s linear;
}

.case-study-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}

.case-study-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Floating stat cards */
.case-study-float-stats {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

.cs-float {
  position: absolute;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  transform: translate(
    calc(var(--push-x, 0px) + var(--drift-x, 0px)),
    calc(var(--push-y, 0px) + var(--drift-y, 0px))
  );
  transition: opacity 0.1s linear;
  min-width: 160px;
}

.cs-float:hover {
  border-color: rgba(242, 99, 52, 0.3);
}

.cs-float-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.cs-float-content {
  display: flex;
  flex-direction: column;
}

.cs-float-value {
  font-family: "Space Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.cs-float-value.orange {
  color: var(--gs1-orange);
}

.cs-float-desc {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.25;
  margin-top: 2px;
}

/* Positioning for 4 floating cards */
.cs-float:nth-child(1) {
  top: 22%;
  left: 3%;
  animation: cs-float-drift-1 6s ease-in-out infinite;
}
.cs-float:nth-child(2) {
  top: 20%;
  right: 3%;
  animation: cs-float-drift-2 7s ease-in-out infinite;
}
.cs-float:nth-child(3) {
  bottom: 28%;
  left: 4%;
  animation: cs-float-drift-3 5.5s ease-in-out infinite;
}
.cs-float:nth-child(4) {
  bottom: 26%;
  right: 4%;
  animation: cs-float-drift-4 6.5s ease-in-out infinite;
}

@keyframes cs-float-drift-1 {
  0%, 100% { --drift-x: 0px; --drift-y: 0px; }
  50%       { --drift-x: 6px; --drift-y: -10px; }
}
@keyframes cs-float-drift-2 {
  0%, 100% { --drift-x: 0px; --drift-y: 0px; }
  50%       { --drift-x: -8px; --drift-y: -8px; }
}
@keyframes cs-float-drift-3 {
  0%, 100% { --drift-x: 0px; --drift-y: 0px; }
  50%       { --drift-x: 8px; --drift-y: 8px; }
}
@keyframes cs-float-drift-4 {
  0%, 100% { --drift-x: 0px; --drift-y: 0px; }
  50%       { --drift-x: -6px; --drift-y: 10px; }
}

/* Quote - appears at bottom, fades with header */
.case-study-quote {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  text-align: center;
  z-index: 10;
  transition: opacity 0.1s linear;
}

.case-study-quote::before {
  content: '"';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: rgba(242, 99, 52, 0.2);
  line-height: 1;
}

.case-study-quote blockquote {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.case-study-quote cite {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
}

.case-study-quote cite strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .case-study {
    height: 250vh;
  }
  .case-study-video-wrap {
    width: 75%;
  }
  .cs-float {
    min-width: 140px;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
  }
  .cs-float-icon {
    font-size: 1.3rem;
  }
  .cs-float-value {
    font-size: 0.95rem;
  }
  .cs-float-desc {
    font-size: 0.55rem;
  }
}

@media (max-width: 600px) {
  .case-study {
    height: 220vh;
  }
  .case-study-video-wrap {
    width: 82%;
  }
  .cs-float {
    min-width: auto;
    padding: 0.55rem 0.65rem;
    gap: 0.4rem;
    border-radius: 10px;
  }
  .cs-float-icon {
    font-size: 1.1rem;
  }
  .cs-float-value {
    font-size: 0.85rem;
  }
  .cs-float-desc {
    font-size: 0.5rem;
    max-width: 80px;
  }
  .cs-float:nth-child(1) {
    top: 18%;
    left: 2%;
  }
  .cs-float:nth-child(2) {
    top: 16%;
    right: 2%;
  }
  .cs-float:nth-child(3) {
    bottom: 24%;
    left: 2%;
  }
  .cs-float:nth-child(4) {
    bottom: 22%;
    right: 2%;
  }
  .case-study-headline h2 {
    font-size: 1.3rem;
  }
  .case-study-headline p {
    font-size: 0.8rem;
  }
  .case-study-quote blockquote {
    font-size: 0.8rem;
  }
  .case-study-quote {
    bottom: 1.5rem;
  }
}

/* ==================== */
/* AVAILABILITY SECTION */
/* ==================== */

.availability-section {
  padding: 4rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.availability-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.availability-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gs1-blue);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.availability-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.availability-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.availability-group {
  text-align: center;
}

.availability-group-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.availability-group-title.active {
  background: var(--green-100);
  color: #059669;
}

.availability-group-title.coming-soon {
  background: #fef3c7;
  color: #b45309;
}

.availability-group-title svg {
  width: 14px;
  height: 14px;
}

.country-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.country-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.country-item.active {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.1) 0%,
    rgba(34, 197, 94, 0.05) 100%
  );
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.country-item.coming-soon {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(251, 191, 36, 0.05) 100%
  );
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.country-flag {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.country-item:hover .country-flag {
  transform: scale(1.08);
}

.country-status {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}

.availability-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.availability-note a {
  color: var(--gs1-orange);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.availability-note a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gs1-orange);
  transition: width 0.3s ease;
}

.availability-note a:hover::after {
  width: 100%;
}

/* ==================== */
/* SECURITY BADGES */
/* ==================== */

.security-section {
  padding: 3rem 1.5rem;
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.security-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.security-title {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.security-badge:hover {
  transform: translateY(-4px);
}

.security-badge-icon {
  width: 50px;
  height: 50px;
  background: var(--gray-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.security-badge:hover .security-badge-icon {
  background: var(--gray-50);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.security-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ==================== */
/* STATS SECTION */
/* ==================== */

.stats-section {
  padding: 4rem 1.5rem;
  background: var(--gs1-blue);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(242, 99, 52, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
}

/* Animated grid lines in stats bg */
.stats-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 20s linear infinite;
  pointer-events: none;
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stats-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  transition:
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.stats-number {
  font-family: "Space Mono", monospace;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats-number span {
  color: var(--gs1-orange);
}

.stats-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ==================== */
/* SUNRISE 2027 SECTION */
/* ==================== */

.sunrise-section {
  position: relative;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #0c1220 0%, #1a1040 50%, #0c1220 100%);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.sunrise-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(242, 99, 52, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(168, 85, 247, 0.06) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.sunrise-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Top badge */
.sunrise-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sunrise-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gs1-orange);
  border-radius: 50%;
  animation: sunrise-pulse-dot 2s ease-in-out infinite;
}

@keyframes sunrise-pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(242, 99, 52, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(242, 99, 52, 0);
  }
}

.sunrise-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gs1-orange);
}

/* Headline */
.sunrise-headline {
  text-align: center;
  margin-bottom: 3rem;
}

.sunrise-headline h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.sunrise-headline .year {
  font-family: "Space Mono", monospace;
  background: linear-gradient(135deg, var(--gs1-orange), #ff8c42, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sunrise-headline p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 0 auto;
}

/* Countdown row */
.sunrise-countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.countdown-block {
  text-align: center;
  min-width: 75px;
}

.countdown-value {
  font-family: "Space Mono", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  margin-bottom: 0.4rem;
  display: block;
  position: relative;
  overflow: hidden;
}

.countdown-value::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.countdown-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Timeline */
.sunrise-timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.timeline-progress {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3),
    var(--gs1-orange)
  );
  border-radius: 1px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sunrise-section.revealed .timeline-progress {
  width: 92%;
}

.timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #0c1220;
  transition: all 0.5s ease;
}

.timeline-node.past .timeline-dot {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.timeline-node.now .timeline-dot {
  background: var(--gs1-orange);
  border-color: var(--gs1-orange);
  box-shadow: 0 0 12px rgba(242, 99, 52, 0.5);
  width: 18px;
  height: 18px;
}

.timeline-node.future .timeline-dot {
  border-color: rgba(255, 255, 255, 0.15);
  border-style: dashed;
}

.timeline-year {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-node.now .timeline-year {
  color: var(--gs1-orange);
}

.timeline-desc {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 90px;
  line-height: 1.3;
}

/* Barcode evolution visual */
.sunrise-evolution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.evolution-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 140px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.evolution-barcode:hover {
  transform: translateY(-3px);
}

.evolution-barcode.old {
  opacity: 0.5;
}

.evolution-barcode.new {
  border-color: rgba(242, 99, 52, 0.25);
  background: rgba(242, 99, 52, 0.04);
}

/* CSS 1D barcode */
.barcode-1d {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 40px;
}

.barcode-1d span {
  display: block;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.5px;
}

/* CSS QR code */
.barcode-2d {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 1px;
}

.barcode-2d span {
  border-radius: 1px;
}

.barcode-2d span.on {
  background: var(--gs1-orange);
}

.barcode-2d span.off {
  background: rgba(255, 255, 255, 0.08);
}

.evolution-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.evolution-barcode.new .evolution-label {
  color: var(--gs1-orange);
}

.evolution-sub {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.35);
}

.evolution-arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Consumer stats */
.sunrise-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sunrise-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.sunrise-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 99, 52, 0.2);
}

.sunrise-stat-value {
  font-family: "Space Mono", monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sunrise-stat-value.orange {
  background: linear-gradient(135deg, var(--gs1-orange), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sunrise-stat-value.blue {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sunrise-stat-value.green {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sunrise-stat-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}

/* Countries tested */
.sunrise-tested {
  text-align: center;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sunrise-tested-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.3rem;
}

.sunrise-tested-value {
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.sunrise-tested-value strong {
  color: var(--gs1-orange);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sunrise-section {
    padding: 3.5rem 1.25rem;
  }
  .sunrise-countdown {
    gap: 0.75rem;
  }
  .countdown-value {
    font-size: 1.8rem;
    padding: 0.6rem 0.4rem;
  }
  .countdown-block {
    min-width: 60px;
  }
  .sunrise-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sunrise-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1rem;
  }
  .sunrise-stat-value {
    font-size: 1.6rem;
    margin-bottom: 0;
    min-width: 55px;
  }
  .sunrise-evolution {
    gap: 1rem;
  }
  .evolution-barcode {
    padding: 1rem;
    min-width: 110px;
  }
  .timeline-desc {
    max-width: 65px;
    font-size: 0.48rem;
  }
}

@media (max-width: 480px) {
  .sunrise-countdown {
    gap: 0.5rem;
  }
  .countdown-value {
    font-size: 1.5rem;
  }
  .countdown-block {
    min-width: 50px;
  }
  .evolution-barcode {
    min-width: 90px;
    padding: 0.8rem;
  }
  .evolution-arrow {
    font-size: 1.1rem;
  }
}

/* ==================== */
/* FEATURE MODAL */
/* ==================== */

.feature-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    background 0.3s ease;
  padding: 1.5rem;
}

.feature-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
  background: rgba(0, 10, 30, 0.72);
}

.feature-modal {
  background: white;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

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

.feature-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  z-index: 2;
}

.feature-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
  transform: scale(1.1);
}

.feature-modal-close svg {
  width: 18px;
  height: 18px;
}

.feature-modal-screenshot {
  width: 100%;
  border-radius: 20px 20px 0 0;
  display: block;
  border-bottom: 1px solid var(--gray-100);
}

.feature-modal-body {
  padding: 2.25rem 2rem 2rem;
}

.feature-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gs1-orange);
  margin-bottom: 0.6rem;
}

.feature-modal-badge svg {
  width: 14px;
  height: 14px;
}

.feature-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gs1-blue);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-modal-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.feature-modal-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-modal-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-modal-feat-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 0.05rem;
}

.feature-modal-feat-icon.blue {
  background: linear-gradient(
    135deg,
    rgba(0, 82, 204, 0.12),
    rgba(0, 82, 204, 0.06)
  );
}
.feature-modal-feat-icon.orange {
  background: linear-gradient(
    135deg,
    rgba(242, 99, 52, 0.12),
    rgba(242, 99, 52, 0.06)
  );
}
.feature-modal-feat-icon.green {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12),
    rgba(34, 197, 94, 0.06)
  );
}
.feature-modal-feat-icon.purple {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.12),
    rgba(139, 92, 246, 0.06)
  );
}
.feature-modal-feat-icon.cyan {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.12),
    rgba(6, 182, 212, 0.06)
  );
}
.feature-modal-feat-icon.pink {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.12),
    rgba(236, 72, 153, 0.06)
  );
}

.feature-modal-feat-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.feature-modal-feat-text p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.feature-modal-cta {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-modal-cta .btn {
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
}

@media (max-width: 600px) {
  .feature-modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }
  .feature-modal {
    border-radius: 20px 20px 8px 8px;
    max-height: 92vh;
  }
  .feature-modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .feature-modal-title {
    font-size: 1.2rem;
  }
  .feature-modal-subtitle {
    font-size: 0.82rem;
  }
  .feature-modal-feat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .feature-modal-feat-text h4 {
    font-size: 0.82rem;
  }
  .feature-modal-feat-text p {
    font-size: 0.75rem;
  }
  .feature-modal-cta {
    flex-direction: column;
  }
  .feature-modal-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==================== */
/* FAQ SECTION */
/* ==================== */

.faq-section {
  padding: 4.5rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gs1-orange);
  margin-bottom: 0.5rem;
}

.faq-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gs1-blue);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: white;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  gap: 1rem;
  -webkit-user-select: none;
  user-select: none;
}

.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
  margin: 0;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--gray-400);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gs1-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.faq-answer-inner strong {
  color: var(--gray-800);
}

@media (max-width: 600px) {
  .faq-section {
    padding: 3rem 1.25rem;
  }
  .faq-title {
    font-size: 1.4rem;
  }
  .faq-question {
    padding: 0.9rem 1rem;
  }
  .faq-question h3 {
    font-size: 0.88rem;
  }
  .faq-answer-inner {
    font-size: 0.82rem;
    padding: 0 1rem 0.9rem;
  }
}

/* ==================== */
/* CTA SECTION */
/* ==================== */

.cta-section {
  padding: 5rem 1.5rem;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(242, 99, 52, 0.06) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 44, 108, 0.05) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--gs1-blue);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.cta-text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.cta-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.cta-trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green-500);
}

.cta-form-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cta-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gs1-blue);
  margin-bottom: 0.3rem;
}

.cta-form-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: "Inter", sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gs1-blue-light);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
  background: white;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  background: var(--gs1-blue);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.form-submit:hover {
  background: var(--gs1-blue-light);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  font-size: 0.68rem;
  color: var(--gray-400);
  margin-top: 0.75rem;
  line-height: 1.4;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.15),
    rgba(34, 197, 94, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.form-success h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gs1-blue);
  margin-bottom: 0.4rem;
}

.form-success p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .cta-trust-list {
    align-items: center;
  }
  .cta-form-card {
    padding: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================== */
/* FOOTER */
/* ==================== */

footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 1.5rem 1.5rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 350px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.footer-brand .logo-img {
  height: 28px;
}

.footer-brand .logo-divider {
  background: rgba(255, 255, 255, 0.3);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 240px;
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==================== */
/* RESPONSIVE - TABLET */
/* ==================== */

@media (max-width: 1100px) {
  .text-panel {
    width: 250px;
  }

  .text-panel h2 {
    font-size: 1.5rem;
  }

  .text-panel p {
    font-size: 0.85rem;
  }

  .hand {
    width: 240px;
  }
}

@media (max-width: 900px) {
  .hand {
    display: none;
  }

  .phone-section {
    height: 300vh;
  }

  .phone-sticky {
    flex-direction: column;
    padding-top: 4rem;
    gap: 1.5rem;
  }

  .text-panel {
    position: relative;
    left: auto !important;
    right: auto !important;
    width: 100%;
    max-width: 450px;
    text-align: center !important;
    transform: translateY(20px) translateZ(0) !important;
    padding: 0 1rem;
  }

  .text-panel.active {
    transform: translateY(0) translateZ(0) !important;
  }

  .text-panel .feature-checks {
    align-items: center !important;
  }

  .text-panel .feature-check {
    justify-content: center !important;
  }

  .phone-wrapper {
    order: 2;
  }

  .text-panel {
    order: 1;
  }

  .progress-dots {
    bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .country-list {
    gap: 0.75rem;
  }

  .country-item {
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.75rem 1rem;
  }

  nav a:not(.btn) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 6rem 1.25rem 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .phone-section {
    height: 280vh;
  }

  .phone-container {
    width: 240px;
    height: 500px;
  }

  .phone-frame {
    border-radius: 38px;
  }

  .phone-screen {
    border-radius: 32px;
  }

  .phone-island {
    width: 70px;
    height: 22px;
  }

  .text-panel h2 {
    font-size: 1.35rem;
  }

  .text-panel .subtitle {
    font-size: 0.9rem;
  }

  .text-panel p {
    font-size: 0.8rem;
  }

  .feature-check {
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .security-badges {
    gap: 1.25rem;
  }

  .security-badge-icon {
    width: 44px;
    height: 44px;
  }

  .availability-title {
    font-size: 1.5rem;
  }

  .country-list {
    gap: 0.6rem;
  }

  .country-item {
    padding: 0.85rem 1rem;
  }

  .country-flag {
    height: 28px;
    max-width: 90px;
  }

  .cta-section {
    padding: 4rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .phone-section {
    height: 260vh;
  }

  .phone-container {
    width: 220px;
    height: 460px;
  }

  .phone-frame {
    border-radius: 34px;
  }

  .phone-screen {
    border-radius: 28px;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
  }

  .text-panel h2 {
    font-size: 1.2rem;
  }

  .text-panel .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
  position: relative;
  z-index: 1001;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
header.scrolled .lang-btn {
  background: rgba(0, 44, 108, 0.08);
  border-color: rgba(0, 44, 108, 0.15);
  color: var(--gs1-blue);
}
header.scrolled .lang-btn:hover {
  background: rgba(0, 44, 108, 0.12);
}
.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}
.lang-code {
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 160px;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-option:hover {
  background: #f0f4ff;
}
.lang-option.active {
  background: #f0f4ff;
  color: var(--gs1-blue);
  font-weight: 600;
}
.lang-option .lang-flag {
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .lang-switcher {
    order: -1;
    margin-right: auto;
  }
  .lang-dropdown {
    right: auto;
    left: 0;
  }
  nav.active .lang-switcher {
    order: unset;
    margin-right: 0;
  }
}

/* ==================== LOGIN REGION MODAL ==================== */
.login-modal {
  max-width: 440px;
  padding: 2.5rem;
}

.login-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.login-modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gs1-orange);
  margin: 0;
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gs1-blue);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.login-modal-subtitle {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0 0 1.5rem;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  background: white;
}

.login-option:hover {
  border-color: var(--gs1-blue);
  box-shadow: 0 6px 20px rgba(0, 44, 108, 0.1);
  transform: translateY(-2px);
}

.login-option:focus-visible {
  outline: 3px solid var(--gs1-blue);
  outline-offset: 2px;
}

.login-option-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.login-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.login-option-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gs1-blue);
}

.login-option-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  width: fit-content;
}

.login-option-status--active {
  background: #dcfce7;
  color: #15803d;
}

.login-option-status--soon {
  background: var(--gray-100);
  color: var(--gray-500);
}

.login-option.login-option--disabled {
  pointer-events: none;
  opacity: 0.5;
}

.login-option-arrow {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.login-option:hover .login-option-arrow {
  color: var(--gs1-blue);
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .login-modal {
    padding: 1.75rem 1.25rem;
  }
}

/* =====================
   CSS SCROLL-DRIVEN ANIMATIONS
   ===================== */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation-name: scroll-reveal-up;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-duration: 1s;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
    animation-name: scroll-reveal-left;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-duration: 1s;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
    animation-name: scroll-reveal-right;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-duration: 1s;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
    animation-name: scroll-reveal-scale;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-duration: 1s;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  /* Stagger delays preserved for .stagger-children */
  .stagger-children .reveal:nth-child(1) { animation-delay: 0ms; }
  .stagger-children .reveal:nth-child(2) { animation-delay: 80ms; }
  .stagger-children .reveal:nth-child(3) { animation-delay: 160ms; }
  .stagger-children .reveal:nth-child(4) { animation-delay: 240ms; }
  .stagger-children .reveal:nth-child(5) { animation-delay: 320ms; }
  .stagger-children .reveal:nth-child(6) { animation-delay: 400ms; }
  .stagger-children .reveal:nth-child(7) { animation-delay: 480ms; }

  @keyframes scroll-reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes scroll-reveal-left {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes scroll-reveal-right {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes scroll-reveal-scale {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
  }
}
