:root {
  --brand-orange: #e8500f;
  --brand-orange-dark: #cf4308;
  --brand-red: #c41e22;
  --brand-red-dark: #9e1519;
  --brand-amber: #f59e0b;
  --brand-amber-soft: #fff7e6;
  --brand-red-soft: #fef2f2;
  --brand-orange-soft: #fff3ed;
  --bg: #fffaf7;
  --surface: #ffffff;
  --text: #18181b;
  --text-muted: #52525b;
  --border: #f1e4dc;
  --shadow-lg: 0 24px 60px -15px rgba(232, 80, 15, 0.32), 0 8px 20px -6px rgba(24, 24, 27, 0.12);
  --shadow-sm: 0 6px 20px -6px rgba(24, 24, 27, 0.06);
  --radius-xl: 24px;
  --radius-md: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 248, 243, 0.62) 0%, rgba(255, 250, 247, 0.8) 100%),
    url("assets/supermercado-bg.jpg") center / cover no-repeat;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  padding: 18px 0 8px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 34, 0.15);
}

.topbar-note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Main */
main {
  flex: 1;
}

.hero {
  padding: 20px 0 36px;
}

.hero-card {
  background: linear-gradient(165deg, #f05a1a 0%, var(--brand-orange) 48%, #d94609 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 46px 32px 52px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 285px;
  margin: 0 auto 22px;
  padding: 0;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.hero-title {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-title span {
  color: #fef08a;
}

.hero-subtitle {
  margin: 0 auto 34px;
  max-width: 560px;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  color: rgba(255, 255, 255, 0.92);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.5);
  outline-offset: 3px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: #ffffff;
  color: var(--brand-orange-dark);
  border: 2px solid #ffffff;
  box-shadow: 0 12px 26px -6px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: #fff7ed;
  border-color: #fff7ed;
  color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.26);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #18181b;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.22);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Features */
.features {
  padding: 8px 0 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon-red {
  background: var(--brand-red-soft);
  color: var(--brand-red);
}

.feature-icon-amber {
  background: var(--brand-amber-soft);
  color: #d97706;
}

.feature-card h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(228, 228, 231, 0.7);
}

.footer-inner {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-inner p {
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  background: #18181b;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 10px 0 24px;
  }

  .hero-card {
    padding: 30px 20px 32px;
    border-radius: 20px;
  }

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

  .btn {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
    -webkit-tap-highlight-color: transparent;
  }

  .features {
    padding: 4px 0 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 0 6px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-note {
    display: none;
  }

  .logo-wrap {
    max-width: 210px;
    margin-bottom: 18px;
  }

  .brand-logo {
    max-height: 170px;
  }

  .hero-title {
    font-size: 1.55rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    margin-bottom: 24px;
  }

  .footer {
    padding: 16px 0 22px;
  }
}

