:root {
  --bg: #F4F5F2;
  --surface: #EDEEEA;
  --text: #16181A;
  --muted: #767B80;
  --border: #E7E8E6;
  --accent: #3DA35D;
  --accent-dark: #2E7D46;
  --dark: #16181A;
  --radius: 16px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Manrope', Inter, system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
.nav {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrap { display: inline-flex; align-items: center; }
.logo-img { height: 32px; width: auto; display: block; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.nav-actions a {
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  font-weight: 500;
}

.login {
  color: var(--text);
}

.signup {
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.signup:hover {
  background: #000;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
}

.containerPadding {
  padding-left: 32px;
}
/* HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px 80px 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(61,163,93,0.12),
      rgba(0,0,0,0.05)
    ),
    url("../assets/deliveryMan.jpg");

  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
  margin-bottom: 30px;
}

/* Primary Button */
.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  box-shadow: 0 0 0 rgba(61,163,93,0);
}

.btn-primary:hover {
  background: #000;
  box-shadow: 0 0 20px rgba(61,163,93,0.35);
}

/* Accent Underline Highlight */
.highlight {
  color: var(--accent);
}

/* SECTIONS */
.section {
  border-top: 1px solid var(--border);
}

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

/* Dark Support Section */
.section.dark {
  background: var(--dark);
  color: #fff;
  border-top: none;
}

.section.dark .muted {
  color: #aaa;
}

.section.dark .btn-primary {
  background: var(--accent);
  color: #111;
}

.section.dark .btn-primary:hover {
  background: var(--accent-dark);
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

/* CARD */
.card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: 0.3s ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 35px rgba(61,163,93,0.15);
}

/* LIST */
.feature-list {
  margin-top: 20px;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* PRICING */
.pricing {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.price-card {
  background: #fff;
  padding: 30px 40px;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: 0.3s ease;
}

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 40px rgba(61,163,93,0.2);
}

.price {
  font-size: 30px;
  font-weight: 800;
  margin-top: 10px;
  color: var(--accent);
}

/* FAQ */
.faq-item {
  margin-top: 20px;
}

.faq-item h4 {
  margin-bottom: 6px;
  font-weight: 600;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 32px;
  }

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

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

}

/* ================================
   HERO — eyebrow + two-button row (layout borrowed from reference)
================================ */

.hero-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 14px 30px 14px 24px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ================================
   FEATURE CARDS — horizontal scroll, nav grouped top-right
================================ */

.carousel-wrap {
  position: relative;
  margin-top: 48px;
  text-align: left;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 24px 20px;
}

.carousel-card-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: var(--accent-dark);
}
.carousel-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.carousel-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.carousel-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* both arrows grouped together, floating over the right edge of the row */
.carousel-nav {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  background: var(--dark);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--accent);
  color: #16181A;
}

@media (max-width: 640px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-secondary, .btn-primary { text-align: center; }
  .carousel-card { flex-basis: 210px; }
  .carousel-nav { display: none; } /* mobile: swipe instead of tap-to-scroll */
}

/* ================================
   CONTACT — last section of the page
================================ */

.contact {
  padding: 60px 20px 70px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact p {
  margin: 6px 0;
  font-size: 14px;
}

.contact .muted {
  color: var(--muted);
}

.contact a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact a:hover {
  color: var(--accent-dark);
}

.contact-icon {
  margin-right: 4px;
}
