/* Design System */
:root {
  --primary-orange: #f97316;
  --dark-orange: #ea580c;
  --primary-blue: #2563eb;
  --dark-blue: #1e40af;
  --navy: #0f172a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-900: #0f172a;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.mobile-ctas {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.cta-group {
  display: flex;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 1001;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--dark-orange);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gray-200);
  color: var(--gray-900);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--navy);
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.store-badge {
  height: 60px;
  transition: transform 0.2s;
}

.store-badge:hover {
  transform: scale(1.05);
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 12px solid #1e293b;
}

/* Common Typography */
.section-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 600px;
}

.highlight {
  color: var(--primary-orange);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Service Icons Row */
.service-badges {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
  color: var(--primary-blue);
}

/* Services Cards */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 40px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card .icon-img {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
  display: block;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
  color: var(--primary-orange);
}

/* Super Rewards */
.rewards-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  border-radius: 48px;
  margin: 40px 1.5rem;
  padding: 80px 60px;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  justify-items: center;
}

.reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 400px;
}

.reward-icon {
  font-size: 3rem;
}

/* Driver Section */
.driver-section {
  background: #fff7ed;
}

.driver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.driver-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.commission-badge {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 1024px) {
  section {
    padding: 60px 0;
  }

  .hero-grid,
  .driver-grid,
  .rewards-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    justify-items: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .rewards-section {
    padding: 60px 40px;
    margin: 20px 1rem;
    margin-left: 0;
    margin-right: 0;
    border-radius: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .legal-container {
    padding: 30px 20px;
    margin: 20px 0;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
  }

  .mobile-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-group {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    width: 100%;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .hero-visual .phone-mockup {
    max-width: 240px;
  }

  .service-badges {
    gap: 16px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .trust-pillars {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

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

  .hero-cta img {
    height: 50px !important;
  }

  .rewards-section {
    padding: 40px 20px;
    margin: 10px 0.5rem;
    border-radius: 24px;
  }

  .reward-content h2 {
    font-size: 2rem !important;
  }

  .driver-content h2 {
    font-size: 2.2rem !important;
  }

  .service-card {
    padding: 30px 20px;
  }
}