/* ============================================
   Furdel Choice - Web Design System
   Bilingual HK Pet Food Brand
   ============================================ */

/* ========== CSS Variables ========== */
:root {
  /* Brand Colors */
  --color-primary: #639CA1;         /* Light Teal (logo) */
  --color-secondary: #FFF8F5;       /* Cream White */
  --color-accent: #386B79;          /* Dark Teal (logo) */
  --color-accent-orange: #D77C4A;  /* Orange (logo) */
  --color-brand-teal-light: #639CA1; /* Logo light teal */
  --color-brand-orange-light: #EFBC7E; /* Logo light orange */
  --color-accent-green: #3D6B4F;   /* Green for claims */
  --color-text: #2D2845;           /* Deep Purple-Black */
  --color-text-light: #6B6178;     /* Muted Text */
  
  /* Product Colors */
  --color-chicken-veggie: #8BA888; /* Sage Green */
  --color-beef-veggie: #9B8AA5;   /* Lavender */
  --color-rich-beef: #E8A4A4;      /* Peach Pink */
  --color-rich-chicken: #E8D4B8;   /* Warm Beige */
  --color-cat-grass: #4A7C59;      /* Forest Green */
  
  /* Typography */
  --font-heading: 'Montserrat', 'Noto Sans HK', sans-serif;
  --font-body: 'Open Sans', 'Noto Sans HK', sans-serif;
  --font-script: 'Caveat', cursive;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 1s cubic-bezier(0.22, 1, 0.36, 1);
  
  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(45, 40, 69, 0.1);
  --shadow-hover: 0 20px 60px rgba(45, 40, 69, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.lang-text {
  display: inline;
}

.cn-text { display: none; }
:lang(zh) .cn-text { display: inline; }
:lang(en) .en-text { display: inline; }

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(255, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 2rem;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-logo-img {
  height: 46px;
  width: auto;
}

/* ========== Header right (shop button + language) ========== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-shop-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: var(--transition-fast);
  box-shadow: 0 6px 18px rgba(56, 107, 121, 0.25);
}

.nav-shop-btn:hover {
  background: var(--color-accent-orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(215, 124, 74, 0.3);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-accent);
}

.nav-logo-text span {
  color: var(--color-accent-orange);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  /* 主選單同 logo 拉開距離（>= 2cm ≈ 76px） */
  margin-left: 5rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.lang-toggle {
  display: flex;
  gap: 0.25rem;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.nav-right .lang-toggle {
  border-left: 1px solid rgba(45, 40, 69, 0.12);
  padding-left: 1rem;
}

.lang-toggle a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.lang-toggle a.active {
  background: var(--color-accent);
  color: white;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #F5EDE8 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(155, 138, 165, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(56, 107, 121, 0.1) 0%, transparent 60%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(2deg); }
  66% { transform: translate(-20px, 20px) rotate(-2deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-logo {
  display: block;
  width: min(240px, 60vw);
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-smooth) 0.1s forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 4.4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-smooth) 0.2s forwards;
}

.hero-tagline .tagline-brand {
  color: var(--color-accent);
}

.hero-tagline .tagline-rest {
  color: var(--color-accent-orange);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-text-light);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-smooth) 0.4s forwards;
}

.hero-sub-cn {
  font-family: 'Noto Sans HK', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-smooth) 0.5s forwards;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-smooth) 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: #3D827A;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(56, 107, 121, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-text);
  color: white;
  transform: translateY(-3px);
}

.btn-icon {
  transition: var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* ========== Section Common ========== */
.section {
  padding: var(--space-xl) 2rem;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-accent-orange);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* ========== Products Section ========== */
.products-section {
  background: var(--color-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  transition: var(--transition-fast);
}

.product-card[data-color="chicken-veggie"]::before { background: var(--color-chicken-veggie); }
.product-card[data-color="beef-veggie"]::before { background: var(--color-beef-veggie); }
.product-card[data-color="rich-beef"]::before { background: var(--color-rich-beef); }
.product-card[data-color="rich-chicken"]::before { background: var(--color-rich-chicken); }
.product-card[data-color="cat-grass"]::before { background: var(--color-cat-grass); }

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

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(45, 40, 69, 0.12));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08) rotate(2deg);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.product-badge.green { background: var(--color-accent-green); }
.product-badge.teal { background: var(--color-accent); }

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-name-en {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Color indicators */
.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
  border: 2px solid rgba(0,0,0,0.1);
}

.color-dot.green { background: var(--color-chicken-veggie); }
.color-dot.purple { background: var(--color-beef-veggie); }
.color-dot.pink { background: var(--color-rich-beef); }
.color-dot.beige { background: var(--color-rich-chicken); }
.color-dot.forest { background: var(--color-cat-grass); }

/* ========== Features Section ========== */
.features-section {
  background: linear-gradient(180deg, #F8F4F1 0%, var(--color-secondary) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(56, 107, 121, 0.1), rgba(155, 138, 165, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ========== Quality Section ========== */
.quality-section {
  background: var(--color-text);
  color: white;
}

.quality-section .section-title {
  color: white;
}

.quality-section .section-title::after {
  background: var(--color-accent-orange);
}

.quality-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-fast);
}

.cert-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.cert-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-bottom: 1.25rem;
}

.cert-logo img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  display: block;
  opacity: 0.96;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cert-card:hover .cert-logo img {
  transform: scale(1.06);
  opacity: 1;
}

.cert-logo-text {
  display: block;
}

.cert-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cert-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ========== Contact Section ========== */
.contact-section {
  background: var(--color-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(56, 107, 121, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E8E4E0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-text);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-accent-orange);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-company {
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* ========== Paw Prints Decoration ========== */
.paw-decoration {
  position: absolute;
  opacity: 0.05;
  font-size: 3rem;
  pointer-events: none;
}

/* ========== Scroll Reveal Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Parallax Effect ========== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ========== Product Detail Page ========== */
.product-detail {
  padding-top: 100px;
}

.product-detail-hero {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #F5EDE8 100%);
}

.product-detail-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-detail-image {
  position: relative;
}

.product-detail-image img {
  border-radius: 20px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(45, 40, 69, 0.2));
}

.product-detail-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.product-detail-info h1 {
  margin-bottom: 0.5rem;
}

.product-detail-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-text);
}

.product-detail-name-en {
  font-size: 1.25rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-specs {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.specs-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--color-secondary);
  border-radius: 8px;
}

.spec-label {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.spec-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-detail-cta {
  display: flex;
  gap: 1rem;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========== Ingredients Section ========== */
.ingredients-section {
  padding: var(--space-lg) 2rem;
  background: white;
}

.ingredients-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.ingredient-item {
  background: var(--color-secondary);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition-fast);
}

.ingredient-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.ingredient-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ingredient-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ingredient-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* 簡單成份文字 */
.ingredient-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.9;
}

.grow-list {
  max-width: 560px;
  margin: 0 auto;
}

.grow-line {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 2;
  margin: 0;
}

/* 簡單成份清單 */
.ingredient-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.ingredient-list li {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 2;
  padding: 0.15rem 0;
}

.ingredient-list li + li {
  border-top: 1px solid rgba(56, 107, 121, 0.08);
}

ol.ingredient-list {
  text-align: left;
  padding-left: 1.2rem;
  list-style: decimal;
}

ol.ingredient-list li {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ========== Nutritional Analysis ========== */
.nutrition-section {
  padding: var(--space-lg) 2rem;
  background: white;
}

.nutrition-container {
  max-width: 800px;
  margin: 0 auto;
}

.nutrition-table {
  width: 100%;
  background: var(--color-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.nutrition-table th,
.nutrition-table td {
  padding: 0.9rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
}

.nutrition-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 55%;
}

.nutrition-table td:last-child {
  color: var(--color-accent);
  font-weight: 700;
  text-align: right;
}

.nutrition-table tr:nth-child(even) {
  background: rgba(56, 107, 121, 0.06);
}

.nutrition-table tr:hover {
  background: rgba(56, 107, 121, 0.1);
}

.nutrition-note {
  max-width: 720px;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  opacity: 0.75;
}

/* ========== Feeding Guide ========== */
.feeding-section {
  padding: var(--space-lg) 2rem;
  background: var(--color-secondary);
}

.feeding-container {
  max-width: 800px;
  margin: 0 auto;
}

.feeding-table {
  width: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feeding-table th,
.feeding-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.feeding-table th {
  background: var(--color-accent);
  color: white;
  font-weight: 600;
}

.feeding-table tr:nth-child(even) {
  background: rgba(56, 107, 121, 0.05);
}

.feeding-table tr:hover {
  background: rgba(56, 107, 121, 0.1);
}

/* ========== Related Products ========== */
.related-section {
  padding: var(--space-lg) 2rem;
  background: white;
}

.related-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 1100px) {
  .nav-links {
    margin-left: 2.5rem;
    gap: 1.8rem;
  }
}

@media (max-width: 1024px) {
  .contact-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    margin-left: 0;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero {
    padding: 8rem 1.5rem 4rem;
  }
  
  .section {
    padding: var(--space-lg) 1.5rem;
  }
  
  .products-grid,
  .features-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail-cta {
    flex-direction: column;
  }
  
  .product-detail-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Header on small screens: keep logo + shop button, hide inline nav links */
  .nav-container {
    gap: 0.5rem;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .nav-shop-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-right .lang-toggle {
    padding-left: 0.5rem;
  }

  .nav-logo-img {
    height: 38px;
  }

  .hero-logo {
    width: min(180px, 55vw);
    margin-bottom: 1rem;
  }

  .hero-tagline {
    font-size: clamp(0.8rem, 4.4vw, 1.6rem);
    letter-spacing: -0.01em;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ========== Loading Animation ========== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.loader-paw {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.loader-paw span {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

.loader-paw span:nth-child(1) { animation-delay: 0s; }
.loader-paw span:nth-child(2) { animation-delay: 0.2s; }
.loader-paw span:nth-child(3) { animation-delay: 0.4s; }
.loader-paw span:nth-child(4) { animation-delay: 0.6s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ========== Floating Elements ========== */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.floating-delay-1 { animation-delay: 0.5s; }
.floating-delay-2 { animation-delay: 1s; }
.floating-delay-3 { animation-delay: 1.5s; }

/* ========== Gradient Text ========== */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Glassmorphism ========== */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== Scroll Progress Bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-orange), var(--color-primary));
  transition: width 0.1s linear;
}

/* ========== Hi7 Style - Text Reveal ========== */
.text-reveal {
  position: relative;
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-reveal.active span {
  transform: translateY(0);
}

.text-reveal span:nth-child(2) { transition-delay: 0.1s; }
.text-reveal span:nth-child(3) { transition-delay: 0.2s; }
.text-reveal span:nth-child(4) { transition-delay: 0.3s; }
.text-reveal span:nth-child(5) { transition-delay: 0.4s; }
.text-reveal span:nth-child(6) { transition-delay: 0.5s; }
.text-reveal span:nth-child(7) { transition-delay: 0.6s; }

/* ========== Hi7 Style - Magnetic Cursor Dot ========== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cursor-ring.expand {
  width: 70px;
  height: 70px;
  background: rgba(56, 107, 121, 0.1);
  border-color: var(--color-accent-orange);
}

/* ========== Hi7 Style - Clip Path Reveal ========== */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.clip-reveal.active {
  clip-path: inset(0 0 0% 0);
}

/* ========== Hi7 Style - Image Zoom ========== */
.zoom-img {
  overflow: hidden;
}

.zoom-img img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-img:hover img {
  transform: scale(1.08);
}

/* ========== Hi7 Style - Gradient Line Draw ========== */
.line-draw {
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-orange));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.line-draw.active {
  width: 100%;
}

/* ========== Hi7 Style - Card Hover Shine ========== */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s ease;
}

.shine:hover::after {
  left: 100%;
}

/* ========== Hi7 Style - Number Counter ========== */
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ========== Reduced Motion (Accessibility) ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-tagline, .hero-sub, .hero-sub-cn, .hero-cta,
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .text-reveal, .clip-reveal, .line-draw {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
