:root {
  --bg: #050505;
  --bg-elevated: #0f0f0f;
  --bg-card: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --green: #52b788;
  --green-dark: #2d6a4f;
  --green-glow: rgba(82, 183, 136, 0.35);
  --accent: #00cc9a;
  --cyan: #00e5ff;
  --orange: #ff8f00;
  --warning: #f59e0b;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Background effects */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.bg-glow::before {
  width: 520px;
  height: 520px;
  background: var(--green-dark);
  top: -120px;
  right: -80px;
}

.bg-glow::after {
  width: 420px;
  height: 420px;
  background: #1b4332;
  bottom: 10%;
  left: -120px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  box-shadow: 0 8px 32px var(--green-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px var(--green-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  padding: 0.5rem 0;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.25);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.store-badge:hover {
  border-color: rgba(82, 183, 136, 0.4);
  transform: translateY(-2px);
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 320px);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #222, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b4332 0%, #050505 45%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.phone-screen img {
  width: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.phone-screen h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.phone-screen p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.floating-card {
  position: absolute;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.floating-card.safe {
  top: 8%;
  right: -4%;
  border-color: rgba(82, 183, 136, 0.35);
}

.floating-card.toxic {
  bottom: 12%;
  left: -6%;
  border-color: rgba(239, 68, 68, 0.35);
}

.floating-card .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.floating-card.safe .dot { background: var(--green); }
.floating-card.toxic .dot { background: #ef4444; }

/* Sections */
section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(82, 183, 136, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(82, 183, 136, 0.12);
  color: var(--green);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  flex-shrink: 0;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pets-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pet-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.disclaimer {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.disclaimer-icon {
  color: var(--warning);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.disclaimer p {
  color: #e5e5e5;
  font-size: 0.95rem;
}

.cta {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.2), rgba(5, 5, 5, 0.8));
  border: 1px solid rgba(82, 183, 136, 0.2);
  border-radius: var(--radius-lg);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #d4d4d4;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal pages */
.legal-page {
  padding: 4rem 0 5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--green);
}

.legal-page p,
.legal-page li {
  color: #d4d4d4;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--bg-card);
  color: var(--green);
  font-weight: 600;
}

.legal-page .store-badge-legal {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.legal-page .store-badge-legal.apple {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-page .store-badge-legal.google {
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.25);
  color: var(--green);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.legal-nav a {
  font-size: 0.9rem;
  color: var(--green);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.legal-nav a:hover {
  border-color: var(--green);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
