/* Halevara — Landing Page Styles */
/* Clean, calm, clinical-but-warm. Trust is the conversion lever. */

:root {
  --primary: #1B7F79;
  --primary-dark: #125F5A;
  --accent: #E8F4F2;
  --ink: #14312F;
  --bg: #FBFDFC;
  --white: #ffffff;
  --text-muted: rgba(20, 49, 47, 0.6);
  --text-light: rgba(20, 49, 47, 0.5);
  --text-faint: rgba(20, 49, 47, 0.4);
  --border: rgba(20, 49, 47, 0.1);
  --border-hover: rgba(27, 127, 121, 0.2);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 253, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 49, 47, 0.05);
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 28px;
  font-size: 16px;
}
.btn-secondary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 8px 16px;
  font-size: 14px;
}
.btn-ghost:hover { color: var(--primary-dark); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--accent), var(--bg));
}
.hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding: 96px 24px 112px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(27, 127, 121, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }

.hero .subhead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-note { font-size: 14px; color: var(--text-light); margin-top: 16px; }

/* ---- Product Mockup ---- */
.product-mockup {
  position: relative;
  width: 192px;
  height: 256px;
  margin: 0 auto;
}
@media (min-width: 768px) { .product-mockup { width: 224px; height: 288px; } }
.mockup-bottle {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 128px; height: 208px;
  border-radius: 12px;
  background: linear-gradient(to bottom, white, var(--accent));
  border: 2px solid rgba(27, 127, 121, 0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}
@media (min-width: 768px) { .mockup-bottle { width: 144px; height: 224px; } }
.mockup-label {
  position: absolute;
  top: 48px; left: 12px; right: 12px; bottom: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(27, 127, 121, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.mockup-logo-mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  color: white; font-weight: 700; font-size: 12px;
}
.mockup-label .name { font-size: 10px; font-weight: 700; text-align: center; line-height: 1.2; }
.mockup-label .desc { font-size: 7px; color: var(--text-faint); margin-top: 4px; text-align: center; }
.mockup-label .net { font-size: 6px; color: var(--text-faint); margin-top: 6px; }
.mockup-label .line { width: 32px; height: 2px; background: rgba(27,127,121,0.3); border-radius: 1px; margin-top: 8px; }
.mockup-nozzle {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
}
.mockup-nozzle-top {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 12px; border-radius: 4px 4px 0 0;
  background: rgba(27,127,121,0.3);
}
.mockup-nozzle-body {
  position: absolute; top: 8px; left: 0; right: 0; height: 24px;
  border-radius: 6px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
}
.mockup-shadow {
  position: absolute;
  bottom: -16px; left: 50%; transform: translateX(-50%);
  width: 75%; height: 16px;
  border-radius: 50%;
  background: rgba(20,49,47,0.08);
  filter: blur(6px);
}

/* ---- Sections ---- */
.section { padding: 64px 24px; }
@media (min-width: 768px) { .section { padding: 80px 24px; } }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-title { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 48px; }
@media (min-width: 768px) { .section-title { font-size: 30px; } }

/* ---- Benefits ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  padding: 24px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.benefit-card:hover { border-color: var(--border-hover); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(27, 127, 121, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- How It Works ---- */
.how-it-works { background: rgba(232, 244, 242, 0.5); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(27, 127, 121, 0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); max-width: 240px; margin: 0 auto; }

/* ---- Offer Block ---- */
.offer-inner { max-width: 800px; margin: 0 auto; }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
.offer-info h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .offer-info h2 { font-size: 30px; } }
.offer-info .desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.offer-features { list-style: none; margin: 16px 0 24px; }
.offer-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 8px;
}
.checkmark { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price { font-size: 30px; font-weight: 700; }
.price-label { font-size: 14px; color: var(--text-light); }
.price-note { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.offer-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.5;
}
.offer-mockup-wrap { position: relative; display: flex; justify-content: center; }

/* ---- Trust Strip ---- */
.trust-strip {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(27, 127, 121, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.trust-item span { font-size: 14px; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* ---- FAQ ---- */
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(232, 244, 242, 0.3); }
.faq-chevron { width: 20px; height: 20px; color: var(--text-faint); transition: transform 0.2s; flex-shrink: 0; }
.faq-chevron.open { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 16px; font-size: 14px; color: var(--text-muted); display: none; }
.faq-answer.open { display: block; }

/* ---- Final CTA ---- */
.final-cta { background: linear-gradient(to bottom, var(--bg), var(--accent)); text-align: center; }
.final-cta h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .final-cta h2 { font-size: 30px; } }
.final-cta p { color: var(--text-muted); max-width: 400px; margin: 0 auto 32px; }

/* ---- Footer ---- */
.footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo .logo-mark { width: 32px; height: 32px; font-size: 18px; }
.footer-logo span { font-size: 18px; font-weight: 700; color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 8px; }

/* ---- Cookie Consent ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--ink);
  color: white;
  padding: 12px 24px;
}
.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .cookie-inner { flex-direction: row; } }
.cookie-text { font-size: 14px; color: rgba(255,255,255,0.8); }
.cookie-text a { color: white; text-decoration: underline; }
.cookie-text a:hover { color: var(--accent); }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-buttons .btn { padding: 8px 16px; font-size: 14px; border-radius: 8px; }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  animation: fadeIn 0.2s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 49, 47, 0.4);
  backdrop-filter: blur(4px);
}
.modal {
  position: relative;
  width: 100%;
  max-width: 448px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  padding: 32px;
  animation: slideUp 0.3s ease-out;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: rgba(20,49,47,0.4);
  padding: 4px;
}
.modal-close:hover { color: var(--ink); }
.modal h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.modal-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(27,127,121,0.2); }
.modal-input.error { border-color: #ef4444; }
.modal-error { color: #ef4444; font-size: 12px; margin-top: 8px; }
.modal-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 16px; }
.modal-success { text-align: center; padding: 16px 0; }
.modal-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(27,127,121,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}

/* ---- Legal pages ---- */
.legal { max-width: 640px; margin: 0 auto; padding: 64px 24px; }
.legal h1 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal li { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; }
.legal a { color: var(--primary); }
.legal .updated { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.legal .note { font-size: 12px; color: var(--text-faint); margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ---- Contact page ---- */
.contact-card {
  border-radius: 12px;
  background: rgba(232,244,242,0.5);
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.contact-card h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.contact-card a { color: var(--primary); font-size: 18px; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { font-size: 14px; color: var(--text-muted); }
