/* ===========================================================
   e-shop united — landing page styles
   =========================================================== */

:root {
  --ink: #0E1424;
  --ink-soft: #29303f;
  --slate: #54607a;
  --muted: #8b93a6;
  --line: #e7e9f1;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --brand: #5b54e8;
  --brand-2: #7c3aed;
  --brand-ink: #4640c9;
  --accent: #16b981;
  --accent-soft: #e6f7f0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 36, .06), 0 6px 18px rgba(14, 20, 36, .05);
  --shadow-md: 0 12px 30px rgba(14, 20, 36, .09);
  --shadow-lg: 0 30px 60px rgba(20, 24, 60, .16);
  --ring: 0 0 0 4px rgba(91, 84, 232, .18);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}

/* ===== Buttons ===== */
.btn {
  --btn-fs: .98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: inherit;
  font-size: var(--btn-fs);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: .72em 1.25em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { font-size: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(91, 84, 232, .32);
}
.btn--solid:hover { box-shadow: 0 12px 26px rgba(91, 84, 232, .42); }

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }

.btn--on-dark { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

.btn--lg { --btn-fs: 1.02rem; padding: .9em 1.6em; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(14, 20, 36, .05);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand__mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 6px 14px rgba(91, 84, 232, .3));
}
.brand__text {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand__text .brand__accent { color: var(--brand); margin-left: .26em; }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__accent { color: #b9b4ff; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav > a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.nav > a:not(.btn):hover { background: var(--bg-alt); color: var(--brand-ink); }
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 55% at 82% 8%, rgba(124, 58, 237, .16), transparent 70%),
    radial-gradient(46% 50% at 10% 18%, rgba(91, 84, 232, .16), transparent 70%),
    linear-gradient(180deg, #fbfbfe, #ffffff 60%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 20, 36, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 20, 36, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 78%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .82rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 185, 129, .18);
}

.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 3.65rem);
  margin: 20px 0 18px;
}
.hero__lead {
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  max-width: 36ch;
  color: var(--slate);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
}
.hero__points .icon {
  font-size: 1.05rem;
  color: var(--accent);
  stroke-width: 2.4;
}

/* Hero visual */
.hero__visual { position: relative; }
.hero__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.hero__panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--a { background: #ff6058; }
.dot--b { background: #ffbd2e; }
.dot--c { background: #28c840; }
.hero__panel-title {
  margin-left: auto;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s ease;
}
.mini-card:hover { transform: translateY(-4px); }
.mini-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(91, 84, 232, .14), rgba(124, 58, 237, .14));
}
.mini-card__name { font-weight: 700; color: var(--ink); font-size: .96rem; }
.mini-card__meta {
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent);
}

.hero__pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  font-size: .86rem;
  color: var(--ink);
}
.hero__pill .icon { font-size: 1.05rem; }
.hero__pill--1 {
  top: -20px; left: -26px;
  animation: float 5.5s ease-in-out infinite;
}
.hero__pill--1 .icon { color: var(--brand); }
.hero__pill--2 {
  bottom: -22px; right: -20px;
  animation: float 6.5s ease-in-out infinite reverse;
}
.hero__pill--2 .icon { color: var(--accent); }

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

/* ===== Trust bar ===== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 24px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: .95rem;
}
.trust__item .icon {
  font-size: 1.5rem;
  color: var(--brand);
  flex: none;
}

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section__sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--slate);
}

/* ===== Feature cards ===== */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 84, 232, .35);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(91, 84, 232, .3);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { font-size: .96rem; }

/* ===== Categories ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 84, 232, .35);
}
.cat__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  font-size: 1.4rem;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(91, 84, 232, .12), rgba(124, 58, 237, .12));
  flex: none;
}
.cat__name { font-size: .98rem; }
.cat-note {
  text-align: center;
  margin-top: 30px;
  color: var(--slate);
}
.cat-note a {
  color: var(--brand-ink);
  font-weight: 700;
  border-bottom: 2px solid rgba(91, 84, 232, .3);
}
.cat-note a:hover { border-color: var(--brand); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.step__num {
  position: absolute;
  top: 10px; right: 18px;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(91, 84, 232, .09);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  font-size: 1.6rem;
  color: var(--brand);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .97rem; }

/* ===== Why us ===== */
.why {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.why .kicker { margin-bottom: 12px; }
.why .section__title { text-align: left; }
.checklist {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.checklist .icon {
  font-size: 1.05rem;
  margin-top: 4px;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  padding: 4px;
  width: 1.5em; height: 1.5em;
  stroke-width: 3;
  flex: none;
}

.promise {
  background: linear-gradient(160deg, #15173a, #1f1b54 55%, #3a2a86);
  color: #d9dcf2;
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  top: -90px; right: -70px;
  background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 70%);
}
.promise__tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a9a2ff;
  margin-bottom: 14px;
}
.promise__quote {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.02em;
}
.promise__list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.promise__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .96rem;
}
.promise__ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 1.15rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  flex: none;
}

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(124, 58, 237, .6), transparent 70%),
    linear-gradient(135deg, #161636, #2b2470);
  color: #fff;
}
.cta-band__inner {
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 24px;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
}
.cta-band p {
  max-width: 46ch;
  margin: 14px auto 28px;
  color: #c9cbe8;
  font-size: 1.06rem;
}

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.contact .section__title { text-align: left; }
.contact .kicker { margin-bottom: 12px; }
.contact__meta {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.contact__meta li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  font-size: 1.35rem;
  color: var(--brand);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  flex: none;
}
.contact__meta strong {
  display: block;
  color: var(--ink);
  font-size: .92rem;
}
.contact__meta a { color: var(--brand-ink); font-weight: 600; }
.contact__meta a:hover { text-decoration: underline; }

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: var(--ring);
}
.field--invalid input,
.field--invalid textarea {
  border-color: #e2536b;
  background: #fef3f4;
}
.field__error {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #d63a55;
  margin-top: 6px;
  min-height: 1em;
}
.form-note {
  margin-top: 14px;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-note.is-ok { color: var(--accent); }
.form-note.is-err { color: #d63a55; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #99a0b5;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) 24px 36px;
}
.site-footer__brand .brand { margin-bottom: 16px; }
.site-footer__brand p { max-width: 38ch; font-size: .95rem; }
.site-footer__col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer__col a {
  display: block;
  padding: 5px 0;
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s ease;
}
.site-footer__col a:hover { color: #fff; }
.site-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
}
.site-footer__tag {
  font-weight: 700;
  color: #b9b4ff;
  letter-spacing: -0.01em;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 620px; }
  .hero__lead { max-width: 52ch; }
  .hero__visual { max-width: 460px; margin: 8px auto 0; }
  .why { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 11px 14px; }
  .nav__cta { margin: 6px 0 0; }
  .nav-toggle { display: grid; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cards-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero__cards { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust__grid { grid-template-columns: 1fr; }
  .contact__form { padding: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bar { flex-direction: column; text-align: center; }
  .hero__pill--1 { left: -8px; }
  .hero__pill--2 { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__pill { animation: none; }
  .btn:hover, .feature:hover, .cat:hover, .mini-card:hover { transform: none; }
}
