/* Reset */
body, h1, p {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1d1d1f;
}


.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.tennis-ball {
  position: relative;
  display: inline-block;
}

.tennis-ball::after {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #c7f464;
  border-radius: 50%;
}


/* Hero Section (unified header + hero) */
.hero {
  display: flex;
  flex-direction: column;
  height: 450px; /* overall height */
  background: #e8763c; /* orange background all the way */
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Header inside hero */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: #fff;
    z-index: 2;
    padding-right: 24px;
    position: absolute;
    width: 100%;
}
.site-header img {
    margin: 20px 30px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
}

.tennis-ball {
  position: relative;
  display: inline-block;
}

.tennis-ball::after {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #c7f464;
  border-radius: 50%;
}

.byline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 30px;
}

/* Hero Content (text + image side by side) */
.hero-content {
  flex: 1;
  display: flex;
}

/* Left Side (text) */
.hero-text {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text .tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.appstore-btn img {
  height: 45px;
}

.requirements {
    font-size: 0.6rem;
}

/* Right Side (image with angled cut) */
.hero-image {
  flex: 1;
  background: url('hero-racket-player.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 160px;
  height: 100%;
  background: #e8763c;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }
  .site-header img {
    margin: 0 10px;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

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

  .hero-image {
    height: 250px;
  }

  .hero-image::before {
    display: none;
  }
}


/* Features Section */
.features {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #ffffff;
}

.features h2 {
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
  font-weight: 700;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  flex: 1;
  max-width: 280px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e6f4ea;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-item p {
  color: #6e6e73;
}

/* Creators Section */
.creators {
  padding: 5rem 2rem;
  text-align: center;
  background-color: #fafafa;
}

.creators h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.creator-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.creator {
  width: 250px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
}

.creator img {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.creator h3 {
  margin-bottom: 0.5rem;
}

.creator p {
  font-size: 0.9rem;
  color: #6e6e73;
}

.creator .email {
    margin-top: 1rem;
}
.creator .email a {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Improve Section */
.improve-section {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.improve-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.improve-section p {
  color: #555;
}

/* Final CTA Section */
.final-cta {
  background-color: #1a2c3d;
  color: #ffffff;
  text-align: center;
  padding: 5rem 2rem;
}

.final-cta .heart-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  fill: #fff;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.final-cta > p {
  max-width: 550px;
  margin: 0 auto 3.5rem;
  opacity: 0.8;
}

.cta-steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  max-width: 280px;
}

.step-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.25rem;
}

.step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.step p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #1a2c3d;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-text {
    flex-basis: auto;
    padding: 3rem 1.5rem;
    text-align: center;
  }
  .hero-text .buttons {
    align-items: center;
  }

  .hero-image {
    flex-basis: 300px; /* Give it a fixed height on small screens */
    width: 100%;
    /* Adjust gradient for vertical layout for mobile */
    background: 
        linear-gradient(to top, #f7a26c 0%, rgba(247, 162, 108, 0) 20%), /* Gradient from orange to transparent from bottom */
        url('hero-racket-player.png') no-repeat center center;
    background-size: cover;
  }

  .features h2, .creators h2, .final-cta h2 {
    font-size: 1.8rem;
  }

  .features-grid, .creator-cards, .cta-steps {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .feature-item, .creator, .step {
    max-width: 90%;
  }
}