/* =========================================
   Herb Step - Herbal & Wellness Solutions
   Deep sage + warm clay terracotta theme
   ========================================= */

:root {
  --bg-deep: #070a07;
  --bg-primary: #0b0f0b;
  --bg-secondary: #101410;
  --bg-card: #151a15;
  --bg-elevated: #1a201a;
  --text-primary: #e2e6df;
  --text-secondary: #899681;
  --text-muted: #606c58;
  --accent: #bc6c25;
  --accent-deep: #9c5211;
  --accent-soft: #dda15e;
  --accent-bright: #d4a373;
  --accent-clay: #a67c52;
  --accent-sage: #606c38;
  --accent-dim: rgba(188, 108, 37, 0.08);
  --accent-glow: rgba(188, 108, 37, 0.04);
  --border-color: #1c221c;
  --border-subtle: rgba(188, 108, 37, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-accent: 0 4px 24px rgba(188, 108, 37, 0.15);
  --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1a241a; border-radius: 3px; }
* { scrollbar-width: thin; scrollbar-color: #1a241a var(--bg-deep); }

/* Warm natural ambient glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(188, 108, 37, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(96, 108, 56, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(11, 15, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 15, 11, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .icon-leaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  box-shadow: 0 2px 10px rgba(188, 108, 37, 0.3);
}

.nav-logo .accent {
  color: var(--accent);
  font-weight: 700;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}

.hero-text {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(188, 108, 37, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50% { opacity: 0.3; box-shadow: 0 0 12px var(--accent); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(188, 108, 37, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(188, 108, 37, 0.2);
}

.btn-secondary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* Hero Visual - Herbal garden mosaic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.herb-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 380px;
}

.herb-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.herb-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(188, 108, 37, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.herb-tile:hover::before {
  opacity: 1;
}

.herb-tile:hover {
  border-color: rgba(188, 108, 37, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(188, 108, 37, 0.06);
}

.herb-tile .icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.herb-tile h4 {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  position: relative;
}

.herb-tile p {
  font-size: 0.72rem;
  color: var(--text-muted);
  position: relative;
}

.herb-tile.featured {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--bg-card), rgba(188, 108, 37, 0.04));
  border-color: rgba(188, 108, 37, 0.08);
}

.herb-tile.featured .icon {
  font-size: 2rem;
  margin-bottom: 0;
}

.herb-tile.featured h4 {
  font-size: 0.95rem;
}

.herb-tile.featured p {
  font-size: 0.78rem;
}

/* ===== Section ===== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.section-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '\273c';
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.2rem;
  color: rgba(188, 108, 37, 0.06);
  line-height: 1;
}

.service-card:hover {
  border-color: rgba(188, 108, 37, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(188, 108, 37, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(188, 108, 37, 0.12);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Stats ===== */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text h2 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  margin-top: 24px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.about-features li::before {
  content: '\273c';
  color: var(--accent);
  font-size: 0.8rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}

.herb-traits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.herb-trait {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.herb-trait:last-child {
  border-bottom: none;
}

.trait-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(188, 108, 37, 0.06);
  border: 1px solid rgba(188, 108, 37, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.herb-trait h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.herb-trait p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(188, 108, 37, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(188, 108, 37, 0.1);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.footer-brand h3 .accent {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Content Pages ===== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-header h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1rem;
}

.legal-content {
  padding: 0 0 80px;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
}

.legal-content ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(11, 15, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link { font-size: 1.2rem; padding: 16px 24px; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.8rem; }
  .page-header h1 { font-size: 1.8rem; }
  .herb-mosaic { grid-template-columns: 1fr; }
  .herb-tile.featured { grid-column: span 1; flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.6rem; }
}
