/* ==========================================================================
   EMORA — CSS STYLESHEET
   Aesthetic: Mindful Botanical, Lush Nature, Grass & Stones, Living Garden
   Fonts: Poppins (Main) & Fraunces / Playfair Display (Stylish Waitlist Button)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Nature & Forest Color Palette */
  --color-forest-deep: #0e1e14;
  --color-forest-dark: #14281b;
  --color-forest-mid: #1d3826;
  --color-forest-leaf: #2e593d;
  --color-leaf-bright: #4e8d64;
  --color-leaf-light: #7cb891;
  --color-sprout-accent: #a3e2b5;

  /* Earth, Stone & Warm Florals */
  --color-stone-dark: #3a3b35;
  --color-stone-mid: #5c5d54;
  --color-stone-light: #88897d;
  --color-stone-moss: #506649;
  --color-soil: #171511;
  --color-soil-surface: #221e17;

  /* Warm Sand & Dawn Accents */
  --color-cream: #faf7f0;
  --color-cream-muted: #e4dfd3;
  --color-sand: #f0eae1;
  --color-peach: #e76f51;
  --color-amber: #f4a261;
  --color-gold-glow: #e9c46a;

  /* Typography */
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-stylish: 'Fraunces', 'Playfair Display', Georgia, serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(7, 20, 11, 0.45);
  --glow-sprout: 0 0 30px rgba(126, 217, 160, 0.28);
  --glow-btn: 0 8px 30px rgba(46, 89, 61, 0.45);

  /* Transitions */
  --ease-nature: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s var(--ease-nature);
  --transition-slow: 0.6s var(--ease-nature);
}

/* --------------------------------------------------------------------------
   2. CSS Reset & Base Rules
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-forest-deep);
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% 0%, #1f422b 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 90%, #2e593d 0%, transparent 60%),
    linear-gradient(180deg, #0e1e14 0%, #13271a 45%, #183322 100%);
  color: var(--color-cream);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle background noise texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 10;
}

/* Ambient Canvas */
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   3. Header Navigation
   -------------------------------------------------------------------------- */
.header {
  padding: 1.75rem 0 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-cream);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-leaf-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sprout-accent);
  filter: drop-shadow(0 0 10px rgba(163, 226, 181, 0.4));
}

.brand-name {
  font-family: var(--font-stylish);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--color-cream);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(163, 226, 181, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-sprout-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-sprout-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-sprout-accent);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 0 5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.tag-wrapper {
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.8s var(--ease-nature);
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(78, 141, 100, 0.18);
  border: 1px solid rgba(124, 184, 145, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-cream-muted);
}

.sub-badge .leaf-icon {
  font-size: 0.95rem;
}

.hero-title {
  font-family: var(--font-stylish);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.9s var(--ease-nature);
}

.hero-title .highlight-text {
  font-style: italic;
  font-weight: 600;
  color: var(--color-sprout-accent);
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #a3e2b5 0%, #d8f3dc 50%, #f4a261 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-text::after {
  content: '';
  position: absolute;
  left: 5%;
  bottom: 4px;
  width: 90%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(163, 226, 181, 0.6), transparent);
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.84);
  max-width: 650px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s var(--ease-nature);
}

.hero-description strong {
  font-weight: 600;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. Emotion Selector Chips
   -------------------------------------------------------------------------- */
.emotion-selector-box {
  width: 100%;
  max-width: 620px;
  margin-bottom: 1.75rem;
  animation: fadeInUp 1.1s var(--ease-nature);
}

.selector-label {
  display: block;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: rgba(228, 223, 211, 0.65);
  margin-bottom: 0.75rem;
}

.emotion-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-cream-muted);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(163, 226, 181, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.chip.active {
  background: rgba(78, 141, 100, 0.35);
  border-color: var(--color-sprout-accent);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(78, 141, 100, 0.3);
}

/* --------------------------------------------------------------------------
   6. Waitlist Form Card
   -------------------------------------------------------------------------- */
.form-card {
  width: 100%;
  max-width: 620px;
  background: rgba(20, 42, 28, 0.72);
  border: 1px solid rgba(163, 226, 181, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 5;
  animation: fadeInUp 1.2s var(--ease-nature);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-card:hover {
  border-color: rgba(163, 226, 181, 0.35);
  box-shadow: var(--shadow-lg), var(--glow-sprout);
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

@media (max-width: 640px) {
  .waitlist-form {
    flex-direction: column;
  }
}

.input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.15rem;
  width: 20px;
  height: 20px;
  color: rgba(250, 247, 240, 0.45);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.email-input {
  width: 100%;
  height: 56px;
  padding: 0 1.2rem 0 3.1rem;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 400;
  color: #ffffff;
  background: rgba(10, 22, 14, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  outline: none;
  transition: all var(--transition-normal);
}

.email-input::placeholder {
  color: rgba(228, 223, 211, 0.45);
}

.email-input:focus {
  border-color: var(--color-sprout-accent);
  background: rgba(10, 22, 14, 0.85);
  box-shadow: 0 0 0 4px rgba(163, 226, 181, 0.15);
}

.email-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--color-sprout-accent);
}

/* --------------------------------------------------------------------------
   STYLISH SUBMIT BUTTON ("Join Waitlist")
   User requirement: "fonts will be poppins and the join waitlist will be 
   of font that will look stylist"
   -------------------------------------------------------------------------- */
.stylish-submit-btn {
  /* Stylish serif editorial font */
  font-family: var(--font-stylish);
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.015em;
  
  height: 56px;
  padding: 0 2rem;
  background: linear-gradient(135deg, #2f6341 0%, #46885e 50%, #2e593d 100%);
  color: #ffffff;
  border: 1px solid rgba(163, 226, 181, 0.45);
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--glow-btn), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: all var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Button light sweep shine */
.stylish-submit-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.stylish-submit-btn:hover .btn-shine {
  left: 140%;
}

.stylish-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38764e 0%, #529d6d 50%, #366948 100%);
  box-shadow: 0 12px 30px rgba(46, 89, 61, 0.6), 0 0 25px rgba(163, 226, 181, 0.4);
  border-color: rgba(163, 226, 181, 0.7);
}

.stylish-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(46, 89, 61, 0.5);
}

.stylish-submit-btn .btn-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.stylish-submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

.stylish-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   Privacy & Gmail Contact Reassurance Note
   User requirement: "also add description about we will contact to you with this gmail type shit."
   -------------------------------------------------------------------------- */
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  text-align: left;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
}

.privacy-icon {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.privacy-text {
  font-size: 0.84rem;
  color: rgba(228, 223, 211, 0.85);
  line-height: 1.55;
}

.privacy-text strong {
  color: var(--color-sprout-accent);
  font-weight: 600;
}

/* Social Proof & Live Waitlist Counter */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  position: relative;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--color-forest-dark);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.86rem;
  color: rgba(250, 247, 240, 0.75);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.proof-text strong {
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast);
}

/* Floating +1 Pop Badge when joining */
.counter-pop-badge {
  position: absolute;
  top: -16px;
  left: 20px;
  background: var(--color-sprout-accent);
  color: var(--color-forest-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(163, 226, 181, 0.5);
  pointer-events: none;
  animation: floatPop 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatPop {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1.1);
  }
  40% {
    transform: translateY(-4px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) scale(0.85);
  }
}

/* --------------------------------------------------------------------------
   7. Success Card & Sprout Animation
   -------------------------------------------------------------------------- */
.success-card {
  width: 100%;
  max-width: 620px;
  background: rgba(20, 42, 28, 0.88);
  border: 1.5px solid var(--color-sprout-accent);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg), var(--glow-sprout);
  margin-bottom: 3.5rem;
  text-align: center;
  position: relative;
  z-index: 6;
  animation: zoomIn 0.5s var(--ease-nature);
}

.success-card.hidden {
  display: none;
}

.sprout-animation-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sprout-svg {
  width: 100%;
  height: 100%;
}

/* Animated SVG Sprout Growing */
.sprout-stem {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: growStem 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.sprout-leaf {
  opacity: 0;
  transform-origin: 50px 50px;
  transform: scale(0);
}

.leaf-left {
  animation: popLeaf 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.9s;
}

.leaf-right {
  animation: popLeaf 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.1s;
}

.flower-bud,
.flower-petal {
  opacity: 0;
  transform-origin: 50px 35px;
  transform: scale(0);
}

.flower-bud {
  animation: popBlossom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.3s;
}

.flower-petal {
  animation: popBlossom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.45s;
}

@keyframes growStem {
  to { stroke-dashoffset: 0; }
}

@keyframes popLeaf {
  to { opacity: 1; transform: scale(1); }
}

@keyframes popBlossom {
  to { opacity: 1; transform: scale(1); }
}

.success-title {
  font-family: var(--font-stylish);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.success-msg {
  font-size: 0.96rem;
  color: rgba(250, 247, 240, 0.85);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.highlight-email {
  color: var(--color-sprout-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-cream-muted);
  font-family: var(--font-main);
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   8. Feature Grid Cards
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  animation: fadeInUp 1.3s var(--ease-nature);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: left;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(163, 226, 181, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon-box {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-family: var(--font-stylish);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: rgba(228, 223, 211, 0.75);
  line-height: 1.55;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   9. Nature Landscape: Grass, Stones, Little Trees & Earth Ground
   User requirement: "background will be a grass and stones, and little trees and plant planting"
   -------------------------------------------------------------------------- */
.nature-landscape {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: auto;
  pointer-events: none;
  z-index: 3;
}

/* Soft morning mist */
.mist-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 56, 38, 0.35) 60%, rgba(20, 42, 28, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Distant forest silhouette */
.distant-forest {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  margin-bottom: -40px;
}

.forest-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Midground rolling hill with cozy trees */
.midground-hill {
  position: relative;
  width: 100%;
  height: 110px;
  margin-bottom: -30px;
  z-index: 2;
}

.hill-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Little Tree Clusters */
.tree-cluster {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  bottom: 35px;
  z-index: 3;
}

.cluster-left {
  left: 6%;
}

.cluster-right {
  right: 6%;
}

@media (max-width: 600px) {
  .cluster-left { left: 2%; }
  .cluster-right { right: 2%; }
  .tree-md, .tree-lg { transform: scale(0.7); }
}

/* Stylized Pine Trees */
.little-tree {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pine-tree .foliage {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid #234d32;
  margin-bottom: -10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pine-tree .foliage-1 {
  border-left-width: 10px;
  border-right-width: 10px;
  border-bottom: 18px solid #2e6240;
}

.pine-tree .foliage-2 {
  border-left-width: 14px;
  border-right-width: 14px;
  border-bottom: 22px solid #265437;
}

.pine-tree .foliage-3 {
  border-left-width: 18px;
  border-right-width: 18px;
  border-bottom: 26px solid #1c4029;
}

.pine-tree .trunk {
  width: 6px;
  height: 12px;
  background: #3d2a1d;
  border-radius: 2px;
}

/* Stylized Round Deciduous Trees */
.round-tree .crown {
  width: 38px;
  height: 42px;
  background: radial-gradient(circle at 35% 35%, #427e54, #265034 85%);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.round-tree .trunk {
  width: 6px;
  height: 14px;
  background: #422f20;
  border-radius: 2px;
  margin-top: -3px;
}

.tree-sm { transform: scale(0.8); }
.tree-md { transform: scale(1.0); }
.tree-lg { transform: scale(1.25); }

/* Foreground Ground with Grass & Stepping Stones */
.foreground-ground {
  position: relative;
  width: 100%;
  height: 110px;
  background: linear-gradient(180deg, #183321 0%, #112217 60%, #0d1911 100%);
  border-top: 3px solid #254d32;
  z-index: 4;
}

/* Stepping Stones / River Stones */
.stones-path {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-around;
  padding: 0 5%;
}

.stone {
  position: relative;
  background: radial-gradient(ellipse at 40% 30%, #7d8276 0%, #4f5349 60%, #30332c 100%);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.45),
    inset 0 2px 2px rgba(255, 255, 255, 0.25),
    inset 0 -3px 5px rgba(0, 0, 0, 0.5);
  border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
  transition: transform var(--transition-fast);
}

.stone-moss {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 40%;
  height: 45%;
  background: radial-gradient(circle, #486e42 0%, #2f4e2a 75%, transparent 100%);
  border-radius: 50%;
  opacity: 0.85;
}

.stone-1 { width: 75px; height: 38px; transform: rotate(-5deg); }
.stone-2 { width: 55px; height: 30px; transform: rotate(10deg); margin-top: 10px; }
.stone-3 { width: 90px; height: 42px; transform: rotate(-2deg); margin-top: -5px; }
.stone-4 { width: 65px; height: 35px; transform: rotate(7deg); margin-top: 12px; }
.stone-5 { width: 80px; height: 40px; transform: rotate(-8deg); margin-top: 4px; }
.stone-6 { width: 60px; height: 32px; transform: rotate(12deg); margin-top: 8px; }

@media (max-width: 600px) {
  .stone-4, .stone-5 { display: none; }
}

/* Grass Field (Interactive Swaying Blades) */
.grass-field {
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 38px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  overflow: hidden;
}

.grass-blade {
  width: 5px;
  height: 32px;
  background: linear-gradient(180deg, #71ba85 0%, #356d45 60%, #1b3d25 100%);
  border-radius: 50% 50% 0 0;
  transform-origin: bottom center;
  animation: swayGrass 3.5s ease-in-out infinite alternate;
}

@keyframes swayGrass {
  0% { transform: rotate(-8deg) skewX(-4deg); }
  50% { transform: rotate(2deg) skewX(1deg); }
  100% { transform: rotate(8deg) skewX(5deg); }
}

/* Wildflowers & Tiny Sprouting Plants */
.wildflower {
  position: absolute;
  font-size: 1.15rem;
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: gentleBreeze 4s ease-in-out infinite alternate;
}

.flower-1 { left: 8%; top: -8px; animation-delay: 0s; font-size: 1.25rem; }
.flower-2 { left: 22%; top: -14px; animation-delay: 0.7s; }
.flower-3 { left: 38%; top: -10px; animation-delay: 1.4s; font-size: 1.35rem; }
.flower-4 { left: 52%; top: -16px; animation-delay: 2.1s; font-size: 1.2rem; }
.flower-5 { left: 68%; top: -12px; animation-delay: 0.9s; }
.flower-6 { left: 82%; top: -15px; animation-delay: 1.8s; }
.flower-7 { left: 93%; top: -10px; animation-delay: 0.3s; }

@keyframes gentleBreeze {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-3px) rotate(4deg); }
}

/* Rich soil base line */
.rich-soil-base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background: repeating-linear-gradient(
    90deg,
    #1b1611 0px,
    #2a221b 15px,
    #17120e 30px
  );
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.82rem;
  color: rgba(228, 223, 211, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 20, 14, 0.95);
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright strong {
  color: var(--color-sprout-accent);
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-links .dot {
  opacity: 0.3;
}

.back-to-top {
  color: var(--color-sprout-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   12. Notification Toast / Inline Error Feedback
   -------------------------------------------------------------------------- */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 36, 25, 0.95);
  border: 1px solid rgba(163, 226, 181, 0.4);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg), var(--glow-sprout);
  z-index: 100;
  opacity: 0;
  transition: all 0.4s var(--ease-nature);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-msg.error {
  border-color: rgba(231, 111, 81, 0.7);
  box-shadow: 0 10px 30px rgba(231, 111, 81, 0.35);
}
