/* Container */
.eylet-teams-hero {
  width: 100%;
  overflow: hidden;
  padding: 4rem 1rem;
}
/* Animation keyframes */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(var(--final-y, 0)) scale(1);
  }
}
/* Desktop / default */
.hero-phones {
  display: flex;
  justify-content: space-between;
/*  justify-content: end;*/
  align-items: flex-end;
    margin-left:5%;
  gap: 0;
}

.hero-phones .phone {
  display: block;
  height: auto;
  width: 20%;
/*  width: clamp(280px, 28vw, 400px);*/
/*  margin-left: -80px;*/
  opacity: 0;
  animation: slideUpFade 1.5s ease-out forwards;
}

.hero-phones .phone:first-child {
  margin-left: 0;
}

/* Staggered positioning — 1,3,5 lower / 2,4 higher */
.phone-1 { --final-y: 60px; animation-delay: 0.2s; }
.phone-2 { --final-y: 20px; animation-delay: 0.6s; }
.phone-3 { --final-y: 60px; animation-delay: 1s; }
.phone-4 { --final-y: 20px; animation-delay: 1.4s; }
.phone-5 { --final-y: 60px; animation-delay: 1.8s; }

/* MOBILE: show 3 complete phones, no overlap */


@media (max-width: 768px) {
  .eylet-teams-hero {
    padding: 2rem 0.5rem;
  }

  .hero-phones {
    gap: 0px;
    margin-left: 23px;
  }

  /* Only first 3 phones */
  .phone-4,
  .phone-5 {
    display: none !important;
  }

  /* Fit 3 across perfectly — scaled up */
  .hero-phones .phone {
    margin-left: 0 !important;
    flex: 0 0 calc((100% - 2 * 6px) / 3);
    max-width: calc((100% - 2 * 6px) / 3);
    width: calc((100% - 2 * 6px) / 3);
    height: auto;
  }

  /* Subtle zig-zag without clipping */
  .phone-1 { --final-y: 24px; animation-delay: 0.2s; }
  .phone-2 { --final-y: 12px; animation-delay: 0.6s; }
  .phone-3 { --final-y: 24px; animation-delay: 1s; }
}



  /* === Eylet Teams ===================================================== */
.teams-hero {
  position: relative;
  background: #fff;
  padding: 10px 0 40px;
}

.teams-hero-inner {
  text-align: center;
  max-width: 1000px;
}

.teams-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.teams-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  margin-top: 8px;
  color: #2e2e30;
}

.teams-desc {
  color: #6e6e73;
  margin: 6px 0 18px;
}

.teams-cta { margin-bottom: 28px; }
.teams-cta .btn { min-width: 220px; }

/* Feature grid */
.teams-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 48px; /* 👈 extra space before the split section */
}

.teams-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px; /* more breathing room under the heading */
}

.teams-hero p {
  font-size: 1.1rem;
  color: #6e6e73;
  margin-bottom: 28px; /* more space before the button */
}
.teams-dashboard-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.feature {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 28px 18px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature:hover {
  background-color: #e5f2ff;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.feature img {
  width: 66px;
  height: 66px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: grayscale(100%);
}

.feature h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1d1d1f;
}

.feature p {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.4;
}


/* Split section – full-bleed background, centered content */
.teams-split {
  background: #f5f5f7;
  padding: 64px 0;
  width: 100%;
}

.teams-split .split-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;   /* keeps content readable */
  margin: 0 auto;      /* centers inside full-bleed bg */
  padding: 0 24px;     /* edge padding */
}

.mockup-placeholder {
  height: 360px;
  border-radius: 20px;
  background: linear-gradient(135deg,#ececf0,#fafafa);
  border: 1px solid rgba(0,0,0,0.06);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #8a8a8f;
}

/* Copy */
.split-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 8px;
}

.split-copy p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.55;
}
.teams-split .split-media {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
}
/* Final CTA */
.teams-cta-final {
  padding: 72px 0 80px;
  text-align: center;
  background: #fff;
}

.teams-cta-final h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 6px;
}

.teams-cta-final p {
  color: #6e6e73;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .teams-features { grid-template-columns: repeat(3, 1fr); }
  .teams-split .split-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .teams-features { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 18px 12px; }
}

@media (max-width: 440px) {
  .teams-features { grid-template-columns: repeat(1, 1fr); }
}
