:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #10b981;
  --accent-soft: #ecfdf5;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #0d9488;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08);
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-base);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

/* Top bar */
.top-notice-bar {
  background-color: #042f2e;
  color: #ccfbf1;
  font-size: 0.85rem;
  padding: 8px 0;
  text-align: center;
}

.top-notice-bar strong {
  color: #ffffff;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}

.brand-title .main-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  line-height: 1.1;
}

.brand-title .tag-line {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  color: var(--text-main);
}

.btn-nav {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f0fdfa 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid #a7f3d0;
}

.hero-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #0f172a;
}

.hero-title span {
  color: var(--primary-dark);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-features-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.hero-features-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

.hero-image-wrap {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  max-height: 440px;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.floating-badge p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 12px 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

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

/* Sections */
.section-padding {
  padding: 72px 0;
}

.alt-bg {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid & Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Feature Split Section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse > * {
  direction: ltr;
}

.feature-image-wrap {
  position: relative;
}

.feature-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  max-height: 480px;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

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

.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}

.step-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Diet Grid */
.diet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.diet-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.diet-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diet-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Article Cards */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Medical Box Notice */
.medical-box {
  margin-top: 28px;
  background: #fefce8;
  border-left: 4px solid #eab308;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.medical-box-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.medical-box-icon {
  color: #ca8a04;
  flex-shrink: 0;
  margin-top: 2px;
}

.medical-box h4 {
  font-size: 1rem;
  color: #854d0e;
  margin-bottom: 4px;
}

.medical-box p {
  font-size: 0.9rem;
  color: #713f12;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: var(--bg-alt);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 22px;
  background: #ffffff;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px;
}

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

/* Guide / Newsletter Banner */
.guide-banner-section {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
}

.guide-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.guide-banner-text h2 {
  color: #ffffff;
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.guide-banner-text p {
  color: #ccfbf1;
  font-size: 1rem;
}

.guide-form {
  display: flex;
  gap: 10px;
}

.guide-form input {
  flex-grow: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
}

.guide-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.guide-form .btn {
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

.guide-form .btn:hover {
  background: #f0fdfa;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.disclaimer-inner svg {
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-brand .main-name {
  color: #ffffff;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Subpage content layout */
.subpage-hero {
  background: linear-gradient(180deg, #f0fdfa 0%, var(--bg-page) 100%);
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
}

.subpage-content {
  padding: 56px 0;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 32px;
  margin-bottom: 14px;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-content p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 1rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: #334155;
}

.article-content li {
  margin-bottom: 8px;
}

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

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

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

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

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .split-grid, .guide-banner-inner, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-grid.reverse {
    direction: ltr;
  }
  .cards-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .cards-grid, .stats-grid, .diet-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .guide-form {
    flex-direction: column;
  }
  .cookie-banner {
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
