/* Cat Breed ID: Scanner & Guide — Landing Page Styles */
:root {
  --teal: #2A9D8F;
  --teal-light: #59C7B8;
  --teal-dark: #1A7068;
  --cream: #FFFAF0;
  --cream-card: #FFF8EB;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #666;
  --shadow: 0 4px 24px rgba(42,157,143,0.12);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,250,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42,157,143,0.1);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-dark);
  font-weight: 700; font-size: 1.1rem;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

/* Hero */
.hero {
  padding: 120px 1.5rem 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, #e8f6f3 100%);
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-icon {
  width: 120px; height: 120px; border-radius: 28px;
  box-shadow: 0 8px 32px rgba(42,157,143,0.25);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 0.75rem;
}
.hero h1 span { color: var(--teal); }
.hero .tagline {
  font-size: 1.25rem; color: var(--text-light);
  max-width: 520px; margin: 0 auto 2rem;
}
.app-store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 14px 32px; border-radius: 12px;
  font-size: 1.05rem; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.app-store-btn svg { width: 24px; height: 24px; }

/* Phone mockup */
.phone-mockup {
  margin: 3rem auto 0; max-width: 280px;
  background: #111; border-radius: 36px; padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.phone-screen {
  width: 100%; aspect-ratio: 9/19.5;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, #7eddd2 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500;
}

/* Sections */
section { padding: 80px 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center; color: var(--text-light);
  font-size: 1.1rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Feature grid */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(42,157,143,0.18);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* Pricing */
.pricing { background: #fff; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 960px; margin: 0 auto;
}
.price-card {
  border: 2px solid #e8e8e8; border-radius: var(--radius); padding: 2rem;
  text-align: center; position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.price-card.popular {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(42,157,143,0.15);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-card h3 { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 0.75rem; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); }
.price-period { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.5rem; }
.price-note { font-size: 0.85rem; color: var(--teal); font-weight: 500; }

/* Footer */
.footer {
  background: var(--text-dark); color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem; text-align: center; font-size: 0.9rem;
}
.footer-links { list-style: none; display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }

/* Scroll animations */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Page styles (Privacy, FAQ) */
.page-header {
  padding: 100px 1.5rem 40px;
  background: linear-gradient(180deg, var(--cream) 0%, #e8f6f3 100%);
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); }
.page-content {
  max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem;
}
.page-content h2 {
  font-size: 1.4rem; font-weight: 700; color: var(--text-dark);
  margin: 2.5rem 0 0.75rem; padding-top: 1rem;
  border-top: 1px solid rgba(42,157,143,0.12);
}
.page-content h2:first-of-type { border-top: none; margin-top: 0; }
.page-content p, .page-content li {
  color: var(--text-mid); font-size: 1rem; line-height: 1.75;
}
.page-content ul { padding-left: 1.5rem; margin: 0.75rem 0; }
.page-content li { margin-bottom: 0.4rem; }

/* FAQ accordion */
.faq-item {
  background: #fff; border-radius: var(--radius); margin-bottom: 1rem;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; text-align: left;
  font-size: 1.05rem; font-weight: 600; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-q:hover { color: var(--teal); }
.faq-q::after {
  content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--teal);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-mid); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.05rem; }
  .nav-links { display: none; }
  .phone-mockup { max-width: 220px; }
  section { padding: 60px 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
