/* ==========================================================================
   Greenstoryherbals — Editorial Botanical & Phytoscience Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --gsh-forest: #0B2014;
  --gsh-deep: #06130B;
  --gsh-emerald: #173A26;
  --gsh-sage: #2E5A40;
  --gsh-mint: #E6EFE9;
  --gsh-gold: #C9863B;
  --gsh-gold-bright: #E3A85E;
  --gsh-cream: #FBF8F3;
  --gsh-parchment: #F3EDE2;
  --gsh-border: #E4DCCD;
  --gsh-ink: #17211B;
  --gsh-muted: #55635A;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--gsh-ink);
  background-color: var(--gsh-cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.font-serif-luxury {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}

.font-mono-code {
  font-family: 'Space Grotesk', monospace;
}

/* Subtle Botanical Grain & Linen Texture */
.bg-parchment-texture {
  background-color: var(--gsh-parchment);
  background-image: radial-gradient(rgba(23, 58, 38, 0.045) 1px, transparent 0);
  background-size: 22px 22px;
}

.bg-botanical-hero {
  background: radial-gradient(circle at 18% 22%, rgba(46, 90, 64, 0.32) 0%, transparent 48%),
              radial-gradient(circle at 82% 78%, rgba(201, 134, 59, 0.16) 0%, transparent 50%),
              linear-gradient(155deg, #05110A 0%, #0A2014 55%, #07150D 100%);
}

/* Glassmorphic Header */
.glass-header {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 220, 205, 0.85);
}

/* Editorial Cards & Apothecary Surfaces */
.apothecary-card {
  background: #FFFFFF;
  border: 1px solid var(--gsh-border);
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px -18px rgba(11, 32, 20, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.apothecary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 134, 59, 0.55);
  box-shadow: 0 24px 48px -18px rgba(11, 32, 20, 0.22);
}

/* Herbarium Card */
.herb-card {
  background: #FFFFFF;
  border: 1px solid var(--gsh-border);
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.herb-card:hover {
  transform: translateY(-5px);
  border-color: var(--gsh-gold);
  box-shadow: 0 20px 40px -15px rgba(11, 32, 20, 0.18);
}

/* Luxury Buttons */
.btn-gold-luxury {
  background: linear-gradient(135deg, #D49142 0%, #B87224 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(184, 114, 36, 0.45);
  transition: all 0.25s ease;
}

.btn-gold-luxury:hover {
  background: linear-gradient(135deg, #DF9D4E 0%, #C47D2D 100%);
  box-shadow: 0 14px 28px -8px rgba(184, 114, 36, 0.6);
  transform: translateY(-1px);
}

.btn-green-luxury {
  background: linear-gradient(135deg, #173A26 0%, #0B2014 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(11, 32, 20, 0.4);
  transition: all 0.25s ease;
}

.btn-green-luxury:hover {
  background: linear-gradient(135deg, #1E4B32 0%, #102B1C 100%);
  box-shadow: 0 14px 28px -8px rgba(11, 32, 20, 0.55);
  transform: translateY(-1px);
}

/* Botanical Divider Line */
.botanical-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.botanical-divider::before,
.botanical-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 134, 59, 0.45), transparent);
}

/* Luxury Botanical Footer Enhancements */
.footer-botanical-bg {
  background: radial-gradient(circle at 12% 20%, rgba(36, 88, 54, 0.24) 0%, transparent 45%),
              radial-gradient(circle at 88% 75%, rgba(201, 134, 59, 0.14) 0%, transparent 50%),
              #05130A;
}

.footer-trust-band {
  background: linear-gradient(90deg, #07190F 0%, #0F2D1C 50%, #07190F 100%);
  border-top: 1px solid rgba(201, 134, 59, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brand-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 134, 59, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: #C9863B;
  border-color: #C9863B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 134, 59, 0.4);
}

/* FAQ Smooth Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-content.open {
  max-height: 480px;
  opacity: 1;
}
