/* Optilead landing — simple, fast, responsive */
:root {
  --bg: #070b18;
  --soft: #f4f7ff;
  --text: #0b1020;
  --muted: #475569;
  --card: #ffffff;
  --line: rgba(2, 6, 23, .10);
  --accent: #3b82f6;
  --accent2: #ef4444;
  --shadow: 0 18px 55px rgba(2, 6, 23, .12);
  --shadow2: 0 10px 25px rgba(2, 6, 23, .10);
  --radius: 22px;
}


* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.topbar__nav a.btn {
  color: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, .15);
}

.brand__name {
  font-size: 16px;
}

.hero {
  padding: 44px 0 34px;
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(59, 130, 246, .18), transparent 60%),
    radial-gradient(900px 600px at 80% 55%, rgba(239, 68, 68, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}

.hero__eye {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #0b2b6f;
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .18);
  padding: 8px 12px;
  border-radius: 999px;
  width: max-content;
}

.hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.6px;
}

.hero__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
}

.accent {
  color: var(--accent2);
}

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

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
}

.ticks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, .10);
  border-radius: 6px;
}

.hero__card {
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px;
}

.product {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.product__img {
  width: 110px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(2, 6, 23, .12));
}

.product__meta {
  flex: 1;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price__old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
}

.price__new {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent2);
}

.stock {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .16);
}

.form {
  display: grid;
  gap: 10px;
}

.field span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  outline: none;
  font-size: 15px;
  -webkit-appearance: none !important;
}

.field input:focus,
.field select:focus {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  box-shadow: 0 16px 34px rgba(59, 130, 246, .28);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(59, 130, 246, .34);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(37, 99, 235, .25);
  color: var(--accent);
}

.form__note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.trust__item {
  font-size: 13px;
  color: var(--muted);
  background: rgba(2, 6, 23, .03);
  border: 1px solid rgba(2, 6, 23, .06);
  padding: 8px 10px;
  border-radius: 999px;
}

.section {
  padding: 54px 0;
}

.section--soft {
  background: var(--soft);
  border-top: 1px solid rgba(2, 6, 23, .06);
  border-bottom: 1px solid rgba(2, 6, 23, .06);
}

.h2 {
  margin: 0 0 18px;
  font-size: 32px;
  letter-spacing: -.4px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(2, 6, 23, .06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.ctaRow {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .10), rgba(37, 99, 235, .06));
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ctaRow__title {
  margin: 0;
  font-weight: 800;
}

.ctaRow__sub {
  margin: 6px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(2, 6, 23, .06);
  display: flex;
  gap: 12px;
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(37, 99, 235, .12);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent);
  flex: 0 0 auto;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed rgba(2, 6, 23, .18);
  border-radius: var(--radius);
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.bullets strong {
  color: var(--text);
}

.sideProduct {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 18px;
  display: grid;
  place-items: center;
}

.sideProduct img {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(2, 6, 23, .12));
}

.miniCta {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.miniCta__title {
  font-weight: 900;
}

.miniCta__sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(2, 6, 23, .06);
}

.review__top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(37, 99, 235, .12);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent);
}

.review__name {
  font-weight: 800;
}

.review__stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.review p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq__item p {
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 0;
}

.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.order__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge {
  background: rgba(2, 6, 23, .03);
  border: 1px solid rgba(2, 6, 23, .06);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.order__img {
  width: min(340px, 100%);
  height: auto;
  display: block;
  margin-top: 12px;
  filter: drop-shadow(0 12px 20px rgba(2, 6, 23, .12));
}

.formCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px;
}

.formCard__title {
  font-weight: 900;
  margin-bottom: 10px;
}

.form--big .field input,
.form--big .field select {
  padding: 14px;
}

.order__steps {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.orderStep {
  background: rgba(37, 99, 235, .06);
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 700;
  color: #173a7a;
  display: flex;
  gap: 10px;
  align-items: center;
}

.orderStep span {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, .22);
}

.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 34px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .6fr;
  gap: 18px;
  align-items: start;
}

.brand--footer .brand__name {
  color: #fff;
}

.small {
  font-size: 12px;
  line-height: 1.7;
  color: #cbd5e1;
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a {
  color: #cbd5e1;
  font-weight: 600;
}

.footer__links a:hover {
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .60);
}

.modal__card {
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(2, 6, 23, .35);
  padding: 16px;
}

.modal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal__title {
  font-weight: 900;
}

.modal__close {
  border: none;
  background: rgba(2, 6, 23, .06);
  width: 40px;
  height: 40px;
  border-radius: 14px;
  cursor: pointer;
}

.modal__content {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.modal__content h4 {
  margin: 14px 0 6px;
  color: var(--text);
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .order {
    grid-template-columns: 1fr;
  }

  .topbar__nav {
    display: none;
  }

  .hero__title {
    font-size: 38px;
  }

  .h2 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .hero__title {
    font-size: 34px;
  }

  .product {
    flex-direction: column;
    align-items: flex-start;
  }

  .product__img {
    width: 130px;
  }
}



.lead--center {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 18px;
}

.doctorGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.doctorCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.doctorCard__img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(59, 130, 246, .06);
  flex: 0 0 auto;
}

.doctorCard__name {
  font-weight: 900;
}

.doctorCard__role {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  margin-top: 2px;
}

.doctorCard__text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

@media (max-width: 980px) {
  .doctorGrid {
    grid-template-columns: 1fr;
  }
}



/* Replaceable photos frames */
.doctorCard__img,
.review__img {
  object-fit: cover;
  background: rgba(59, 130, 246, .06);
}

.review__img {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(2, 6, 23, .06);
}

.accent-red {
  color: #ef4444;
  font-weight: 900;
}

.timer {
  margin: 10px 0;
  font-weight: 800;
  font-size: 16px;
  color: #1f2937;
}

.timer span {
  color: #ef4444;
  font-size: 18px;
}

.stock b {
  color: #ef4444;
}



/* Bigger stock text in hero */
.stock--big {
  font-size: 16px;
}

.stock--big b,
.stock--big #stockCount {
  font-size: 18px;
  font-weight: 900;
}

/* Floating stock widget (always visible while scrolling) */
.floatingStock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(320px, calc(100% - 32px));
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(2, 6, 23, .18);
  padding: 12px 12px;
}

.floatingStock__label {
  font-weight: 900;
  color: #0b1020;
  font-size: 13px;
  letter-spacing: .2px;
}

.floatingStock__value {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 900;
  color: #ef4444;
  line-height: 1.1;
}

.floatingStock__timer {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
}

.floatingStock__timer span {
  color: #ef4444;
}

.floatingStock__btn {
  width: 100%;
  margin-top: 10px;
  border-radius: 14px;
  padding: 11px 12px;
  font-weight: 900;
}

@media (max-width: 520px) {
  .floatingStock {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
}


/* Smooth stock number animation */
.stockCount {
  display: inline-block;
  will-change: transform, opacity;
}

@keyframes stockBump {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  35% {
    transform: translateY(-3px) scale(1.08);
    opacity: .92;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.stockCount.is-anim {
  animation: stockBump .38s ease;
}


/* Mobile hero image optimization */
@media (max-width: 768px) {

  .hero__left img,
  .hero__image,
  .hero img {
    max-height: 240px;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .hero {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {

  .hero__left img,
  .hero__image,
  .hero img {
    max-height: 200px;
  }
}


/* Mobile symptoms images optimization */
@media (max-width: 768px) {
  .card--symptom img {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .card--symptom img {
    width: 90px;
    height: 90px;
  }

  .card--symptom p {
    font-size: 13px;
    line-height: 1.3;
  }
}