/* ============================================
   LEPTIN Premium Website Styles
   Coffee Brown + Deep Green Luxury Palette
   ============================================ */
:root {
  --coffee-darkest: #1A0E08;
  --coffee-dark: #2C1810;
  --coffee-medium: #4A2C1A;
  --coffee-warm: #6B3A2A;
  --coffee-light: #8B5E3C;
  --coffee-accent: #C9A96E;
  --coffee-gold: #D4AF37;
  --coffee-cream: #F5E6D0;
  --coffee-lightest: #FFF8F0;
  --green-darkest: #0A1F15;
  --green-dark: #1B3C2A;
  --green-medium: #2D5A3D;
  --green-light: #4A7C5F;
  --green-accent: #6BAF8D;
  --green-soft: #A8D5BA;
  --white: #FFFFFF;
  --black: #000000;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Noto Serif SC', -apple-system, sans-serif;
  color: var(--coffee-cream);
  background: var(--coffee-darkest);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.cn { font-family: 'Noto Serif SC', 'Inter', serif; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-weight: 700;
  line-height: 1.2;
}
.en-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.55em;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
  color: var(--coffee-accent);
}

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(26, 14, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: all 0.4s;
}
.nav.scrolled { height: 64px; background: rgba(26, 14, 8, 0.98); }
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--coffee-gold);
  letter-spacing: 6px;
  text-decoration: none;
}
.nav-brand span { color: var(--green-accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--coffee-cream); text-decoration: none;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 400; transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--coffee-gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--coffee-gold); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--coffee-cream); font-size: 28px; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45, 90, 61, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(107, 58, 42, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--coffee-darkest) 0%, var(--green-darkest) 50%, var(--coffee-darkest) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("images/pattern.svg");
}
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 0 20px; }
.hero-badge {
  display: inline-block; padding: 8px 24px;
  border: 1px solid var(--coffee-accent); border-radius: 50px;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--coffee-accent); margin-bottom: 32px;
  animation: fadeInDown 1s ease;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 80px); color: var(--white);
  margin-bottom: 8px; animation: fadeInUp 1s ease 0.2s both;
}
.hero h1 .accent { color: var(--coffee-gold); }
.hero h1 .green { color: var(--green-accent); }
.hero-title-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(18px, 3vw, 28px); font-weight: 400;
  color: var(--coffee-cream); margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-desc {
  font-size: clamp(14px, 1.8vw, 17px); color: rgba(245, 230, 208, 0.7);
  max-width: 600px; margin: 0 auto 48px; animation: fadeInUp 1s ease 0.6s both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--green-medium) 0%, var(--green-dark) 100%);
  color: var(--white); padding: 18px 42px; border-radius: 50px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  transition: all 0.4s; box-shadow: 0 4px 30px rgba(45, 90, 61, 0.4);
  animation: fadeInUp 1s ease 0.8s both;
}
.hero-cta:hover {
  transform: translateY(-3px); box-shadow: 0 8px 40px rgba(45, 90, 61, 0.6); color: var(--white);
}
.hero-cta .wechat-icon { font-size: 22px; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.hero-scroll span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(201, 169, 110, 0.5); border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; width: 4px; height: 8px; background: var(--coffee-gold);
  border-radius: 2px; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%); animation: scrollDot 2s infinite;
}

/* Sections */
.section { padding: 120px 40px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--coffee-gold);
  border-bottom: 1px solid var(--coffee-gold); padding-bottom: 8px; margin-bottom: 20px;
}
.section-title { font-size: clamp(32px, 5vw, 52px); color: var(--white); margin-bottom: 16px; }
.section-title-cn {
  font-family: 'Noto Serif SC', serif; font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400; color: var(--coffee-cream); opacity: 0.7; margin-bottom: 60px; max-width: 700px;
}

/* Brand Story */
.brand-story {
  background: linear-gradient(180deg, var(--coffee-darkest) 0%, rgba(27, 61, 42, 0.15) 50%, var(--coffee-darkest) 100%);
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual {
  aspect-ratio: 3/4; background: linear-gradient(135deg, var(--coffee-medium) 0%, var(--green-dark) 100%);
  border-radius: 8px; position: relative; overflow: hidden;
}
.story-visual {
  aspect-ratio: 3/4; background: linear-gradient(135deg, var(--coffee-medium) 0%, var(--green-dark) 100%);
  border-radius: 8px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.story-visual .cup-image {
  width: 65%; height: auto; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(201,169,110,0.3));
  animation: float 4s ease-in-out infinite;
  position: relative; z-index: 1;
  border-radius: 8px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.story-visual::after {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(201, 169, 110, 0.2); border-radius: 4px;
  z-index: 2; pointer-events: none;
}
.story-text p { font-size: 16px; color: rgba(245, 230, 208, 0.75); margin-bottom: 24px; line-height: 1.9; }
.story-text .en { font-size: 14px; color: rgba(245, 230, 208, 0.45); font-style: italic; line-height: 1.8; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding: 80px 40px; max-width: 1200px; margin: 0 auto; text-align: center;
}
.stat-number { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--coffee-gold); margin-bottom: 4px; }
.stat-label-cn { font-family: 'Noto Serif SC', serif; font-size: 15px; color: var(--coffee-cream); margin-bottom: 4px; }
.stat-label-en { font-size: 12px; color: rgba(245, 230, 208, 0.4); letter-spacing: 1px; }

/* Products */
.products {
  background: linear-gradient(180deg, var(--coffee-darkest) 0%, var(--green-darkest) 50%, var(--coffee-darkest) 100%);
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 36px; }
.product-card {
  background: rgba(74, 44, 26, 0.25); border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 12px; overflow: hidden; transition: all 0.4s; cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px); border-color: rgba(201, 169, 110, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.product-visual {
  height: 300px; display: flex; align-items: center; justify-content: center;
  font-size: 80px; position: relative; overflow: hidden;
}
.product-visual.gold {
  background: linear-gradient(135deg, #2C1810 0%, #6B3A2A 40%, #8B5E3C 70%, #C9A96E 100%);
}
.product-visual.hoodia {
  background: linear-gradient(135deg, #1B3C2A 0%, #2D5A3D 40%, #4A7C5F 70%, #6BAF8D 100%);
}
.product-visual.seido {
  background: linear-gradient(135deg, #1A0E08 0%, #4A2C1A 40%, #6B3A2A 70%, #D4AF37 100%);
}
.product-info { padding: 32px; }
.product-name {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.product-name-en { font-size: 13px; color: var(--coffee-accent); letter-spacing: 1px; margin-bottom: 16px; }
.product-desc { font-size: 14px; color: rgba(245, 230, 208, 0.6); margin-bottom: 20px; line-height: 1.7; }
.product-tag {
  display: inline-block; padding: 6px 16px;
  border: 1px solid rgba(107, 175, 141, 0.4); border-radius: 50px;
  font-size: 12px; color: var(--green-accent); letter-spacing: 1px;
}

/* Nature & Technology */
.nature-tech { background: var(--coffee-darkest); }
.nt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.nt-card {
  padding: 48px 40px;
  border-radius: 12px;
  transition: all 0.4s;
}
.nt-card.nature {
  background: linear-gradient(180deg, rgba(45, 90, 61, 0.18) 0%, rgba(27, 61, 42, 0.08) 100%);
  border: 1px solid rgba(107, 175, 141, 0.2);
}
.nt-card.tech {
  background: linear-gradient(180deg, rgba(74, 44, 26, 0.18) 0%, rgba(44, 24, 16, 0.08) 100%);
  border: 1px solid rgba(201, 169, 110, 0.2);
}
.nt-card:hover { transform: translateY(-4px); }
.nt-card .nt-icon { font-size: 56px; margin-bottom: 24px; }
.nt-card h3 { font-size: 26px; color: var(--white); margin-bottom: 4px; }
.nt-card .en-sub { margin-bottom: 24px; }
.nt-card p { font-size: 15px; color: rgba(245, 230, 208, 0.65); margin-bottom: 16px; line-height: 1.9; }
.nt-card .en { font-size: 13px; color: rgba(245, 230, 208, 0.4); font-style: italic; line-height: 1.8; }
.nt-card ul { list-style: none; padding: 0; margin-top: 20px; }
.nt-card li {
  font-size: 14px; color: rgba(245, 230, 208, 0.55); padding: 8px 0 8px 24px;
  position: relative; line-height: 1.7;
}
.nt-card li::before {
  content: '◆'; position: absolute; left: 0; color: var(--coffee-gold); font-size: 8px; top: 12px;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, var(--coffee-darkest) 0%, rgba(45, 90, 61, 0.1) 50%, var(--coffee-darkest) 100%);
}
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.testimonial-card {
  background: rgba(74, 44, 26, 0.15); border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 12px; padding: 36px; transition: all 0.3s;
}
.testimonial-card:hover { border-color: rgba(201, 169, 110, 0.25); }
.testimonial-stars { color: var(--coffee-gold); font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: rgba(245, 230, 208, 0.7); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-result { font-size: 13px; color: var(--green-accent); font-weight: 600; margin-bottom: 8px; }
.testimonial-author { font-size: 14px; color: var(--coffee-accent); font-weight: 500; }
.testimonial-disclaimer { font-size: 12px; color: rgba(245, 230, 208, 0.35); font-style: normal; }

/* CTA */
.cta-section {
  padding: 120px 40px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(45, 90, 61, 0.4) 0%, transparent 60%), var(--coffee-darkest);
}
.cta-section h2 { font-size: clamp(32px, 5vw, 52px); color: var(--white); margin-bottom: 8px; }
.cta-section .sub { font-size: 18px; color: var(--coffee-cream); opacity: 0.6; margin-bottom: 40px; }
.cta-wechat {
  display: inline-flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
  color: var(--white); padding: 22px 48px; border-radius: 60px;
  font-size: 22px; font-weight: 600; text-decoration: none; border: none;
  transition: all 0.4s; box-shadow: 0 4px 40px rgba(7, 193, 96, 0.3);
  cursor: pointer; outline: none; font-family: inherit;
}
.cta-wechat:hover { transform: scale(1.05); box-shadow: 0 8px 50px rgba(7, 193, 96, 0.5); color: var(--white); }
.cta-wechat:active { transform: scale(0.98); }
.cta-wechat .wechat-big { font-size: 32px; }
.cta-note { margin-top: 24px; font-size: 14px; color: rgba(245, 230, 208, 0.4); }

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: 60px 40px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Playfair Display', serif; font-size: 24px;
  color: var(--coffee-gold); letter-spacing: 6px; margin-bottom: 12px;
}
.footer-desc { font-size: 13px; color: rgba(245, 230, 208, 0.4); line-height: 1.7; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coffee-accent); margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(245, 230, 208, 0.5); text-decoration: none;
  font-size: 13px; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--coffee-gold); }
.footer-bottom {
  text-align: center; padding-top: 30px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  font-size: 12px; color: rgba(245, 230, 208, 0.25);
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { max-height: 400px; }
  .nt-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26, 14, 8, 0.98); flex-direction: column;
    padding: 20px; gap: 16px; border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .section { padding: 80px 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 60px 20px; gap: 32px; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 20px; }
  .cta-wechat { font-size: 18px; padding: 18px 36px; }
  .nt-card { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
