﻿/* ===========================================
   内蒙古尚佑实业有限公司 - 企业官网样式表
   Design: 高端草原轻奢风
   Colors: #3A5947 / #947856 / #F7F3EC / #2C2C2C / #888888
   =========================================== */

/* === Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* === CSS Variables === */
:root {
  --primary: #76C96A;
  --primary-light: #92D889;
  --primary-dark: #5AA84F;
  --accent: #5C8D5C;
  --accent-light: #7AA87A;
  --accent-dark: #3D6B3D;
  --bg-cream: #F7F3EC;
  --bg-warm: #F0EBE2;
  --bg-white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-gray: #888888;
  --text-light: #AAAAAA;
  --border-light: #E8E2D8;
  --shadow-sm: 0 2px 8px rgba(44,44,44,0.06);
  --shadow-md: 0 4px 20px rgba(44,44,44,0.08);
  --shadow-lg: 0 8px 40px rgba(44,44,44,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --font-cn: 'Noto Sans SC', -apple-system, 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* === Container === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0.75rem auto 1rem;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247,243,236,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 42px;
  width: auto;
}

.navbar .logo-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1.2;
}

.navbar .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(58,89,71,0.06);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: transform var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  padding: 10px 28px;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58,130,60,0.55) 0%,
    rgba(58,130,60,0.2) 50%,
    rgba(247,243,236,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 4px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-cn);
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* === Sections === */
section {
  padding: 80px 0;
}

section.alt-bg {
  background: var(--bg-white);
}

/* === About Intro === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.about-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-intro-image:hover img {
  transform: scale(1.03);
}

.about-intro-text h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-intro-text p {
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

/* === Product Cards === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

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

.product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 20px 24px 24px;
}

.product-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.product-card-body .spec {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.product-card-body .desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.product-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(58,89,71,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

/* === Process Flow === */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  font-family: var(--font-en);
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* === Social Media === */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.social-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.social-card .qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.social-card .qr-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

.social-card .qr-placeholder .qr-label {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 4px;
}

.social-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.social-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius-md);
  margin: 0 24px;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* === Footer === */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-top: 12px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  opacity: 0.75;
  transition: all var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.75;
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-qr .mini-qr {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* === Chat Widget === */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  position: relative;
}

.chat-toggle:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 360px;
  max-height: 520px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
  font-size: 1.2rem;
}

.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  max-height: 280px;
}

.chat-message {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 85%;
}

.chat-message.bot {
  background: var(--bg-warm);
  color: var(--text-dark);
  border-bottom-left-radius: 2px;
}

.chat-message.user {
  background: var(--primary);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 2px;
}

.chat-form-inline {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border-light);
}

.chat-form-inline input,
.chat-form-inline textarea,
.chat-form-inline select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-cn);
  margin-bottom: 8px;
  transition: border-color var(--transition);
  background: var(--bg-cream);
}

.chat-form-inline input:focus,
.chat-form-inline textarea:focus,
.chat-form-inline select:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-form-inline textarea {
  resize: none;
  height: 60px;
}

.chat-form-inline button {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-cn);
  transition: all var(--transition);
}

.chat-form-inline button:hover {
  background: var(--primary-light);
}

/* === Back to Top === */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* === Page Header === */
.page-header {
  margin-top: 72px;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
}

/* === Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.contact-form-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group label .required {
  color: #D32F2F;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-cn);
  transition: border-color var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58,89,71,0.1);
}

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

.form-error {
  font-size: 0.8rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

/* === Map Container === */
.map-container {
  width: 100%;
  height: 350px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

/* === Detail Grid (for product detail) === */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-gallery img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.detail-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.detail-info .meta {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.detail-info .meta span {
  margin-right: 20px;
}

.detail-info .description {
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 24px;
}

.detail-info .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-info .features li {
  padding: 10px 14px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-dark);
}

/* === Certification Grid === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding-bottom: 16px;
}

.cert-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 10px;
}

/* === News Cards === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 20px 24px 24px;
}

.news-card-body .date {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

.news-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 6px 0 8px;
  line-height: 1.4;
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* === Toast Notification === */
.toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 2000;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--primary);
}

.toast.error {
  background: #C62828;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu a { width: 100%; padding: 12px 18px; }
  .nav-cta { width: 100%; text-align: center; margin-top: 8px; }

  section { padding: 56px 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; max-width: 280px; }
  .chat-panel { width: calc(100% - 32px); right: 16px; bottom: 84px; }
  .hero-content h1 { letter-spacing: 2px; }
  .detail-info .features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .navbar .container { height: 60px; }
  .navbar .logo img { height: 32px; }
  .navbar .logo-text { font-size: 0.95rem; }
  .hero { margin-top: 60px; min-height: 500px; }
  .page-header { margin-top: 60px; padding: 80px 0 40px; }
  .hero-content h1 { font-size: 1.8rem; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .cta-banner { margin: 0 12px; padding: 40px 16px; }
}
/* === ENHANCED DYNAMIC EFFECTS === */

/* Floating particles animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-0.5deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(118,201,106,0.3); }
  50% { box-shadow: 0 0 20px rgba(118,201,106,0.6); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes count-up {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Staggered reveal animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Card hover enhancements */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(118,201,106,0.08), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.product-card:hover::before {
  left: 100%;
}

/* Hero floating decorative elements */
.hero-float-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(118,201,106,0.08);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-float-element:nth-child(1) {
  width: 300px; height: 300px;
  top: 15%; right: 10%;
  animation-delay: 0s;
}

.hero-float-element:nth-child(2) {
  width: 200px; height: 200px;
  top: 60%; right: 25%;
  animation-delay: 2s;
  background: rgba(92,141,92,0.06);
}

.hero-float-element:nth-child(3) {
  width: 150px; height: 150px;
  top: 30%; left: 5%;
  animation-delay: 4s;
}

/* Smooth gradient border on buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease infinite;
}

/* Process step glow */
.process-step:hover::before {
  box-shadow: 0 0 20px rgba(118,201,106,0.4);
  transform: scale(1.1);
}

/* Social card hover */
.social-card:hover .qr-placeholder {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(118,201,106,0.15);
}

/* Smooth scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 1001;
  transition: width 0.1s ease;
  width: 0%;
}

/* Stagger for grid children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

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

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Floating decorative grass icon */
.grass-decoration {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  font-size: 60px;
  animation: float 4s ease-in-out infinite;
}

/* Page load entrance animation */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: page-enter 0.8s ease 0.2s both;
}

/* Navbar blur enhancement */
.navbar {
  background: rgba(247,243,236,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Chat toggle glow */
.chat-toggle {
  animation: pulse-glow 2s ease-in-out infinite;
}
