/* Hero Section */
.hero {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    /*padding: 6rem 5% 2rem;*/
    position: relative;
    background: url('/assets/images/index_hero_bg.svg') no-repeat center center;
    background-size: cover;
}

.hero-minus-bar {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
    line-height: 4rem;
}

.user-selection {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.device-showcase {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.laptop-bg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ----------- video overlay ----------- */
:root {
  --video-top: 17.25%;   /* distance from top edge of laptop image           */
  --video-width: 68%;/* video width as % of laptop image’s width         */
}

.video-wrapper{
  position: absolute;
  top: var(--video-top);
  left: 50%;
  width: var(--video-width);
  transform: translateX(-50%);  
  pointer-events: auto;         
}

/* keeps 16-by-9 aspect ratio at any size */
.video-aspect{
  position: relative;
  width: 100%;
  padding-top: 62.55%;          /* 1251 ÷ 2000 × 100 */
}

.video-aspect iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0px;           
}

/* --- Why‑choose‑us section --------------------------------------- */
.why-choose {
  position: relative;
  overflow: hidden;   /* hide gradient overflow */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4rem ;
  background: url('/assets/images/index_hero_bg.svg') no-repeat center center;
}

/* Soft radial gradient “spotlight” behind the cards */



/* Heading */
.why-choose h2 {
  text-align: center;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Grid holding the cards */
.feature-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  /* 1 column on phones, 2 on tablets, 4 on desktops */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Individual card */
.feature-card {
  background: #ffffff;
  border-radius: 1.75rem;   /* big rounded corners */
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.index-screech-tablet {
    padding-top: 10rem;
    padding-bottom: 10rem;
}


@media (max-width: 1220px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {


  .user-selection {
        flex-direction: column;
    }
  .feature-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .index-screech-tablet {
      padding-top: 0rem;
      padding-bottom: 2rem;
  }
  .why-choose {
      padding: 1.5rem 1rem ;
  }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3.5rem;
    }

}
