/* VARIABLES */
:root {
  --bg: #FDFAF4;
  --fg: #1a1a0e;
  --green: #2D4A1E;
  --amber: #C8922A;
  --cream: #F5EDD8;
  --warm-gray: #8B7D6B;
  --light-green: #4A7A32;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, #EDE4CF 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 50%, var(--green) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 4rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  color: var(--green);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text .lede {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 40ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-pills span {
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.03em;
}

/* PRODUCT SHOWCASE */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-showcase {
  position: relative;
  width: 380px;
  height: 440px;
}

.product-card {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 8px 40px rgba(45,74,30,0.12), 0 2px 8px rgba(45,74,30,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.card-1 {
  top: 0; left: 0;
  width: 200px;
  transform: rotate(-3deg);
  z-index: 1;
}

.card-2 {
  top: 40px; right: 0;
  width: 220px;
  transform: rotate(2deg);
  z-index: 2;
}

.card-3 {
  bottom: 0; left: 30px;
  width: 190px;
  transform: rotate(-1.5deg);
  z-index: 3;
}

.card-design {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Chihuahua Dad card */
.chihuahua-dad::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 50% 40%, #F5D5A0 0%, transparent 70%),
    linear-gradient(180deg, #2D4A1E 0%, #1a300d 100%);
}

.chihuahua-dad::after {
  content: '🐕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

/* Nurse Mom card */
.nurse-mom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E8F0E4 0%, #C4DEC0 100%);
}

.nurse-mom::after {
  content: '⚕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: var(--green);
}

/* Breed Love card */
.breed-love::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, #E8A0A0 0%, transparent 50%),
    linear-gradient(180deg, #8B4513 0%, #5C2D0A 100%);
}

.breed-love::after {
  content: '❤️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

.product-card span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}

/* ============================================
   THE PROCESS
   ============================================ */
.process {
  padding: 7rem 4rem;
  background: var(--green);
  color: white;
}

.process-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.process .section-label {
  color: var(--amber);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.step {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 2rem;
}

.step-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--amber);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  padding: 8rem 4rem;
  background: var(--bg);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  line-height: 1.4;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--amber);
}

.manifesto p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

/* ============================================
   OUTCOMES
   ============================================ */
.outcomes {
  padding: 7rem 4rem;
  background: linear-gradient(180deg, #F5EDD8 0%, var(--bg) 100%);
}

.outcomes-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.outcome {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(45,74,30,0.07);
}

.outcome-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green);
}

.outcome h3 {
  font-size: 1.05rem;
  font-family: 'Fraunces', serif;
  margin-bottom: 0.6rem;
  color: var(--green);
}

.outcome p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: 8rem 4rem 7rem;
  background: var(--green);
  color: white;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.closing-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 55ch;
  line-height: 1.8;
}

.closing-stripe {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.closing-stripe span {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.closing-cta {
  margin-left: auto;
  padding: 0.5rem 1.25rem;
  background: var(--amber);
  color: white;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.closing-cta:hover { background: #b07820; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 4rem;
  background: #1a1a0e;
  color: white;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  text-align: center;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dash-nav {
  background: white;
  border-bottom: 1px solid var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.dash-nav-links {
  display: flex;
  gap: 0.25rem;
}

.dash-nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-gray);
  transition: background 0.15s, color 0.15s;
}

.dash-nav-link:hover,
.dash-nav-link.active {
  background: var(--cream);
  color: var(--green);
}

/* LAYOUT */
.dash-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* HEADER */
.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.dash-title {
  font-size: 2.25rem;
  color: var(--green);
  margin-top: 0.25rem;
}

.dash-updated {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* KPI ROW */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.kpi-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 2px 12px rgba(45,74,30,0.07);
}

.kpi-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

.kpi-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.kpi-delta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.kpi-delta.up   { background: #E8F5E9; color: var(--light-green); }
.kpi-delta.down { background: #FFEBEE; color: #C62828; }
.kpi-delta.neutral { background: var(--cream); color: var(--warm-gray); }

/* SECTIONS */
.dash-section {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(45,74,30,0.07);
  margin-bottom: 1.75rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.1rem;
  color: var(--green);
}

.section-sub {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* BAR CHART */
.chart-wrap { overflow-x: auto; }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 200px;
  padding-bottom: 2rem;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.bar-val {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--warm-gray);
  white-space: nowrap;
}

.bar-track {
  width: 100%;
  height: 140px;
  background: var(--cream);
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--light-green) 0%, var(--green) 100%);
  border-radius: 8px 8px 0 0;
  transition: height 0.4s ease;
  min-height: 4px;
}

.bar-label {
  font-size: 0.7rem;
  color: var(--warm-gray);
  white-space: nowrap;
}

/* PRODUCT LIST */
.product-list { display: flex; flex-direction: column; gap: 1rem; }

.product-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rank {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 700;
  width: 1.5rem;
  flex-shrink: 0;
}

.product-info { flex: 1; min-width: 0; }

.product-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--warm-gray);
}

.product-sales { text-align: right; min-width: 80px; }

.product-revenue {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
}

.product-bar-track {
  height: 4px;
  background: var(--cream);
  border-radius: 999px;
  margin-top: 4px;
  overflow: hidden;
}

.product-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
}

/* TRAFFIC LIST */
.traffic-list { display: flex; flex-direction: column; gap: 0.9rem; }

.traffic-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.traffic-label { width: 130px; flex-shrink: 0; }

.traffic-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  text-transform: capitalize;
}

.traffic-sessions {
  display: block;
  font-size: 0.75rem;
  color: var(--warm-gray);
}

.traffic-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--cream);
  border-radius: 999px;
  overflow: hidden;
}

.traffic-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--light-green) 100%);
  border-radius: 999px;
}

.traffic-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  width: 2.5rem;
  text-align: right;
  flex-shrink: 0;
}

/* CATEGORY TABLE */
.cat-grid { overflow-x: auto; }

.cat-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--cream);
  margin-bottom: 0.75rem;
}

.cat-header span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.cat-header span:not(:first-child) { text-align: right; }

.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F5EDD8;
  align-items: center;
}

.cat-row:last-child { border-bottom: none; }

.cat-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.cat-aov {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  text-align: right;
}

.cat-conv {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.conv-bar-track {
  flex: 1;
  height: 6px;
  background: var(--cream);
  border-radius: 999px;
  overflow: hidden;
}

.conv-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
}

.conv-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  min-width: 2.5rem;
  text-align: right;
}

/* COLS LAYOUT */
.dash-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

/* FOOTER */
.dash-footer {
  border-top: 1px solid var(--cream);
  padding: 1.5rem 2rem;
  text-align: center;
}

.dash-footer span { font-size: 0.8rem; color: var(--warm-gray); }
.dash-footer a { color: var(--green); }
.dash-footer a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .dash-main { padding: 2rem 1.25rem 4rem; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .bar-chart { gap: 0.4rem; }
  .bar-label { font-size: 0.6rem; }
}