/* =====================================================
   Lexa Pets — Landing styles
   ===================================================== */

:root {
  --orange: #ff6b3d;
  --orange-dark: #e55528;
  --orange-soft: #fff1eb;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #7a7a7a;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --border: #ececec;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(255,107,61,0.15), 0 30px 60px rgba(0,0,0,0.10);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --maxw: 1140px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--maxw-narrow); }

.text-center { text-align: center; }
.hidden { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 14px rgba(255,107,61,0.35);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,107,61,0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--small {
  padding: 9px 16px;
  font-size: 14px;
  background: var(--ink);
  color: white;
}
.btn--small:hover { background: var(--orange); }
.btn--block { width: 100%; padding: 16px 24px; font-size: 16px; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.brand__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--orange-soft) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.badge {
  display: inline-block;
  background: white;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--ink);
}
.accent { color: var(--orange); }

.hero__subtitle {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 560px;
}
.perk {
  text-align: left;
}
.perk strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.01em;
}
.perk span {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.3;
}

/* Hero visual: stylized phone with map */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #1a1a1a;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ffe8dc 0%, #ffd6c0 50%, #ffc4a8 100%);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.map {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 25%, #fff 0%, transparent 1.5%),
    radial-gradient(circle at 60% 65%, #fff 0%, transparent 1.5%),
    radial-gradient(circle at 80% 30%, #fff 0%, transparent 1.5%),
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.4) 52%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.3) 48%, rgba(255,255,255,0.3) 52%, transparent 52%);
  background-size: auto, auto, auto, 60px 60px, 90px 90px;
}
.map__path {
  position: absolute;
  top: 38%; left: 22%;
  width: 56%; height: 24%;
  border: 3px dashed var(--orange);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  opacity: 0.7;
}
.map__pin {
  position: absolute;
  top: 42%; left: 48%;
  width: 28px; height: 28px;
  background: var(--orange);
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(255,107,61,0.5);
  z-index: 3;
}
.map__pulse {
  position: absolute;
  top: 42%; left: 48%;
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

.phone__card {
  position: absolute;
  bottom: 24px; left: 16px; right: 16px;
  background: white;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.phone__avatar {
  width: 44px; height: 44px;
  background: var(--orange-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.phone__info { flex: 1; min-width: 0; }
.phone__info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.phone__info span {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
}
.phone__battery {
  font-size: 13px;
  font-weight: 700;
  color: #2bb673;
  flex-shrink: 0;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  .section { padding: 96px 0; }
}
.section--soft { background: var(--bg-soft); }

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section__lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 48px;
}
.text-center .section__lead { margin-left: auto; margin-right: auto; }

/* =====================================================
   PROBLEM / STATS
   ===================================================== */
.problem { text-align: center; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
}
.stat {
  background: white;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat__number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 14px;
  color: var(--ink-soft);
}

/* =====================================================
   STEPS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.step {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step__number {
  width: 44px; height: 44px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}
.step__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step__desc {
  font-size: 15px;
  color: var(--ink-soft);
}

/* =====================================================
   FEATURES
   ===================================================== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.feature {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  font-size: 32px;
  margin-bottom: 14px;
  width: 56px; height: 56px;
  background: var(--orange-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* =====================================================
   WAITLIST
   ===================================================== */
.waitlist {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a5c 100%);
  color: white;
}
.waitlist__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: white;
  color: var(--ink);
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
@media (min-width: 700px) {
  .waitlist__card { padding: 56px 56px; }
}
.waitlist__title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.waitlist__desc {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.waitlist__small {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 14px;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.field input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease;
}
.field input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}
.field--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.field--otro {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .25s ease, opacity .25s ease, margin .25s ease;
  margin: 0;
}
.field--otro.is-visible {
  max-height: 80px;
  opacity: 1;
}
.field--otro input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease;
}
.field--otro input:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}
.radio {
  flex: 1;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
}
.radio input { display: none; }
.radio:has(input:checked) {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: var(--orange-dark);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--orange);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__brand .brand__logo {
  width: 40px; height: 40px;
  margin-bottom: 4px;
}
.footer__brand strong {
  color: white;
  font-size: 18px;
  font-weight: 800;
}
.footer__brand p {
  color: #999;
  font-size: 14px;
  max-width: 320px;
}
.footer__links h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer__links a {
  display: block;
  color: #cfcfcf;
  padding: 4px 0;
  font-size: 14px;
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--orange); }

.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  text-align: center;
  color: #777;
  font-size: 13px;
}
