/* HestiaMatch Cards — shop.hestiamatch.com
   Aligned with careers.html visual language: Inter + Great Vibes, pink #E91E63 palette. */

:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-deep: #8B0E3E;
  --primary-light: #FCE4EC;
  --black: #0F0F11;
  --gray-100: #F5F5F7;
  --gray-200: #EEEEEE;
  --gray-300: #D1D5DB;
  --gray-400: #BDBDBD;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 15px; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary-deep); }

/* Header */
header {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); z-index: 50;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo-text {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.header-cta {
  background: var(--black); color: var(--white);
  padding: 10px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.header-cta:hover { background: var(--primary-dark); color: var(--white); }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}
.hero .pre {
  font-size: 13px; font-weight: 700;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-light);
  padding: 10px 18px;
  border-radius: 999px;
}
.hero .pre i { font-size: 12px; }
.hero .pre .dot { width: 5px; height: 5px; background: var(--primary); border-radius: 50%; display: inline-block; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lead {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.55;
}
.hero .lead strong { color: var(--gray-900); }

.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-pills span {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
}
.hero-pills strong { color: var(--primary-deep); font-weight: 700; margin-left: 4px; }
@media (max-width: 600px) {
  .hero-pills { gap: 6px; margin-bottom: 24px; }
  .hero-pills span { padding: 7px 13px; font-size: 12.5px; }
}

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--black); color: var(--white);
  padding: 18px 36px;
  border-radius: 14px;
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.cta.pink { background: var(--primary); }
.cta.pink:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
@media (max-width: 600px) {
  .cta { display: flex; width: 100%; padding: 16px 24px; font-size: 15px; }
}
.cta-meta { display: block; margin-top: 14px; font-size: 13px; color: var(--gray-500); }

/* Hero visual — card front + back stacked */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 380px;
  padding: 20px 0;
}
.hero-visual img {
  max-width: 360px; width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
  display: block;
}
.card-front { position: relative; z-index: 2; transform: rotate(-3deg); }
.card-back {
  position: absolute;
  right: 4%; top: 8%;
  max-width: 300px;
  transform: rotate(8deg);
  z-index: 1; opacity: 0.95;
}
@media (max-width: 600px) {
  .hero-visual { min-height: 280px; }
  .hero-visual img { max-width: 260px; }
  .card-back { display: none; }
}

/* Generic section helpers */
section.s { padding: 80px 0; }
.s-pre {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px; display: block; text-align: center;
}
.s-h {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  text-align: center; max-width: 800px; margin: 0 auto 48px;
  line-height: 1.15; letter-spacing: -0.02em;
}

/* Launch banner */
.launch-banner {
  max-width: 720px;
  margin: -24px auto 48px;
  padding: 14px 22px;
  background: var(--primary-light);
  border: 1px solid rgba(233,30,99,0.2);
  border-radius: 12px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--gray-700); line-height: 1.5;
}
.launch-banner i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.launch-banner strong { color: var(--primary-deep); font-weight: 700; }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 760px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.product-card.featured { border-color: var(--primary); }
.product-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--primary); color: var(--white);
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.ptype {
  font-size: 11px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1.6px;
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 28px; font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.ptarget { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.product-image {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 24px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
}
.product-image img { max-width: 220px; width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,0.1); }

.price-block { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-old {
  font-size: 17px; color: var(--gray-400);
  text-decoration: line-through; font-weight: 500;
}
.price {
  font-size: 32px; font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.savings {
  font-size: 13px; font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

.btn-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--black); color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  margin-top: auto;
}
.btn-buy:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.product-card.featured .btn-buy { background: var(--primary); }
.product-card.featured .btn-buy:hover { background: var(--primary-dark); }

.checkout-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 36px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.checkout-note strong { color: var(--gray-900); font-weight: 700; }
.checkout-note i { color: var(--primary); }

/* Flow (how the card works) */
.flow-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1100px; margin: 0 auto 56px;
}
@media (min-width: 760px) { .flow-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.flow-step {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 16px;
  border: 2px solid var(--gray-100);
  transition: border-color 0.2s;
}
.flow-step:hover { border-color: var(--primary); }
.flow-num {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; letter-spacing: -0.03em;
  display: block;
  margin-bottom: 18px;
}
.flow-step h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.flow-step p { font-size: 14.5px; color: var(--gray-700); line-height: 1.6; }

.card-showcase {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 820px; margin: 0 auto;
}
@media (min-width: 600px) { .card-showcase { grid-template-columns: 1fr 1fr; } }
.card-showcase div {
  text-align: center;
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}
.card-showcase img {
  max-width: 280px; width: 100%; height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  margin-bottom: 14px;
}
.card-showcase span {
  font-size: 13px; font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase; letter-spacing: 1.4px;
}

/* Specs grid */
.specs-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  max-width: 1080px; margin: 0 auto;
}
@media (min-width: 600px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .specs-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-item {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.spec-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.spec-item i {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}
.spec-item h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.spec-item p { font-size: 13.5px; color: var(--gray-700); line-height: 1.55; }

/* Trust grid */
.trust-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1080px; margin: 0 auto;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.trust-item {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 18px;
  padding: 36px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.trust-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.trust-item i {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.trust-item h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.trust-item p { font-size: 14px; color: var(--gray-700); line-height: 1.55; }

/* Footer */
footer {
  padding: 48px 0 32px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; text-align: left; }
  .footer-inner .footer-copy { grid-column: 1 / -1; text-align: center; }
}
.footer-brand { display: flex; align-items: baseline; gap: 8px; justify-content: inherit; }
.footer-legal { font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: 13px; color: var(--gray-700);
  font-weight: 500; text-decoration: none;
}
.footer-nav a:hover { color: var(--primary); }
.footer-copy {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 12px; color: var(--gray-500);
}

/* Legal / content pages */
.page {
  padding: 60px 0 80px;
  max-width: 780px;
  margin: 0 auto;
}
.page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.page .meta {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 600;
}
.page h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.page p, .page li {
  font-size: 15.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.65;
}
.page ul { padding-left: 22px; margin-bottom: 20px; list-style: disc; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--gray-900); font-weight: 700; }
