/* WACOM Natural Therapy - Modern Stylesheet */

:root {
  --green-dark: #1a4a1a;
  --green-primary: #2d7a2d;
  --green-light: #4aad4a;
  --green-pale: #e8f5e8;
  --cream: #faf8f0;
  --herb: #6b8d4a;
  --brown: #5a3e2b;
  --text-dark: #2c2c2c;
  --text-muted: #666;
  --white: #ffffff;
  --gold: #c9a84c;
  --red-accent: #c0392b;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  padding: 6px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
}

.lang-btn:hover {
  background: var(--green-pale);
  color: var(--green-primary);
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 900;
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--green-light);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--green-pale);
  color: var(--green-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 40%, var(--green-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-image {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 120px;
  height: auto;
}

/* Sections */
.section {
  padding: 80px 24px;
}

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

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Food Cards */
.food-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.food-card .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green-primary);
  color: white;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
}

.food-card h3 {
  font-size: 16px;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.food-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.food-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 12px;
}

/* Food Detail Cards */
.food-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.04);
}

.food-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.food-detail-header img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.food-detail h3 {
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.food-detail .letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green-primary);
  color: white;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nutrition Table */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.nutrition-table th {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--green-primary);
}

.nutrition-table td {
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
}

.nutrition-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Benefits List */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.benefit-item {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid var(--green-light);
  font-size: 14px;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-item::before {
  content: '\2713';
  color: var(--green-primary);
  font-weight: 700;
  font-size: 14px;
}

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: #d4b85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Contact Section */
.contact-info {
  text-align: center;
  margin: 32px 0;
}

.contact-info h3 {
  font-size: 20px;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info a {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Terms Page */
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.8;
}

.terms-content h2 {
  color: var(--green-dark);
  margin-bottom: 20px;
  font-size: 24px;
}

.terms-content p {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.terms-content .price {
  color: var(--red-accent);
  font-size: 22px;
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
}

.footer a {
  color: var(--green-light);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 500;
}

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

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* Price Tag */
.price-tag {
  display: inline-block;
  background: var(--red-accent);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section {
    padding: 60px 20px;
  }

  .terms-content {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .food-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}
