/* NutriMas Indonesia - Clinical Nutrition Styling */
:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --accent: #10B981;
  --accent-light: #D1FAE5;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-page); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Top notification */
.top-notice { background: var(--primary-dark); color: #E0E7FF; font-size: 0.82rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-notice-inner { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.main-header { background: #FFFFFF; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.brand-name span { color: var(--accent); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); display: block; font-weight: 500; }
.nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; color: #334155; font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-primary { background: var(--primary); color: #FFFFFF; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--accent-light); color: var(--primary-dark); padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }

/* Hero */
.hero-section { background: linear-gradient(135deg, #0F766E 0%, #115E59 100%); color: #FFFFFF; padding: 60px 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 30px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }
.hero-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-text { font-size: 1.05rem; color: #CCFBF1; margin-bottom: 24px; line-height: 1.6; }
.hero-img { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

/* Features & Cards */
.section-padding { padding: 60px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-header h2 { font-family: var(--font-heading); font-size: 1.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 0.98rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-color); padding: 26px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.card-img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.card h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Interactive Calculator */
.calc-box { background: #FFFFFF; border-radius: 16px; border: 2px solid #CCFBF1; padding: 36px; box-shadow: 0 8px 25px rgba(15, 118, 110, 0.08); margin: 40px 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: #1E293B; }
.form-control { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid #CBD5E1; font-size: 0.95rem; font-family: inherit; }
.result-card { background: #F0FDFA; border-left: 4px solid var(--primary); padding: 20px; border-radius: 8px; margin-top: 20px; display: none; }

/* Policy & Footer */
.policy-card { background: #F1F5F9; border-left: 4px solid #64748B; padding: 16px; border-radius: 8px; font-size: 0.82rem; color: #475569; margin: 40px 0; }
.site-footer { background: #0F172A; color: #94A3B8; padding: 50px 0 24px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #FFFFFF; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #94A3B8; text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-content { background: #FFFFFF; border-radius: 16px; max-width: 520px; width: 100%; padding: 32px; position: relative; }
.modal-close { position: absolute; top: 18px; right: 20px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; color: #64748B; }

/* Cookie */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #0F172A; color: #F8FAFC; padding: 14px 0; z-index: 999; font-size: 0.85rem; border-top: 1px solid #334155; }
.cookie-inner { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
