/* =========================
   HERO SECTION
   ========================= */

#hero {
  position: relative;
  overflow: hidden;
  padding-top: 180px;
  padding-bottom: 120px;

  /* background image */
  background: url("../assets/images/backgrounds/hero_bg.png") center / cover no-repeat;
}


/* overlay for readability */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

#hero::after {
  width: 400px;
  height: 400px;
  background: rgba(16, 183, 201, 0.18);
  bottom: -120px;
  right: -120px;
}

/* Layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Left content */
.hero-content {
  padding-left: 40px;

  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Right side (mockup placeholder) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   PHONE SCREENSHOT
   ========================= */

.phone-frame {
  position: relative;
  width: 250px;
}

/* image inside */
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* HERO TEXT SHADOW */

.hero-content h1,
.hero-content p,
.hero-eyebrow {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400; /* default = normal */
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

/* each line stacked cleanly */
.hero-title .line {
  display: block;
}

/* bold words */
.hero-title .bold {
  font-weight: 800;
}

/* highlighted brand word */
.hero-title .highlight {
  font-weight: 800;
  color: var(--primary);

}

/* =========================
   SECTION HEADING
   ========================= */

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   FEATURES
   ========================= */

#features {
  position: relative;
  background: var(--bg)
}

.text-accent {
  color: var(--primary);
}

.section-features {
  padding: 25px 0 10px;
}


.section-why {
  padding: 110px 0;
  background: var(--bg)

}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.why-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(38, 212, 255, 0),
    rgba(38, 212, 255, 0.55),
    rgba(38, 212, 255, 0)
  );
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 212, 255, 0.24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.why-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(38, 212, 255, 0.1);
  border: 1px solid rgba(38, 212, 255, 0.22);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.why-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  color: #ffffff;
}

.why-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 900px) {
  .section-why {
    padding: 84px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .why-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .why-card h3 {
    font-size: 1.2rem;
  }

  .why-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }
}

#cta {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 30px;
  }
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .feature-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .feature-content p {
    margin: 0 auto;
  }

  .feature-phone-shot {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    padding-left: 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-content p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  #hero {
    padding-top: 120px;
    padding-bottom: 90px;
  }

  

  
}