/* ------------------------------------------------------------------
 * Woofit landing page
 * Same palette as the mobile app: ink #0E0F0C · cream #F4F1EA · gold #C8893B
 * Dark, premium, conversion-optimized.
 * ------------------------------------------------------------------ */

:root {
  --ink: #0E0F0C;
  --ink-soft: #161614;
  --ink-deep: #080807;
  --cream: #F4F1EA;
  --cream-soft: #D8D3C5;
  --gold: #C8893B;
  --gold-soft: #E6B26B;
  --gold-deep: #8A5A1F;
  --card: #16170F;
  --card-2: #1C1D14;
  --border: #2A2B22;
  --border-soft: #1F2018;
  --muted: #A3A095;
  --muted-soft: #76746A;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 700px at 50% -120px, rgba(200,137,59,0.20), transparent 60%),
    radial-gradient(600px 500px at 90% 100%, rgba(6,182,212,0.06), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-soft); }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; border: none; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(8, 8, 7, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(244,241,234,0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--muted); transition: color .2s ease; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.nav-cta:hover { color: var(--ink) !important; filter: brightness(1.06); }

/* Language switcher (ES / EN pill in the nav) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(244,241,234,0.05);
  border: 1px solid rgba(244,241,234,0.10);
  gap: 2px;
}
.lang-btn {
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  transition: color .2s ease, background .2s ease;
  font-family: inherit;
  cursor: pointer;
}
.lang-btn:hover { color: var(--cream); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .lang-switch { display: inline-flex; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 64px 32px 96px;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 600px at 30% 20%, rgba(200,137,59,0.28), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 24px 72px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,241,234,0.10);
  background: rgba(244,241,234,0.04);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin-bottom: 12px;
}
.waitlist-form input {
  flex: 1;
  height: 54px;
  padding: 0 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--cream);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease;
}
.waitlist-form input::placeholder { color: var(--muted-soft); }
.waitlist-form input:focus { border-color: var(--gold); }
.waitlist-form button {
  height: 54px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  letter-spacing: 0.2px;
  transition: filter .2s ease, transform .12s ease;
  box-shadow: 0 12px 32px -8px rgba(200,137,59,0.55);
  white-space: nowrap;
}
.waitlist-form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form.large input,
.waitlist-form.large button { height: 60px; font-size: 16px; }
@media (max-width: 540px) {
  .waitlist-form { flex-direction: column; }
}
.waitlist-meta {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.waitlist-meta .check { color: var(--gold); }

/* Hero phone mock */
.hero-mock { display: flex; justify-content: center; }
.phone-shell {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(244,241,234,0.06),
    0 60px 100px -30px rgba(0,0,0,0.7),
    0 0 0 14px #15140f;
}
.phone-shell .notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 0%, rgba(200,137,59,0.22), transparent 55%), var(--ink);
  padding: 70px 18px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.hero-logo {
  filter: drop-shadow(0 0 24px rgba(200,137,59,0.4));
}
.hero-logo .paw { opacity: 0; animation: pawFade 0.6s ease-out 0.3s forwards; }
#pulse {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: drawPulse 1.2s ease-out 0.5s forwards, breathePulse 1.8s ease-in-out 1.7s infinite;
}
@keyframes pawFade { to { opacity: 1; } }
@keyframes drawPulse { to { stroke-dashoffset: 0; } }
@keyframes breathePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.78; } }
.hero-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
}
.hero-card.alt { background: var(--card-2); }
.hero-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}
.hero-card-value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-top: 4px;
  line-height: 1;
}
.hero-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 8px;
}
.hero-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-card-row > span:first-child {
  width: 28px; height: 28px;
  border-radius: 14px;
  background: rgba(245,158,11,0.18);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hero-card-title { font-size: 13px; font-weight: 600; }
.hero-card-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ============== LOGOS / TRUST STRIP ============== */
.logos {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 32px;
  text-align: center;
}
.logos-label {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--cream-soft);
  font-weight: 500;
}

/* ============== SECTION SHELL ============== */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============== FEATURES ============== */
.features { padding: 96px 32px; max-width: var(--max); margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover {
  border-color: rgba(200,137,59,0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 26px;
  background: rgba(200,137,59,0.14);
  border: 1px solid rgba(200,137,59,0.30);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.feature-icon svg { display: block; }
.hero-card-row .warn-dot {
  width: 28px; height: 28px;
  border-radius: 14px;
  background: rgba(245,158,11,0.18);
  color: #F59E0B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============== HOW IT WORKS ============== */
.how { padding: 96px 32px; max-width: var(--max); margin: 0 auto; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}
.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}
.steps h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============== PRICING ============== */
.pricing { padding: 96px 32px; max-width: var(--max); margin: 0 auto; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.highlighted {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200,137,59,0.18), rgba(200,137,59,0.04)), var(--card);
  transform: scale(1.02);
  z-index: 2;
}
@media (max-width: 980px) { .plan-card.highlighted { transform: none; } }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.plan-price .anchor {
  font-size: 18px;
  color: var(--muted-soft);
  text-decoration: line-through;
}
.plan-price .now {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--cream);
}
.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--cream);
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: filter .2s ease, transform .12s ease;
}
.plan-cta:hover { color: var(--ink) !important; filter: brightness(1.06); transform: translateY(-1px); }
.plan-cta.secondary {
  background: var(--card-2);
  color: var(--cream) !important;
  border: 1px solid var(--border);
}
.plan-cta.secondary:hover { color: var(--gold-soft) !important; }
.pricing-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-soft);
  line-height: 1.6;
}

/* ============== TRUST NUMBERS ============== */
.trust {
  padding: 80px 32px;
  background: linear-gradient(180deg, transparent, rgba(200,137,59,0.05), transparent);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }
.trust-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.trust-item p {
  font-size: 15px;
  color: var(--muted);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============== FAQ ============== */
.faq { padding: 96px 32px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(200,137,59,0.35); }
.faq summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.faq details p a { color: var(--gold); text-decoration: underline; }

/* ============== WAITLIST FOOTER CTA ============== */
.waitlist { padding: 96px 32px; }
.waitlist-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(600px 400px at 50% 0%, rgba(200,137,59,0.22), transparent 65%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px 40px;
}
.waitlist-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.waitlist-card p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
}
.waitlist-card .waitlist-form { margin: 0 auto 14px; }

/* ============== FOOTER ============== */
.footer {
  padding: 64px 32px 40px;
  border-top: 1px solid var(--border-soft);
  background: var(--ink-deep);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}
.footer-grid h4 {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-grid a {
  display: block;
  font-size: 14px;
  color: var(--cream);
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-grid a:hover { color: var(--gold); }
.footer-meta {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-soft);
  flex-wrap: wrap;
  gap: 12px;
}
