/**
 * YPYM Observatory — Hero Section
 */

.hero-section {
  padding: 80px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  width: 100%;
}

.hero-headline {
  font-size: clamp(3.2rem, 6.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Two-tone gradient heading */
.hero-gradient-text {
  background: linear-gradient(90deg, #b8c1d1 0%, #a4b3d8 50%, #899fd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.08em;
  margin-bottom: -0.02em;
}

.hero-solid-text {
  color: var(--text-primary);
  display: inline-block;
  padding-bottom: 0.05em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #52525b;
  max-width: 490px;
  line-height: 1.5;
  margin-bottom: 34px;
  font-weight: 400;
  text-align: left;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 64px;
}

.hero-actions .btn {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 24px;
  min-height: 46px;
  box-sizing: border-box;
}

.hero-actions .btn-primary {
  min-width: 170px;
}

/* Secondary Action Pill */
.btn-video-pill {
  background-color: #ececee;
  color: #18181b;
  box-shadow: none;
  border: none;
}

.btn-video-pill:hover {
  background-color: #e2e2e5;
  transform: translateY(-2px);
}

.btn-video-pill svg {
  width: 11px;
  height: 11px;
  fill: #18181b;
  margin-right: 2px;
}

/* ==========================================================================
   Standards Ecosystem Bar (Text-Only, No BG, No Card Boxes)
   ========================================================================== */

/* Ecosystem & European Defense Trust Bar */
.trust-standards-bar {
  width: 100%;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-standards-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-standards-caption {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

/* Green Marked Badge: Text Only, No Background, No Border Pill */
.trust-defense-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.trust-defense-badge svg {
  color: #64748b;
  flex-shrink: 0;
}

/* Clean Unboxed Specifications Strip (No fake logos, no card boxes, no bg color) */
.trust-specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 20px;
  padding: 4px 0;
}

.trust-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-spec-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.trust-spec-desc {
  font-size: 0.775rem;
  font-weight: 500;
  color: #64748b;
}

.trust-spec-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.08);
}

/* Centered 3x2 Grid for Mesa Analytics Specifications (Balanced & Symmetrical) */
.trust-specs-row.trust-specs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
  justify-items: center;
  text-align: center;
  padding: 8px 0;
}

.trust-specs-grid-3 .trust-spec-item {
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.trust-standards-bar:has(.trust-specs-grid-3) .trust-standards-header {
  justify-content: center;
  text-align: center;
}

@media (max-width: 820px) {
  .trust-specs-row.trust-specs-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
  }
}

@media (max-width: 520px) {
  .trust-specs-row.trust-specs-grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}



@media (max-width: 640px) {
  .hero-section {
    padding: 44px 0 32px;
  }

  .hero-headline {
    font-size: clamp(2.3rem, 7.5vw, 4.9rem);
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 0.975rem;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-bottom: 40px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-standards-bar {
    padding: 20px 0 24px;
    margin-bottom: 40px;
  }

  .trust-standards-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .trust-specs-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .trust-spec-divider {
    display: none;
  }

}

/* ==========================================================================
   Athera-Inspired 2-Column Hero Showcase Canvas & Floating Pill Navbar
   ========================================================================== */

/* Wide header navigation matching 95% hero canvas and unified 28px/16px navbar padding */
.site-header--wide {
  width: 95%;
  max-width: 1800px;
  padding: 28px 0 16px;
}

.hero-card-canvas {
  width: 95%;
  max-width: 1800px;
  height: calc(100vh - 117px);
  min-height: 660px;
  max-height: 1080px;
  margin: 6px auto 56px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  padding: 28px 28px 28px 36px;
  box-shadow: 0 4px 30px -4px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: minmax(420px, 480px) 1fr;
  gap: 36px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  z-index: 2;
  padding: 8px 0 8px 8px;
  height: 100%;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding-bottom: 24px;
}

/* Floating Pill Navbar (Left: YPYM Icon Only, Right: Docs, About Us, Get Started) */
.hero-navbar-pill {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 6px 14px 6px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.nav-pill-left {
  display: flex;
  align-items: center;
}

.nav-pill-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  line-height: 0;
}

.nav-pill-logo:hover {
  transform: scale(1.05);
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.nav-pill-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-pill-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 4px 2px;
}

.nav-pill-link:hover {
  color: #0f172a;
}

.nav-pill-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 9999px;
  padding: 5px 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-pill-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-1px);
}

/* Team Avatar Stack (2x Enlarged, Photos Only, Zero Text / No BG) */
.hero-avatar-stack {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.hero-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-left: -14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.hero-avatar-img:first-child {
  margin-left: 0;
}

/* Hero Headline & Subtitle */
.hero-card-canvas .hero-headline {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: #0f172a;
  margin-bottom: 16px;
  display: block;
}

.hero-card-canvas .hero-headline-dim {
  color: #64748b;
  font-weight: 700;
}

.hero-card-canvas .hero-subtitle {
  font-size: 0.975rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 26px;
  max-width: 480px;
}

/* Dual CTA Buttons (Matching Main Page) */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 22px;
  line-height: 1.5;
  border: none;
  box-shadow: none;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 260ms var(--ease-spring);
}

.hero-cta-group .btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.hero-cta-group .btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.hero-cta-group .btn-video-pill {
  background-color: #ececee;
  color: #18181b;
  border: none;
}

.hero-cta-group .btn-video-pill:hover {
  background-color: #e2e2e5;
  transform: translateY(-2px);
}

/* Trust / Specs Footer (No Delimiter Line, Full Pill Soft Grey Tags) */
.hero-trust-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  border-top: none;
  width: 100%;
}

.hero-trust-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-tag-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: #f4f4f6;
  border: none;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: background 0.15s ease;
}

.hero-tag-item:hover {
  background: #ebebee;
}

/* Right Column: Meadow Artwork & Floating Mesa Dashboard Window */
.hero-col-right {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-scenic-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  background-image: url('../../images/hero-scenic-meadow.jpg');
  background-size: cover;
  background-position: center bottom;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 44px 0 76px 114px;
}

.hero-mockup-window {
  width: calc(100% + 56px);
  height: 100%;
  background: #ffffff;
  border-radius: 18px 0 0 18px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 700ms cubic-bezier(0.25, 1, 0.35, 1), box-shadow 700ms cubic-bezier(0.25, 1, 0.35, 1);
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
}

.hero-scenic-card:hover .hero-mockup-window {
  transform: translateX(-56px);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.mockup-window-header {
  height: 38px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}

.mockup-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-win {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-window-url {
  font-size: 0.725rem;
  font-weight: 600;
  color: #64748b;
  font-family: monospace;
  background: #ffffff;
  padding: 3px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-window-body {
  flex: 1;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.mockup-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Tablet Responsiveness (< 1024px) */
@media (max-width: 1024px) {
  .hero-card-canvas {
    grid-template-columns: 1fr;
    height: auto;
    min-height: unset;
    max-height: unset;
    padding: 24px 20px;
    gap: 32px;
  }

  .hero-scenic-card {
    min-height: 480px;
    height: 480px;
    padding: 20px 0 20px 20px;
  }

  .hero-col-left {
    padding: 4px;
    gap: 24px;
  }

  .hero-left-content {
    padding-bottom: 0;
  }
}

/* Mobile Responsiveness (< 768px) */
@media (max-width: 768px) {
  .site-header--wide {
    width: 100%;
    padding: 16px 20px 10px;
  }

  .hero-card-canvas {
    width: 95%;
    padding: 20px 16px;
    border-radius: 20px;
    margin-top: 6px;
    margin-bottom: 36px;
    gap: 24px;
  }

  .hero-card-canvas .hero-headline {
    font-size: 2rem;
  }

  .hero-card-canvas .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .hero-scenic-card {
    min-height: 360px;
    height: 360px;
    border-radius: 16px;
    padding: 16px 0 16px 16px;
  }

  .hero-mockup-window {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-scenic-card:hover .hero-mockup-window {
    transform: none;
  }
}


