/* ============================================================
   DeepCare — official brand website styles
   Palette: deep green #153F37 / cream #FAF6F1 / gold #C8A24B / coral #D96C4F
   ============================================================ */

:root {
  --green-900: #0C2B22;
  --green-700: #153F37;
  --green-600: #1D5C4D;
  --green-100: #E3EFEA;
  --cream: #FAF6F1;
  --white: #FFFFFF;
  --gold: #C8A24B;
  --coral: #D96C4F;
  --ink: #22302B;
  --muted: #5C6F68;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 43, 34, 0.08);
  --font: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

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

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21, 63, 55, 0.10);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(12, 43, 34, 0.08); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand-logo { height: 60px; width: auto; }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  color: var(--green-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 6px 0;
  position: relative;
  transition: color .25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--coral); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-700);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0C2B22 0%, #153F37 55%, #1D5C4D 100%);
  color: var(--white);
  padding: 176px 0 120px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mountains {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%; height: 260px;
}
.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 108, 79, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ---------- Trust Bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid rgba(21, 63, 55, 0.08); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 48px 24px;
}
.trust-item { text-align: center; }
.trust-icon {
  width: 52px; height: 52px;
  color: var(--green-700);
  margin: 0 auto 16px;
}
.trust-item h3 { font-size: 18px; color: var(--green-700); margin-bottom: 8px; }
.trust-item p { font-size: 14px; color: var(--muted); }

/* ---------- Common Sections ---------- */
.section { padding: 96px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green-700);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-desc { color: var(--muted); font-size: 16px; }

/* ---------- Products ---------- */
.products { background: var(--cream); }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 43, 34, 0.14); }

.product-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-visual::before {
  content: "";
  position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  opacity: .5;
}
.product-visual.q10::before { background: radial-gradient(circle, #E3EFEA, transparent 70%); }
.product-visual.probio::before { background: radial-gradient(circle, #F6EFDE, transparent 70%); }
.product-visual.ergo::before { background: radial-gradient(circle, #F2E8E0, transparent 70%); }
.product-visual.dha::before { background: radial-gradient(circle, #E6EEF2, transparent 70%); }

.product-art { width: 120px; height: 120px; position: relative; z-index: 1; }

.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  font-size: 12px;
  color: var(--coral);
  background: rgba(217, 108, 79, 0.10);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 12px;
  letter-spacing: .5px;
}
.product-body h3 { font-size: 21px; color: var(--green-700); margin-bottom: 2px; }
.product-en { font-size: 13px; color: var(--gold); letter-spacing: 1px; margin-bottom: 12px; }
.product-desc { font-size: 14px; color: var(--muted); flex: 1; }

.product-link {
  margin-top: 18px;
  color: var(--green-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s ease, gap .25s ease;
}
.product-link span { transition: transform .25s ease; }
.product-link:hover { color: var(--coral); }
.product-link:hover span { transform: translateX(4px); }

/* ---------- Our Story ---------- */
.story { background: var(--white); }
.story-wrap {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}
.story-media { position: relative; }
.story-art { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.story-caption {
  position: absolute;
  bottom: 18px; left: 24px;
  color: var(--white);
  background: rgba(12, 43, 34, 0.65);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
}
.story-text .section-title { margin-bottom: 24px; }
.story-text p { margin-bottom: 18px; color: var(--muted); }
.story-text strong { color: var(--green-700); }
.story-quote {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: var(--green-100);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  color: var(--green-700);
  font-weight: 500;
  line-height: 1.9;
}

/* ---------- Quality ---------- */
.quality { background: var(--green-700); color: var(--white); }
.quality .section-eyebrow { color: var(--gold); }
.quality .section-title { color: var(--white); }
.quality .section-desc { color: rgba(255, 255, 255, 0.75); }

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.quality-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: background .3s ease, transform .3s ease;
}
.quality-item:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-4px); }
.quality-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.quality-item h3 { font-size: 18px; margin-bottom: 10px; }
.quality-item p { font-size: 14px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Contact / Subscribe ---------- */
.contact { background: var(--cream); }
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 56px;
}
.contact-info .section-title { margin-bottom: 20px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 15px; }
.contact-icon { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; }
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 14px; padding: 4px 0; }

.footer-bottom { padding-top: 24px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom p { margin-bottom: 8px; }
.footer-disclaimer { line-height: 1.8; }

/* ---------- Scroll Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .story-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { padding: 40px 28px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 90px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 88px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(21, 63, 55, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px 24px; font-size: 16px; border-bottom: 1px solid rgba(21, 63, 55, 0.06); }
  .main-nav a::after { display: none; }

  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
}
