/* Life at Zetaopt - Page Specific Styles */

/* ==============================
   Logo Image Support
   ============================== */
.logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: flex;
  align-items: center;
}

.logo-svg {
  width: 28px;
  height: 28px;
}

/* Active nav link */
.active-link {
  color: #fff !important;
}
.active-link::after {
  width: 100% !important;
  background: hsl(275, 100%, 65%) !important;
}

/* Footer contact items */
.contact-items-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==============================
   Life Hero Section
   ============================== */
.life-hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  border-bottom: 1px solid var(--border-color);
}

.life-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.life-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.4) saturate(0.7);
}

.life-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 10, 19, 0.9) 40%,
    rgba(7, 10, 19, 0.3) 100%
  );
}

.life-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.life-eyebrow {
  margin-bottom: 16px;
}

.life-hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
}

.life-hero-subtitle {
  font-size: 1.15rem;
  color: #d1d5db;
  margin-bottom: 48px;
  line-height: 1.7;
}

.life-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.life-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.life-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.life-stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.life-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==============================
   Photo Mosaic Grid
   ============================== */
.life-mosaic-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.mosaic-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.mosaic-item.mosaic-tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

.mosaic-item.mosaic-wide {
  grid-column: span 2;
}

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

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 24px 20px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mosaic-item:hover .mosaic-label {
  opacity: 1;
}

/* ==============================
   Values Grid
   ============================== */
.life-values-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.value-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ==============================
   Split Content Rows
   ============================== */
.life-team-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.life-split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 60px 0;
}

.life-split-block:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.life-split-block.reverse {
  direction: rtl;
}

.life-split-block.reverse > * {
  direction: ltr;
}

.life-split-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  aspect-ratio: 4/3;
}

.life-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.life-split-image:hover img {
  transform: scale(1.03);
}

.life-split-info h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
  margin-top: 12px;
  line-height: 1.2;
}

.life-split-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.life-split-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.life-split-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.life-split-bullets li i {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==============================
   Benefits Grid
   ============================== */
.life-benefits-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  background: var(--bg-card);
  border-color: var(--border-color-glow);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  display: block;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==============================
   Open Roles CTA
   ============================== */
.life-cta-section {
  padding: 100px 0;
}

.life-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.life-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.life-cta-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.12);
  top: -150px;
  right: -100px;
}

.life-cta-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.08);
  bottom: -100px;
  left: -80px;
}

.life-cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.life-cta-content h2 {
  font-size: 2.6rem;
  margin: 12px 0 20px;
  line-height: 1.2;
}

.life-cta-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.life-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.life-cta-teams {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cta-team-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .life-split-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .life-split-block.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .life-hero-title {
    font-size: 2.6rem;
  }
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mosaic-item.mosaic-tall {
    grid-row: auto;
    aspect-ratio: 4/3;
  }
  .mosaic-item.mosaic-wide {
    grid-column: auto;
  }
  .values-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .life-hero-stats {
    gap: 16px;
  }
  .life-stat-divider {
    display: none;
  }
  .life-cta-card {
    padding: 48px 24px;
  }
  .life-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
