/* ==========================================================================
   PetZonic Official Landing Page Stylesheet
   Designed to match PetZonic Platform Architecture (Next.js 16 UI System)
   - Primary: #ff8c00 (Warm Amber Orange)
   - Secondary: #14b8a6 (Teal)
   - Surface / Dark: #0f172a (Deep Slate / Navy)
   - Typography: Poppins (Headings), Inter (Body)
   ========================================================================== */

:root {
  --primary: #ff8c00;
  --primary-hover: #e67e00;
  --primary-light: #fff7ed;
  --primary-border: rgba(255, 140, 0, 0.22);
  --primary-glow: rgba(255, 140, 0, 0.25);
  
  --secondary: #14b8a6;
  --secondary-hover: #0d9488;
  --secondary-light: #f0fdfa;
  
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-warm: #fff9f2;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.12);
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* keep anchored sections clear of the sticky header */
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

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

.text-center {
  text-align: center;
}

/* Ambient Subtle Lighting */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.orb-1 {
  width: 650px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.16) 0%, rgba(251, 191, 36, 0.12) 60%, transparent 80%);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(45, 212, 191, 0.08) 60%, transparent 80%);
  top: 35%;
  right: -100px;
}

/* Top Announcement Strip */
.top-announcement {
  background: linear-gradient(90deg, #ff8c00 0%, #ea580c 50%, #d97706 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 500;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.announcement-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}

.announcement-link:hover {
  opacity: 0.85;
}

/* Site Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8c00 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.35);
  transition: transform 0.25s ease;
}

.brand-identity:hover .brand-symbol {
  transform: rotate(-5deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-name.white {
  color: #ffffff;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-logo-text.white {
  color: #ffffff;
}

.brand-highlight {
  color: var(--primary);
}

.brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-item:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c00 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(255, 140, 0, 0.42);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #fff7ed;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2.2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  display: block;
  transform: translateX(0);
}

.mobile-drawer-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  padding: 4px 8px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-link:hover {
  color: var(--primary);
}

.drawer-cta {
  margin-top: auto;
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
}

.drawer-backdrop.open {
  display: block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 56px 0 48px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.5) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  margin-bottom: 18px;
}

.badge-icon {
  font-size: 0.85rem;
}

.badge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ea580c;
  letter-spacing: -0.01em;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-heading {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 16px;
}

.gradient-brand {
  background: linear-gradient(135deg, #ff8c00 0%, #ea580c 60%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 28px;
  max-width: 580px;
}

/* Waitlist Panel */
.waitlist-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-bottom: 22px;
}

.waitlist-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8c00, #14b8a6);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.role-selector-header {
  margin-bottom: 8px;
}

.selector-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.role-selector-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.role-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.role-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.role-chip.active {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
  box-shadow: var(--shadow-xs);
}

.form-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 5px 4px 14px;
  transition: var(--transition);
}

.form-input-group:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.mail-icon {
  color: var(--text-subtle);
  margin-right: 10px;
  flex-shrink: 0;
}

.form-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
}

.form-input-group input::placeholder {
  color: var(--text-subtle);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text { display: none; }
.btn.loading .btn-spinner { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Viral Referral Share Card */
.share-card {
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #f0fdfa 100%);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: var(--radius-sm);
}

.share-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--primary);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.share-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  flex: 1;
}

.btn-whatsapp:hover {
  background: #20ba59;
}

.btn-copy {
  background: #ffffff;
  color: var(--dark);
  border-color: var(--border);
  flex: 1;
}

.btn-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.guarantee-pills {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.guarantee-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
}

.guarantee-tag svg {
  color: var(--primary);
}

/* Species Filter Row */
.species-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.filter-label {
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.species-chip {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.species-chip.chip-highlight {
  background: var(--primary-light);
  border-color: rgba(255, 140, 0, 0.3);
  color: var(--primary);
}

/* Hero Right Visual Showcase */
.hero-card-container {
  position: relative;
  max-width: 100%;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-subtle);
}

.hero-media-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.hero-media-card:hover .hero-media-img {
  transform: scale(1.02);
}

.media-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.badge-escrow {
  bottom: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
}

.badge-vet {
  top: 16px;
  right: 16px;
  max-width: calc(100% - 32px);
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-orange-soft {
  background: #fff7ed;
  color: var(--primary);
}

.bg-teal-soft {
  background: #f0fdfa;
  color: var(--secondary);
}

.badge-copy {
  display: flex;
  flex-direction: column;
}

.badge-headline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.badge-subline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section-container {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.section-title-group {
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   4 Core Pillars Grid (Direct from PetZonic Specs)
   ========================================================================== */
.pillars-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

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

.theme-teal {
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.6) 0%, #ffffff 100%);
  border-color: rgba(20, 184, 166, 0.25);
}

.theme-orange {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.6) 0%, #ffffff 100%);
  border-color: rgba(255, 140, 0, 0.25);
}

.theme-amber {
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.5) 0%, #ffffff 100%);
  border-color: rgba(245, 158, 11, 0.25);
}

.theme-slate {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, #ffffff 100%);
  border-color: rgba(203, 213, 225, 0.7);
}

.theme-blue {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.7) 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

.theme-sky {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.7) 0%, #ffffff 100%);
  border-color: rgba(14, 165, 233, 0.25);
}

.theme-rose {
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.7) 0%, #ffffff 100%);
  border-color: rgba(244, 63, 94, 0.25);
}

.theme-purple {
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.7) 0%, #ffffff 100%);
  border-color: rgba(168, 85, 247, 0.25);
}

/* Lifecycle Stepper Strip */
.lifecycle-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
}

.lifecycle-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 140, 0, 0.3);
  flex-shrink: 0;
}

.step-details {
  display: flex;
  flex-direction: column;
}

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

.step-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step-arrow {
  color: var(--text-subtle);
  font-size: 1.15rem;
  font-weight: bold;
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.theme-teal .pillar-icon { color: var(--secondary); }
.theme-orange .pillar-icon { color: var(--primary); }
.theme-amber .pillar-icon { color: #d97706; }
.theme-slate .pillar-icon { color: #475569; }
.theme-blue .pillar-icon { color: #2563eb; }
.theme-sky .pillar-icon { color: #0284c7; }
.theme-rose .pillar-icon { color: #e11d48; }
.theme-purple .pillar-icon { color: #9333ea; }

.pillar-status-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.theme-teal .pillar-status-chip { background: #ccfbf1; color: #0f766e; }
.theme-orange .pillar-status-chip { background: #ffedd5; color: #c2410c; }
.theme-amber .pillar-status-chip { background: #fef3c7; color: #b45309; }
.theme-slate .pillar-status-chip { background: #e2e8f0; color: #334155; }
.theme-blue .pillar-status-chip { background: #dbeafe; color: #1d4ed8; }
.theme-sky .pillar-status-chip { background: #e0f2fe; color: #0369a1; }
.theme-rose .pillar-status-chip { background: #ffe4e6; color: #be123c; }
.theme-purple .pillar-status-chip { background: #f3e8ff; color: #7e22ce; }

.pillar-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-specs {
  list-style: none;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.pillar-specs li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.pillar-specs li:last-child { margin-bottom: 0; }

/* ==========================================================================
   Trust Engine: Built so you don't have to take anyone's word for it
   ========================================================================== */
.trust-section {
  background: var(--bg-warm);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.trust-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.trust-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Founder's Story Section
   ========================================================================== */
.story-section {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf5 50%, #ffffff 100%);
  padding: 88px 0;
}

.story-executive-card {
  background: #ffffff;
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 140, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.story-executive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff8c00 0%, #ea580c 50%, #14b8a6 100%);
}

.story-card-header {
  margin-bottom: 32px;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #fff7ed;
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 16px;
}

.story-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea580c;
}

.story-main-heading {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 820px;
}

.story-card-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.story-narrative {
  display: flex;
  flex-direction: column;
}

.story-lead-p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.74;
  margin-bottom: 16px;
}

.story-lead-p strong {
  color: #0f172a;
  font-weight: 700;
}

.founder-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.founder-avatar-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.founder-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c00, #ea580c);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.founder-verified-tick {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.founder-meta {
  display: flex;
  flex-direction: column;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.founder-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3px;
}

.founder-quote-tag {
  font-size: 0.78rem;
  font-style: italic;
  color: #ea580c;
  font-weight: 600;
}

/* Right Column: 3 High-Impact Visual Stat Cards */
.story-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-stat-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.story-stat-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.35);
  box-shadow: var(--shadow-sm);
}

.stat-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid rgba(255, 140, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.stat-card-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat-card-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   District Breeder Hub Card
   ========================================================================== */
.breeder-hub-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.breeder-hub-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hub-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hub-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.hub-subtext {
  font-size: 1rem;
  color: var(--text-subtle);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hub-subtext strong {
  color: #ffffff;
}

.hub-stats-row {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hub-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Countdown Clock
   ========================================================================== */
.countdown-wrap {
  background: var(--bg-subtle);
}

.countdown-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 520px;
  margin: 36px auto 0;
  gap: 12px;
}

.clock-unit {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.clock-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.clock-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-bounds {
  max-width: 800px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-border);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 14px;
}

.chevron {
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-item.active .faq-body {
  max-height: 500px;
  padding: 0 22px 20px;
}

.faq-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Minimal & Clean Footer
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-simple-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-simple-brand {
  max-width: 380px;
}

.footer-simple-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 16px 0 18px;
}

.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-contact-line a {
  color: #ff8c00;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-line a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.simple-nav-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.footer-simple-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.footer-simple-nav a {
  font-size: 0.84rem;
  color: #94a3b8;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-simple-nav a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-simple-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-simple-bottom p {
  margin: 0;
}

.footer-simple-bottom a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-simple-bottom a:hover {
  color: #ffffff;
}

.footer-simple-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-simple-legal span {
  color: #334155;
}

/* Confetti Canvas */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-heading {
    font-size: 2.75rem;
  }
  
  .lifecycle-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .lifecycle-strip .step-arrow {
    display: none;
  }
  
  .pillars-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-simple-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-heading {
    font-size: 2.15rem;
  }
  
  .hero-media-img {
    height: 260px;
  }
  
  .floating-badge {
    position: static;
    margin-top: 10px;
    max-width: 100%;
  }
  
  .badge-headline {
    font-size: 0.8rem;
  }
  
  .badge-subline {
    font-size: 0.7rem;
  }

  .lifecycle-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .pillars-container {
    grid-template-columns: 1fr;
  }
  
  .trust-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .story-executive-card {
    padding: 28px 20px;
  }

  .story-main-heading {
    font-size: 1.5rem;
  }

  .story-card-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-input-group {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }
  
  .form-input-group .mail-icon {
    display: none;
  }
  
  .form-input-group input {
    width: 100%;
    padding: 8px 4px;
  }
  
  .form-input-group .btn {
    width: 100%;
    padding: 12px;
  }
  
  .breeder-hub-card {
    padding: 36px 20px;
  }
  
  .hub-heading {
    font-size: 1.65rem;
  }
  
  .hub-stats-row {
    gap: 20px;
  }
  
  .countdown-clock {
    gap: 8px;
    max-width: 100%;
  }
  
  .clock-unit {
    padding: 10px 4px;
    border-radius: var(--radius-sm);
  }
  
  .clock-val {
    font-size: 1.45rem;
  }
  
  .clock-lbl {
    font-size: 0.62rem;
  }
  
  .footer-simple-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-simple-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================================================
   Mobile UX Polish (touch targets, readable text, no iOS focus-zoom)
   ========================================================================== */
/* Drawer: keep it rendered so the slide-in transition actually plays */
.mobile-drawer {
  display: block;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.3s;
}

.mobile-drawer.open {
  visibility: visible;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

/* Touch screens (phones, and tablets of any width): finger-sized targets and readable labels.
   Desktop mouse users keep the compact layout. */
@media (max-width: 768px), (pointer: coarse) {
  .mobile-drawer {
    height: 100dvh;
  }

  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .drawer-close {
    min-width: 44px;
    min-height: 44px;
  }

  .brand-identity {
    min-height: 44px;
  }

  .nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .header-actions .btn-sm {
    min-height: 44px;
  }

  .role-chip {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* 16px prevents iOS Safari from zooming the page on input focus */
  .form-input-group input {
    font-size: 16px;
    min-height: 44px;
  }

  .form-input-group .btn {
    min-height: 48px;
  }

  .btn-share {
    min-height: 44px;
  }

  .pillar-status-chip,
  .stat-card-badge,
  .hub-tag,
  .clock-lbl {
    font-size: 0.75rem;
  }

  .faq-trigger {
    min-height: 48px;
  }

  .footer-simple-nav a,
  .footer-contact-line a {
    display: inline-block;
    min-width: 44px;
    padding: 11px 0;
  }

  .footer-simple-legal a {
    display: inline-block;
    min-width: 44px;
    padding: 11px 4px;
    text-align: center;
  }

  /* Inline links: vertical padding enlarges the tap area without changing line height */
  .footer-simple-bottom p a {
    padding: 12px 0;
  }

  .form-consent a {
    padding: 13px 0;
  }

  .legal-page p a {
    padding: 11px 0;
  }
}

@media (max-width: 768px) {
  .hub-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .footer-simple-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  .hero-heading {
    font-size: 1.95rem;
  }

  .waitlist-panel {
    padding: 18px 16px;
  }
}

@media (max-width: 400px) {
  .share-actions {
    flex-direction: column;
  }

  .btn-share {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Contact bar above header */
.contact-bar {
  background: var(--dark);
  color: #ffffff;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.contact-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #e2e8f0;
}

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

@media (max-width: 480px) {
  .contact-bar-inner {
    justify-content: center;
    gap: 16px;
  }

  .contact-bar a {
    font-size: 0.78rem;
  }
}

/* Header: use the slide-out menu below 960px so nav labels never wrap */
.nav-item {
  white-space: nowrap;
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

/* Logo: matches the PetZonic web app (emoji tile + orange wordmark) */
.brand-symbol {
  background: linear-gradient(to top right, #f97316, #fbbf24);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.brand-emoji {
  font-size: 1.25rem;
  line-height: 1;
}

/* Waitlist: bot check + consent line */
.turnstile-box {
  margin-top: 10px;
}

.form-consent {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-consent a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Legal pages (privacy.html)
   ========================================================================== */
.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.legal-back:hover {
  color: var(--primary);
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: 2.25rem;
  margin-bottom: 6px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page ul {
  padding-left: 22px;
  margin: 8px 0 12px;
}

.legal-page a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer {
  padding-top: 8px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 32px 0 56px;
  }

  .legal-page h1 {
    font-size: 1.8rem;
  }
}
