/* ============================================
   VitaSlim – style.css
   Palette: Silber · Blau · Azur · Dunkelblau
   ============================================ */

:root {
  --vs-silver:      #e7ecf2;
  --vs-silver-2:    #f4f7fa;
  --vs-silver-line: #d3dde7;
  --vs-light-blue:  #6cc4e8;
  --vs-azure:       #1f9fd4;
  --vs-blue:        #1466b0;
  --vs-dark-blue:   #0c2f5a;
  --vs-darkest:     #081f3d;
  --vs-text:        #1c2b3a;
  --vs-text-soft:   #54657a;
  --vs-white:       #ffffff;
  --vs-shadow:      0 12px 40px rgba(12, 47, 90, .12);
  --vs-shadow-sm:   0 6px 18px rgba(12, 47, 90, .10);
  --vs-radius:      18px;
  --vs-radius-sm:   12px;
  --vs-gradient:    linear-gradient(135deg, var(--vs-azure) 0%, var(--vs-blue) 55%, var(--vs-dark-blue) 100%);
  --vs-gradient-soft: linear-gradient(135deg, var(--vs-silver-2) 0%, var(--vs-silver) 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--vs-text);
  background: var(--vs-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--vs-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout helpers ---------- */
section { padding: 90px 24px; }
.vs-section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.vs-section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--vs-dark-blue);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.vs-section__title--light { color: var(--vs-white); }
.vs-section__lead { color: var(--vs-text-soft); margin-top: 14px; font-size: 1.1rem; }

.vs-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vs-azure);
  background: rgba(31, 159, 212, .10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.vs-tag--light { color: var(--vs-light-blue); background: rgba(108, 196, 232, .18); }

/* ---------- Buttons ---------- */
.vs-btn {
  display: inline-block;
  background: var(--vs-gradient);
  color: var(--vs-white);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 22px rgba(20, 102, 176, .35);
}
.vs-btn:hover { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; box-shadow: 0 12px 28px rgba(20, 102, 176, .45); }
.vs-btn:active { transform: translateY(0); }
.vs-btn--large { padding: 16px 40px; font-size: 1.08rem; }
.vs-btn--small { padding: 10px 20px; font-size: .9rem; }
.vs-btn--full { width: 100%; }
.vs-btn--ghost {
  background: transparent;
  color: var(--vs-dark-blue);
  border: 1.5px solid var(--vs-silver-line);
  box-shadow: none;
}
.vs-btn--ghost:hover { background: var(--vs-silver-2); filter: none; }

/* ---------- Navigation ---------- */
.vs-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vs-silver-line);
}
.vs-nav__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.vs-nav__logo {
  font-size: 1.45rem; font-weight: 800; color: var(--vs-dark-blue);
  letter-spacing: -.02em;
}
.vs-nav__logo span { color: var(--vs-azure); }
.vs-nav__logo:hover { text-decoration: none; }
.vs-nav__links { display: flex; gap: 26px; margin-left: auto; }
.vs-nav__link { color: var(--vs-text-soft); font-weight: 600; font-size: .95rem; }
.vs-nav__link:hover { color: var(--vs-azure); text-decoration: none; }

/* ---------- 1. Hero ---------- */
.vs-hero {
  background: var(--vs-gradient-soft);
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: 50px;
  max-width: 1180px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.vs-hero__content { animation: vsFadeUp .9s ease both; }
.vs-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--vs-dark-blue);
}
.vs-hero__title span {
  background: var(--vs-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vs-hero__subtitle { font-size: 1.15rem; color: var(--vs-text-soft); margin: 22px 0 32px; max-width: 520px; }
.vs-hero__note { margin-top: 18px; font-size: .85rem; color: var(--vs-text-soft); }
.vs-hero__media { animation: vsFadeIn 1.2s ease both; }
.vs-hero__img {
  border-radius: var(--vs-radius);
  box-shadow: var(--vs-shadow);
  width: 100%; object-fit: cover; aspect-ratio: 4/3;
  animation: vsFloat 6s ease-in-out infinite;
}

/* ---------- 2. Product ---------- */
.vs-product {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 56px; align-items: center;
  max-width: 1180px; margin: 0 auto;
}
.vs-product__media {
  background: var(--vs-gradient-soft);
  border-radius: var(--vs-radius);
  padding: 40px; display: flex; justify-content: center;
}
.vs-product__img { max-height: 380px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(12,47,90,.18)); animation: vsFloat 7s ease-in-out infinite; }
.vs-product__content p { color: var(--vs-text-soft); margin-bottom: 18px; }
.vs-product__subtitle { color: var(--vs-dark-blue); margin: 26px 0 14px; font-size: 1.15rem; }
.vs-ingredients { list-style: none; display: grid; gap: 12px; }
.vs-ingredients li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--vs-text); }
.vs-ingredients__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--vs-gradient); flex: none; }
.vs-product__hint { font-size: .85rem; margin-top: 22px; }

/* ---------- 3. Benefits ---------- */
.vs-benefits { background: var(--vs-silver-2); }
.vs-benefits__grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.vs-card {
  background: var(--vs-white);
  border: 1px solid var(--vs-silver-line);
  border-radius: var(--vs-radius);
  padding: 32px 24px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.vs-card:hover { transform: translateY(-8px); box-shadow: var(--vs-shadow); }
.vs-card h3 { color: var(--vs-dark-blue); margin: 18px 0 8px; font-size: 1.12rem; }
.vs-card p { color: var(--vs-text-soft); font-size: .95rem; }

/* ---------- CSS Icons ---------- */
.vs-card__icon, .vs-step__icon {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 18px;
  background: var(--vs-gradient);
  position: relative;
}
.vs-card__icon::before, .vs-step__icon::before {
  content: ""; position: absolute; inset: 0; margin: auto;
}
/* energy = lightning */
.vs-icon--energy::before { width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 26px solid var(--vs-white); top: -4px; }
.vs-icon--energy::after { content:""; position:absolute; inset:0; margin:auto; top:12px; width:0; height:0; border-left:11px solid transparent; border-right:11px solid transparent; border-top:18px solid var(--vs-white); }
/* balance = ring */
.vs-icon--balance::before { width: 26px; height: 26px; border: 6px solid var(--vs-white); border-radius: 50%; background: transparent; }
/* lifestyle = horizontal pill */
.vs-icon--lifestyle::before { width: 30px; height: 14px; background: var(--vs-white); border-radius: 999px; }
.vs-icon--lifestyle::after { content:""; position:absolute; inset:0; margin:auto; width:8px; height:8px; border-radius:50%; background: var(--vs-azure); }
/* nature = leaf */
.vs-icon--nature::before { width: 24px; height: 24px; background: var(--vs-white); border-radius: 0 50% 0 50%; transform: rotate(45deg); }
/* cup */
.vs-icon--cup::before { width: 22px; height: 26px; background: var(--vs-white); border-radius: 0 0 8px 8px; }
/* water drop */
.vs-icon--water::before { width: 22px; height: 22px; background: var(--vs-white); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
/* routine = check */
.vs-icon--routine::before { width: 22px; height: 11px; border-left: 5px solid var(--vs-white); border-bottom: 5px solid var(--vs-white); transform: rotate(-45deg); margin-bottom: 6px; }

/* ---------- 4. How it works ---------- */
.vs-how__steps {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: center; gap: 8px;
}
.vs-step {
  background: var(--vs-white);
  border: 1px solid var(--vs-silver-line);
  border-radius: var(--vs-radius);
  padding: 34px 26px; text-align: center; flex: 1;
  position: relative; box-shadow: var(--vs-shadow-sm);
}
.vs-step__num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--vs-dark-blue); color: var(--vs-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
}
.vs-step__icon { margin-top: 12px; }
.vs-step h3 { color: var(--vs-dark-blue); margin: 18px 0 8px; font-size: 1.12rem; }
.vs-step p { color: var(--vs-text-soft); font-size: .95rem; }
.vs-step__arrow {
  align-self: center; width: 36px; height: 2px; background: var(--vs-silver-line);
  position: relative; flex: none;
}
.vs-step__arrow::after { content:""; position:absolute; right:0; top:-4px; border-left:8px solid var(--vs-silver-line); border-top:5px solid transparent; border-bottom:5px solid transparent; }

/* ---------- 5. Social proof ---------- */
.vs-social {
  background: var(--vs-silver-2);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
  max-width: 1180px; margin: 0 auto;
}
.vs-social__img { border-radius: var(--vs-radius); box-shadow: var(--vs-shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.vs-testimonials { display: grid; gap: 16px; margin: 24px 0; }
.vs-testimonial {
  background: var(--vs-white); border-left: 4px solid var(--vs-azure);
  border-radius: var(--vs-radius-sm); padding: 18px 22px; box-shadow: var(--vs-shadow-sm);
}
.vs-testimonial p { font-style: italic; color: var(--vs-text); }
.vs-testimonial cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--vs-dark-blue); font-size: .9rem; }
.vs-disclaimer { font-size: .82rem; color: var(--vs-text-soft); background: var(--vs-silver); padding: 14px 16px; border-radius: var(--vs-radius-sm); }

/* ---------- 6. Order ---------- */
.vs-order { background: var(--vs-gradient); }
.vs-order__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.vs-order__lead { color: rgba(255,255,255,.85); margin: 14px 0 28px; }
.vs-price {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--vs-radius); padding: 24px 28px; display: inline-flex; flex-direction: column;
}
.vs-price__label { color: var(--vs-light-blue); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.vs-price__value { color: var(--vs-white); font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.vs-price__unit { color: rgba(255,255,255,.75); font-size: .85rem; }
.vs-form {
  background: var(--vs-white); border-radius: var(--vs-radius);
  padding: 36px; box-shadow: var(--vs-shadow);
}
.vs-form__group { margin-bottom: 20px; }
.vs-form__group label { display: block; font-weight: 700; color: var(--vs-dark-blue); margin-bottom: 8px; font-size: .92rem; }
.vs-form__group input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--vs-silver-line); border-radius: var(--vs-radius-sm);
  font-size: 1rem; color: var(--vs-text); transition: border-color .2s ease, box-shadow .2s ease;
}
.vs-form__group input:focus { outline: none; border-color: var(--vs-azure); box-shadow: 0 0 0 3px rgba(31,159,212,.18); }
.vs-form__group input.vs-invalid { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.15); }
.vs-form__error { display: block; color: #d64545; font-size: .82rem; margin-top: 6px; min-height: 1em; }
.vs-form__success { color: var(--vs-blue); font-weight: 700; text-align: center; margin-top: 14px; }
.vs-form__note { font-size: .8rem; color: var(--vs-text-soft); margin-top: 16px; text-align: center; }

/* ---------- 7. Safety ---------- */
.vs-safety { background: var(--vs-silver-2); }
.vs-safety__inner {
  max-width: 920px; margin: 0 auto;
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--vs-white); border: 1px solid var(--vs-silver-line);
  border-radius: var(--vs-radius); padding: 40px; box-shadow: var(--vs-shadow-sm);
}
.vs-safety__icon {
  width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--vs-gradient); position: relative;
}
.vs-safety__icon::before { content:""; position:absolute; inset:0; margin:auto; width:18px; height:9px; border-left:4px solid var(--vs-white); border-bottom:4px solid var(--vs-white); transform: rotate(-45deg); margin-bottom: 4px; }
.vs-safety__main { font-weight: 700; color: var(--vs-dark-blue); margin: 12px 0 14px; font-size: 1.05rem; }
.vs-safety p { color: var(--vs-text-soft); }

/* ---------- 9. Footer ---------- */
.vs-footer { background: var(--vs-darkest); color: rgba(255,255,255,.78); padding: 60px 24px 0; }
.vs-footer__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
}
.vs-nav__logo--footer { color: var(--vs-white); display: inline-block; margin-bottom: 14px; }
.vs-footer__col h4 { color: var(--vs-white); margin-bottom: 14px; font-size: 1rem; }
.vs-footer__col p { margin-bottom: 8px; font-size: .92rem; }
.vs-footer a { color: var(--vs-light-blue); }
.vs-footer__links { list-style: none; display: grid; gap: 8px; }
.vs-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 20px; font-size: .82rem; }

/* ---------- 8. Cookie banner ---------- */
.vs-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: var(--vs-white); border: 1px solid var(--vs-silver-line);
  border-radius: var(--vs-radius); box-shadow: var(--vs-shadow);
  animation: vsSlideUp .5s ease both;
}
.vs-cookie__inner {
  max-width: 1180px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.vs-cookie__text { color: var(--vs-text-soft); font-size: .92rem; flex: 1; min-width: 260px; }
.vs-cookie__actions { display: flex; gap: 12px; }

/* ---------- Animations ---------- */
@keyframes vsFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes vsSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Legal pages ---------- */
.vs-legal { max-width: 820px; margin: 0 auto; padding: 60px 24px 80px; }
.vs-legal h1 { color: var(--vs-dark-blue); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 24px; letter-spacing: -.02em; }
.vs-legal h2 { color: var(--vs-blue); font-size: 1.2rem; margin: 30px 0 10px; }
.vs-legal p, .vs-legal li { color: var(--vs-text-soft); margin-bottom: 12px; }
.vs-legal ul { padding-left: 22px; }
.vs-legal__back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .vs-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .vs-hero, .vs-product, .vs-social, .vs-order__inner, .vs-footer__inner { grid-template-columns: 1fr; }
  .vs-hero { text-align: center; }
  .vs-hero__subtitle { margin-left: auto; margin-right: auto; }
  .vs-hero__media { order: -1; }
  .vs-social__media { max-width: 420px; margin: 0 auto; }
  .vs-how__steps { flex-direction: column; }
  .vs-step__arrow { width: 2px; height: 28px; }
  .vs-step__arrow::after { right: -3px; top: auto; bottom: 0; border-top: 8px solid var(--vs-silver-line); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: none; }
}
@media (max-width: 640px) {
  section { padding: 60px 18px; }
  .vs-nav__links { display: none; }
  .vs-benefits__grid { grid-template-columns: 1fr; }
  .vs-safety__inner { flex-direction: column; }
  .vs-form { padding: 26px; }
}
