/* EQX Labs — home.css | Index / Homepage specific styles */

/* ===== FIXED STICKY SLIDE-OVER PARALLAX HOMEPAGE ===== */
.eqx-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(14, 16, 15, 0.25) 0%, rgba(14, 16, 15, 0.6) 65%, rgba(14, 16, 15, 0.95) 100%);
  z-index: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: url('../../assets/hero-apidura-bg.jpg') no-repeat center center/cover;
  opacity: 0.85;
  filter: contrast(1.1) brightness(0.85) saturate(0.95);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.2s ease-out;
}

.hero-fog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(to bottom, rgba(18, 20, 19, 0) 0%, rgba(18, 20, 19, 0.65) 60%, rgba(18, 20, 19, 0.98) 100%);
  pointer-events: none;
  z-index: 0;
}

.eqx-logo-3d {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  max-width: 22ch;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-transform: none;
  margin-bottom: 32px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 2;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-top: 10px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.hero-scroll-indicator svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ===== SCENIC CONTINUOUS FLOW WRAPPER (Hex, Locations, Mission) ===== */
.eqx-scenic-flow {
  position: relative;
  z-index: 2;
  background: #0f1110;
  overflow: hidden;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.85);
}

.eqx-scenic-flow .scenic-backdrop {
  position: absolute;
  inset: 0;
  background: url('../../assets/hero-apidura-bg.jpg') no-repeat center top / cover;
  opacity: 0.45;
  filter: contrast(1.1) brightness(0.9) saturate(0.95);
  pointer-events: none;
  z-index: 0;
}

.eqx-scenic-flow .scenic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 16, 15, 0.3) 0%,
    rgba(14, 16, 15, 0.55) 35%,
    rgba(14, 16, 15, 0.72) 70%,
    rgba(14, 16, 15, 0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* SECTION 1: Interlocking Honeycomb Grid */
.hex-section {
  position: relative;
  min-height: 100vh;
  padding: 100px 20px 140px;
  background: transparent;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hex-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  height: 650px;
  max-width: 95vw;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Interlocking Grid Rows */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hex-row.offset-row {
  margin-top: -65px; /* Creates the honeycomb overlap */
}

/* Individual Hexagon Card */
.hex-card {
  position: relative;
  width: 270px;
  height: 312px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(26, 29, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
  transition: transform var(--transition-bounce), filter var(--transition-smooth);
}

/* 6-Sided Luminous Glass Border Outline */
.hex-card::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.28) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  transition: background var(--transition-smooth), opacity var(--transition-smooth);
}

.hex-card-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(60%) brightness(0.68) contrast(1.18);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter var(--transition-smooth);
  z-index: 1;
}

.hex-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 18, 17, 0.2) 0%, rgba(16, 18, 17, 0.72) 100%);
  z-index: 2;
}

.hex-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.hex-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--eqx-text-light);
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  transition: color var(--transition-smooth), text-shadow var(--transition-smooth);
}

.hex-cta-btn {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--eqx-text-light);
  padding: 8px 18px;
  border: 1px solid var(--eqx-border-light);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

/* Hover States */
.hex-card:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  z-index: 10;
}

.hex-card:hover::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
}

.hex-card:hover .hex-card-bg {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.78) contrast(1.1);
}

.hex-card:hover .hex-title {
  color: var(--eqx-accent);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.hex-card:hover .hex-cta-btn {
  background: var(--eqx-text-light);
  color: var(--eqx-dark-bg);
  border-color: var(--eqx-text-light);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* SECTION 2: Dual Core Hubs (Locations) */
.locations-section {
  position: relative;
  min-height: 80vh;
  padding: 100px 40px;
  background: transparent;
  border: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.locations-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.locations-globe {
  max-width: 420px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--eqx-border-light);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  animation: slowGlobeFloat 8s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.locations-globe:hover {
  transform: scale(1.03) rotate(2deg);
}

@keyframes slowGlobeFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.locations-content {
  text-align: left;
}

.locations-badge {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--eqx-accent);
  margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(195, 181, 159, 0.4);
}

.locations-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.locations-title span {
  font-weight: 400;
  color: var(--eqx-accent);
}

.locations-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hubs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hub-item {
  display: flex;
  gap: 16px;
}

.hub-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.hub-item.europe .hub-icon-dot {
  background: var(--eqx-accent); /* warm gold split color */
  box-shadow: 0 0 10px rgba(195, 181, 159, 0.8);
}

.hub-item.hsv .hub-icon-dot {
  background: #5ea8d3; /* cool blue split color */
  box-shadow: 0 0 10px rgba(94, 168, 211, 0.8);
}

.hub-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--eqx-text-light);
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hub-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 992px) {
  .locations-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .locations-content {
    text-align: center;
  }
  .hub-item {
    text-align: left;
  }
}

/* SECTION 3: The EQX Mission */
.mission-section {
  position: relative;
  min-height: 70vh;
  padding: 120px 20px 160px;
  background: transparent;
  border: none;
  z-index: 2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-container {
  max-width: 850px;
  margin: 0 auto;
}

.mission-badge {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--eqx-accent);
  margin-bottom: 28px;
  text-shadow: 0 0 12px rgba(195, 181, 159, 0.4);
}

.mission-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 200;
  line-height: 1.6;
  color: var(--eqx-text-light);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.mission-text span {
  font-weight: 400;
  color: var(--eqx-accent);
}

/* Founders list */
.founders-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eqx-accent);
  margin: 50px 0 24px;
  text-shadow: 0 0 10px rgba(195, 181, 159, 0.35);
}

.founders-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(20, 22, 21, 0.6);
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--eqx-border-light);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--eqx-accent);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.founder-info {
  text-align: left;
}

.founder-name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--eqx-text-light);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.founder-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

