﻿:root {
  --bg: #f7fafc;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-accent: #edf4ff;
  --primary: #173e8f;
  --primary-deep: #102a63;
  --accent: #31c7c0;
  --cta: #ff7a1a;
  --cta-hover: #e76600;
  --text: #102a63;
  --text-soft: #4a5568;
  --text-inverse: #f7fafc;
  --border: rgba(16, 42, 99, 0.1);
  --shadow-lg: 0 28px 70px rgba(16, 42, 99, 0.14);
  --shadow-md: 0 18px 36px rgba(16, 42, 99, 0.1);
  --shadow-sm: 0 12px 24px rgba(16, 42, 99, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 199, 192, 0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(23, 62, 143, 0.07), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 42%, #eef4fb 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.section {
  position: relative;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 50px;
}

.hero__copy {
  max-width: 560px;
}

.hero__copy,
.hero__visual,
.section-grid,
.section-head,
.proof-layout,
.final-cta__card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 62, 143, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.progress-rail {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.progress-rail__label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.progress-rail__track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 42, 99, 0.08);
  overflow: hidden;
}

.progress-rail__fill {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary-deep);
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 6.8vw, 3.85rem);
}

h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 7vw, 3.45rem);
}

h3 {
  font-size: 1.12rem;
}

.section-head {
  margin-bottom: 28px;
}

.section-text {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.hero__text {
  max-width: 40ch;
}

.hero-highlights {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 30px;
  color: var(--text-soft);
  line-height: 1.5;
}

.hero-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--accent);
}

.visual-card,
.image-panel,
.info-card,
.testimonial-card,
.final-cta__card,
.chat-window {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.visual-card,
.image-panel,
.final-cta__card,
.chat-window {
  border-radius: var(--radius-xl);
}

.visual-card {
  position: relative;
  padding: 22px;
}

.media {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
}

.media--hero {
  max-width: 420px;
  margin: 4px auto 0;
}

.media--woman {
  max-height: 520px;
  margin: 0 auto;
}

.media--ingredients {
  max-height: 420px;
  margin: 0 auto;
}

.img-3-frascos {
  max-width: 820px;
  width: 100%;
  display: block;
  margin: 0 auto;
  max-height: none;
}

.media--proof {
  max-height: 560px;
  margin: 0 auto;
}

.media--security {
  max-height: 460px;
  margin: 0 auto;
}

.seal {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #8ef1ea);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  margin-top: 22px;
  padding: 16px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff8a33 0%, var(--cta) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 32px rgba(255, 122, 26, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: linear-gradient(180deg, #ff7f22 0%, var(--cta-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(231, 102, 0, 0.34);
}

.cta-button:focus-visible,
.scroll-cue:focus-visible,
.chat-option:focus-visible,
.chat-window__close:focus-visible,
.chat-recommendation__button:focus-visible {
  outline: 3px solid rgba(49, 199, 192, 0.38);
  outline-offset: 3px;
}

.cta-button--secondary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 18px 32px rgba(16, 42, 99, 0.24);
}

.cta-button--secondary:hover,
.cta-button--secondary:focus-visible {
  background: linear-gradient(180deg, #1b4cab 0%, #0d2558 100%);
  box-shadow: 0 20px 34px rgba(16, 42, 99, 0.3);
}

.cta-button--large {
  width: 100%;
}

.microcopy {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.microcopy--center {
  text-align: center;
}

.trust-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.trust-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.trust-note::before {
  background: linear-gradient(135deg, var(--accent), #8ef1ea);
  box-shadow: 0 0 0 6px rgba(49, 199, 192, 0.12);
}

.activity-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.activity-line--center {
  justify-content: center;
}

.activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--cta);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.14);
  animation: activityPulse 2.2s ease-in-out infinite;
}

.activity-count {
  color: var(--primary-deep);
  font-weight: 800;
}

.final-cta-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-top: 12px;
}

.scroll-cue {
  width: 58px;
  height: 58px;
  margin: 6px auto 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.scroll-cue span {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-right: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg) translate(-1px, -1px);
  animation: cueBounce 1.7s ease-in-out infinite;
}

.section-grid {
  display: grid;
  gap: 30px;
}

.section-grid--split,
.proof-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.section-grid--stacked {
  gap: 24px;
}

.image-panel {
  padding: 18px;
}

.image-panel--wide {
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bullet-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-50%);
}

.section--accent::before,
.section--security::before,
.final-cta::before,
.section--proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 36px;
}

.section--accent::before {
  background: linear-gradient(180deg, rgba(23, 62, 143, 0.05), rgba(49, 199, 192, 0.08));
}

.section--proof::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(23, 62, 143, 0.04));
}

.section--security::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(23, 62, 143, 0.04));
}

.final-cta::before {
  background: linear-gradient(180deg, rgba(49, 199, 192, 0.08), rgba(23, 62, 143, 0.04));
}

.cards {
  display: grid;
  gap: 16px;
}

.cards--testimonials {
  gap: 18px;
  grid-template-columns: 1fr;
  align-content: start;
}

.info-card,
.testimonial-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
}

.info-card p,
.testimonial-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.66;
}

.testimonial-card strong {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 0.92rem;
}

.cards--testimonials .cta-button {
  margin-top: 6px;
}

.security-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.security-chip {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(49, 199, 192, 0.12);
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.final-cta {
  padding-top: 52px;
  padding-bottom: 56px;
}

.final-cta__card {
  padding: 40px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__text {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 28px 0 40px;
}

.site-footer__inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.site-footer__links a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.chat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.chat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 43, 0.5);
  backdrop-filter: blur(6px);
}

.chat-window {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 220ms ease;
}

.chat-modal.is-open .chat-window {
  transform: translateY(0) scale(1);
}

.chat-window__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--text-inverse);
}

.chat-window__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-window__brand p {
  margin: 4px 0 0;
  color: rgba(247, 250, 252, 0.8);
  font-size: 0.84rem;
}

.chat-window__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 800;
}

.chat-window__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-inverse);
  cursor: pointer;
}

.chat-window__body {
  height: min(72svh, 580px);
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(49, 199, 192, 0.08), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f2f7fd 100%);
}

.chat-window__progress {
  margin-bottom: 16px;
}

.chat-window__progress span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-window__progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 42, 99, 0.08);
  overflow: hidden;
}

.chat-window__progress-fill {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 220ms ease;
}

.chat-window__messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100% - 40px);
  overflow: auto;
  padding-right: 4px;
}

.chat-window__messages::-webkit-scrollbar {
  width: 8px;
}

.chat-window__messages::-webkit-scrollbar-thumb {
  background: rgba(16, 42, 99, 0.16);
  border-radius: 999px;
}

.chat-window__footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.chat-window__hint {
  color: var(--text-soft);
  font-size: 0.84rem;
  text-align: center;
}

.chat-bubble {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}

.chat-bubble--assistant {
  align-self: flex-start;
}

.chat-bubble--user {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(180deg, rgba(23, 62, 143, 0.92), rgba(16, 42, 99, 0.96));
  color: var(--text-inverse);
}

.chat-options {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.chat-option,
.chat-recommendation__button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--primary-deep);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.chat-option:hover,
.chat-option:focus-visible,
.chat-recommendation__button:hover,
.chat-recommendation__button:focus-visible {
  background: rgba(49, 199, 192, 0.12);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.chat-option[disabled] {
  cursor: default;
  opacity: 0.7;
}

.chat-typing {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 42, 99, 0.42);
  animation: pulse 900ms ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.chat-typing span:nth-child(3) {
  animation-delay: 240ms;
}

.chat-recommendation {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(23, 62, 143, 0.95), rgba(16, 42, 99, 1));
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.chat-recommendation p {
  margin: 0 0 16px;
  line-height: 1.62;
  color: rgba(247, 250, 252, 0.86);
}

.chat-recommendation__button {
  background: linear-gradient(180deg, #ff8a33 0%, var(--cta) 100%);
  color: #fff;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.modal-open {
  overflow: hidden;
}

@keyframes cueBounce {
  0%,
  100% {
    transform: rotate(45deg) translate(-1px, -1px);
  }
  50% {
    transform: rotate(45deg) translate(3px, 3px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes activityPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.16);
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
    box-shadow: 0 0 0 7px rgba(255, 122, 26, 0.08);
  }
}

@media (min-width: 768px) {
  .section {
    width: min(calc(100% - 64px), var(--container));
    padding: 58px 0;
  }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    min-height: 82svh;
    gap: 34px;
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .scroll-cue {
    grid-column: 1 / -1;
  }

  .section-grid--split,
  .proof-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 34px;
  }

  .cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .cards--testimonials {
    gap: 16px;
  }

  .cards--three .info-card {
    height: 100%;
  }

  .media--hero {
    max-width: 440px;
  }

  .media--woman {
    max-height: 540px;
  }

  .media--ingredients {
    max-height: 420px;
  }

  .image-panel--wide {
    padding: 14px;
  }

  .img-3-frascos {
    max-width: 760px;
  }

  .media--proof {
    max-height: 520px;
  }

  .media--security {
    max-height: 430px;
  }

  .final-cta__card {
    padding: 48px 44px;
  }

  .cta-button--large {
    width: auto;
    min-width: 340px;
  }

  .site-footer {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .site-footer__inner {
    width: min(calc(100% - 64px), var(--container));
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
  }

  .chat-modal {
    align-items: center;
    padding: 28px;
  }
}

@media (min-width: 1080px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 80svh;
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 58px;
  }

  .section-grid--split {
    gap: 40px;
  }

  .proof-layout {
    gap: 36px;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .info-card,
  .testimonial-card {
    padding: 24px 22px;
  }

  .final-cta__card {
    padding: 54px 62px;
  }

  .media--hero {
    max-width: 460px;
  }

  .media--woman {
    max-height: 580px;
  }

  .media--ingredients {
    max-height: 460px;
  }

  .image-panel--wide {
    padding: 16px;
  }

  .img-3-frascos {
    max-width: 820px;
  }

  .media--proof {
    max-height: 560px;
  }

  .media--security {
    max-height: 450px;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 42px 0;
  }

  .hero {
    gap: 22px;
    padding-top: 14px;
    padding-bottom: 36px;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-grid,
  .cards {
    gap: 16px;
  }

  .visual-card,
  .image-panel,
  .final-cta__card {
    border-radius: 26px;
  }

  .info-card,
  .testimonial-card {
    padding: 20px 18px;
  }

  .image-panel {
    padding: 16px;
  }

  .media--hero {
    max-width: 280px;
  }

  .media--woman {
    max-height: 360px;
  }

  .media--ingredients {
    max-height: 300px;
  }

  .image-panel--wide {
    padding: 10px;
  }

  .img-3-frascos {
    max-width: 100%;
  }

  .media--proof {
    max-height: 320px;
  }

  .media--security {
    max-height: 280px;
  }

  .cta-button {
    width: 100%;
  }

  .final-cta__card {
    padding: 34px 20px;
  }

  .trust-note,
  .activity-line,
  .microcopy {
    font-size: 0.84rem;
  }

  .activity-line {
    justify-content: center;
  }

  .microcopy--center {
    text-align: center;
  }

  .site-footer__inner {
    padding: 18px 18px;
  }

  .chat-window {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
