/* ===== Skinmate — shared styles ===== */

:root {
  --peach: #ffddc9;
  --peach-dark: #ffc4a3;
  --pink: #ffd6e5;
  --pink-dark: #ffb3d1;
  --lemon: #fff6c9;
  --lemon-dark: #ffec9e;
  --mint: #d9f4e6;

  --ink: #4a3b3b;
  --ink-soft: #7a6a6a;
  --cream: #fffaf3;
  --white: #ffffff;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow: 0 10px 30px rgba(200, 140, 140, 0.15);
  --shadow-soft: 0 6px 16px rgba(200, 140, 140, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quicksand", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Quicksand", sans-serif;
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo .wordmark {
  font-family: "Poppins", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ff9db6, #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--pink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, #ffb37a, #ff9db6);
  color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--pink-dark);
}

/* ===== Hero ===== */

.hero {
  padding: 72px 0 48px;
  background: linear-gradient(160deg, var(--pink) 0%, var(--peach) 45%, var(--lemon) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  color: #a5654a;
}

.hero h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(90deg, #ff8fab, #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.blob {
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  box-shadow: var(--shadow);
}

.blob:nth-child(1) { background: var(--white); transform: translateY(-14px); }
.blob:nth-child(2) { background: var(--pink-dark); }
.blob:nth-child(3) { background: var(--lemon-dark); }
.blob:nth-child(4) { background: var(--white); transform: translateY(14px); }

/* ===== MPHI banner strip ===== */

.holding-strip {
  background: var(--ink);
  color: #fff2e6;
  padding: 14px 0;
  font-size: 0.9rem;
  text-align: center;
}

.holding-strip strong {
  color: var(--lemon-dark);
}

/* ===== Sections ===== */

section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  background: var(--pink);
  border: none;
  color: #a5405f;
}

.section-head h2 {
  font-size: 2rem;
}

.section-head p {
  color: var(--ink-soft);
}

/* ===== Feature / value cards ===== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.card:nth-child(1) .icon { background: var(--peach); }
.card:nth-child(2) .icon { background: var(--pink); }
.card:nth-child(3) .icon { background: var(--lemon); }

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Product category grid (used on Home + Products) ===== */

.grid-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-swatch {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
}

.product-swatch .placeholder-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.swatch-1 { background: linear-gradient(150deg, var(--lemon), var(--lemon-dark)); }
.swatch-2 { background: linear-gradient(150deg, var(--pink), var(--pink-dark)); }
.swatch-3 { background: linear-gradient(150deg, var(--peach), var(--peach-dark)); }
.swatch-4 { background: linear-gradient(150deg, var(--mint), #bfe8d3); }
.swatch-5 { background: linear-gradient(150deg, #ffe8f2, var(--pink)); }
.swatch-6 { background: linear-gradient(150deg, #d9ecff, #bcd9ff); }

.product-info {
  padding: 18px 20px 22px;
}

.product-info h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.product-info .count {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ===== Coming soon banner ===== */

.coming-soon-banner {
  background: linear-gradient(120deg, var(--lemon), var(--peach), var(--pink));
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}

.coming-soon-banner .badge {
  display: inline-block;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d1618a;
  margin-bottom: 18px;
}

.coming-soon-banner h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.coming-soon-banner p {
  max-width: 52ch;
  margin: 0 auto 22px;
  color: var(--ink-soft);
}

/* ===== About page ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse .split-art {
  order: 2;
}

.split-art {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.split-art .badge-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--peach), var(--pink));
  box-shadow: var(--shadow-soft);
}

.timeline {
  border-left: 3px solid var(--pink-dark);
  padding-left: 26px;
  margin-left: 6px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink-dark);
  border: 3px solid var(--cream);
}

.timeline-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.timeline-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-pill {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.value-pill .emoji {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value-pill h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.value-pill p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== MPHI panel ===== */

.mphi-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 2px dashed var(--pink-dark);
}

.mphi-panel .mphi-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--lemon-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ===== CTA band ===== */

.cta-band {
  background: linear-gradient(120deg, #ffd9e4, #ffe3c9);
  text-align: center;
}

.cta-band h2 {
  font-size: 1.9rem;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 26px;
}

/* ===== Footer ===== */

.site-footer {
  background: #3a2e2e;
  color: #e8dcdc;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-grid .wordmark {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-grid p {
  color: #c2b3b3;
  font-size: 0.92rem;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #c2b3b3;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--lemon-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #a99b9b;
}

/* ===== Page hero (About / Products) ===== */

.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(160deg, var(--lemon) 0%, var(--peach) 55%, var(--pink) 100%);
  text-align: center;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.7);
  color: #a5654a;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .split.reverse .split-art {
    grid-template-columns: 1fr;
    order: 0;
  }

  .hero-art {
    margin-top: 20px;
  }

  .grid-3,
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    display: none;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid-3,
  .grid-products,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 52px 0;
  }

  .mphi-panel,
  .coming-soon-banner {
    padding: 32px 22px;
  }
}
