/* ─── The Menagerie — Main Stylesheet ─────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --green:       #2D4A3E;
  --green-deep:  #1C2B26;
  --green-light: #3D6355;
  --sage:        #6B8F7E;
  --sage-light:  #A8C4B8;
  --gold:        #C8922A;
  --gold-light:  #E8B84B;
  --bg:          #F9F6F0;
  --cream:       #FFF8ED;
  --white:       #FFFFFF;
  --text:        #1C2B26;
  --text-mid:    #4A6158;
  --text-muted:  #7A9589;
  --border:      #D8E8E0;
  --border-warm: #E8DCC8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm: 0 1px 4px rgba(28,43,38,0.06);
  --shadow-md: 0 4px 16px rgba(28,43,38,0.10);
  --shadow-lg: 0 8px 32px rgba(28,43,38,0.12);

  --max-w: 1100px;
  --nav-h: 68px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  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; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-icon {
  font-size: 24px;
  line-height: 1;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-light);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--green-deep);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200,146,42,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(45,74,62,0.8) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--sage-light);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-animals {
  margin-top: 56px;
  font-size: 40px;
  letter-spacing: 8px;
  opacity: 0.6;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ─── Section scaffolding ────────────────────────────────────────────────── */
.section {
  padding: 80px 24px;
}
.section-alt { background: var(--cream); }
.section-green { background: var(--green-deep); color: var(--white); }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label-light { color: var(--sage-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--green-deep);
}
.section-title-light { color: var(--white); }
.section-body {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.75;
}
.section-body-light { color: var(--sage-light); }
.section-head { margin-bottom: 48px; }
.section-head-center { text-align: center; }
.section-head-center .section-body { margin: 0 auto; }

/* ─── App Tag Cards (signature element) ─────────────────────────────────── */
/* Shaped like a pet ID/ear tag — rounded on three sides, pointed tab on right */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.app-tag {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-xl) var(--radius-xl) var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 28px 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.app-tag:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.app-tag::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-xl) 0 0;
}
.app-tag-chicken::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.app-tag-coming::before { background: linear-gradient(90deg, var(--sage), var(--sage-light)); }
.app-tag-icon {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1;
}
.app-tag-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.app-tag-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.app-tag-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.app-tag-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.badge-gold { background: #FFF4E0; color: #8B5E0A; border-color: #F0D090; }
.badge-green { background: #E8F2EE; color: #2D4A3E; border-color: #A8C4B8; }
.badge-coming { background: var(--bg); color: var(--text-muted); }

/* ─── Feature list ───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ─── Story section ──────────────────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border);
  position: relative;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--sage-light);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}
.story-image-placeholder span { font-size: 48px; }
.story-text blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--green);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

/* ─── Screenshot mockup ──────────────────────────────────────────────────── */
.mockup-section {
  background: var(--green);
  padding: 80px 24px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.mockup-phone {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}
.mockup-phone-frame {
  background: var(--green-deep);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.mockup-phone-screen {
  background: #F7F0E6;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.mockup-phone-screen-inner {
  padding: 16px;
  width: 100%;
}
.mockup-screen-bar {
  height: 8px;
  background: #D4830A;
  border-radius: 4px;
  margin-bottom: 10px;
}
.mockup-screen-card {
  background: white;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-screen-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #C4986B33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #C4986B;
  flex-shrink: 0;
}
.mockup-screen-name { font-size: 11px; font-weight: 600; color: #2C1A06; }
.mockup-screen-breed { font-size: 9px; color: #7A5C38; }
.mockup-screen-counter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mockup-counter-btn {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #D4830A;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: white; font-weight: 700;
}
.mockup-counter-val { font-size: 13px; font-weight: 700; color: #2C1A06; min-width: 14px; text-align: center; }
.mockup-text { color: var(--white); }
.mockup-text .section-title { color: var(--white); }
.mockup-text .section-body { color: var(--sage-light); }
.mockup-feature-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mockup-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--sage-light);
  font-size: 15px;
  line-height: 1.5;
}
.mockup-feature-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Testimonial / quote ─────────────────────────────────────────────────── */
.quote-section {
  background: var(--cream);
  padding: 64px 24px;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--green-deep);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.quote-attr {
  font-size: 13px;
  color: var(--sage);
  font-weight: 500;
}

/* ─── Blog preview ───────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.blog-card-body { padding: 20px; }
.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card-link:hover { color: var(--gold); }

/* ─── Newsletter ─────────────────────────────────────────────────────────── */
.newsletter {
  background: var(--green-deep);
  padding: 64px 24px;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 28px auto 0;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--sage-light); }
.newsletter-input:focus { border-color: var(--gold); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--green-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 24px 32px;
  color: var(--sage-light);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--sage-light);
  max-width: 240px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--sage-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: var(--sage);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Inner page hero ────────────────────────────────────────────────────── */
.page-hero {
  background: var(--green-deep);
  padding: 56px 24px 48px;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-hero p {
  font-size: 17px;
  color: var(--sage-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Prose content ──────────────────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--green-deep);
  margin: 40px 0 16px;
}
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
  margin: 28px 0 10px;
}
.prose p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.prose li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ─── Download store buttons ──────────────────────────────────────────────── */
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-deep);
  color: var(--white);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  font-size: 14px;
}
.store-btn:hover { background: var(--green-light); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }
.store-btn-icon { font-size: 22px; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn-small { font-size: 10px; opacity: 0.7; }
.store-btn-name { font-size: 15px; font-weight: 600; }
.store-btn-coming {
  background: rgba(255,255,255,0.05);
  border-style: dashed;
  opacity: 0.7;
  cursor: default;
}
.store-btn-coming:hover { transform: none; }

/* ─── Contact form ───────────────────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  max-width: 560px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--green); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--green-deep);
    padding: 20px 24px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 99;
  }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .mockup-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup-phone { max-width: 220px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px 24px; }
  .hero { padding: 56px 24px 48px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 24px; }
}
