:root {
  --primary: #40ba37;
  --primary-dark: #1c8314;
  --accent: #d35400;
  --bg-main: #fcfcfc;
  --text-main: #2c3e50;
  --text-muted: #7f8c8d;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.mt-05 {
  margin-top: 0.5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

/* Typography */
.title-xl {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.title-lg {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.title-md {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Components */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(64, 186, 55, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 186, 55, 0.4);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.category-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-cat-home {
  background: white;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--primary);
  transition: 0.3s;
  border: 1px solid #eee;
}

.card-cat-home:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Footer modern layout */
.main-footer {
  background: #1a1a1a;
  color: #eee;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: #aaa;
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

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

  .footer-grid {
    gap: 2rem;
  }
}

.calculator-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary), #6bd464);
  color: white;
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 186, 55, 0.2);
}

.calculator-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(64, 186, 55, 0.3);
  color: white;
}

.calculator-banner-icon {
  font-size: 2rem;
}

.calculator-banner-text {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Utilities */
.bg-dark {
  background: #1a1a1a;
  color: white;
}

.py-5 {
  padding: 4rem 0;
}
/* FAQ Section */
.faq-section {
  margin-top: 3rem;
  padding-top: 1rem;
}

.faq-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 1px solid rgba(0,0,0,0.02);
  border-right: 1px solid rgba(0,0,0,0.02);
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.faq-question {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-answer {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 0.95rem;
}
