/* DogCare+ landing — design tokens match apps/mobile + apps/admin */

:root {
  --primary: #4da6ff;
  --secondary: #5ed3b3;
  --accent: #ff7d6b;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --text: #1a1d26;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 28px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Heebo', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[dir='ltr'] {
  font-family: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- container ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.85);
  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;
  padding: var(--s-4) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 720px) {
  .nav-links a:not(.lang-toggle) {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  border-radius: var(--r-md);
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform 80ms, opacity 120ms, box-shadow 120ms;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  text-decoration: none;
  background: #ebf5ff;
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero {
  padding: var(--s-9) 0 var(--s-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 0%,
      rgba(77, 166, 255, 0.12),
      transparent 50%
    ),
    radial-gradient(circle at 80% 100%, rgba(94, 211, 179, 0.12), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-emoji {
  font-size: 80px;
  margin-bottom: var(--s-4);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto var(--s-5);
}

.hero-cta {
  display: inline-flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  margin-top: var(--s-5);
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta span::before {
  content: '✓';
  color: var(--success);
  margin-inline-end: 4px;
}

/* ---------- section title ---------- */
.section {
  padding: var(--s-9) 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--s-3);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 var(--s-6);
  max-width: 640px;
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
}

.pillar {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  font-size: 36px;
  margin-bottom: var(--s-3);
}

.pillar h3 {
  margin: 0 0 var(--s-2);
  font-size: 18px;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}

.feature {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform 120ms, box-shadow 120ms;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: #ebf5ff;
  font-size: 28px;
  margin-bottom: var(--s-4);
}

.feature h3 {
  margin: 0 0 var(--s-2);
  font-size: 20px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
  counter-reset: step;
}

.step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  inset-inline-start: var(--s-5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.step h3 {
  margin: var(--s-3) 0 var(--s-2);
  font-size: 20px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- privacy callout ---------- */
.callout {
  background: linear-gradient(135deg, #1a1d26 0%, #2a2f3e 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 720px) {
  .callout {
    grid-template-columns: 1fr 1fr;
  }
}

.callout h2 {
  margin: 0 0 var(--s-3);
  font-size: 28px;
  font-weight: 800;
}

.callout p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--s-4);
}

.callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
}

.callout-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  color: rgba(255, 255, 255, 0.9);
}

.callout-list li::before {
  content: '🔐';
  font-size: 18px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--s-3);
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  transition: border-color 120ms;
}

.faq details[open] {
  border-color: var(--primary);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 200ms;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: var(--s-3) 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- waitlist ---------- */
.waitlist {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.waitlist h2 {
  margin: 0 0 var(--s-3);
  font-size: 28px;
}

.waitlist p {
  color: var(--muted);
  margin: 0 0 var(--s-5);
}

.waitlist-form {
  display: flex;
  gap: var(--s-2);
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 120ms;
}

.waitlist-form input:focus {
  border-color: var(--primary);
}

.waitlist-msg {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--success);
  min-height: 20px;
}

@media (max-width: 520px) {
  .waitlist-form {
    flex-direction: column;
  }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--s-7) 0 var(--s-6);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer-links {
  display: flex;
  gap: var(--s-4);
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}
