/* ==========================================================================
   Bodynia — Landing Page Styles
   Elite / human / secure / advanced HealthTech visual language.
   ========================================================================== */

:root {
  /* Core palette — deep clinical teal + warm human accent + neutral paper */
  --color-ink: #0b1f22;
  --color-ink-soft: #14313586;
  --color-teal-950: #06181a;
  --color-teal-900: #0c2b2e;
  --color-teal-800: #123f42;
  --color-teal-700: #185a5e;
  --color-teal-600: #1f7a7f;
  --color-teal-500: #2c9a9e;
  --color-teal-400: #4bb8ba;
  --color-teal-300: #8fd6d4;
  --color-teal-100: #e4f6f4;
  --color-paper: #fbfaf6;
  --color-paper-dim: #f3f1e9;
  --color-sand: #e9e2d1;
  --color-coral: #ff6a5c;
  --color-coral-dark: #e14f42;
  --color-gold: #d9a441;
  --color-telegram: #29a9eb;
  --color-telegram-dark: #1f8fce;
  --color-risk-green: #33a26a;
  --color-risk-orange: #e39a2c;
  --color-risk-red: #d94b3f;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(6, 24, 26, 0.25);
  --shadow-lift: 0 30px 80px -30px rgba(6, 24, 26, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-teal-600);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-coral);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--color-teal-950); }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: #4a5c5d; }
.section-head.left { text-align: left; margin: 0 0 48px; }

.text-highlight {
  color: var(--color-coral);
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn i, .btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-telegram {
  background: linear-gradient(135deg, var(--color-telegram), var(--color-telegram-dark));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(41, 169, 235, 0.55);
}
.btn-telegram:hover { box-shadow: 0 18px 36px -8px rgba(41, 169, 235, 0.65); }

.btn-telegram-sm {
  background: linear-gradient(135deg, var(--color-telegram), var(--color-telegram-dark));
  color: #fff;
  padding: 11px 22px;
  font-size: 0.88rem;
  box-shadow: 0 10px 22px -8px rgba(41, 169, 235, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: rgba(11, 31, 34, 0.18);
  color: var(--color-teal-950);
}
.btn-outline:hover { background: rgba(11, 31, 34, 0.05); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-dark {
  background: var(--color-teal-950);
  color: #fff;
}
.btn-dark:hover { background: var(--color-ink); box-shadow: var(--shadow-lift); }

.btn-block { width: 100%; }
.btn-external-icon { font-size: 0.75em; opacity: 0.85; margin-left: 2px; }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--color-teal-950);
  color: var(--color-teal-100);
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}
.announcement-bar strong { color: var(--color-teal-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 31, 34, 0.06);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(6, 24, 26, 0.2); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-teal-950);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-teal-600), var(--color-teal-950));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(11, 31, 34, 0.15);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  opacity: 0.55;
  transition: all 0.2s var(--ease);
}
.lang-toggle button.is-active {
  background: var(--color-teal-950);
  color: #fff;
  opacity: 1;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--color-teal-950);
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 100px;
  background: radial-gradient(circle at 15% 20%, rgba(44, 154, 158, 0.12), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(255, 106, 92, 0.08), transparent 50%),
              var(--color-paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(11, 31, 34, 0.1);
  color: var(--color-teal-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-risk-green); }

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.1;
  color: var(--color-teal-950);
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #435556;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.hero-ctas .btn { font-size: 1.02rem; padding: 17px 30px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-teal-950);
  font-weight: 700;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: #6a7b7c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3 / 4;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 26, 0) 45%, rgba(6, 24, 26, 0.65) 100%);
}
.hero-photo-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  z-index: 2;
}
.hero-floating-card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  z-index: 3;
  animation: floatUp 4.5s ease-in-out infinite;
}
.hero-floating-card .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--color-teal-100);
  color: var(--color-teal-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-floating-card .label { font-size: 0.78rem; color: #6a7b7c; }
.hero-floating-card .value { font-weight: 700; font-size: 0.92rem; color: var(--color-teal-950); }

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

/* ---------- Proof strip ---------- */
.proof-strip { padding: 34px 0; border-top: 1px solid rgba(11,31,34,0.06); border-bottom: 1px solid rgba(11,31,34,0.06); }
.proof-strip-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.proof-strip-label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8a9899; font-weight: 600; }
.proof-tags { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.proof-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-800);
  background: var(--color-teal-100);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* ---------- Scope clarification banner ---------- */
.scope-banner {
  background: var(--color-teal-950);
  padding: 34px 0;
}
.scope-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.scope-banner-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.scope-banner-copy { color: #fff; }
.scope-banner-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-300);
  margin-bottom: 6px;
}
.scope-banner-copy h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}
.scope-banner-copy p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 800px;
}
.scope-banner-copy p strong { color: var(--color-teal-300); }

@media (max-width: 600px) {
  .scope-banner-inner { flex-direction: column; gap: 14px; }
}

/* ---------- Pillars ---------- */
.pillars { padding: 110px 0; background: var(--color-paper); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: #fff;
  border: 1px solid rgba(11, 31, 34, 0.07);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  color: #fff;
}
.pillar-card--patients .pillar-icon { background: linear-gradient(135deg, var(--color-teal-500), var(--color-teal-800)); }
.pillar-card--clinics .pillar-icon { background: linear-gradient(135deg, var(--color-gold), #a9701f); }
.pillar-card--donors .pillar-icon { background: linear-gradient(135deg, var(--color-coral), var(--color-coral-dark)); }

.pillar-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a9899;
  margin-bottom: 10px;
}
.pillar-card h3 { font-size: 1.45rem; color: var(--color-teal-950); margin-bottom: 14px; }
.pillar-card p.pillar-text { color: #4a5c5d; font-size: 0.98rem; margin-bottom: 20px; }
.pillar-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
.pillar-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--color-ink); }
.pillar-list li i { color: var(--color-teal-600); margin-top: 3px; flex-shrink: 0; }
.pillar-card--clinics .pillar-list li i { color: var(--color-gold); }
.pillar-card--donors .pillar-list li i { color: var(--color-coral); }

/* ---------- How it works ---------- */
.how { padding: 110px 0; background: var(--color-teal-950); color: #fff; position: relative; overflow: hidden; }
.how::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44,154,158,0.25), transparent 70%);
}
.how .section-eyebrow { color: var(--color-teal-300); }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: rgba(255,255,255,0.7); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.how-steps { display: flex; flex-direction: column; gap: 30px; }
.how-step { display: flex; gap: 20px; }
.how-step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-teal-400);
  min-width: 46px;
}
.how-step h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.how-step p { color: rgba(255,255,255,0.68); font-size: 0.96rem; }

.how-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.how-visual img { width: 100%; display: block; }

.risk-legend {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.risk-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.risk-dot { width: 9px; height: 9px; border-radius: 50%; }
.risk-dot.green { background: var(--color-risk-green); }
.risk-dot.orange { background: var(--color-risk-orange); }
.risk-dot.red { background: var(--color-risk-red); }

/* ---------- Trust banner ---------- */
.trust { padding: 110px 0; background: var(--color-paper-dim); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid rgba(11,31,34,0.06);
}
.trust-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--color-teal-950);
  color: var(--color-teal-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.trust-item h3 { font-size: 1.1rem; color: var(--color-teal-950); margin-bottom: 10px; }
.trust-item p { font-size: 0.9rem; color: #4a5c5d; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-teal-900), var(--color-teal-950));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,106,92,0.15), transparent 60%);
}
.final-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-teal-950); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.footer-tagline { font-size: 0.92rem; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social-icon:hover { background: var(--color-teal-600); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-lang-toggle .lang-toggle { border-color: rgba(255,255,255,0.2); }
.footer-lang-toggle .lang-toggle button { color: #fff; }
.footer-lang-toggle .lang-toggle button.is-active { background: #fff; color: var(--color-teal-950); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom strong { color: rgba(255,255,255,0.75); }

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--color-paper);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-drawer-close { border: none; background: transparent; font-size: 1.5rem; color: var(--color-teal-950); }
.mobile-nav { display: flex; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--color-teal-950); }
.mobile-drawer .btn { margin-bottom: 14px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .hero-floating-card { left: 12px; bottom: -20px; padding: 12px 16px; max-width: 220px; }
  .pillars, .how, .trust, .final-cta { padding: 70px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: column; }
  .final-cta-actions .btn { width: 100%; }
  .proof-strip-inner { flex-direction: column; gap: 16px; }
}
