@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,800;1,400&family=Sora:wght@300;400;500;600&display=swap');

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

:root {
  --abyss:    #1E0A38;
  --amethyst: #5B2D8E;
  --purple:   #8E2CFB;
  --bisque:   #E4D5C4;
  --cream:    #F2E8DA;
  --linen:    #F6F0E8;
  --walnut:   #50385E;
  --warm-gray:#7A6888;
  --off-white:#FAFAF8;
  --display:  'Newsreader', serif;
  --body:     'Sora', sans-serif;
}

html { font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--abyss);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--bisque);
  background: var(--cream);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--abyss);
}

.logo svg { width: 32px; height: auto; }

.logo-wordmark {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-cta {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--off-white);
  background: var(--abyss);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 9999px;
  transition: background 200ms ease, transform 150ms ease;
}

.nav-cta:hover { background: var(--amethyst); transform: translateY(-1px); }

/* ── Hero (index) ── */
.hero {
  text-align: center;
  padding: 80px 40px 60px;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--abyss);
  max-width: 640px;
  margin: 0 auto 16px;
}

.hero p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--walnut);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Product Cards (index) ── */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.card {
  background: var(--linen);
  border-radius: 16px;
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--bisque);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,10,56,0.1); }

.card-img {
  width: 180px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 28px;
}

.card-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

.card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--abyss);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--walnut);
  line-height: 1.65;
  margin-bottom: 32px;
}

.card-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.btn-primary {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--off-white);
  background: var(--purple);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 9999px;
  transition: background 200ms ease, transform 150ms ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--amethyst); transform: translateY(-1px); }

.btn-secondary {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--abyss);
  background: transparent;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 9999px;
  border: 1px solid var(--abyss);
  transition: background 200ms ease;
}

.btn-secondary:hover { background: var(--bisque); }

/* ── Product Page Layout ── */
.product-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px 100px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.product-page .product-img {
  width: 220px;
  height: 270px;
  object-fit: contain;
  margin-bottom: 36px;
}

.product-page .eyebrow {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
  text-align: center;
}

.product-page h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--abyss);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-page .tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--walnut);
  text-align: center;
  margin-bottom: 40px;
}

/* ── Trust badges ── */
.trust-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--walnut);
  background: var(--linen);
  border: 1px solid var(--bisque);
  padding: 8px 14px;
  border-radius: 9999px;
}

.trust-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── COA Box ── */
.coa-box {
  width: 100%;
  background: var(--linen);
  border: 1px solid var(--bisque);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-bottom: 20px;
}

.coa-box .coa-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 10px;
}

.coa-box h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--abyss);
  margin-bottom: 8px;
}

.coa-box p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--walnut);
  line-height: 1.6;
  margin-bottom: 24px;
}

.coa-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px 24px;
  justify-items: center;
  margin-bottom: 28px;
  width: 100%;
}

.coa-meta-item {
  text-align: center;
}

.coa-meta-item .meta-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 2px;
}

.coa-meta-item .meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--abyss);
}

/* ── COA Image embed ── */
.coa-image-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bisque);
  margin-top: 28px;
  box-shadow: var(--shadow-md);
}

.coa-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Shop CTA strip ── */
.shop-cta {
  width: 100%;
  background: var(--abyss);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  color: var(--off-white);
  margin-bottom: 20px;
}

.shop-cta p {
  font-size: 0.875rem;
  font-weight: 300;
  opacity: 0.75;
  margin-bottom: 20px;
  line-height: 1.6;
}

.shop-cta a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--off-white);
  background: var(--purple);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 9999px;
  display: inline-block;
  transition: background 200ms ease, transform 150ms ease;
}

.shop-cta a:hover { background: var(--amethyst); transform: translateY(-1px); }

/* ── Footer ── */
footer {
  padding: 28px 40px;
  border-top: 1px solid var(--bisque);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--warm-gray);
}

footer a {
  font-size: 0.75rem;
  color: var(--walnut);
  text-decoration: none;
}

footer a:hover { color: var(--purple); }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .hero { padding: 52px 20px 40px; }
  .products { padding: 0 20px 80px; }
  .product-page { padding: 40px 20px 80px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
