:root {
  --primary-green: #1ca745;
  --primary-dark: #158235;
  --primary-light: #2ee566;
  --bg-color: #f7ede2; /* Deep off-white to contrast */
  --bg-light: #fdfbf8; /* Clean off-white */
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08); /* slight shadow for depth */
  --border-radius: 16px;
  --font-main: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(28, 167, 69, 0.1);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(28, 167, 69, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
  box-shadow: 0 4px 14px rgba(28, 167, 69, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 167, 69, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background-color: rgba(28, 167, 69, 0.1);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

/* AI Pin Logo Representation */
.logo-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  height: 38px;
  width: 38px;
  border-radius: 50% 50% 50% 0; /* Pin shape */
  transform: rotate(-45deg);
  margin-left: 6px;
  margin-top: -6px; /* Offset to align visually */
  box-shadow: 0 4px 6px rgba(28, 167, 69, 0.2);
}

.logo-pin span {
  transform: rotate(45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(28, 167, 69, 0.08) 0%, rgba(253, 251, 248, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Abstract Shape Animation */
.abstract-shape {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(28, 167, 69, 0.1) 0%, rgba(28, 167, 69, 0.25) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite both alternate;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.5);
}

.ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(28, 167, 69, 0.3);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.car-icon {
  font-size: 5rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
}

.blip {
  background-color: var(--primary-green);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 0 0 rgba(28, 167, 69, 0.5);
  animation: pulse 2.5s infinite;
}

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: var(--white);
  border-radius: 40px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.25rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.feature-card {
  padding: 3rem 2.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border: 1px solid rgba(28, 167, 69, 0.05);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  background-color: var(--white);
  border-color: rgba(28, 167, 69, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: rgba(28, 167, 69, 0.1);
  border-radius: 20px;
  color: var(--primary-green);
}

.feature-card p {
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.content-split {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.content-left {
  flex: 1;
}

.content-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.steps-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(28, 167, 69, 0.3);
}

.step-content {
  padding-top: 0.5rem;
}

.step-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Phone Mockup */
.app-mockup {
  width: 320px;
  height: 650px;
  background-color: var(--white);
  border-radius: 40px;
  border: 12px solid #111;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.mockup-header {
  height: 40px;
  background-color: #111;
  border-radius: 0 0 20px 20px;
  width: 150px;
  margin: 0 auto;
}

.mockup-body {
  height: 100%;
  background-color: #f1f5f9;
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-placeholder {
  flex: 1;
  background: 
    linear-gradient(rgba(241, 245, 249, 0.8), rgba(241, 245, 249, 0.2)),
    url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 L100,50 M50,0 L50,100" stroke="%23cbd5e1" stroke-width="1"/></svg>') calc(50% - 50px) calc(50% - 50px) / 100px 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-pin {
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  z-index: 2;
  box-shadow: 2px -2px 10px rgba(0,0,0,0.2);
}

.map-pin::after {
  content: 'EST';
  transform: rotate(45deg);
  font-size: 10px;
}

.map-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 1;
}

.mockup-card {
  height: 180px;
  background-color: var(--white);
  border-radius: 30px 30px 0 0;
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: auto;
}

.card-btn {
  background-color: var(--primary-green);
  color: white;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 1rem;
}

/* CTA Section */
.cta {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
  border-radius: 50%;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta .btn-white {
  background-color: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-white:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: var(--bg-light);
  padding: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo .logo-text {
  font-size: 1.5rem;
}

.footer-logo .logo-pin {
  height: 30px;
  width: 30px;
  font-size: 0.8rem;
  margin-top: -3px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.copyright {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Animations */
@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(28, 167, 69, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(28, 167, 69, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(28, 167, 69, 0);
  }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-bottom: 4rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .content-split {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 2.5rem; }
  
  .abstract-shape {
    width: 300px;
    height: 300px;
  }
  
  .ring {
    width: 200px;
    height: 200px;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
}
