:root {
  --cream: #FFF8F0;
  --peach: #FFDEC2;
  --coral: #E8845C;
  --coral-hover: #d4734d;
  --deep: #2D2A26;
  --sage: #8BAF9E;
  --sage-light: #D4E6DC;
  --white: #FFFFFF;
  --shadow: rgba(45,42,38,0.08);
  --text-muted: #6B6560;
  --text-light: #8A8580;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
}

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

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo span { color: var(--coral); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--coral); }
.nav-links a.active { color: var(--coral); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--deep);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--coral);
  color: var(--white);
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,132,92,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--deep);
  color: var(--deep);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--deep);
  color: var(--white);
  box-shadow: none;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  padding: 5rem 3rem 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 3rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-text h1 em { font-style: italic; color: var(--coral); }

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-card {
  width: 340px;
  height: 420px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 60px var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--sage), var(--peach));
}

.hero-card .numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.num-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.num-circle:hover { transform: scale(1.15) rotate(-5deg); }

.nc-1 { background: var(--peach); color: var(--coral); }
.nc-2 { background: var(--sage-light); color: #4A7A62; }
.nc-3 { background: #FFE8E0; color: #C25A3A; }
.nc-4 { background: #E8F0E4; color: #5A8A6A; }
.nc-5 { background: var(--peach); color: var(--coral); }
.nc-6 { background: #FFF0D4; color: #B8862A; }

.hero-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

.hero-card p.tag {
  font-size: 0.8rem;
  color: var(--sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.float-badge {
  position: absolute;
  top: -10px; right: -20px;
  background: var(--sage);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(139,175,158,0.4);
  animation: float 3s ease-in-out infinite;
}

/* ===== RESOURCE CARDS ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 5rem;
}

.resource-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(45,42,38,0.12);
}

.card-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cp-peach  { background: linear-gradient(135deg, var(--peach), #FFE8D8); }
.cp-sage   { background: linear-gradient(135deg, var(--sage-light), #B8D8C8); }
.cp-rose   { background: linear-gradient(135deg, #FFE8E0, #FFD0C4); }
.cp-gold   { background: linear-gradient(135deg, #FFF0D4, #FFE4B8); }

.card-preview .preview-icon { font-size: 3.5rem; opacity: 0.9; }

.card-body { padding: 1.5rem; }

.grade-tag {
  display: inline-block;
  background: var(--sage-light);
  color: #4A7A62;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-right: 0.35rem;
}

.card-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.download-btn:hover { gap: 0.8rem; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  border: 2px solid rgba(0,0,0,0.08);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.filter-btn.active {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
  padding: 5rem 3rem;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-avatar {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--coral);
  justify-self: center;
  overflow: hidden;
}

.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem;
  font-size: 0.85rem;
  color: #AAA5A0;
  border-top: 1px solid rgba(0,0,0,0.04);
}

footer a { color: var(--coral); }

/* ===== PAGE WRAPPER ===== */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 3rem 5rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.empty-state p { font-size: 1.1rem; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text { animation: fadeUp 0.8s ease-out; }
.hero-visual { animation: fadeUp 0.8s ease-out 0.2s both; }
.resource-card { animation: fadeUp 0.6s ease-out both; }
.resource-card:nth-child(1) { animation-delay: 0.3s; }
.resource-card:nth-child(2) { animation-delay: 0.45s; }
.resource-card:nth-child(3) { animation-delay: 0.6s; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 3rem;
    text-align: center;
  }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-visual { order: -1; }
  .hero-card { width: 280px; height: 360px; }
  .num-circle { width: 52px; height: 52px; font-size: 1.1rem; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: inline-block; }

  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .resources-grid { padding: 0 1.5rem 4rem; }
  .section-header { padding: 3rem 1.5rem 2rem; }
  .section-header h2 { font-size: 2rem; }
  .page-content { padding: 1.5rem 1.5rem 4rem; }
}
