/* PupBud Official Site Design System */

:root {
  --primary-accent: #D97706;
  --primary-hover: #B45309;
  --secondary-accent: #059669;
  --neutral-dark: #1F2937;
  --neutral-muted: #4B5563;
  --neutral-light: #FFFBEB;
  --neutral-white: #FFFFFF;
  --border-color: #E5E7EB;
  --card-bg: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  background-color: var(--neutral-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--neutral-dark);
}

.brand-badge {
  background-color: #FEF3C7;
  color: #92400E;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--neutral-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-accent);
  color: var(--neutral-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
    gap: 6px 12px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-title {
    font-size: 1.3rem;
  }
  .brand-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .header-cta {
    padding: 7px 12px;
    font-size: 0.825rem;
  }
  .site-header nav {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 6px;
    margin-top: 2px;
  }
  .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links li {
    flex-shrink: 0;
  }
  .nav-links a {
    font-size: 0.785rem;
    padding: 2px 4px;
  }
}

/* Sections Base */
.site-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.site-section:nth-child(even) {
  background-color: var(--neutral-white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--neutral-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-muted);
  line-height: 1.6;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-accent);
  color: var(--neutral-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 28px;
  min-height: 50px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hero-cta {
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.header-cta:focus-visible,
.cta-button:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
}

.cta-button.outline {
  background-color: transparent;
  color: var(--primary-accent) !important;
  border: 2px solid var(--primary-accent);
  box-shadow: none;
}

.cta-button.outline:hover {
  background-color: #FEF3C7;
}

/* Hero Section */
.hero-section {
  padding: 28px 0 36px 0;
  background-color: var(--neutral-light);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    max-width: 1200px;
    gap: 40px;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--neutral-dark);
  line-height: 1.2;
}

.hero-intro {
  font-size: 1rem;
  color: var(--neutral-muted);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 2px;
  margin-bottom: 2px;
}

.hero-image-wrap {
  width: 100%;
  max-height: 410px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--neutral-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap img {
  max-width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.compact-proof-block {
  background-color: #FEF3C7;
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--primary-accent);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #78350F;
}

.compact-proof-block strong {
  display: block;
  font-size: 0.95rem;
  color: #92400E;
  margin-bottom: 2px;
}

.hero-description {
  font-size: 0.875rem;
  color: var(--neutral-muted);
  line-height: 1.4;
}

/* Preserve the accepted mobile hero sequence while keeping the desktop grid. */
@media (max-width: 991px) {
  .hero-content { display: contents; }
  .hero-title { order: 1; }
  .hero-intro { order: 2; }
  .hero-image-wrap { order: 3; }
  .hero-actions { order: 4; }
  .hero-grid .compact-proof-block { order: 5; }
  .hero-description { order: 6; }
}

@media (max-width: 480px) {
  .hero-image-wrap,
  .hero-image-wrap img { max-height: 300px; }
}

/* Section Grids & Layouts */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.visual-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--neutral-white);
}

.visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-content-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-content-block p {
  font-size: 1.05rem;
  color: var(--neutral-muted);
  line-height: 1.7;
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #D1FAE5;
  color: #065F46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  font-size: 1.05rem;
  color: var(--neutral-dark);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tactile-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tactile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tactile-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--neutral-dark);
  margin-bottom: 12px;
}

.tactile-card p {
  font-size: 1rem;
  color: var(--neutral-muted);
  line-height: 1.6;
}

/* Pack Cards Grid */
.packs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.pack-card {
  background-color: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.pack-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-accent);
}

.pack-card.highlight-recommended {
  border-color: var(--secondary-accent);
  background-color: #ECFDF5;
}

.pack-card.highlight-best-value {
  border-color: var(--primary-accent);
  background-color: #FFFBEB;
}

.pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pack-badge.recommended {
  background-color: var(--secondary-accent);
  color: var(--neutral-white);
}

.pack-badge.best-value {
  background-color: var(--primary-accent);
  color: var(--neutral-white);
}

.pack-header {
  text-align: center;
  margin-bottom: 20px;
}

.pack-quantity-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--neutral-dark);
}

.pack-pricing {
  text-align: center;
  margin-bottom: 24px;
}

.pack-per-unit-display {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--neutral-dark);
  line-height: 1;
}

.pack-unit-label {
  font-size: 0.875rem;
  color: var(--neutral-muted);
  font-weight: 500;
}

.pack-total-payable {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-top: 8px;
}

.pack-regular-price {
  font-size: 0.9rem;
  color: var(--neutral-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.pack-savings-tag {
  display: inline-block;
  background-color: #FEF3C7;
  color: #92400E;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.pack-notes {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  text-align: center;
  margin-bottom: 20px;
  min-height: 40px;
}

.pack-cta-link {
  display: block;
  text-align: center;
  width: 100%;
}

/* Offer Terms Banner */
.offer-terms-box {
  background-color: var(--neutral-white);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--neutral-muted);
  margin-top: 32px;
}

.offer-terms-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.offer-terms-box li {
  margin-bottom: 4px;
}

/* FAQ Section */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--neutral-dark);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 1rem;
  color: var(--neutral-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: var(--neutral-dark);
  color: #9CA3AF;
  padding: 60px 0 40px 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--neutral-white);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9CA3AF;
}

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

.footer-disclaimer {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6B7280;
  border-top: 1px solid #374151;
  padding-top: 24px;
  margin-top: 32px;
}

/* Comparison & Decision Grids */
.comparison-grid, .fit-grid, .checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .comparison-grid, .fit-grid, .checklist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-card, .fit-card, .checklist-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.comparison-card.verified, .fit-card.fit-yes, .checklist-card.verified-list {
  border-top: 4px solid var(--secondary-accent);
}

.comparison-card.unverified, .fit-card.fit-no, .checklist-card.unknown-list {
  border-top: 4px solid var(--primary-accent);
}

.card-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.card-badge-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--neutral-dark);
}

.badge-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-tag.pass {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-tag.warn {
  background-color: #FEF3C7;
  color: #92400E;
}

.structured-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.structured-list li {
  font-size: 0.975rem;
  color: var(--neutral-dark);
  line-height: 1.55;
  position: relative;
  padding-left: 24px;
}

.structured-list.verified-items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-accent);
  font-weight: bold;
}

.structured-list.unknown-items li::before {
  content: "i";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #FDE68A;
  color: #92400E;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

