:root {
  --cream: #F5F0E8;
  --cream-deep: #EDE4D3;
  --brown: #8B4513;
  --brown-deep: #5C2D0C;
  --brown-ink: #3B1F0A;
  --gold: #F5C842;
  --terracotta: #FF6B6B;
  --blue: #54A0FF;
  --green: #1DD1A1;
  --white: #FFFFFF;
  --display: 'Baloo 2', sans-serif;
  --body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--brown-ink);
  overflow-x: hidden;
  line-height: 1.5;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--brown-deep); }

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

ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 69, 19, 0.08);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-paw { font-size: 20px; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--brown);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s, background 0.2s;
}

.nav-cta:hover { background: var(--brown-deep); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 60px;
  position: relative;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245, 200, 66, 0.25);
  color: var(--brown-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-highlight {
  color: var(--terracotta);
  position: relative;
}

.hero-sub {
  font-size: 18px;
  color: var(--brown-ink);
  opacity: 0.78;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(139, 69, 19, 0.32); }

.btn-icon { font-size: 18px; }

.btn-ghost {
  background: transparent;
  color: var(--brown-deep);
  border: 2px solid rgba(139, 69, 19, 0.25);
}

.btn-ghost:hover { border-color: var(--brown); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--brown-ink);
  opacity: 0.7;
}

.trust-item strong { color: var(--brown-deep); }

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brown-ink);
  opacity: 0.4;
}

/* ===== SCAN CARD (signature element) ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.scan-card {
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  width: 320px;
  box-shadow: 0 30px 60px -10px rgba(91, 45, 12, 0.22), 0 0 0 6px rgba(245, 200, 66, 0.18);
  position: relative;
}

.scan-photo {
  width: 100%;
  height: 180px;
  background: linear-gradient(145deg, #FBE9C8, #F5C842);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.scan-emoji { font-size: 76px; position: relative; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15)); }

.scan-ring {
  position: absolute;
  width: 220%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.55), transparent);
  top: 50%;
  left: -60%;
  animation: scanSweep 2.6s ease-in-out infinite;
  z-index: 3;
}

@keyframes scanSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 100%; opacity: 1; }
  60% { opacity: 0; }
  100% { top: 0%; opacity: 0; }
}

.scan-results { display: flex; flex-direction: column; gap: 12px; }

.scan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-deep);
  opacity: 0;
  transform: translateY(8px);
  animation: rowIn 0.5s ease forwards;
}

.scan-row[data-delay="1"] { animation-delay: 0.6s; }
.scan-row[data-delay="2"] { animation-delay: 1.1s; }
.scan-row[data-delay="3"] { animation-delay: 1.6s; border-bottom: none; padding-bottom: 0; }

@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}

.scan-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brown-ink);
  opacity: 0.45;
}

.scan-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--brown-deep);
}

.scan-badge {
  background: var(--gold);
  color: var(--brown-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.float-paw {
  position: absolute;
  font-size: 32px;
  opacity: 0.5;
  animation: floaty 5s ease-in-out infinite;
}

.float-paw-1 { top: 5%; right: -4%; animation-delay: 0s; }
.float-paw-2 { bottom: 8%; left: -8%; animation-delay: 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}

/* ===== LOGOS ===== */
.logos {
  text-align: center;
  padding: 40px 24px;
}

.logos p {
  font-size: 14px;
  color: var(--brown-ink);
  opacity: 0.55;
  margin-bottom: 18px;
  font-weight: 500;
}

.logos-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 30px;
  opacity: 0.85;
}

/* ===== SECTION HEAD ===== */
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-head h2 { font-size: 36px; }

/* ===== HOW IT WORKS ===== */
.how { padding: 80px 24px; max-width: 1180px; margin: 0 auto; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 4px 18px rgba(91, 45, 12, 0.06);
  transition: transform 0.2s;
}

.how-card:hover { transform: translateY(-4px); }

.how-card-accent {
  background: var(--white);
}

.how-card-accent h3 { color: var(--white); }
.how-card-accent p { color: var(--white); opacity: 0.92; }

.how-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.how-card h3 { font-size: 20px; margin-bottom: 10px; }

.how-card p { font-size: 15px; color: var(--brown-ink); opacity: 0.75; }

/* ===== FEATURE SPLIT (lost pet) ===== */
.feature-split {
  background: var(--cream-deep);
  padding: 90px 24px;
}

.feature-split-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.feature-visual { display: flex; justify-content: center; }

.lost-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  width: 300px;
  box-shadow: 0 24px 50px -10px rgba(91, 45, 12, 0.18);
  border: 3px solid var(--terracotta);
}

.lost-badge {
  background: rgba(255, 107, 107, 0.12);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 20px;
}

.lost-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-deep);
  color: var(--brown-ink);
  opacity: 0.85;
}

.lost-row strong { color: var(--brown-deep); }

.lost-email {
  margin-top: 16px;
  background: rgba(29, 209, 161, 0.12);
  color: #149A77;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
}

.feature-copy h2 { font-size: 34px; margin: 10px 0 18px; }

.feature-copy p { font-size: 16px; opacity: 0.78; margin-bottom: 22px; max-width: 460px; }

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-deep);
}

.feature-list li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  font-size: 14px;
}

/* ===== PREMIUM ===== */
.premium { padding: 90px 24px; display: flex; justify-content: center; }

.premium-card {
  position: relative;
  background: var(--brown-deep);
  border-radius: 32px;
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(91, 45, 12, 0.4);
}

.premium-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.35), transparent 70%);
}

.premium-content {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
  text-align: center;
}

.premium-crown { font-size: 40px; margin-bottom: 12px; }

.premium-content h2 { color: var(--cream); font-size: 28px; margin-bottom: 16px; }

.premium-price { margin-bottom: 6px; }

.premium-amount { font-size: 52px; font-weight: 800; color: var(--gold); font-family: var(--display); }

.premium-period { font-size: 18px; color: var(--cream); opacity: 0.7; }

.premium-sub { color: var(--cream); opacity: 0.6; font-size: 14px; margin-bottom: 28px; }

.premium-list {
  text-align: left;
  margin-bottom: 32px;
  display: inline-block;
}

.premium-list li {
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  background: var(--gold);
  color: var(--brown-deep);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-premium {
  background: var(--gold);
  color: var(--brown-deep);
  padding: 16px 0;
  width: 100%;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(245, 200, 66, 0.3);
}

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

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; padding: 90px 24px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--brown-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--terracotta);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--brown-ink);
  opacity: 0.75;
  line-height: 1.6;
}

/* ===== CTA FINAL ===== */
.cta-final {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--cream), var(--cream-deep));
}

.cta-final h2 { font-size: 38px; margin-bottom: 36px; }

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--brown-deep);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 16px;
  transition: transform 0.15s;
}

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

.store-icon { font-size: 26px; }

.store-text { display: flex; flex-direction: column; text-align: left; }

.store-text small { font-size: 11px; opacity: 0.7; }

.store-text strong { font-size: 16px; font-family: var(--display); }

/* ===== FOOTER ===== */
.footer { padding: 50px 24px 36px; text-align: center; }

.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.footer-tagline { font-size: 14px; opacity: 0.6; margin-bottom: 18px; }

.footer-copy { font-size: 12px; opacity: 0.45; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-visual { order: -1; }
  .scan-card { width: 100%; max-width: 340px; }
  .how-grid { grid-template-columns: 1fr; }
  .feature-split-inner { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
  .section-head h2 { font-size: 28px; }
  .cta-final h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-ring, .float-paw, .scan-row { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ===== LANGUAGE TOGGLE ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  color: var(--brown-deep);
  background: transparent;
  border: 1.5px solid var(--brown-deep);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle:hover {
  background: var(--brown-deep);
  color: var(--white);
}
