/* ===== CSS Variables ===== */
:root {
  --color-paper: #F5EFE6;
  --color-ink: #2C2C2C;
  --color-vermilion: #C84B31;
  --color-teal: #8DA399;
  --color-bamboo: #D6C0A3;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
 
  word-break: keep-all;
  line-height: 1.2;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ===== Utility Classes ===== */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.font-serif-tc {
 
}

.text-vermilion { color: var(--color-vermilion); }
.bg-vermilion { background-color: var(--color-vermilion); }
.bg-paper { background-color: var(--color-paper); }
.bg-ink { background-color: var(--color-ink); }
.text-teal { color: var(--color-teal); }
.border-bamboo { border-color: var(--color-bamboo); }

/* ===== Scroll Reveal ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(245, 239, 230, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(214, 192, 163, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid var(--color-bamboo);
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  line-height: 1.15;
  min-width: 0;
}

.logo-title {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--color-ink);
  white-space: nowrap;
}

.logo-subtitle {
  max-width: 26rem;
  color: rgba(44, 44, 44, 0.62);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .logo-title {
    font-size: 1.3125rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .logo-title {
    max-width: calc(100vw - 5.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
  }

  .logo-subtitle {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  position: relative;
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-link-home {
  color: var(--color-vermilion);
  font-weight: 700;
}

.nav-link:hover {
  color: var(--color-vermilion);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background-color: var(--color-vermilion);
  box-shadow: 0 2px 12px rgba(200, 75, 49, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #B03D28;
}

.btn-primary-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(200, 75, 49, 0.35);
}

.btn-primary-lg:hover {
  box-shadow: 0 6px 28px rgba(200, 75, 49, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  border: 1.5px solid var(--color-ink);
  background-color: rgba(245, 239, 230, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(245, 239, 230, 0.7);
  border-color: var(--color-vermilion);
  color: var(--color-vermilion);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  border: 1.5px solid var(--color-bamboo);
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--color-vermilion);
  color: var(--color-vermilion);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245, 239, 230, 0.3), rgba(245, 239, 230, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-title {
 
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  color: var(--color-ink);
  text-shadow: 0 2px 20px rgba(245, 239, 230, 0.7), 0 0 60px rgba(245, 239, 230, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero-title.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-title span {
  color: var(--color-vermilion);
}

.hero-product-title {
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 4.3vw, 4rem);
  text-shadow: 0 2px 20px rgba(245, 239, 230, 0.82), 0 0 70px rgba(245, 239, 230, 0.52);
}

.hero-product-title span {
  display: inline-block;
  margin-top: 0.35rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-product-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  letter-spacing: 0.025em;
  color: rgba(44, 44, 44, 0.75);
  text-shadow: 0 1px 10px rgba(245, 239, 230, 0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    margin-top: 2rem;
    font-size: 1.125rem;
  }
}

.hero-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-product-subtitle {
  max-width: 50rem;
  color: rgba(44, 44, 44, 0.82);
  font-weight: 700;
}

.hero-tagline {
  max-width: 50rem;
  margin-top: 0.75rem;
  color: rgba(6, 6, 6, 0.68);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(245, 239, 230, 0.65);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero-tagline.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

@media (min-width: 1024px) {
  .hero-cta {
    margin-top: 2.5rem;
  }
}

.hero-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--color-paper));
  pointer-events: none;
}

/* ===== Section Common ===== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-teal);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
 
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-ink);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.45rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.25rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.28rem;
  line-height: 1.62;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(44, 44, 44, 0.6);
}

.divider {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.divider-line {
  height: 1px;
  width: 5rem;
  background-color: var(--color-vermilion);
  opacity: 0.5;
}

/* ===== Concept Section ===== */
.concept {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 140px;
}

.concept-decor {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  opacity: 0.2;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .concept-decor {
    right: 5rem;
  }
}

.concept-text {
 
  font-size: 1.25rem;
  line-height: 1.625;
  letter-spacing: 0.025em;
  color: var(--color-ink);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .concept-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .concept-text {
    font-size: 1.875rem;
    line-height: 2;
  }
}

.concept-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.concept-label-line {
  display: block;
  height: 1px;
  width: 2rem;
  background-color: var(--color-bamboo);
}

/* ===== Features Section ===== */
.features {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 120px;
}

.features-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url('../images/scroll-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-card {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.feature-card.reverse {
  direction: rtl;
}

.feature-card.reverse > * {
  direction: ltr;
}

.feature-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.feature-image-wrap .aspect-box {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0.75rem;
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.feature-image-wrap:hover img {
  transform: scale(1.05);
}

.feature-image-frame {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  pointer-events: none;
  border: 1px solid rgba(214, 192, 163, 0.4);
  box-shadow: inset 0 0 0 1px rgba(245, 239, 230, 0.1);
}

.feature-number {
 
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.15;
  color: var(--color-vermilion);
  line-height: 1;
}

@media (min-width: 1024px) {
  .feature-number {
    font-size: 3.75rem;
  }
}

.feature-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-teal);
}

.feature-title {
 
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-ink);
}

@media (min-width: 1024px) {
  .feature-title {
    font-size: 2.35rem;
  }
}

.feature-desc {
  font-size: 1.28rem;
  line-height: 1.72;
  margin-top: 1rem;
  color: rgba(44, 44, 44, 0.7);
}

.feature-line {
  margin-top: 1.5rem;
  height: 1px;
  width: 4rem;
  background-color: var(--color-bamboo);
}

/* ===== Assessment & Privacy Section ===== */
.assessment {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 120px;
}

.assessment-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url('../images/scroll-bg.jpg');
  background-size: cover;
  background-position: center;
}

.assessment-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(214, 192, 163, 0.56);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.86), rgba(245, 239, 230, 0.72)),
    linear-gradient(90deg, rgba(200, 75, 49, 0.08), transparent 42%);
  box-shadow: 0 24px 70px rgba(124, 87, 44, 0.12);
}

.assessment-visual {
  overflow: hidden;
  padding: clamp(0.5rem, 1.4vw, 1rem);
  border: 1px solid rgba(214, 192, 163, 0.42);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 252, 245, 0.46)),
    radial-gradient(circle at 50% 38%, rgba(200, 75, 49, 0.1), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.assessment-image {
  width: 100%;
  border-radius: 0.55rem;
  object-fit: contain;
  background-color: rgba(255, 252, 245, 0.88);
  box-shadow: 0 18px 44px rgba(124, 87, 44, 0.12);
}

.assessment-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.assessment-copy {
  width: 100%;
  max-width: 66rem;
  margin-right: auto;
  margin-left: auto;
}

.assessment-copy h3 {
  max-width: 46rem;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
}

.assessment-copy p {
  margin-top: 1.25rem;
  color: rgba(44, 44, 44, 0.7);
  font-size: 1.32rem;
  line-height: 1.72;
}

.assessment-points {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  list-style: none;
}

.assessment-points li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(214, 192, 163, 0.55);
}

.assessment-points strong {
  color: var(--color-vermilion);
  font-size: 1.08rem;
}

.assessment-points span {
  color: rgba(44, 44, 44, 0.68);
  font-size: 1.12rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .assessment {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .assessment-visual {
    border-radius: 0.6rem;
  }

  .assessment-points li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* ===== Showcase Section ===== */
.showcase {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}

.showcase-top-border {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 8rem;
  background-color: var(--color-bamboo);
  opacity: 0.4;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.showcase-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(214, 192, 163, 0.3);
  transition: all 0.5s ease;
}

.showcase-card:hover {
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.1);
}

.showcase-card .aspect-box {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease-out;
}

.showcase-card:hover img {
  transform: scale(1.03);
}

.showcase-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.6) 0%, transparent 50%);
}

.showcase-card:hover .showcase-card-overlay {
  opacity: 1;
}

.showcase-item-title {
 
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}

.showcase-item-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(44, 44, 44, 0.6);
  margin-top: 0.375rem;
  padding: 0 0.25rem;
}

/* ===== CTA Section ===== */
.cta {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url('../images/scroll-bg.jpg');
  background-size: cover;
  background-position: center;
}

.cta-poem {
 
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 2rem;
}

.cta-desc {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: rgba(44, 44, 44, 0.65);
  font-size: 1.28rem;
  line-height: 1.68;
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-xiaoshixian {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.cta-xiaoshixian img {
  height: 8rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(44, 44, 44, 0.15));
}

@media (min-width: 1024px) {
  .cta-xiaoshixian img {
    height: 10rem;
  }
}

@media (max-width: 640px) {
  .section-subtitle,
  .feature-desc,
  .assessment-copy p,
  .cta-desc {
    font-size: 1.16rem;
    line-height: 1.68;
  }

  .assessment-points span,
  .showcase-item-desc {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .feature-title {
    font-size: 1.65rem;
  }

  .showcase-item-title {
    font-size: 1.2rem;
  }
}

/* ===== Product Contact Assistant ===== */
.product-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.product-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(245, 239, 230, 0.28);
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  box-shadow: 0 18px 46px rgba(44, 44, 44, 0.24);
  font-size: 0.96rem;
  font-weight: 800;
}

.product-bot-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(214, 192, 163, 0.68);
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.92);
}

.product-bot-avatar::before,
.product-bot-avatar::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-vermilion);
}

.product-bot-avatar::before {
  left: 10px;
}

.product-bot-avatar::after {
  right: 10px;
}

.product-bot-avatar span {
  width: 14px;
  height: 7px;
  margin-top: 9px;
  border: 1px solid rgba(200, 75, 49, 0.48);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.product-chat-launcher .product-bot-avatar {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.product-chat-launcher .product-bot-avatar::before,
.product-chat-launcher .product-bot-avatar::after {
  background: #fff;
}

.product-chat-launcher .product-bot-avatar span {
  border-color: rgba(255, 255, 255, 0.58);
}

.product-chat-panel {
  display: none;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(214, 192, 163, 0.72);
  border-radius: 0.75rem;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 24px 70px rgba(124, 87, 44, 0.2);
}

.product-chat-widget.open .product-chat-panel {
  display: block;
}

.product-chat-widget.open .product-chat-launcher {
  display: none;
}

.product-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(214, 192, 163, 0.5);
}

.product-chat-header strong {
  display: block;
  color: var(--color-ink);
  line-height: 1.2;
}

.product-chat-header p {
  margin-top: 2px;
  color: rgba(44, 44, 44, 0.58);
  font-size: 0.86rem;
}

.product-chat-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid rgba(214, 192, 163, 0.58);
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.7);
  color: rgba(44, 44, 44, 0.64);
  font-size: 1.25rem;
  line-height: 1;
}

.product-chat-messages {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  padding: 16px;
}

.product-chat-bubble {
  max-width: 92%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 0.5rem;
  font-size: 0.94rem;
  line-height: 1.62;
}

.product-chat-bubble.user {
  justify-self: end;
  background: var(--color-ink);
  color: #fff;
}

.product-chat-bubble.assistant {
  justify-self: start;
  border: 1px solid rgba(214, 192, 163, 0.5);
  background: rgba(245, 239, 230, 0.72);
  color: rgba(44, 44, 44, 0.82);
}

.product-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.product-quick-replies button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(214, 192, 163, 0.78);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.86);
  color: rgba(44, 44, 44, 0.68);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-quick-replies button:hover {
  color: var(--color-vermilion);
  border-color: var(--color-vermilion);
}

.product-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(214, 192, 163, 0.5);
  background: rgba(245, 239, 230, 0.72);
}

.product-chat-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(214, 192, 163, 0.72);
  border-radius: 0.5rem;
  background: rgba(255, 252, 245, 0.98);
  color: var(--color-ink);
}

.product-chat-form input:focus {
  border-color: var(--color-vermilion);
  outline: 2px solid rgba(200, 75, 49, 0.14);
}

.product-chat-form button {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 0.5rem;
  background: var(--color-ink);
  color: #fff;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .product-chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .product-chat-launcher span:last-child {
    display: none;
  }
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-ink);
  padding-top: 36px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  object-fit: cover;
  opacity: 0.8;
}

.footer-logo-text {
 
  font-size: 1rem;
  font-weight: 700;
  color: rgba(245, 239, 230, 0.9);
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 239, 230, 0.5);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.6);
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: white;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(245, 239, 230, 0.4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.55);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-tagline {
 
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(245, 239, 230, 0.3);
}

@media (min-width: 768px) {
  .footer-center {
    text-align: center;
  }
  .footer-right {
    text-align: right;
  }
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(245, 239, 230, 0.08);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 1rem;
  color: rgba(245, 239, 230, 0.3);
}

/* ===== Text Center Utilities ===== */
.text-center {
  text-align: center;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-20 { gap: 5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }

.relative { position: relative; }
.h-px { height: 1px; }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.pointer-events-none { pointer-events: none; }

.hidden { display: none; }
@media (min-width: 640px) {
  .sm\\:block { display: block; }
  .sm\\:inline-flex { display: inline-flex; }
}
@media (min-width: 768px) {
  .md\\:flex { display: flex; }
  .md\\:text-center { text-align: center; }
}
@media (min-width: 1024px) {
  .lg\\:block { display: block; }
  .lg\\:text-right { text-align: right; }
}

.hero-right {
  margin-left: auto;
  text-align: right;
}

/* Smooth scroll for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-title, .hero-subtitle, .hero-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
