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

:root {
  --primary:   #6c63ff;
  --accent:    #ff6584;
  --dark:      #1a1a2e;
  --mid:       #16213e;
  --light:     #f5f5f5;
  --card-bg:   #ffffff;
  --text:      #333;
  --text-muted:#666;
  --radius:    16px;
  --shadow:    0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

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

h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: .6rem auto 2.5rem;
  text-align: center;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }

.btn-white  { background: #fff; color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero .btn {
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* ── Stats Bar ────────────────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  text-align: center;
}

.stat-num { font-size: 2rem; font-weight: 900; display: block; }
.stat-label { font-size: .85rem; opacity: .85; }

/* ── Reasons / Cards ──────────────────────────────────────────── */
.reasons {
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  background: var(--light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }

.card-icon { font-size: 2rem; }

.card-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card h3 { color: var(--primary); }
.card p  { color: var(--text-muted); font-size: .93rem; line-height: 1.65; }

.tag {
  display: inline-block;
  background: #ede9ff;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ── Gallery ──────────────────────────────────────────────────── */
.gallery {
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
  background: var(--mid);
  color: #fff;
  text-align: center;
}

.gallery .section-sub { color: rgba(255,255,255,.7); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img { transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:last-child img:first-child { display: none; }

.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Purr Science ─────────────────────────────────────────────── */
.purr-science {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
}

.purr-content h2 { margin-bottom: 1rem; }
.purr-content p  { opacity: .9; margin-bottom: 1rem; }

.purr-content ul {
  padding-left: 1.4rem;
  opacity: .9;
}
.purr-content li { margin-bottom: .4rem; }

.purr-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ── Myths ────────────────────────────────────────────────────── */
.myths {
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  background: var(--light);
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.myth-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.myth-card p { font-size: .9rem; color: var(--text-muted); }

.myth-label {
  display: inline-block;
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .65rem;
  border-radius: 50px;
  margin-bottom: .2rem;
}
.myth-label.bad  { background: #ffe0e6; color: var(--accent); }
.myth-label.good { background: #e0ffe8; color: #1cb85c; }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
}
.cta p { opacity: .85; max-width: 500px; margin: .8rem auto 2rem; font-size: 1.05rem; }

.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Scroll Fade-in ───────────────────────────────────────────── */
.fade-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-target.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 2rem 1rem;
  font-size: .85rem;
}
.footer-note { margin-top: .5rem; font-size: .75rem; opacity: .7; }

/* ── Scroll Animations ────────────────────────────────────────── */
.fade-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-target.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero                 { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem; }
  .hero-img             { aspect-ratio: 16/9; }
  .purr-science         { grid-template-columns: 1fr; }
  .purr-img             { display: none; }
  .gallery-grid         { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall    { grid-row: span 1; }
  .gallery-item.wide    { grid-column: span 2; }
  .stats-bar            { gap: 1.5rem; }
}
