/* ============================================================
   MegaDelivery Landing — Static CSS
   Based on Tailwind CSS theme from the original SPA
   ============================================================ */

/* --- CSS Variables (Theme) --- */
:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 10%);
  --primary: hsl(24, 95%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 17%, 14%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(30, 20%, 96%);
  --muted-foreground: hsl(240, 5%, 46%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(30, 10%, 90%);
  --radius: 0.75rem;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.overflow-hidden {
  overflow: hidden;
}

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* --- Colors --- */
.bg-background { background-color: var(--background); }
.bg-muted { background-color: var(--muted); }
.bg-secondary { background-color: var(--secondary); }
.bg-card { background-color: var(--card); }

.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-muted-fg { color: var(--muted-foreground); }
.text-secondary-fg { color: var(--secondary-foreground); }
.text-secondary-fg-80 { color: rgba(255, 255, 255, 0.8); }
.text-secondary-fg-70 { color: rgba(255, 255, 255, 0.7); }
.text-destructive { color: var(--destructive); }

/* --- Typography --- */
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.shrink-0 { flex-shrink: 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title-sm {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3.5rem;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .section-title,
  .section-title-sm {
    font-size: 3rem;
  }
}

/* --- Icons --- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 2rem; height: 2rem; }
.icon-lg { width: 2.5rem; height: 2.5rem; }
.icon-xl { width: 3.5rem; height: 3.5rem; }
.icon-truck { width: 2.5rem; height: 2.5rem; }

.hidden-mobile { display: none; }
@media (min-width: 768px) {
  .hidden-mobile { display: inline-block; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(234, 120, 23, 0.3);
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(234, 120, 23, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(234, 120, 23, 0.5);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
}

.btn-xl {
  font-size: 1.125rem;
  padding: 1.75rem 2.5rem;
  border-radius: var(--radius);
}

/* --- Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  padding: 6rem 0 8rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  text-align: center;
  overflow: hidden;
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}
.hero-blur-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(80px);
}
.hero-blur-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.hero-blur-2 { width: 500px; height: 500px; bottom: -150px; right: -100px; }

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 120, 23, 0.15);
  border: 1px solid rgba(234, 120, 23, 0.3);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-badge-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-badge-text { font-size: 1.25rem; }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero-wave-svg {
  width: 100%;
  color: var(--background);
  display: block;
}

/* ============================================================
   CALLOUT BOX
   ============================================================ */
.callout-box {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--muted);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}
.callout-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .callout-text { font-size: 1.25rem; }
}

/* ============================================================
   FEATURE CARDS (Why cheaper)
   ============================================================ */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(234, 120, 23, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-wrap .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-text {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* --- Result Box --- */
.result-box {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.result-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.result-text {
  color: var(--secondary-foreground);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.steps-grid {
  position: relative;
}

.step-card-wrap {
  position: relative;
  text-align: center;
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 3rem;
    left: 60%;
    width: 80%;
    border-top: 2px dashed rgba(234, 120, 23, 0.3);
    z-index: 0;
  }
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.step-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--muted-foreground);
}

/* ============================================================
   DELIVERY TIMING
   ============================================================ */
.timing-card {
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.timing-card-fast {
  background: var(--secondary);
  border: 2px solid rgba(234, 120, 23, 0.4);
}

.timing-card-normal {
  background: var(--card);
  border: 1px solid var(--border);
}

.timing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: 0.5rem;
}

.timing-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timing-desc {
  font-size: 1.125rem;
}

/* ============================================================
   SUPPLIERS
   ============================================================ */
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .suppliers-grid { grid-template-columns: repeat(3, 1fr); }
}

.supplier-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.supplier-card:hover {
  border-color: rgba(234, 120, 23, 0.5);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.comparison-header {
  background: var(--secondary);
}

.comparison-cell {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .comparison-cell { padding: 1.5rem; font-size: 1rem; }
}

.comparison-mega-col {
  background: rgba(234, 120, 23, 0.05);
  border-left: 1px solid rgba(234, 120, 23, 0.1);
}

.comparison-header .comparison-mega-col {
  background: rgba(234, 120, 23, 0.1);
  border-left: 1px solid rgba(234, 120, 23, 0.2);
}

/* ============================================================
   ECONOMY SECTION
   ============================================================ */
.economy-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .economy-title { font-size: 2.25rem; }
}

.economy-desc {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.economy-highlight {
  display: inline-block;
  background: rgba(234, 120, 23, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(234, 120, 23, 0.2);
}

.economy-highlight-text {
  font-size: 1.25rem;
  font-weight: 600;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.trust-text {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-stat {
  text-align: center;
}

/* ============================================================
   GUARANTEE CARDS
   ============================================================ */
.guarantee-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}
.guarantee-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.guarantee-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

/* ============================================================
   AUDIENCE CARDS
   ============================================================ */
.audience-card {
  text-align: center;
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.audience-card:hover {
  border-color: rgba(234, 120, 23, 0.5);
}
.audience-emoji {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 1rem;
}
.audience-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-blur {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}
.cta-blur-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(48px);
}
.cta-blur-1 { width: 16rem; height: 16rem; top: 2.5rem; left: 5rem; }
.cta-blur-2 { width: 20rem; height: 20rem; bottom: 2.5rem; right: 5rem; }

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .cta-title { font-size: 3rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.5rem 0;
  background: var(--secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary-foreground);
}
