/* ============================================
   PET Landing Page — Design System
   Colors: Navy #1e3a5f | Gold #d4920a
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --navy: #1e3a5f;
  --navy-dark: #0f2440;
  --navy-light: #2a4f7a;
  --gold: #d4920a;
  --gold-light: #f0b429;
  --gold-glow: rgba(212, 146, 10, 0.15);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --red: #dc2626;
  --green: #16a34a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { font-size: 1.05rem; color: var(--gray-600); }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 50px; font-weight: 700;
  font-size: 1.05rem; text-decoration: none; border: none;
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark); box-shadow: 0 4px 20px rgba(212,146,10,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,146,10,0.5);
}
.btn-secondary {
  background: transparent; border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-secondary:hover { background: var(--gold-glow); }
.btn-white {
  background: var(--white); color: var(--navy-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Sticky Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 36, 64, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1140px; margin: 0 auto;
}
.nav-logo { font-weight: 800; font-size: 1.3rem; color: var(--white); text-decoration: none; letter-spacing: -0.5px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta .btn { padding: 10px 24px; font-size: 0.9rem; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn { padding: 10px 18px; font-size: 0.82rem; }
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px; background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,146,10,0.08) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,146,10,0.05) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight { color: var(--gold); white-space: nowrap; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 600px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 20px; }
.hero-micro { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 12px; }

/* --- Trust Banner --- */
.trust-banner {
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.trust-items {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px 32px; list-style: none;
}
.trust-items li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.trust-items .icon { font-size: 1.1rem; color: var(--green); }

/* --- Problem Section --- */
.problem { background: var(--white); }
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px; margin-top: 40px;
}
.problem-card {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  background: var(--gray-50); transition: var(--transition);
}
.problem-card:hover { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); transform: translateY(-4px); }
.problem-card .icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(220, 38, 38, 0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.problem-card h3 { margin-bottom: 10px; color: var(--navy); }

/* --- Solution Section --- */
.solution { background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }
.solution-stats {
  display: flex; justify-content: center; gap: 40px;
  margin: 32px 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--gold); display: block; }
.stat-label { font-size: 0.85rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.dimension-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-top: 32px;
}
.dimension-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-200);
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
  transition: var(--transition);
}
.dimension-chip:hover { border-color: var(--gold); background: var(--gold-glow); }
.dimension-chip .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; flex-shrink: 0;
}

/* --- How It Works --- */
.how-it-works { background: var(--navy-dark); color: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 40px; }
.step-card {
  text-align: center; padding: 32px 24px;
  background: rgba(255,255,255,0.04); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06); transition: var(--transition);
}
.step-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(212,146,10,0.3); }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
}
.step-card h3 { color: var(--white); margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* --- Results / Tiers --- */
.results { background: var(--white); }
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.tier-card {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  text-align: center; transition: var(--transition);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card.highlight { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.tier-emoji { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.tier-score { font-size: 0.8rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.tier-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tier-desc { font-size: 0.85rem; color: var(--gray-500); }

/* --- Benefits --- */
.benefits { background: var(--gray-50); }
.benefit-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 64px;
}
.benefit-block:nth-child(even) .benefit-text { order: 2; }
.benefit-block:nth-child(even) .benefit-visual { order: 1; }
.benefit-text h3 { color: var(--navy); margin-bottom: 12px; }
.benefit-text p { margin-bottom: 20px; }
.benefit-visual {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 32px;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; position: relative;
}
.benefit-visual .mock-number {
  font-size: 3rem; font-weight: 900; color: var(--gold);
  text-align: center; line-height: 1.1;
}
.benefit-visual .mock-label { font-size: 0.85rem; color: var(--gray-500); text-align: center; margin-top: 4px; }
@media (max-width: 768px) {
  .benefit-block { grid-template-columns: 1fr; }
  .benefit-block:nth-child(even) .benefit-text { order: 1; }
  .benefit-block:nth-child(even) .benefit-visual { order: 2; }
}

/* --- Social Proof --- */
.social-proof { background: var(--navy-dark); color: var(--white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 40px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px; transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(212,146,10,0.3); }
.testimonial-quote { font-style: italic; color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 16px; line-height: 1.6; }
.testimonial-author { font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* --- Framework --- */
.framework { background: var(--white); }
.framework-content { max-width: 720px; margin: 0 auto; text-align: center; }
.framework-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-glow); border: 1px solid var(--gold);
  color: var(--navy); padding: 8px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem; margin-bottom: 20px;
}

/* --- FAQ --- */
.faq { background: var(--gray-50); }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--white); overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer; font-weight: 700;
  color: var(--navy); font-size: 1rem; background: none; border: none;
  width: 100%; text-align: left; font-family: inherit;
}
.faq-question .chevron { transition: transform 0.3s; font-size: 1.2rem; color: var(--gray-400); }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 18px; font-size: 0.95rem; color: var(--gray-600); display: none; }
.faq-item.open .faq-answer { display: block; }

/* --- Final CTA --- */
.final-cta {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white); text-align: center; padding: 100px 0;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 32px; }

/* --- Footer --- */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  padding: 40px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
  opacity: 0.88;
}
.footer-copy {
  text-align: right;
}
.footer a { color: #475569; text-decoration: none; }
.footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

/* --- Popups --- */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.popup-overlay.active { display: flex; opacity: 1; }
.popup-modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; max-width: 500px; width: 90%;
  box-shadow: var(--shadow-xl); position: relative;
  transform: translateY(20px); transition: transform 0.3s;
}
.popup-overlay.active .popup-modal { transform: translateY(0); }
.popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--gray-100); cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; color: var(--gray-500); transition: var(--transition);
}
.popup-close:hover { background: var(--gray-200); }
.popup-modal h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.3rem; }
.popup-modal p { margin-bottom: 20px; }
.popup-decline { display: block; text-align: center; margin-top: 12px; font-size: 0.85rem; color: var(--gray-400); cursor: pointer; border: none; background: none; font-family: inherit; }
.popup-decline:hover { color: var(--gray-600); }

/* Slide-in popup */
.popup-slidein {
  position: fixed; bottom: 24px; right: 24px; z-index: 1500;
  background: var(--white); border-radius: var(--radius);
  padding: 24px; max-width: 380px; width: calc(100% - 48px);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  transform: translateY(120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: none;
}
.popup-slidein.active { display: block; transform: translateY(0); }
.popup-slidein h4 { color: var(--navy); margin-bottom: 6px; }
.popup-slidein p { font-size: 0.9rem; margin-bottom: 14px; }
.popup-slidein .popup-close { top: 8px; right: 8px; width: 28px; height: 28px; }

/* Gold-bordered popup for extended offer */
.popup-modal.gold-border { border: 2px solid var(--gold); }

/* --- Scroll Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-header .eyebrow {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; display: block;
}
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { font-size: 1rem; }
.social-proof .section-header h2 { color: var(--white); }
.social-proof .section-header .eyebrow { color: var(--gold-light); }
.how-it-works .section-header h2 { color: var(--white); }
.how-it-works .section-header .eyebrow { color: var(--gold-light); }
