/* ============================================================
   STARTINMED — UI KIT (website) styles
   ============================================================ */

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

.container { max-width: 1290px; margin: 0 auto; padding: 0 30px; }
.accent { color: var(--sim-rose); }

/* ─────────── BUTTON ─────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500; line-height: 19px;
  border-radius: 30px; text-decoration: none; border: none; cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn--md { padding: 16px 36px; }
.btn--lg { padding: 18px 40px; }
.btn--block { display: flex; width: 100%; padding: 16px 40px; }
.btn--primary { background: var(--sim-rose); color: #fff; }
.btn--primary:hover { background: var(--sim-rose-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--sim-blue); border: 2px solid var(--sim-blue); padding: 14px 34px; }
.btn--ghost.btn--block { padding: 14px 36px; }
.btn--ghost:hover { background: var(--sim-blue); color: #fff; }
.btn--white { background: #fff; color: var(--sim-blue); }
.btn--white:hover { background: #F5F9FC; }

/* ─────────── PILL/BADGE ─────────── */

.pill { display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 99px; }
.pill--rose { background: var(--sim-rose); color: #fff; }
.pill--blue { background: rgba(45,46,131,0.08); color: var(--sim-blue); }

/* ─────────── ICON ROUND ─────────── */

.icon-round { display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0; }
.icon-round svg { width: 50%; height: 50%; }
.icon-round--blue { background: var(--sim-blue); color: #fff; }
.icon-round--rose { background: var(--sim-rose); color: #fff; }
.icon-round--soft { background: rgba(45,46,131,0.08); color: var(--sim-blue); }

/* ─────────── HEADER ─────────── */

.header { position: sticky; top: 0; z-index: 10; background: transparent; }
.header__inner { max-width: 1290px; margin: 0 auto; padding: 18px 30px;
  display: flex; align-items: center; gap: 30px; }
.header__nav { display: flex; gap: 26px; margin-left: 40px; flex: 1; }
.header__link { font-family: var(--font-display); font-size: 16px; font-weight: 500;
  color: #fff; text-decoration: none; transition: var(--t-base); }
.header__link:hover { color: var(--sim-rose); }
.header__burger { display: none; background: transparent; border: none; color: #fff; cursor: pointer; }
.header__burger svg { width: 28px; height: 28px; }
@media (max-width: 880px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: inline-flex; margin-left: auto; }
}

/* ─────────── HERO ─────────── */

.hero { position: relative; background: var(--sim-blue); overflow: hidden;
  padding: 0 0 120px; margin-top: -76px; padding-top: 76px; }
.hero__bg { position: absolute; inset: 0; background: url(../assets/hero-neon-grain.svg) center/cover; pointer-events: none; }
.hero__inner { position: relative; max-width: 1290px; margin: 0 auto; padding: 90px 30px 0;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__title { font-family: var(--font-display); font-size: 64px; font-weight: 500;
  line-height: 1.05; color: #fff; margin: 0 0 28px; }
.hero__sub { font-family: var(--font-body); font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.88); max-width: 540px; margin: 0 0 36px; }
.hero__ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero__link { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: #fff; }
.hero__link:hover { color: var(--sim-rose); }
.hero__col--right { justify-self: end; width: 100%; max-width: 460px; }

.hero-card { background: #fff; border-radius: 14px; padding: 28px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.hero-card__row { display: flex; gap: 18px; align-items: center; padding: 8px 0; }
.hero-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sim-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card__icon svg { width: 28px; height: 28px; }
.hero-card__icon--rose { background: var(--sim-rose); }
.hero-card__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--sim-blue); line-height: 1.2; }
.hero-card__meta { font-family: var(--font-body); font-size: 14px; color: var(--sim-meta); margin-top: 2px; }
.hero-card__divider { height: 1px; background: var(--sim-border); margin: 4px 0; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__title { font-size: 42px; }
  .hero { padding-bottom: 70px; }
}

/* ─────────── FEATURES ─────────── */

.features { padding: 107px 0; background: #fff; }
.features__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.features__title { font-family: var(--font-display); font-size: 44px; font-weight: 500;
  color: var(--sim-navy); margin: 0 0 16px; line-height: 1.1; }
.features__sub { font-family: var(--font-body); font-size: 18px; color: var(--sim-body-alt); margin: 0; }

.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-card { background: #fff; border-radius: 14px; padding: 32px 26px;
  box-shadow: 0 0 10px rgba(0,0,0,0.09); transition: var(--t-base); }
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.feat-card__ic { display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--sim-blue); color: #fff;
  margin-bottom: 22px; }
.feat-card__ic svg { width: 32px; height: 32px; }
.feat-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--sim-blue); margin: 0 0 10px; line-height: 1.25; }
.feat-card__body { font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  color: var(--sim-body); margin: 0; }

@media (max-width: 980px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

/* ─────────── TESTIMONIALS ─────────── */

.testimonials { position: relative; padding: 107px 0; overflow: hidden;
  background: linear-gradient(180deg,#2D2E83 0%, #6B21A8 50%, #FF68A3 100%); }
.testimonials__bg { position: absolute; inset: 0; background: url(../assets/hero-neon-grain.svg) center/cover; opacity: 0.35; pointer-events: none; }
.testimonials .container { position: relative; }
.testimonials__head { text-align: center; max-width: 720px; margin: 0 auto 60px; color: #fff; }
.testimonials__title { font-family: var(--font-display); font-size: 44px; font-weight: 500; margin: 0 0 16px; line-height: 1.1; color: #fff; }
.testimonials__sub { font-family: var(--font-body); font-size: 18px; opacity: 0.9; margin: 0; color: #fff; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.t-card { background: #fff; border-radius: 14px; padding: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.33); }
.t-card__stars { display: flex; gap: 2px; color: #F5A623; margin-bottom: 14px; }
.t-card__stars svg { width: 18px; height: 18px; }
.t-card__quote { font-family: var(--font-body); font-size: 15px; line-height: 1.65;
  color: var(--sim-body); margin: 0 0 22px; }
.t-card__who { display: flex; gap: 12px; align-items: center; }
.t-card__av { width: 44px; height: 44px; border-radius: 50%; background: var(--sim-gradient-card);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.t-card__nm { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--sim-body); }
.t-card__role { font-family: var(--font-body); font-size: 13px; color: var(--sim-meta); }

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

/* ─────────── PRICING ─────────── */

.pricing { padding: 107px 0; background: var(--sim-bg-alt); }
.pricing__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.pricing__title { font-family: var(--font-display); font-size: 44px; font-weight: 500;
  color: var(--sim-navy); margin: 0 0 16px; line-height: 1.1; }
.pricing__sub { font-family: var(--font-body); font-size: 18px; color: var(--sim-body-alt); margin: 0 0 28px; }
.pricing__toggle { display: inline-flex; background: #fff; border: 1px solid var(--sim-border);
  border-radius: 99px; padding: 4px; }
.pricing__toggle button { font-family: var(--font-display); font-size: 15px; font-weight: 500;
  padding: 10px 26px; border: none; background: transparent; color: var(--sim-blue);
  border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pricing__toggle .is-active { background: var(--sim-blue); color: #fff; }
.pricing__save { font-size: 11px; background: var(--sim-rose); color: #fff;
  padding: 2px 8px; border-radius: 99px; }
.pricing__toggle .is-active .pricing__save { background: #fff; color: var(--sim-rose); }

.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.p-card { position: relative; background: #fff; border-radius: 14px; padding: 36px 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.09); display: flex; flex-direction: column; }
.p-card--featured { box-shadow: 0 12px 40px rgba(45,46,131,0.18); border: 2px solid var(--sim-rose); }
.p-card__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sim-rose); color: #fff;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  padding: 6px 16px; border-radius: 99px; }
.p-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--sim-blue); margin: 0 0 4px; }
.p-card__desc { font-family: var(--font-body); font-size: 14px; color: var(--sim-meta); margin: 0 0 22px; }
.p-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.p-card__amt { font-family: var(--font-display); font-size: 48px; font-weight: 600; color: var(--sim-rose); line-height: 1; }
.p-card__per { font-family: var(--font-body); font-size: 15px; color: var(--sim-body); }
.p-card__feats { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.p-card__feats li { display: flex; gap: 12px; align-items: center;
  font-family: var(--font-body); font-size: 15px; color: var(--sim-body); padding: 7px 0; }
.p-card__check { display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255,104,163,0.12); color: var(--sim-rose); flex-shrink: 0; }
.p-card__check svg { width: 12px; height: 12px; }

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

/* ─────────── BLOG ─────────── */

.blog { padding: 107px 0; background: #fff; }
.blog__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.blog__title { font-family: var(--font-display); font-size: 44px; font-weight: 500;
  color: var(--sim-navy); margin: 0 0 16px; line-height: 1.1; }
.blog__sub { font-family: var(--font-body); font-size: 18px; color: var(--sim-body-alt); margin: 0; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--t-base); cursor: pointer; }
.b-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.b-card:hover .b-card__title { color: var(--sim-rose); }
.b-card__img { height: 200px; }
.b-card__body { padding: 22px 24px 26px; }
.b-card__meta { font-family: var(--font-body); font-size: 13px; color: var(--sim-meta); margin-bottom: 8px; }
.b-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--sim-blue); line-height: 1.3; margin: 0 0 10px; transition: var(--t-base); }
.b-card__ex { font-family: var(--font-body); font-size: 14px; line-height: 1.6;
  color: var(--sim-body); margin: 0; }

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

/* ─────────── FOOTER ─────────── */

.footer { position: relative; padding: 90px 0 30px; color: #fff; overflow: hidden;
  background: linear-gradient(180deg,#2D2E83 0%, #6B21A8 60%, #FF68A3 100%); }
.footer__bg { position: absolute; inset: 0; background: url(../assets/hero-neon-grain.svg) center/cover; opacity: 0.3; pointer-events: none; }
.footer .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 50px; }
.footer__tag { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85);
  margin: 18px 0 22px; }
.footer__social { display: flex; gap: 10px; }
.footer__sicon { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12);
  color: #fff; cursor: pointer; transition: var(--t-base); }
.footer__sicon svg { width: 18px; height: 18px; }
.footer__sicon:hover { background: rgba(255,255,255,0.22); }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols a { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.88); padding: 4px 0; cursor: pointer; }
.footer__cols a:hover { color: var(--sim-rose); }
.footer__h { font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: #fff; margin-bottom: 14px; }

.footer__ctah { font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: #fff; margin: 0 0 18px; line-height: 1.3; }

.footer__bottom { margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.75); }

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* ─────────── LOGIN MODAL ─────────── */

.modal { position: fixed; inset: 0; background: rgba(3,27,78,0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal__panel { position: relative; background: #fff; border-radius: 14px; padding: 36px 36px 32px;
  width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.modal__close { position: absolute; top: 14px; right: 14px; background: transparent; border: none;
  cursor: pointer; color: var(--sim-meta); padding: 6px; }
.modal__close svg { width: 20px; height: 20px; }
.modal__logo-mark { display: flex; justify-content: center; margin-bottom: 16px; }
.modal__logo-mark img { width: 52px; height: 56px; }
.modal__title { font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--sim-navy); margin: 0 0 6px; text-align: center; line-height: 1.2; }
.modal__sub { font-family: var(--font-body); font-size: 14px; color: var(--sim-body-alt);
  text-align: center; margin: 0 0 22px; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--sim-body-alt); }
.field__input { font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border-radius: 10px; border: 1px solid var(--sim-border); background: #fff; color: var(--sim-body); outline: none; transition: all .2s; }
.field__input:focus { border-color: var(--sim-rose); box-shadow: 0 0 0 3px rgba(255,104,163,0.15); }
.modal__forgot { font-family: var(--font-body); font-size: 13px; color: var(--sim-rose);
  text-align: right; cursor: pointer; }
.modal__divider { text-align: center; margin: 22px 0 12px; font-family: var(--font-body); font-size: 13px;
  color: var(--sim-meta); position: relative; }
.modal__divider::before, .modal__divider::after { content: ""; position: absolute; top: 50%;
  width: calc(50% - 24px); height: 1px; background: var(--sim-border); }
.modal__divider::before { left: 0; } .modal__divider::after { right: 0; }
.modal__alt { font-family: var(--font-body); font-size: 14px; color: var(--sim-body-alt); text-align: center; margin: 0; }
.modal__alt a { color: var(--sim-rose); font-weight: 500; cursor: pointer; }

.modal__success { text-align: center; padding: 8px 0 4px; }
.modal__success-ic { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,104,163,0.12);
  color: var(--sim-rose); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.modal__success-ic svg { width: 36px; height: 36px; }
