@import url("common.css");

.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.app-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #000;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 300px;
  max-height: 400px;
}

.section {
  padding: 5rem 2rem;
}

.section-alt {
  background-color: var(--background-alt);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 100%;
  height: 160px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.service-provider .feature-icon {
  background-color: var(--primary);
}

.driver .feature-icon {
  background-color: var(--secondary);
}

.customer .feature-icon {
  background-color: var(--accent);
}

.feature-content {
  padding: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-desc {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.requirements-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.requirements-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.requirements-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient) 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background-color: white;
  color: var(--primary);
  border: none;
}

.btn-white:hover {
  background-color: #f0f0f0;
}

/* Terms page */
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.terms-header {
  margin-bottom: 3rem;
}

.terms-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.tab-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.tab-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.tab-content ul li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

@media (max-width: 768px) {

  .hero-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }

  .app-badges {
    justify-content: center;
  }
}