:root {
  --bg: #FDFCF8;
  --bg-soft: #F5F4EF;
  --text: #1F2937;
  --text-muted: #5D6470;
  --primary: #5D6E3D;
  --primary-dark: #46522E;
  --accent: #B45309;
  --danger: #991B1B;
  --danger-soft: #FEF2F2;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(31, 41, 55, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 960px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: none;
}

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(93, 110, 61, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(31, 41, 55, 0.12);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 720px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-icon.green {
  background: #F0F4E6;
}

.card-icon.amber {
  background: #FEF3E2;
}

.card-icon.red {
  background: var(--danger-soft);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card a {
  margin-top: 1.25rem;
  display: inline-flex;
  font-weight: 600;
}

/* Content blocks */
.content-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.content-block h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.content-block p {
  margin: 0 0 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block ul,
.content-block ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}

.content-block li {
  margin-bottom: 0.6rem;
}

/* Oil list */
.oil-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.oil-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border-left: 4px solid var(--danger);
  box-shadow: var(--shadow);
}

.oil-item h4 {
  margin: 0 0 0.5rem;
  color: var(--danger);
  font-size: 1.1rem;
}

.oil-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why toxic points */
.point-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.point-list li {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.point-list li strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

/* Healthy fats grid */
.healthy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.healthy-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.healthy-item h4 {
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.healthy-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tips */
.tip-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.tip-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.tip-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-weight: 800;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Summary page */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.summary-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.summary-card--avoid {
  border-top: 4px solid var(--danger);
}

.summary-card--avoid h2 {
  color: var(--danger);
}

.summary-card--eat {
  border-top: 4px solid var(--primary);
}

.summary-card--eat h2 {
  color: var(--primary-dark);
}

.summary-card--label {
  border-top: 4px solid var(--accent);
}

.summary-card--label h2 {
  color: var(--accent);
}

.summary-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.summary-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-soft);
  font-size: 0.98rem;
}

.summary-card li:last-child {
  border-bottom: none;
}

.summary-card--avoid li::before {
  content: "✕";
  color: var(--danger);
  margin-right: 0.6rem;
  font-weight: 700;
}

.summary-card--eat li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.6rem;
  font-weight: 700;
}

.summary-card--label li::before {
  content: "!";
  color: var(--accent);
  margin-right: 0.7rem;
  font-weight: 700;
}

.summary-intro p,
.print-hint p {
  margin: 0;
  font-size: 1.05rem;
}

.print-hint {
  background: var(--bg-soft);
}

/* Print styles */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .navbar,
  .footer,
  .lang-switch,
  .mobile-menu-btn {
    display: none !important;
  }

  .section {
    padding: 1rem 0;
  }

  .content-block,
  .summary-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .summary-card {
    border-top-width: 4px;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .container {
    max-width: 100%;
    width: 100%;
  }
}

/* Page header */
.page-header {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-header .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
}

/* Responsive */
@media (max-width: 720px) {
  .navbar .container {
    padding: 0.9rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    gap: 0.8rem;
  }

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .content-block {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}