:root {
  --ink: #1a1410;
  --paper: #fdf6ee;
  --amber: #c8843a;
  --amber-light: #e9a85a;
  --amber-pale: #f5ddb8;
  --rust: #8b3a1e;
  --cream: #f9f0e3;
  --shadow: rgba(26,20,16,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(253,246,238,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,132,58,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .paw { font-size: 24px; animation: sway 3s ease-in-out infinite; }
@keyframes sway {
  0%,100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
.nav-logo span {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700; font-size: 20px;
  color: var(--rust); letter-spacing: 0.05em;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.08em;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 2px;
  background: var(--amber); transition: width 0.3s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--amber); }
.nav-links a.active::after { width: 100%; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,132,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,126,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-pale);
  border: 1px solid rgba(200,132,58,0.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--rust);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.7); }
}
.hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; line-height: 1.15;
  color: var(--ink); margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--amber); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute;
  bottom: 4px; left: 0; right: 0; height: 4px;
  background: var(--amber-pale); border-radius: 2px; z-index: -1;
}
.hero-desc {
  font-size: 16px; line-height: 1.9; color: #5a4e44;
  max-width: 460px; margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rust); color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 14px 32px; border-radius: 6px; border: none;
  cursor: pointer; letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(139,58,30,0.25);
}
.btn-primary:hover {
  background: #a04520;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,58,30,0.35);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 6px;
  border: 1.5px solid rgba(26,20,16,0.2);
  cursor: pointer; letter-spacing: 0.05em;
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }

/* Hero Visual */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  animation: fadeUp 0.8s 0.2s ease both;
}
.cat-illustration { position: relative; width: 340px; height: 340px; }
.cat-circle {
  width: 280px; height: 280px; border-radius: 50%;
  background: linear-gradient(145deg, var(--amber-pale), #f0c87a);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(200,132,58,0.25);
}
.cat-emoji {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: 130px; line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(-50%,-55%); }
  50%      { transform: translate(-50%,-62%); }
}
.rings {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 280px; height: 280px;
}
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(200,132,58,0.3);
  animation: expandRing 3s ease-out infinite;
}
.ring:nth-child(2) { animation-delay: 1s; }
.ring:nth-child(3) { animation-delay: 2s; }
@keyframes expandRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.bubble {
  position: absolute; background: #fff;
  border-radius: 20px; padding: 8px 16px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700; font-size: 14px; color: var(--rust);
  box-shadow: 0 4px 16px var(--shadow);
  animation: bubblePop 3s ease-in-out infinite;
  white-space: nowrap;
}
.bubble::before {
  content: ''; position: absolute;
  bottom: -8px; left: 20px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
}
.bubble-1 { top: 20px; right: 0; animation-delay: 0s; }
.bubble-2 { top: 120px; left: -20px; animation-delay: 0.8s; }
.bubble-3 { bottom: 60px; right: 10px; animation-delay: 1.6s; }
@keyframes bubblePop {
  0%,100% { transform:scale(1) translateY(0); opacity:0.9; }
  50%      { transform:scale(1.05) translateY(-4px); opacity:1; }
}

/* SECTION COMMON */
section { padding: 100px 60px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--ink); margin-bottom: 16px;
}
.section-sub {
  font-size: 15px; line-height: 1.8; color: #6b5e52;
  max-width: 520px; margin: 0 auto;
}

/* FEATURES */
.features { background: var(--cream); }
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  border: 1px solid rgba(200,132,58,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--amber-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 24px;
}
.feature-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px;
}
.feature-desc { font-size: 14px; line-height: 1.85; color: #7a6e66; }

/* SOUNDS */
.sounds-section { background: var(--paper); }
.sounds-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.sound-card {
  background: var(--cream); border-radius: 14px;
  padding: 28px 20px; text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.sound-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(200,132,58,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.sound-card:hover { border-color: var(--amber); transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
.sound-card:hover::after { opacity: 1; }
.sound-emoji { font-size: 48px; margin-bottom: 12px; display: block; }
.sound-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.sound-meaning { font-size: 13px; color: #7a6e66; line-height: 1.6; }
.sound-tag {
  display: inline-block; margin-top: 12px;
  background: var(--amber-pale); color: var(--rust);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; padding: 4px 12px; border-radius: 100px;
}

/* ARTICLES */
.articles-section { background: var(--cream); }
.articles-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto 48px;
}
.article-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(200,132,58,0.1);
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow); }
.article-cover {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.article-body { padding: 24px; }
.article-tag {
  display: inline-block;
  background: var(--amber-pale); color: var(--rust);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; padding: 3px 10px;
  border-radius: 4px; margin-bottom: 12px;
}
.article-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.5;
}
.article-excerpt { font-size: 13px; color: #7a6e66; line-height: 1.7; margin-bottom: 16px; }
.article-meta {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #aaa; padding-top: 12px;
  border-top: 1px solid rgba(200,132,58,0.1);
}

/* DOWNLOAD */
.download-section {
  background: linear-gradient(135deg, #6b2810 0%, #8b3a1e 40%, #c8843a 100%);
  padding: 100px 60px;
}
.download-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 80px;
}
.download-desc {
  font-size: 16px; line-height: 1.9;
  color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 460px;
}
.download-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.download-features li {
  font-size: 15px; color: rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 10px;
}
.qr-wrap { display: flex; justify-content: center; align-items: center; }
.qr-card {
  background: #fff; border-radius: 20px;
  padding: 24px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.qr-card img {
  width: 200px; height: 200px;
  display: block; border-radius: 8px; object-fit: contain;
}
.qr-hint {
  margin-top: 16px; font-size: 13px; color: #7a6e66;
  line-height: 1.6; font-weight: 500;
}

/* FOOTER */
footer { background: var(--ink); padding: 40px 60px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px; font-weight: 700;
  color: var(--amber-pale); margin-bottom: 6px;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  section { padding: 70px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .sounds-grid { grid-template-columns: repeat(2,1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .download-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .download-desc { margin: 0 auto 32px; }
  .download-section .section-title { text-align: center !important; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 560px) {
  .sounds-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
}