.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: #f1f5f9;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: #2d3748;
  margin-bottom: 2rem; /* increased spacing */
  line-height: 1.3;
  font-weight: 700;
}

.hero-text p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-subtext {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
  width: 300px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 36px;
  padding: 8px; /* ✅ Restores the bezel */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 27px;
  overflow: hidden;
  position: relative;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 2;
}

.screen-content {
    text-align: center;
    padding: 3rem 2rem;
}

.screen-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.screen-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .phone {
    width: 240px;
  }
}

.screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .screen-image {
    object-fit: cover;
  }
}
