@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #02050D;
  --bg-secondary: #050B14;
  --accent-yellow: #FFB800;
  --accent-yellow-rgb: 255, 184, 0;
  --accent-yellow-hover: #F2A200;
  --accent-green: #10B981;
  --accent-green-rgb: 16, 185, 129;
  --accent-purple: #8B5CF6;
  --accent-purple-rgb: 139, 92, 246;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;

  /* Glassmorphism */
  --glass-bg: rgba(5, 11, 20, 0.45);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(255, 184, 0, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);

  /* Layout Sizing & Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

/* ==========================================
   CUSTOM PREMIUM SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.25);
  border-radius: 99px;
  border: 2px solid var(--bg-primary);
  transition: all var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

/* Firefox Scrollbar Support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 184, 0, 0.25) var(--bg-primary);
}

/* Base resets & scroll prevention on base body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   CSS SCROLL SNAP WORKSPACE WRAPPER
   ========================================== */
.scroll-container {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.section {
  position: relative;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  flex-shrink: 0;
}

/* ==========================================
   SECTION 1: HERO BACKGROUND & ELEMENTS
   ========================================== */
.bg-visual-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/planebg.png');
  background-size: cover;
  background-position: right center;
  z-index: 1;
  opacity: 0.95;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      var(--bg-primary) 0%,
      var(--bg-primary) 35%,
      rgba(2, 5, 13, 0.85) 50%,
      rgba(2, 5, 13, 0.4) 70%,
      transparent 100%);
  z-index: 2;
}

.bg-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top,
      var(--bg-primary) 0%,
      rgba(2, 5, 13, 0.8) 50%,
      transparent 100%);
  z-index: 2;
}

.bg-overlay-radial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 45%,
      rgba(255, 184, 0, 0.03) 0%,
      transparent 60%);
  z-index: 2;
}

.runway-light-glow {
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 350px;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(var(--accent-yellow-rgb), 0.1) 0%, transparent 70%);
  transform: rotate(-10deg);
  z-index: 2;
  filter: blur(30px);
}

.app-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2vh 3.5vw;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin-bottom: 2vh;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-logo-svg {
  fill: var(--accent-yellow);
  filter: drop-shadow(0 0 8px rgba(var(--accent-yellow-rgb), 0.5));
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.nav-link svg {
  transition: transform var(--transition-fast);
}

.nav-link:hover svg {
  transform: translateY(2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-login {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.btn-login:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.btn-signup {
  color: #02050D;
  background-color: var(--accent-yellow);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(var(--accent-yellow-rgb), 0.25);
  transition: all var(--transition-normal);
}

.btn-signup:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 25px rgba(var(--accent-yellow-rgb), 0.4);
}

/* HERO CONTAINER ROW */
.hero-content-wrapper {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  flex-grow: 1;
  height: calc(100% - 60px - 145px - 4vh);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.8vh;
  z-index: 10;
  max-width: 580px;
}

.badge-container {
  align-self: flex-start;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-headline {
  font-size: clamp(2rem, 3.8vh + 1.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text-primary);
}

.hero-headline span.highlight {
  color: var(--accent-yellow);
  position: relative;
  text-shadow: 0 0 40px rgba(var(--accent-yellow-rgb), 0.15);
}

.hero-description {
  font-size: clamp(0.9rem, 1vh + 0.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 530px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0.5vh;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #02050D;
  background-color: var(--accent-yellow);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(var(--accent-yellow-rgb), 0.3);
  transition: all var(--transition-normal);
}

.btn-primary-cta svg {
  transition: transform var(--transition-fast);
  stroke-width: 2.5px;
}

.btn-primary-cta:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-yellow-rgb), 0.45);
}

.btn-primary-cta:hover svg {
  transform: translateX(4px);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.btn-secondary-cta svg {
  transition: transform var(--transition-fast);
  stroke: var(--text-secondary);
}

.btn-secondary-cta:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-secondary-cta:hover svg {
  transform: scale(1.1);
  stroke: var(--accent-yellow);
}

/* Stats section */
.stats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1vh;
  flex-wrap: wrap;
}

.stats-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.stats-pill:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.stats-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-pill.icao .stats-icon-circle {
  background: rgba(16, 185, 129, 0.1);
}

.stats-pill.icao svg {
  stroke: var(--accent-green);
}

.stats-pill.pilots .stats-icon-circle {
  background: rgba(139, 92, 246, 0.1);
}

.stats-pill.pilots svg {
  fill: var(--accent-purple);
}

.stats-pill.rating .stats-icon-circle {
  background: rgba(255, 184, 0, 0.1);
}

.stats-pill.rating svg {
  fill: var(--accent-yellow);
}

/* Right HUD container */
.hero-right-hud {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hud-svg-container {
  position: absolute;
  width: 130%;
  height: 130%;
  left: -15%;
  top: -15%;
  pointer-events: none;
  z-index: 5;
  transform: translate(var(--hud-x, 0px), var(--hud-y, 0px));
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hud-radar-circle {
  transform-origin: 70% 45%;
  stroke: rgba(var(--accent-yellow-rgb), 0.12);
}

.hud-radar-circle-dashed {
  transform-origin: 70% 45%;
  stroke: rgba(var(--accent-yellow-rgb), 0.2);
  animation: rotate-radar-clockwise 50s linear infinite;
}

.hud-radar-ticks {
  transform-origin: 70% 45%;
  stroke: rgba(var(--accent-yellow-rgb), 0.25);
  animation: rotate-radar-counter 120s linear infinite;
}

.hud-radar-sweep {
  transform-origin: 70% 45%;
  fill: url(#radarSweepGrad);
  animation: rotate-radar-clockwise 8s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hud-tech-text {
  font-family: var(--font-tech);
  fill: rgba(var(--accent-yellow-rgb), 0.4);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

.hud-tech-line {
  stroke: rgba(var(--accent-yellow-rgb), 0.25);
  stroke-width: 0.75;
}

.hud-horizon-line {
  stroke: rgba(var(--accent-yellow-rgb), 0.3);
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

@keyframes rotate-radar-clockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate-radar-counter {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Bottom Cards Strip */
.bottom-panel-wrapper {
  margin-top: 1.5vh;
  z-index: 15;
}

.feature-cards-panel {
  display: flex;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  height: 135px;
  overflow: hidden;
  position: relative;
  transition: all var(--transition-slow);
}

.feature-cards-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--accent-yellow-rgb), 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.feature-cards-panel:hover {
  border-color: rgba(var(--accent-yellow-rgb), 0.15);
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.7), 0 0 30px 0 rgba(var(--accent-yellow-rgb), 0.03);
}

.feature-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5vw;
  position: relative;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.feature-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
  transition: all var(--transition-normal);
}

.feature-card-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.04);
  border: 1px solid rgba(255, 184, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all var(--transition-normal);
}

.feature-card-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-yellow);
  fill: none;
  stroke-width: 1.75px;
  transition: all var(--transition-normal);
}

.feature-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  transition: all var(--transition-normal);
  letter-spacing: -0.2px;
}

.feature-card-description {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
  max-width: 160px;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background: rgba(255, 184, 0, 0.02);
}

.feature-card:hover .feature-card-icon-circle {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 0 15px rgba(var(--accent-yellow-rgb), 0.3);
  transform: translateY(-2px);
}

.feature-card:hover .feature-card-icon-circle svg {
  transform: scale(1.08);
  stroke: #ffffff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.feature-card:hover .feature-card-title {
  color: var(--accent-yellow);
  text-shadow: 0 0 12px rgba(var(--accent-yellow-rgb), 0.3);
}

.feature-card:hover .feature-card-description {
  color: var(--text-secondary);
}


/* ==========================================
   SECTION 2: COCKPIT PILOTS & ANALYTICS
   ========================================== */
.section-pilots {
  background-color: var(--bg-primary);
}

.cockpit-visual-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cockpit-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/cockpitbg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: brightness(0.85) contrast(1.15) saturate(1.05);
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cockpit-glow-effect {
  position: absolute;
  top: 15%;
  right: 25%;
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--accent-yellow-rgb), 0.08) 0%, transparent 60%);
  z-index: 2;
  filter: blur(50px);
}

/* Layer 2: Glowing Dynamic Particles */
.pilots-particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.aviation-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: float-particle-drift 15s linear infinite;
}

@keyframes float-particle-drift {
  0% {
    transform: translateY(110vh) translateX(0) scale(0.5);
    opacity: 0;
  }

  10% {
    opacity: 0.55;
  }

  85% {
    opacity: 0.55;
  }

  100% {
    transform: translateY(-10vh) translateX(var(--drift-x, 50px)) scale(1.2);
    opacity: 0;
  }
}

/* Bullet item styles with green checks */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 1.4vh;
  list-style: none;
  margin-top: 0.5vh;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1vh + 0.4vw, 1.05rem);
  color: var(--text-primary);
  font-weight: 500;
}

.bullet-icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-yellow);
  background: rgba(255, 184, 0, 0.02);
  border: 1px solid rgba(255, 184, 0, 0.25);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(var(--accent-yellow-rgb), 0.05);
}

.btn-outline-gold svg {
  stroke-width: 2.5px;
  transition: transform var(--transition-fast);
}

.btn-outline-gold:hover {
  background: rgba(255, 184, 0, 0.08);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-yellow-rgb), 0.2);
}

.btn-outline-gold:hover svg {
  transform: translateX(4px);
}

/* Analytics Right Space Grid */
.pilots-right-grid {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Floating animation variables and generic setup */
.floating-card {
  position: absolute;
  background: rgba(5, 11, 20, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 18px 20px;
  z-index: 15;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.floating-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.8), 0 0 25px 0 rgba(var(--accent-yellow-rgb), 0.08);
}

.floating-card-title {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* 1. Progress Card (Layout Match: Ring on left, weekly badges stacked on right) */
.card-progress {
  top: 3%;
  left: 3%;
  width: 250px;
}

.progress-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.progress-circle-box {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.progress-circle-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-circle-bg {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 7;
  fill: none;
}

.progress-circle-bar {
  stroke: var(--accent-yellow);
  stroke-width: 7;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  filter: drop-shadow(0 0 6px rgba(var(--accent-yellow-rgb), 0.6));
}

.progress-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-percent {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.progress-label {
  font-size: 0.52rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.progress-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  align-items: flex-start;
}

.progress-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 700;
}

.progress-badge-green svg {
  stroke-width: 3px;
}

.progress-badge-label {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. Questions Solved Card */
.card-solved {
  top: 13%;
  right: 5%;
  width: 250px;
}

.solved-number {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.solved-graph-box {
  width: 100%;
  height: 65px;
}

.solved-graph-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 4px 8px rgba(var(--accent-yellow-rgb), 0.3));
}

.solved-graph-dot {
  fill: var(--accent-yellow);
  stroke: var(--bg-primary);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(var(--accent-yellow-rgb), 0.7));
}

/* 3. Average Score Card */
.card-score {
  top: 48%;
  left: 6%;
  width: 215px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.score-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.score-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Practice Anywhere Bottom Section */
.bottom-practice-wrapper {
  position: absolute;
  bottom: 4vh;
  left: 3.5vw;
  width: 68%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.practice-title {
  font-size: clamp(1.2rem, 1.8vh + 0.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-primary);
}

.practice-pills-panel {
  display: flex;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  padding: 12px 10px;
}

.practice-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 1.2vw;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.practice-pill:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.practice-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 184, 0, 0.03);
  border: 1px solid rgba(255, 184, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.practice-pill-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-yellow);
  fill: none;
  stroke-width: 1.75px;
  transition: all var(--transition-normal);
}

.practice-pill-texts {
  display: flex;
  flex-direction: column;
}

.practice-pill-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  transition: all var(--transition-normal);
}

.practice-pill-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.practice-pill:hover .practice-pill-icon {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 0 10px rgba(var(--accent-yellow-rgb), 0.25);
  transform: scale(1.05);
}

.practice-pill:hover .practice-pill-title {
  color: var(--accent-yellow);
}

.practice-pill:hover .practice-pill-subtitle {
  color: var(--text-secondary);
}

/* Realistic Smartphone Device Mockup */
.phone-mockup-container {
  position: absolute;
  bottom: 0px;
  right: 2vw;
  width: 220px;
  height: 420px;
  z-index: 20;
  transform: rotate(-6deg);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.8));
  cursor: pointer;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.phone-mockup-chassis {
  width: 100%;
  height: 100%;
  background: #02050d;
  border: 10px solid #090d16;
  border-radius: 36px;
  outline: 1.5px solid rgba(255, 184, 0, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.6);
  transition: outline-color var(--transition-normal), box-shadow var(--transition-normal);
}

.phone-mockup-container:hover .phone-mockup-chassis {
  outline-color: var(--accent-yellow);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(var(--accent-yellow-rgb), 0.35);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, #0b1528 0%, #030712 100%);
  position: relative;
  padding: 24px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-dynamic-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 12px;
  border-radius: 99px;
  background-color: #111827;
  z-index: 100;
}

.phone-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 90;
  transform: translateX(-35%);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.phone-mockup-chassis:hover .phone-reflection {
  transform: translateX(5%);
}

/* Phone Screen UI Content Elements - Real Custom PFD Gauges & Lists */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-main);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

.phone-header-logo {
  color: var(--accent-yellow);
  font-weight: 800;
}

.phone-dashboard-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 8px;
  align-items: center;
}

/* Mini circular progress on phone */
.phone-mini-progress {
  display: flex;
  justify-content: center;
}

.phone-ring-box {
  position: relative;
  width: 58px;
  height: 58px;
}

.phone-ring-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.phone-ring-bg {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 6;
  fill: none;
}

.phone-ring-bar {
  stroke: var(--accent-yellow);
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 70.336;
  /* Static matching 72% */
  filter: drop-shadow(0 0 3px rgba(var(--accent-yellow-rgb), 0.5));
}

.phone-ring-center {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.phone-ring-percent {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.phone-ring-label {
  font-size: 0.35rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 1px;
}

/* Mini Questions Solved on phone */
.phone-mini-solved {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 6px 8px;
}

.phone-mini-title {
  font-size: 0.45rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.phone-mini-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.phone-mini-graph {
  width: 100%;
  height: 18px;
  overflow: visible;
}

/* Recent Mock Test Card phone */
.phone-mock-test-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-section-title {
  font-size: 0.52rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phone-mock-test-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 184, 0, 0.02);
  border: 1px dashed rgba(255, 184, 0, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
}

.phone-mock-test-name {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 110px;
  display: block;
}

.phone-mock-score-circle {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.phone-small-ring {
  width: 100%;
  height: 100%;
}

.phone-small-ring-bg {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3.5;
  fill: none;
}

.phone-small-ring-bar {
  stroke: var(--accent-green);
  stroke-width: 3.5;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 2px rgba(var(--accent-green-rgb), 0.5));
}

.phone-small-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Subject Progress rows */
.phone-subjects-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-subject-row-expanded {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 6px 8px;
}

.phone-subject-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-subject-icon-check {
  font-size: 0.48rem;
  color: var(--accent-green);
  margin-right: 4px;
}

.phone-subject-name-text {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
}

.phone-subject-stat-text {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.phone-stat-sub {
  font-size: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-progress-bar-container {
  width: 100%;
  height: 3.5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.phone-progress-bar-fill {
  height: 100%;
  border-radius: 99px;
}


/* ==========================================
   SECTION 3: GLOBAL REACH & STATISTICS
   ========================================== */
.section-trusted {
  background-color: var(--bg-primary);
}

.trusted-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 3.5vh;
  padding-bottom: 3.5vh;
}

.trusted-header {
  z-index: 10;
}

/* World Map visual canvas */
.map-visual-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  filter: drop-shadow(0 0 30px rgba(255, 184, 0, 0.02));
}

.map-continents path {
  transition: fill var(--transition-slow);
}

/* Hub Point pulsing animation */
.hub-pulse {
  transform-origin: center;
  animation: hubRingPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes hubRingPulse {
  0% {
    r: 6px;
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    r: 24px;
    opacity: 0;
  }
}

/* Flight Paths lines drawing animation */
.flight-route-line {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  filter: drop-shadow(0 0 6px rgba(var(--accent-yellow-rgb), 0.25));
  transition: opacity 0.5s ease;
}

.flight-route-glow {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  filter: blur(4px);
  transition: opacity 0.5s ease;
}

/* Stats Row Cards */
.stats-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 0.5vh;
  margin-bottom: 1.5vh;
  z-index: 10;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(var(--accent-yellow-rgb), 0.08);
}

.stat-card-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.04);
  border: 1.5px solid rgba(255, 184, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(var(--accent-yellow-rgb), 0.1);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-card-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.stat-card:hover .stat-card-icon-circle {
  background: rgba(255, 184, 0, 0.12);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 15px rgba(var(--accent-yellow-rgb), 0.35);
}

.stat-card-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 1.8vh + 0.6vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.stat-card:hover .stat-number {
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(var(--accent-yellow-rgb), 0.25);
}

.stat-card:hover .stat-label {
  color: var(--text-secondary);
}

/* Preparation Journey Flow card container */
.journey-flow-card {
  background: rgba(5, 11, 20, 0.45);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 24px;
  width: 100%;
  z-index: 10;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.journey-flow-card:hover {
  border-color: rgba(var(--accent-yellow-rgb), 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(var(--accent-yellow-rgb), 0.02);
}

.journey-title {
  text-align: center;
  font-size: clamp(0.95rem, 1.3vh + 0.4vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 2vh;
}

.journey-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.journey-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
  gap: 10px;
  transition: transform var(--transition-normal);
}

.journey-step-item:hover {
  transform: translateY(-2px);
}

.journey-icon-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.01);
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.01);
  transition: all var(--transition-normal);
}

.journey-icon-ring svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75px;
  transition: all var(--transition-normal);
}

.journey-step-item:hover .journey-icon-ring {
  border-color: var(--accent-yellow);
  background: rgba(255, 184, 0, 0.06);
  border-style: solid;
  color: var(--accent-yellow);
  box-shadow: 0 0 15px rgba(var(--accent-yellow-rgb), 0.25), inset 0 0 10px rgba(var(--accent-yellow-rgb), 0.1);
  transform: scale(1.05);
}

.journey-step-item:hover .journey-icon-ring svg {
  transform: scale(1.05);
}

.journey-step-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.1px;
  transition: color var(--transition-fast);
}

.journey-step-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
  max-width: 155px;
  transition: color var(--transition-fast);
}

.journey-step-item:hover .journey-step-name {
  color: var(--accent-yellow);
}

.journey-step-item:hover .journey-step-desc {
  color: var(--text-secondary);
}

/* Connected arrows styling */
.journey-arrow-connector {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 80px;
  pointer-events: none;
}

.journey-arrow-connector svg {
  width: 100%;
  height: 20px;
  overflow: visible;
}

/* Arrow Active Pulse flowing effect */
.arrow-glow-pulse {
  stroke-dasharray: 20, 20;
  stroke-dashoffset: 40;
  opacity: 0.7;
  animation: arrowGlowMove 2.5s linear infinite;
}

@keyframes arrowGlowMove {
  0% {
    stroke-dashoffset: 40;
  }

  100% {
    stroke-dashoffset: -40;
  }
}

/* Active looping cycling animation classes */
.journey-step-item.active-step .journey-icon-ring {
  border-color: var(--accent-yellow);
  background: rgba(255, 184, 0, 0.12);
  border-style: solid;
  color: var(--accent-yellow);
  box-shadow: 0 0 20px rgba(var(--accent-yellow-rgb), 0.35), inset 0 0 10px rgba(var(--accent-yellow-rgb), 0.15);
  transform: scale(1.08);
}

.journey-step-item.active-step .journey-step-name {
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(var(--accent-yellow-rgb), 0.25);
}

.journey-step-item.active-step .journey-step-desc {
  color: var(--text-primary);
}

.journey-arrow-connector.active-arrow .arrow-glow-pulse {
  stroke: var(--accent-yellow);
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 8px var(--accent-yellow));
  opacity: 1;
  animation-duration: 1.2s;
  /* Speed up pulse flow when active */
}


/* ==========================================
   RESPONSIVE LAYOUT & MEDIA QUERIES
   ========================================== */

@media (max-width: 1200px) {
  .app-container {
    padding: 2vh 2.5vw;
  }

  .hero-content-wrapper {
    grid-template-columns: 52% 48%;
  }

  .bottom-practice-wrapper {
    width: 68%;
  }
}

@media (max-width: 1024px){
  .scroll-container {
    height: auto;
    overflow-y: auto;
    scroll-snap-type: none;
  }

  .section {
    height: auto;
    min-height: 100svh;
    scroll-snap-align: none;
    overflow: visible;
  }

  .app-container {
    height: auto;
    min-height: unset;
    padding: 20px 20px 40px;
    gap: 40px;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    gap: 40px;
  }

  .hero-left {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-description {
    max-width: 600px;
  }

  .badge-container {
    align-self: center;
  }

  .cta-row {
    justify-content: center;
  }

  .stats-row {
    justify-content: center;
  }

  .hero-right-hud {
    height: 400px;
  }

  .hud-svg-container {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .bottom-panel-wrapper {
    margin-top: 20px;
  }

  .feature-cards-panel {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
  }

  .feature-card {
    flex: none;
    width: 33.33%;
    padding: 16px;
    min-height: 120px;
  }

  .feature-card:nth-child(3n)::after {
    display: none;
  }

  /* Section 2 Responsive styles */
  .section-pilots-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: auto;
    padding: 40px 20px 20px 20px;
  }

  .pilots-right-grid {
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .card-progress {
    top: 0;
    left: 5%;
  }

  .card-solved {
    top: 25%;
    right: 5%;
  }

  .card-score {
    bottom: 5%;
    left: 10%;
    top: auto;
    right: auto;
  }

  .phone-mockup-container {
    bottom: 5%;
    right: 5%;
  }

  .bottom-practice-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 40px;
    padding-bottom: 20px;
  }

  .practice-title {
    text-align: center;
  }

  .practice-pills-panel {
    flex-wrap: wrap;
    padding: 20px 0;
  }

  .practice-pill {
    flex: none;
    width: 50%;
    padding: 15px;
    justify-content: center;
  }

  .practice-pill:nth-child(2n)::after {
    display: none;
  }

  /* Section 3 Tablet overrides */
  .trusted-content-wrapper {
    height: auto;
    min-height: unset;
    padding: 60px 20px 40px 20px;
    gap: 40px;
  }

  .map-visual-container {
    height: 45%;
    top: 5%;
  }

  .stats-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
  }

  .journey-flow-card {
    padding: 20px;
  }

  .journey-steps-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .journey-step-item {
    width: 28%;
    max-width: 100%;
    flex: none;
  }

  .journey-arrow-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-card {
    width: 50%;
  }

  .feature-card:nth-child(3n)::after {
    display: block;
  }

  .feature-card:nth-child(2n)::after {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .practice-pill {
    width: 100%;
  }

  .practice-pill::after {
    display: none !important;
  }

  .pilots-right-grid {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .floating-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 320px;
  }

  .phone-mockup-container {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto;
  }

  /* Section 3 Mobile overrides */
  .stats-cards-row {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
  }

  .journey-steps-grid {
    flex-direction: column;
    gap: 25px;
  }

  .journey-step-item {
    width: 100%;
    max-width: 320px;
    flex-direction: row;
    text-align: left;
    gap: 15px;
  }

  .journey-step-item:hover .journey-icon-ring {
    transform: scale(1.02);
  }

  .journey-icon-ring {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .journey-step-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .feature-card {
    width: 100%;
  }

  .feature-card::after {
    display: none !important;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
    justify-content: center;
  }

  .bullet-list {
    align-items: flex-start;
  }

  .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================
   SECTION 4: SUBJECTS COVERED & TESTIMONIALS & CTA
   ========================================== */
.section-subjects-cta {
  background-color: var(--bg-primary);
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.subjects-cta-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 100vh;
  padding-top: 2.5vh;
  padding-bottom: 2.5vh;
}

.panels-row-top {
  display: flex;
  gap: 20px;
  height: 56vh;
  margin-bottom: 2vh;
}

.glass-card-panel {
  background: rgba(5, 11, 20, 0.45);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  z-index: 10;
}

.subjects-panel {
  flex: 1.15;
}

.testimonials-panel {
  flex: 1;
  justify-content: flex-start;
  gap: 12px;
}

.panel-header {
  margin-bottom: 1vh;
}

.panel-title {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 1.6vh + 0.5vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.panel-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Subjects Cards Grid */
.subject-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 1vh;
  margin-bottom: 1.5vh;
}

.subject-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  transform: translateY(0);
  transform-style: preserve-3d;
}

.subject-card:hover {
  background: rgba(255, 184, 0, 0.04);
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.05), 0 0 10px rgba(var(--accent-yellow-rgb), 0.02);
  transform: translateY(0);
}

.subject-card.is-clicked {
  background: rgba(255, 184, 0, 0.08);
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 0 18px rgba(var(--accent-yellow-rgb), 0.12);
  transform: translateY(0);
}

.is-clicked:not(.subject-card) {
  transform: scale(0.98);
}

.subject-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 184, 0, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(var(--accent-yellow-rgb), 0.05);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.subject-card:hover .subject-icon-wrap {
  background: rgba(255, 184, 0, 0.15);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 12px rgba(var(--accent-yellow-rgb), 0.25);
}

.subject-icon-wrap svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

.subject-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.btn-all-subjects {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 184, 0, 0.25);
  background: transparent;
  border-radius: 8px;
  padding: 11px;
  color: var(--accent-yellow);
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.btn-all-subjects:hover {
  background: rgba(255, 184, 0, 0.08);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 15px rgba(var(--accent-yellow-rgb), 0.15);
}

/* Testimonials Header */
.panel-header-testimonials {
  margin-bottom: 1vh;
  width: 100%;
}

.testimonials-title-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
}

.panel-title-testimonials {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 1.6vh + 0.5vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.gold-stars-row {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.star-icon {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 4px rgba(255, 184, 0, 0.3));
}

.panel-subtitle-testimonials {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Testimonial Cards Grid */
.testimonial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 0.5vh;
  margin-bottom: 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 184, 0, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(var(--accent-yellow-rgb), 0.02);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.profile-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #D4AF37 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.74rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(var(--accent-yellow-rgb), 0.15);
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.profile-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-role {
  font-size: 0.64rem;
  color: var(--text-muted);
}

.profile-stars {
  display: flex;
  gap: 1.5px;
  margin-top: 2px;
}

.profile-stars svg {
  width: 9px;
  height: 9px;
}

.testimonials-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.proof-stat {
  min-height: 54px;
  border: 1px solid rgba(255, 184, 0, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.075), rgba(255, 255, 255, 0.018));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 12px;
}

.proof-stat-value {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-yellow);
  line-height: 1;
}

.proof-stat-label {
  font-size: 0.62rem;
  line-height: 1.25;
  color: var(--text-muted);
}

.review-snapshot {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 25%, rgba(255, 184, 0, 0.11), transparent 38%),
    rgba(255, 255, 255, 0.018);
  padding: 13px 14px;
}

.review-snapshot-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.review-snapshot-label {
  font-size: 0.61rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-snapshot-copy strong {
  font-size: 0.73rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.review-snapshot-meter {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.review-snapshot-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-green));
  box-shadow: 0 0 12px rgba(var(--accent-yellow-rgb), 0.24);
}

/* ==========================================
   BOTTOM CTA SECTION
   ========================================== */
.cta-outer-panel {
  height: 34vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  box-sizing: border-box;
}

.cta-bg-layer {
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  background-image: url('assets/manplanebg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: transform;
}

.cta-overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at left, rgba(5, 11, 20, 0.4) 0%, rgba(5, 11, 20, 0.85) 60%, rgba(5, 11, 20, 0.96) 100%);
  z-index: 2;
  pointer-events: none;
}

.cta-foreground-content {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  box-sizing: border-box;
}

.cta-content-left {
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-heading {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vh + 0.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.6px;
  line-height: 1.1;
}

.cta-description {
  font-size: clamp(0.78rem, 1.1vh + 0.3vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.45;
}

.cta-buttons-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
  color: var(--bg-primary);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.25);
  transition: border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-cta-primary:hover {
  background: #E0A300;
  border-color: #E0A300;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.45);
  transform: translateY(-2px);
}

.btn-cta-primary svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  transition: transform 0.25s ease;
}

.btn-cta-primary:hover svg {
  transform: translateX(4px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* ==========================================
   SECTION 4 RESPONSIVENESS MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .section-subjects-cta {
    height: auto !important;
    overflow: visible !important;
  }

  .subjects-cta-content-wrapper {
    height: auto;
    min-height: unset;
    padding: 60px 20px 50px;
    gap: 40px;
  }

  .panels-row-top {
    flex-direction: column;
    height: auto;
    gap: 30px;
    margin-bottom: 0;
  }

  .glass-card-panel {
    height: auto;
    padding: 24px;
    gap: 20px;
  }

  .subject-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-outer-panel {
    height: auto;
    min-height: 280px;
    padding: 40px 24px;
  }

  .cta-foreground-content {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding: 0;
  }

  .cta-content-left {
    max-width: 100%;
  }

  .cta-buttons-right {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .subject-cards-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-cards-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 1.5vh auto 0 auto;
  }

  .testimonials-proof-strip,
  .review-snapshot {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-proof-strip {
    grid-template-columns: 1fr;
  }

  .review-snapshot {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-snapshot-meter {
    width: 100%;
  }

  .cta-buttons-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================
   PAGE 2: HIGH-FIDELITY POLISHED MOBILE DASHBOARD APP
   ========================================== */
.phone-welcome-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.phone-pilot-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-pilot-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFA500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #02050d;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.55rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(var(--accent-yellow-rgb), 0.3);
  position: relative;
}

.phone-avatar-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 184, 0, 0.4);
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: avatarPulse 2.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes avatarPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.phone-pilot-meta {
  display: flex;
  flex-direction: column;
}

.phone-pilot-greeting {
  font-size: 0.38rem;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-pilot-name {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.phone-streak-badge {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.42rem;
  color: var(--accent-yellow);
  font-weight: 700;
  box-shadow: 0 0 5px rgba(var(--accent-yellow-rgb), 0.05);
}

/* Polished High-Fidelity Stats Chips */
.phone-quick-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-stat-chip {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 5px 8px !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.phone-stat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--accent-yellow);
  opacity: 0.8;
}

.phone-stat-chip:nth-child(2)::before {
  background: var(--accent-green);
}

.phone-chip-title {
  font-size: 0.38rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phone-chip-value {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-top: 1px;
}

.phone-chip-trend {
  font-size: 0.35rem;
  font-weight: 700;
  margin-top: 1px;
  letter-spacing: 0.1px;
}

.phone-chip-trend.green {
  color: var(--accent-green);
}

.phone-chip-trend.gold {
  color: var(--accent-yellow);
}

.phone-mock-test-time {
  font-size: 0.4rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* StatusBar System (iOS/Cockpit Glass Style) */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  padding: 0 4px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: -2px;
}

.phone-status-left {
  display: flex;
  align-items: center;
}

.phone-status-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-status-right .status-icon {
  color: rgba(255, 255, 255, 0.35);
}

.phone-battery-icon {
  width: 14px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  padding: 0.5px;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.phone-battery-icon::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 1px;
  width: 1.5px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0 0.5px 0.5px 0;
}

.phone-battery-charge {
  height: 100%;
  background: var(--accent-green);
  border-radius: 0.5px;
  display: block;
}

/* Phone App Top Branding Navbar */
.phone-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
  margin-bottom: -2px;
}

.phone-header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-brand-title {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  font-family: var(--font-main);
}

.phone-badge-pro {
  font-size: 0.32rem;
  font-weight: 800;
  color: #02050d;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFA500 100%);
  padding: 0.5px 3px;
  border-radius: 3px;
  letter-spacing: 0.2px;
}

.phone-radar-pulse {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 5px var(--accent-green);
}

.phone-radar-pulse::after {
  content: '';
  position: absolute;
  top: -3.5px;
  left: -3.5px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  animation: phonePulse 2s infinite ease-out;
  box-sizing: border-box;
}

@keyframes phonePulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Instrument circular PFD lines */
.phone-ring-compass-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transform: scale(0.9);
  box-sizing: border-box;
}

.phone-ring-compass-lines::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.phone-ring-compass-lines::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
}

/* Polished Mock Test details */
.phone-mock-test-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.phone-mock-type-tag {
  font-size: 0.32rem;
  font-weight: 800;
  color: var(--accent-yellow);
  background: rgba(255, 184, 0, 0.08);
  padding: 1px 3px;
  border-radius: 2px;
  border: 0.5px solid rgba(255, 184, 0, 0.15);
  letter-spacing: 0.1px;
}

.phone-mock-ac-type {
  font-size: 0.32rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1px;
}

/* Subjects Section polish */
.phone-subjects-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1px;
}

.phone-subjects-count {
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.phone-subject-bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.phone-subject-bullet.law {
  background-color: var(--accent-yellow);
  box-shadow: 0 0 5px var(--accent-yellow);
}

.phone-subject-bullet.met {
  background-color: #f97316;
  box-shadow: 0 0 5px #f97316;
}

/* Tab Bar Navigation at phone bottom */
.phone-app-navbar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 2px 0;
  margin-top: auto;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  margin-left: -12px;
  margin-right: -12px;
  z-index: 10;
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  flex: 1;
  position: relative;
}

.phone-nav-item svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.2px;
  transition: transform 0.2s ease;
}

.phone-nav-item span {
  font-size: 0.38rem;
  font-weight: 600;
}

.phone-nav-item:hover svg {
  transform: translateY(-1px);
}

.phone-nav-item.active {
  color: var(--accent-yellow);
}

.phone-nav-item.active svg {
  filter: drop-shadow(0 0 3px rgba(var(--accent-yellow-rgb), 0.5));
}

.phone-nav-dot {
  width: 3px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 50%;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 4px var(--accent-yellow);
}


/* ==========================================
   DEVICE RESPONSIVE HARDENING
   Desktop styles above 1024px remain unchanged.
   ========================================== */
@media (max-width: 1024px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .scroll-container {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    scroll-snap-type: none;
  }

  .section {
    height: auto;
    min-height: unset;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .app-container {
    width: 100%;
    height: auto;
    min-height: unset;
    padding: clamp(18px, 3vw, 32px) clamp(18px, 3vw, 32px) clamp(32px, 5vw, 56px);
  }

  .section-hero .app-container,
  .section-pilots .app-container,
  .section-trusted .app-container,
  .section-subjects-cta .app-container {
    justify-content: flex-start;
  }

  .bg-visual-wrapper,
  .cockpit-visual-wrapper {
    inset: 0;
    height: auto;
    min-height: 100%;
  }

  .navbar {
    height: auto;
    min-height: 58px;
    gap: 18px;
    margin-bottom: clamp(24px, 4vw, 42px);
  }

  .nav-brand {
    min-width: 0;
  }

  .nav-actions {
    flex-shrink: 0;
  }

  .hero-content-wrapper {
    align-items: center;
    gap: clamp(32px, 6vw, 56px);
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 3.15rem);
    line-height: 1.12;
  }

  .hero-description {
    font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  }

  .hero-right-hud {
    width: min(100%, 720px);
    min-height: 300px;
    height: clamp(300px, 48vw, 440px);
    margin: 0 auto;
  }

  .hud-svg-container {
    max-width: 100%;
    max-height: 100%;
  }

  .feature-cards-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .feature-card {
    width: auto;
    min-height: 150px;
  }

  .feature-card::after,
  .practice-pill::after {
    display: none !important;
  }

  .section-pilots-content {
    width: 100%;
    padding: 0;
  }

  .section-pilots .hero-left {
    max-width: 680px;
    margin: 0 auto;
  }

  .bullet-list {
    width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }

  .pilots-right-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto;
  }

  .floating-card,
  .card-progress,
  .card-solved,
  .card-score {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
  }

  .phone-mockup-container {
    position: relative;
    grid-column: 1 / -1;
    justify-self: center;
    inset: auto;
    width: clamp(190px, 30vw, 230px);
    height: auto;
    aspect-ratio: 11 / 21;
    margin: 6px auto 0;
    transform: rotate(-3deg);
  }

  .bottom-practice-wrapper {
    position: relative;
    inset: auto;
    width: min(100%, 760px);
    margin: 18px auto 0;
  }

  .practice-pills-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .practice-pill {
    width: auto;
    min-height: 72px;
  }

  .trusted-content-wrapper {
    justify-content: flex-start;
    padding-bottom: clamp(32px, 5vw, 56px);
  }

  .trusted-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .map-visual-container {
    top: 110px;
    height: 360px;
    opacity: 0.65;
  }

  .stats-cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-card {
    min-width: 0;
  }

  .journey-flow-card {
    max-width: 900px;
    margin: 0 auto;
  }

  .panels-row-top {
    width: 100%;
  }

  .subjects-panel,
  .testimonials-panel {
    width: 100%;
  }

  .cta-outer-panel {
    min-height: 280px;
    height: auto;
    padding: 40px 24px;
  }
}

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

  .nav-actions {
    gap: 10px;
  }

  .btn-login,
  .btn-signup {
    padding: 9px 16px;
    font-size: 0.86rem;
  }

  .hero-right-hud {
    min-height: 260px;
    height: clamp(260px, 54vw, 390px);
  }

  .bg-image {
    background-position: 68% center;
  }

  .bg-overlay-left {
    background: linear-gradient(to bottom,
        rgba(2, 5, 13, 0.9) 0%,
        rgba(2, 5, 13, 0.78) 48%,
        rgba(2, 5, 13, 0.94) 100%);
  }

  .feature-cards-panel,
  .stats-cards-row,
  .subject-cards-grid,
  .testimonial-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subjects-cta-content-wrapper {
    gap: 28px;
  }

  .cta-foreground-content {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .app-container {
    padding: 18px 16px 28px;
    gap: 28px;
  }

  .navbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .nav-brand {
    font-size: 1.22rem;
  }

  .nav-logo-img {
    height: 40px !important;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn-login,
  .btn-signup {
    text-align: center;
  }

  .hero-left {
    gap: 20px;
  }

  .hero-headline {
    font-size: clamp(2rem, 10vw, 2.7rem);
    letter-spacing: -0.7px;
  }

  .hero-description {
    line-height: 1.55;
  }

  .badge-pill {
    white-space: normal;
    text-align: left;
  }

  .cta-row,
  .cta-buttons-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-cta,
  .btn-secondary-cta,
  .btn-outline-gold,
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .stats-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .stats-pill {
    justify-content: center;
  }

  .hero-right-hud {
    min-height: 210px;
    height: 56vw;
  }

  .feature-cards-panel,
  .pilots-right-grid,
  .practice-pills-panel,
  .stats-cards-row,
  .subject-cards-grid,
  .testimonial-cards-grid,
  .testimonials-proof-strip {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 136px;
  }

  .pilots-right-grid,
  .stats-cards-row {
    justify-items: center;
  }

  .floating-card {
    padding: 16px;
  }

  .phone-mockup-container {
    width: min(230px, 76vw);
    transform: rotate(0deg);
  }

  .practice-pill {
    justify-content: flex-start;
  }

  .map-visual-container {
    top: 150px;
    height: 260px;
    opacity: 0.38;
  }

  .stat-card {
    padding: 15px 16px;
  }

  .journey-flow-card {
    padding: 18px 16px;
  }

  .journey-step-item {
    align-items: flex-start;
  }

  .glass-card-panel {
    padding: 20px 16px;
  }

  .testimonials-title-stars-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .review-snapshot {
    flex-direction: column;
    align-items: stretch;
  }

  .review-snapshot-meter {
    width: 100%;
  }

  .cta-outer-panel {
    min-height: 360px;
    padding: 28px 18px;
  }

  .cta-foreground-content {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .app-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-brand {
    font-size: 1.08rem;
  }

  .btn-login,
  .btn-signup {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 11vw, 2.35rem);
  }

  .panel-title,
  .panel-title-testimonials,
  .journey-title {
    overflow-wrap: anywhere;
  }

  .subject-card,
  .testimonial-card,
  .proof-stat {
    padding-left: 12px;
    padding-right: 12px;
  }

  .subject-name,
  .testimonial-quote,
  .feature-card-title,
  .feature-card-description,
  .practice-pill-title,
  .practice-pill-subtitle,
  .stat-label,
  .profile-role,
  .review-snapshot-copy strong {
    overflow-wrap: anywhere;
  }

  .phone-mockup-container {
    width: min(218px, 82vw);
  }
}

/* Site footer */
.site-footer {
  background: rgba(5, 11, 20, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 24px 20px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer-brand {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-nav a:hover {
  color: var(--accent-yellow);
}

/* FAQ section */
.faq-section {
  margin: 32px 0 24px;
  padding: 28px 32px;
  background: rgba(5, 11, 20, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

.faq-heading {
  font-family: var(--font-main);
  font-size: clamp(1.25rem, 1.5vh + 0.8vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  overflow-wrap: anywhere;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-yellow);
  font-weight: 700;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

.faq-item p a {
  color: var(--accent-yellow);
  text-decoration: none;
}

.faq-item p a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .faq-section {
    margin: 24px 0 16px;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .faq-heading {
    margin-bottom: 16px;
  }

  .faq-item summary {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .faq-item p {
    padding: 0 14px 14px;
    font-size: 0.86rem;
  }
}
