@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

/* ==============================
   RESET & BASE
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #FAFAFA;
  --sky:         #87CEEB;
  --green:       #2E8B57;
  --border:      #E0E0E0;
  --dark:        #1A1A2E;
  --text:        #2C2C2C;
  --muted:       #6B7280;
  --panel-bg:    #F4F6F8;
  --glass-bg:    rgba(250,250,250,0.72);
  --glass-blur:  blur(14px);
  --radius:      6px;
  --gap:         8px;
  --max:         1200px;
  --section-gap: 120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 400; }
h3 { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky); }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .4rem; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   HEADER / NAV
============================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
  text-decoration: none;
}
.logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: .3s;
}

/* ==============================
   HERO
============================== */
.hero-section {
  padding-top: 64px;
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f5ee 60%, #fafafa 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text { }
.hero-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-text h1 { margin-bottom: 20px; }
.hero-text p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: #25734a; color: #fff; transform: translateY(-1px); }

.btn-secondary {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 14px 28px;
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--sky); color: var(--sky); }

.hero-disclaimer {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flask-panel {
  position: relative;
  width: 360px;
  height: 420px;
  background: rgba(135,206,235,.08);
  border: 1px solid rgba(135,206,235,.3);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.flask-panel::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(135,206,235,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.flask-panel::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(46,139,87,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.flask-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(135,206,235,.3);
  position: relative;
  z-index: 1;
}

.flask-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}

.floating-ingredient {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .6px;
  text-transform: uppercase;
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite;
}
.floating-ingredient:nth-child(1) { top: 18%; left: -16px; animation-delay: 0s; }
.floating-ingredient:nth-child(2) { top: 40%; right: -20px; animation-delay: 1.2s; }
.floating-ingredient:nth-child(3) { bottom: 22%; left: -8px; animation-delay: 2.4s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ==============================
   SECTION SCAFFOLDING
============================== */
.section { padding: var(--section-gap) 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--panel-bg); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 56px;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--sky);
  margin: 16px 0 40px;
}

/* ==============================
   GRID SYSTEM
============================== */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ==============================
   FORMULA BUILDER
============================== */
#formula-builder {
  background: var(--white);
}

.builder-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.category-panel {
  margin-bottom: 40px;
}
.category-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.ingredient-card {
  background: var(--panel-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
  user-select: none;
}
.ingredient-card:hover { border-color: var(--sky); }
.ingredient-card.selected {
  border-color: var(--green);
  background: #f0faf4;
}
.ingredient-card .ic-name {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.ingredient-card .ic-sub {
  font-size: .72rem;
  color: var(--muted);
}
.ingredient-card .ic-check {
  position: absolute;
  top: 10px; right: 10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  display: none;
  align-items: center;
  justify-content: center;
}
.ingredient-card .ic-check svg { width: 10px; height: 10px; fill: #fff; }
.ingredient-card.selected .ic-check { display: flex; }

/* Analysis Panel */
.analysis-panel {
  position: sticky;
  top: 80px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.analysis-panel h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.analysis-list {
  min-height: 80px;
  margin-bottom: 20px;
}
.analysis-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  animation: slideIn .3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.analysis-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.analysis-empty {
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}

.analysis-bars { margin-bottom: 20px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.bar-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  width: 90px;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--sky);
  width: 0%;
  transition: width .6s ease;
}
.bar-fill.energy { background: var(--green); }

.analysis-note {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  padding: 12px;
  background: rgba(135,206,235,.1);
  border-left: 3px solid var(--sky);
  border-radius: 0 4px 4px 0;
}

/* ==============================
   RESULT SECTION
============================== */
#result-section {
  display: none;
  padding: 80px 0;
  background: var(--panel-bg);
}

.result-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.result-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f0faf4;
  border: 1px solid var(--green);
  color: var(--green);
}
.chip.sky {
  background: rgba(135,206,235,.1);
  border-color: var(--sky);
  color: #2980b9;
}

/* ==============================
   COMPARISON TABLE
============================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.comparison-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  background: var(--dark);
  color: #fff;
}
.comparison-table th:first-child { border-radius: 8px 0 0 0; }
.comparison-table th:last-child  { border-radius: 0 8px 0 0; }
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.comparison-table tr:hover td { background: var(--panel-bg); }
.comparison-table .yes { color: var(--green); font-weight: 600; }
.comparison-table .partial { color: #d97706; }

/* ==============================
   RECOMMENDED FORMULA
============================== */
.formula-recommend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.formula-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 12px;
}

.formula-components {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.fc-card {
  padding: 16px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--sky);
}
.fc-card h4 { font-size: .82rem; margin-bottom: 4px; color: var(--dark); }
.fc-card p  { font-size: .75rem; color: var(--muted); margin: 0; }

/* ==============================
   POPULAR COMBOS
============================== */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.combo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.combo-card:hover { border-color: var(--sky); }
.combo-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.combo-card-body { padding: 20px; }
.combo-card-body h4 { font-size: .9rem; margin-bottom: 8px; }
.combo-card-body p  { font-size: .8rem; color: var(--muted); margin: 0; }

/* ==============================
   FAQ MINI
============================== */
.faq-mini {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon { background: var(--sky); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 16px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ==============================
   CHAT WIDGET
============================== */
#chat-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
}

.chat-trigger {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(46,139,87,.3);
  transition: background .2s, transform .15s;
}
.chat-trigger:hover { background: #25734a; transform: scale(1.06); }
.chat-trigger svg { width: 26px; height: 26px; fill: #fff; }

.chat-window {
  display: none;
  position: absolute;
  bottom: 72px; right: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  overflow: hidden;
  flex-direction: column;
}
.chat-window.open { display: flex; }

.chat-header {
  padding: 16px 20px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.chat-header-text { flex: 1; }
.chat-header-text .name {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
}
.chat-header-text .role {
  font-size: .7rem;
  opacity: .7;
}
.chat-close {
  background: none; border: none; cursor: pointer; color: #fff;
  font-size: 1.2rem; line-height: 1;
}

.chat-messages {
  padding: 16px;
  height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}
.chat-msg.user {
  background: var(--green);
  color: #fff;
  align-self: flex-end;
  border-radius: 14px 4px 14px 14px;
}

.chat-suggestions {
  padding: 8px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-suggest-btn {
  font-size: .72rem;
  padding: 5px 10px;
  border-radius: 12px;
  background: rgba(135,206,235,.15);
  border: 1px solid var(--sky);
  color: var(--dark);
  cursor: pointer;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.chat-suggest-btn:hover { background: rgba(135,206,235,.3); }

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 10px;
  gap: 8px;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: .82rem;
  font-family: 'Roboto', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--sky); }
.chat-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.chat-send:hover { background: #25734a; }
.chat-send svg { width: 16px; height: 16px; fill: #fff; }

/* ==============================
   PHOTO STRIP
============================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.photo-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ==============================
   ABOUT PAGE
============================== */
.about-hero {
  padding-top: 64px;
  background: var(--panel-bg);
}
.about-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.mission-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--sky);
}
.mission-card h3 { font-size: .95rem; margin-bottom: 8px; }
.mission-card p  { font-size: .82rem; color: var(--muted); margin: 0; }

.values-panel {
  background: var(--dark);
  padding: 80px 0;
  color: #fff;
}
.values-panel h2  { color: #fff; }
.values-panel .section-lead { color: rgba(255,255,255,.7); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-item {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.value-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 12px;
}
.value-item h3 { font-size: .95rem; color: #fff; margin-bottom: 8px; }
.value-item p  { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }

/* ==============================
   FAQ PAGE
============================== */
.faq-page-header {
  padding-top: 64px;
  background: var(--dark);
  padding-bottom: 60px;
}
.faq-page-header h1 { color: #fff; }
.faq-page-header p  { color: rgba(255,255,255,.7); }

.faq-categories { margin-top: 48px; }
.faq-cat-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  border-left: 3px solid var(--sky);
  padding-left: 12px;
  margin-bottom: 20px;
  margin-top: 48px;
}
.faq-cat-title:first-child { margin-top: 0; }

.faq-item-page {
  border-bottom: 1px solid var(--border);
}
.faq-question-page {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq-question-page:hover { color: var(--green); }
.faq-icon-page {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background .2s, transform .3s;
}
.faq-item-page.open .faq-icon-page { background: var(--sky); transform: rotate(45deg); }
.faq-answer-page {
  display: none;
  padding: 0 0 20px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item-page.open .faq-answer-page { display: block; }

/* ==============================
   CONTACT PAGE
============================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block {
  padding: 40px;
  background: var(--dark);
  border-radius: 12px;
  color: #fff;
}
.contact-info-block h2 { color: #fff; margin-bottom: 8px; }
.contact-info-block .lead { color: rgba(255,255,255,.7); margin-bottom: 40px; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(135,206,235,.15);
  border: 1px solid rgba(135,206,235,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; fill: var(--sky); }
.contact-detail-text .label {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.contact-detail-text .value {
  font-size: .9rem;
  color: #fff;
}

.contact-form-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.contact-form-panel h2 { margin-bottom: 8px; }
.contact-form-panel .lead { color: var(--muted); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .9rem;
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--sky); }
textarea.form-control { resize: vertical; min-height: 130px; }

.contact-img-panel {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
}
.contact-img-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ==============================
   POLICY PAGES
============================== */
.policy-header {
  padding-top: 64px;
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border);
}
.policy-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 48px;
}
.policy-header-inner h1 { margin-bottom: 8px; }
.policy-header-inner .updated {
  font-size: .82rem;
  color: var(--muted);
}

.policy-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
}
.policy-body h2 {
  font-size: 1.15rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { font-size: .92rem; color: var(--muted); line-height: 1.75; }
.policy-body ul, .policy-body ol { margin-bottom: 1rem; }

/* ==============================
   THANK YOU PAGE
============================== */
.thank-you-section {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--panel-bg);
}
.thank-you-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}
.thank-you-box .check-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #f0faf4;
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.thank-you-box .check-icon svg { width: 30px; height: 30px; fill: var(--green); }
.thank-you-box h1 { font-size: 1.6rem; margin-bottom: 12px; }
.thank-you-box p  { color: var(--muted); font-size: .9rem; }

/* ==============================
   404 PAGE
============================== */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.not-found .code {
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.not-found h1 { font-size: 1.6rem; margin-bottom: 12px; }
.not-found p  { color: var(--muted); max-width: 420px; margin: 0 auto 32px; }

/* ==============================
   FOOTER
============================== */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: #fff; }
.footer-brand p {
  font-size: .82rem;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 0;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--sky); }

.footer-contact { font-size: .82rem; }
.footer-contact p { margin-bottom: 6px; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  margin-top: 32px;
}
.footer-disclaimer-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.footer-disclaimer-box p {
  font-size: .75rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.footer-editorial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-editorial .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sky);
  text-transform: uppercase;
}
.footer-editorial .copy {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

/* ==============================
   COOKIE BANNER
============================== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
}
.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  min-width: 220px;
}
.cookie-text a { color: var(--sky); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-cookie-accept {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: #25734a; }
.btn-cookie-decline {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,.7);
  transition: border-color .2s;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,.5); }

/* ==============================
   UTILITIES
============================== */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .flask-panel { width: 280px; height: 320px; margin: 0 auto; }
  .builder-layout { grid-template-columns: 1fr; }
  .analysis-panel { position: static; }
  .formula-recommend { grid-template-columns: 1fr; }
  .result-profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .combos-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }
  h1 { font-size: 1.9rem; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .values-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .formula-components { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .combos-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .footer-editorial { flex-direction: column; gap: 6px; }
  #chat-widget { bottom: 20px; right: 16px; }
  .chat-window { width: calc(100vw - 32px); right: -16px; }

  .contact-form-panel, .contact-info-block { padding: 24px; }
  .policy-body { padding: 40px 16px; }

  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: .8rem; }
}
