/* JOY.CRM — landing page */
:root {
  --blue: #2b61e7;
  --blue-dark: #1d49bb;
  --blue-light: #eaf0ff;
  --red: #f23333;
  --ink: #111c32;
  --navy: #0c1830;
  --muted: #5c687c;
  --line: #dfe5ef;
  --surface: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(22, 42, 82, 0.12);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; width: 24px; height: 24px; }
::selection { color: var(--white); background: var(--blue); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 108px 0; }
.section--surface { background: var(--surface); }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(43, 97, 231, 0.45); outline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 239, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header__inner { display: flex; align-items: center; min-height: 80px; gap: 32px; }
.brand { display: block; flex: 0 0 auto; width: 142px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; color: #3d485b; font-size: 14px; font-weight: 600; }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { transform: scaleX(1); }
.header__cta { flex: 0 0 auto; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px 9px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }

/* Buttons and headings */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  gap: 12px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(43, 97, 231, 0.2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button svg { flex: 0 0 auto; width: 20px; height: 20px; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 14px 30px rgba(43, 97, 231, 0.27); transform: translateY(-2px); }
.button--small { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 13px; }
.button--ghost { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: none; }
.button--ghost:hover { color: var(--blue); background: var(--white); border-color: #b7c7ee; box-shadow: none; }
.button__play { color: var(--blue); }
.button--light { color: var(--blue); background: var(--white); border-color: var(--white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14); }
.button--light:hover { color: var(--blue-dark); background: #f4f7ff; border-color: #f4f7ff; }
.button--transparent { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.button--transparent:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); box-shadow: none; }
.button--outline { color: var(--blue); background: transparent; border-color: #b9c7e8; box-shadow: none; }
.button--outline:hover { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: none; }
.button--full { width: 100%; }

.section-heading { margin-bottom: 52px; }
.section-heading--center { max-width: 780px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.section-heading--split > p { max-width: 430px; margin-bottom: 4px; color: var(--muted); font-size: 17px; }
.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-label--light { color: #cbd9ff; }
.section-heading h2, .epd-content h2, .cta-content h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.section-heading--center > p { max-width: 580px; margin: 20px auto 0; color: var(--muted); font-size: 17px; }
.icon-box {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 13px;
  place-items: center;
}
.icon-box svg { width: 25px; height: 25px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  background:
    radial-gradient(circle at 89% 20%, rgba(43, 97, 231, 0.1), transparent 33%),
    radial-gradient(circle at 7% 58%, rgba(43, 97, 231, 0.05), transparent 28%),
    var(--white);
}
.hero::before {
  position: absolute;
  top: 0;
  right: 4%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(43, 97, 231, 0.14), transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); align-items: center; gap: 58px; }
.eyebrow { display: inline-flex; align-items: center; margin-bottom: 24px; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero h1 { max-width: 620px; margin-bottom: 26px; font-size: clamp(43px, 4.6vw, 62px); font-weight: 780; letter-spacing: -0.055em; line-height: 1.07; }
.hero h1 span { display: block; color: var(--blue); }
.hero__lead { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 580px; margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); gap: 20px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { margin-bottom: 2px; color: var(--ink); font-size: 16px; }
.hero__meta span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.hero__visual { position: relative; min-width: 0; padding: 28px 0 66px; }
.visual-orbit { position: absolute; border: 1px solid rgba(43, 97, 231, 0.15); border-radius: 50%; }
.visual-orbit--one { top: -36px; right: -110px; width: 390px; height: 390px; }
.visual-orbit--two { right: -38px; bottom: -45px; width: 220px; height: 220px; }
.product-window { position: relative; z-index: 2; overflow: hidden; background: var(--white); border: 1px solid #d9e1ee; border-radius: 20px; box-shadow: 0 30px 80px rgba(30, 56, 109, 0.18); }
.window-bar { display: flex; align-items: center; height: 44px; padding: 0 14px; background: #f8faff; border-bottom: 1px solid #e7ecf4; gap: 14px; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; background: #d2dbe9; border-radius: 50%; }
.window-dots span:first-child { background: #ff8d88; }
.window-dots span:nth-child(2) { background: #f7cc70; }
.window-dots span:nth-child(3) { background: #78d3a4; }
.window-address { overflow: hidden; flex: 1; color: #8a95a7; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.window-user { display: grid; width: 25px; height: 25px; color: var(--blue); background: #e3ebff; border-radius: 50%; font-size: 8px; font-weight: 800; place-items: center; }
.app-layout { display: grid; grid-template-columns: 50px minmax(0, 1fr); min-height: 348px; }
.app-sidebar { display: flex; align-items: center; padding-top: 15px; background: #142448; flex-direction: column; gap: 19px; }
.app-mark { margin-bottom: 9px; color: var(--white); font-size: 20px; font-weight: 900; letter-spacing: -0.08em; }
.app-mark span { color: var(--red); }
.app-sidebar i { width: 17px; height: 17px; border: 1px solid #677694; border-radius: 5px; opacity: 0.7; }
.app-sidebar i.is-active { background: var(--blue); border-color: #6d94ff; box-shadow: 0 0 0 5px rgba(43, 97, 231, 0.2); opacity: 1; }
.app-main { min-width: 0; padding: 23px 22px; background: #f7f9fd; }
.app-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-heading > div { display: flex; flex-direction: column; }
.app-heading span { color: #8b96a9; font-size: 8px; }
.app-heading strong { font-size: 16px; line-height: 1.4; }
.app-period { padding: 6px 9px; color: #61708a !important; background: var(--white); border: 1px solid #e2e8f1; border-radius: 6px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 17px; gap: 9px; }
.metric { position: relative; display: flex; min-width: 0; padding: 12px 10px; background: var(--white); border: 1px solid #e6ebf3; border-radius: 9px; flex-direction: column; }
.metric > span { margin-bottom: 6px; color: #8a96aa; font-size: 8px; }
.metric strong { overflow: hidden; margin-bottom: 4px; font-size: 12px; letter-spacing: -0.03em; text-overflow: ellipsis; white-space: nowrap; }
.metric small { color: #8a96aa; font-size: 7px; line-height: 1.4; }
.metric .trend { color: #209369; }
.trip-panel { overflow: hidden; background: var(--white); border: 1px solid #e6ebf3; border-radius: 9px; }
.trip-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-bottom: 1px solid #edf0f5; }
.trip-panel__head strong { font-size: 10px; }
.trip-panel__head span { color: var(--blue); font-size: 8px; }
.trip-row { display: grid; grid-template-columns: 0.7fr 1.65fr 0.7fr; align-items: center; min-height: 40px; padding: 0 13px; border-bottom: 1px solid #f0f2f6; color: #47556c; font-size: 8px; gap: 8px; }
.trip-row:last-child { border: 0; }
.trip-row--head { min-height: 28px; color: #97a2b4; background: #fbfcfe; font-size: 7px; }
.trip-row > span:first-child { color: var(--ink); font-weight: 700; }
.status { justify-self: start; padding: 4px 6px; border-radius: 4px; font-size: 7px; font-weight: 700; white-space: nowrap; }
.status--way { color: #2860d6; background: #eaf0ff; }
.status--load { color: #b27518; background: #fff5dd; }
.status--ready { color: #218260; background: #e5f7ef; }
.document-notice { position: absolute; z-index: 3; bottom: 34px; left: -34px; display: flex; align-items: center; min-width: 280px; padding: 14px 17px; gap: 12px; background: var(--white); border: 1px solid #e0e7f2; border-radius: 13px; box-shadow: 0 15px 40px rgba(22, 42, 82, 0.16); }
.document-notice__icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; color: var(--white); background: #28a976; border-radius: 50%; place-items: center; }
.document-notice__icon svg { width: 19px; height: 19px; }
.document-notice > div { display: flex; flex-direction: column; }
.document-notice strong { font-size: 12px; }
.document-notice span { color: var(--muted); font-size: 9px; }
.visual-caption { position: absolute; right: 0; bottom: 12px; color: #8c97a9; font-size: 9px; }
.hero__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 58px; padding: 25px 0 28px; border-top: 1px solid var(--line); gap: 24px; }
.hero__footer > span { color: var(--muted); font-size: 13px; }
.integration-list { display: flex; align-items: center; gap: 9px; }
.integration-list span { padding: 5px 11px; color: #536079; background: #f7f9fc; border: 1px solid #e5eaf2; border-radius: 100px; font-size: 11px; font-weight: 600; }

/* Audience */
.audience { padding-bottom: 116px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { position: relative; min-height: 278px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.audience-card:hover { border-color: #bfceee; box-shadow: 0 18px 45px rgba(22, 42, 82, 0.08); transform: translateY(-4px); }
.audience-card .icon-box { margin-bottom: 35px; }
.card-index { position: absolute; top: 32px; right: 30px; color: #b0bacb; font-size: 12px; font-weight: 700; }
.audience-card h3 { max-width: 260px; margin-bottom: 12px; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.audience-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { padding: 28px; background: var(--white); border: 1px solid #e2e8f1; border-radius: 18px; transition: box-shadow 180ms ease, transform 180ms ease; }
.feature-card:hover { box-shadow: 0 18px 45px rgba(22, 42, 82, 0.08); transform: translateY(-3px); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.feature-card__top > span { color: #8c97a9; font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.feature-card > p { min-height: 67px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-list { padding-top: 18px; border-top: 1px solid #e8edf4; }
.feature-list li { position: relative; margin-top: 10px; padding-left: 15px; color: #445168; font-size: 12px; line-height: 1.55; }
.feature-list li::before { position: absolute; top: 0.65em; left: 0; width: 5px; height: 5px; content: ""; background: var(--blue); border-radius: 50%; }

/* EPD */
.epd-section { overflow: hidden; color: var(--white); background: var(--navy); }
.epd-section::before { position: absolute; inset: 0; content: ""; opacity: 0.22; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000); }
.epd-glow { position: absolute; top: -200px; right: -150px; width: 650px; height: 650px; background: rgba(43, 97, 231, 0.28); border-radius: 50%; filter: blur(100px); }
.epd-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); align-items: center; gap: 72px; }
.epd-badges { display: flex; flex-wrap: wrap; margin-bottom: 24px; gap: 8px; }
.epd-badges span { padding: 6px 11px; color: #d9e4ff; background: rgba(84, 128, 241, 0.14); border: 1px solid rgba(142, 169, 239, 0.25); border-radius: 100px; font-size: 10px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.epd-badges span:first-child { color: #fff; background: var(--red); border-color: var(--red); }
.epd-content h2 { max-width: 620px; margin-bottom: 22px; }
.epd-lead { max-width: 610px; margin-bottom: 30px; color: #b9c5d9; font-size: 16px; line-height: 1.75; }
.epd-lead strong { color: var(--white); }
.epd-documents { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; gap: 18px; }
.epd-documents > div { padding-top: 16px; border-top: 1px solid #34415b; }
.epd-documents span { display: block; margin-bottom: 13px; color: #6987d8; font-size: 11px; font-weight: 700; }
.epd-documents strong { display: block; margin-bottom: 7px; font-size: 13px; line-height: 1.4; }
.epd-documents p { margin-bottom: 0; color: #8f9db5; font-size: 11px; line-height: 1.55; }
.epd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.epd-actions > span { color: #9cabc2; font-size: 12px; }
.epd-actions > span strong { color: var(--white); }
.epd-panel { position: relative; padding: 26px; background: rgba(255, 255, 255, 0.065); border: 1px solid rgba(174, 193, 230, 0.2); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2); backdrop-filter: blur(12px); }
.epd-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; gap: 12px; }
.epd-panel__head > div { display: flex; flex-direction: column; }
.epd-panel__head span { color: #8697b5; font-size: 10px; }
.epd-panel__head strong { margin-top: 2px; font-size: 14px; }
.online-status { display: flex; align-items: center; padding: 5px 8px; color: #9ce1c5 !important; background: rgba(49, 178, 127, 0.12); border-radius: 100px; gap: 6px; white-space: nowrap; }
.online-status i { width: 6px; height: 6px; background: #53d8a3; border-radius: 50%; box-shadow: 0 0 0 3px rgba(83, 216, 163, 0.12); }
.epd-flow { position: relative; }
.epd-flow::before { position: absolute; top: 40px; bottom: 40px; left: 18px; width: 1px; content: ""; background: #364663; }
.epd-step { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; min-height: 83px; margin-bottom: 11px; padding: 14px; gap: 12px; background: #14223e; border: 1px solid #2b3a57; border-radius: 12px; }
.epd-step:last-child { margin-bottom: 0; }
.epd-step.is-current { background: #192c51; border-color: #4469ba; }
.epd-step__number { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; color: #aebed8; background: #263652; border: 1px solid #445674; border-radius: 50%; font-size: 12px; font-weight: 800; place-items: center; }
.is-done .epd-step__number { color: #9ce1c5; background: #153f3b; border-color: #286858; }
.is-current .epd-step__number { color: var(--white); background: var(--blue); border-color: #7699fa; }
.epd-step__number svg { width: 18px; height: 18px; }
.epd-step > div { display: flex; min-width: 0; flex-direction: column; }
.epd-step strong { margin-bottom: 3px; font-size: 11px; line-height: 1.45; }
.epd-step div span { color: #8494ae; font-size: 9px; line-height: 1.45; }
.epd-step small { color: #70d6af; font-size: 8px; }
.epd-step.is-current small { color: #9ab8ff; }
.epd-operator { display: flex; align-items: center; margin-top: 20px; padding: 15px; gap: 12px; background: var(--white); border-radius: 12px; }
.epd-operator__logo { display: grid; flex: 0 0 auto; width: 35px; height: 35px; color: var(--white); background: #ef4343; border-radius: 9px; font-size: 17px; font-weight: 800; place-items: center; }
.epd-operator > div:nth-child(2) { display: flex; flex: 1; color: var(--ink); flex-direction: column; }
.epd-operator span { color: #8a96a8; font-size: 8px; }
.epd-operator strong { font-size: 12px; }
.epd-operator > svg { width: 18px; height: 18px; color: #94a0b2; }
.epd-panel__footer { display: flex; align-items: center; justify-content: center; margin-top: 22px; color: #8c9bb5; gap: 10px; font-size: 9px; font-weight: 600; }
.epd-panel__footer i { width: 18px; height: 1px; background: #43516a; }

/* Outcomes */
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; }
.outcome-card--accent { border-top: 3px solid var(--blue); }
.outcome-card__number { display: block; margin-bottom: 34px; color: #a2aec1; font-size: 12px; font-weight: 800; }
.outcome-card h3 { min-height: 54px; margin-bottom: 24px; font-size: 21px; letter-spacing: -0.025em; line-height: 1.3; }
.check-list li { position: relative; display: flex; align-items: flex-start; margin-top: 14px; gap: 10px; color: #4c596e; font-size: 13px; line-height: 1.55; }
.check-list svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.price-card { position: relative; display: flex; min-width: 0; padding: 30px; background: var(--white); border: 1px solid #dfe6f0; border-radius: 20px; flex-direction: column; }
.price-card--featured { color: var(--white); background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 60px rgba(12, 24, 48, 0.17); }
.popular-label { position: absolute; top: 22px; right: 22px; padding: 5px 9px; color: var(--white); background: var(--red); border-radius: 100px; font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.price-card__head { min-height: 91px; }
.tariff-name { display: block; margin-bottom: 8px; font-size: 29px; font-weight: 800; letter-spacing: -0.04em; }
.price-card__head p { max-width: 300px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price-card--featured .price-card__head p { color: #a9b7ce; }
.price { display: flex; min-height: 102px; padding: 20px 0 18px; border-top: 1px solid #e8edf4; flex-direction: column; justify-content: center; }
.price-card--featured .price { border-color: #34425c; }
.price strong { font-size: 31px; letter-spacing: -0.045em; line-height: 1.15; white-space: nowrap; }
.price span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.price-card--featured .price span { color: #a9b7ce; }
.price--formula strong { font-size: 27px; }
.price--custom strong { font-size: 28px; }
.price-note { min-height: 43px; padding: 10px 12px; color: #59677d; background: var(--surface); border-radius: 8px; font-size: 10px; line-height: 1.45; }
.price-card--featured .price-note { color: #bdc9dd; background: #172744; }
.price-features { flex: 1; margin: 23px 0 27px; }
.price-features li { margin-top: 12px; font-size: 14px; }
.price-card--featured .check-list li { color: #d2dbea; }
.price-card--featured .check-list svg { color: #83a5ff; }
.price-card--featured .button { color: var(--blue); background: var(--white); border-color: var(--white); box-shadow: none; }
.price-card--featured .button:hover { background: #edf2ff; border-color: #edf2ff; }

/* Проектный тариф: описание и CTA слева, состав работ — в двух колонках. */
.price-card--enterprise {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  padding: 38px;
  border-top: 3px solid var(--blue);
  column-gap: 48px;
}
.price-card--enterprise .price-card__head { grid-column: 1; grid-row: 1; min-height: 0; margin-bottom: 16px; }
.price-card--enterprise .price-card__head p { max-width: 390px; }
.price-card--enterprise .price { grid-column: 1; grid-row: 2; min-height: 0; padding: 16px 0; }
.price-card--enterprise .price-note { grid-column: 1; grid-row: 3; min-height: 0; margin-bottom: 20px; }
.price-card--enterprise .price-features {
  display: grid;
  grid-column: 2;
  grid-row: 1 / 5;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  margin: 0;
  gap: 16px 24px;
}
.price-card--enterprise .price-features li { margin: 0; }
.price-card--enterprise > .button { grid-column: 1; grid-row: 4; align-self: end; }

/* Videos */
.section-heading--videos { align-items: center; }
.videos-intro { max-width: 420px; }
.videos-intro p { margin-bottom: 16px; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 700; }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.videos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow 180ms ease, transform 180ms ease; }
.video-card:hover { box-shadow: 0 18px 45px rgba(22, 42, 82, 0.1); transform: translateY(-3px); }
.video-poster { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #dce4f1; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.video-poster:hover img { transform: scale(1.025); }
.video-poster__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9, 20, 40, 0.4)); }
.play-button { position: absolute; top: 50%; left: 50%; display: grid; width: 66px; height: 66px; color: var(--blue); background: var(--white); border-radius: 50%; box-shadow: 0 10px 30px rgba(10, 25, 55, 0.22); place-items: center; transform: translate(-50%, -50%); transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.play-button svg { width: 27px; height: 27px; margin-left: 3px; }
.video-poster:hover .play-button { color: var(--white); background: var(--blue); transform: translate(-50%, -50%) scale(1.07); }
.video-tag { position: absolute; bottom: 15px; left: 16px; padding: 5px 9px; color: var(--white); background: rgba(12, 24, 48, 0.78); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 100px; font-size: 9px; font-weight: 700; backdrop-filter: blur(8px); }
.video-card__body { padding: 22px 24px 24px; }
.video-card__body > span { display: block; margin-bottom: 8px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.video-card__body h3 { margin-bottom: 7px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.35; }
.video-card__body p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.video-poster.is-loaded { aspect-ratio: 16 / 9; }
.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA and footer */
.cta-section { padding-top: 0; }
.cta-box { position: relative; overflow: hidden; padding: 64px 68px; color: var(--white); background: linear-gradient(125deg, #1e4fc5, var(--blue) 58%, #3972f4); border-radius: 26px; }
.cta-box::after { position: absolute; top: -180px; right: -160px; width: 500px; height: 500px; content: ""; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025); }
.cta-content { position: relative; z-index: 2; max-width: 750px; }
.cta-content h2 { margin-bottom: 18px; }
.cta-content p { max-width: 670px; margin-bottom: 28px; color: #d7e2ff; font-size: 16px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-route { position: absolute; right: 6%; bottom: 50px; z-index: 1; display: flex; align-items: center; width: 260px; justify-content: space-between; }
.cta-route::before { position: absolute; right: 0; left: 0; height: 1px; content: ""; background: rgba(255, 255, 255, 0.22); }
.cta-route span { position: relative; width: 13px; height: 13px; background: var(--white); border: 3px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background-clip: padding-box; }
.cta-route i { position: relative; width: 6px; height: 6px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; }
.site-footer { padding: 66px 0 24px; color: var(--white); background: #091426; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; padding-bottom: 48px; gap: 70px; }
.brand--footer { width: 162px; margin-bottom: 20px; }
.footer-brand p { max-width: 370px; margin-bottom: 20px; color: #8f9db5; font-size: 13px; line-height: 1.7; }
.footer-region { display: inline-block; padding: 6px 11px; color: #b9c8e1; background: #111f35; border: 1px solid #26354c; border-radius: 100px; font-size: 10px; }
.footer-nav, .footer-contacts { display: flex; align-items: flex-start; flex-direction: column; gap: 11px; }
.footer-nav > strong, .footer-contacts > strong { margin-bottom: 10px; color: #e9eef8; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav a, .footer-contacts a { color: #94a3bc; font-size: 13px; transition: color 180ms ease; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--white); }
.footer-contacts a { display: flex; align-items: center; gap: 10px; }
.footer-contacts svg { width: 17px; height: 17px; color: #6588df; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; color: #687892; border-top: 1px solid #223047; gap: 24px; font-size: 11px; }

/* Reveal enhancement: content remains visible without JavaScript */
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .header__inner { gap: 22px; }
  .main-nav { gap: 19px; }
  .hero__grid { gap: 32px; }
  .hero h1 { font-size: 49px; }
  .hero__lead { font-size: 16px; }
  .app-main { padding: 19px 15px; }
  .document-notice { left: -15px; }
  .feature-card { padding: 24px; }
  .price-card { padding: 25px; }
  .price strong { font-size: 28px; }
  .price--formula strong { font-size: 23px; }
  .popular-label { position: static; align-self: flex-start; margin-bottom: 14px; }
  .price-card__head { min-height: 85px; }
  .epd-layout { gap: 40px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header__cta { margin-left: 0; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    padding: 12px 24px 22px;
    visibility: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(18, 35, 67, 0.1);
    opacity: 0;
    flex-direction: column;
    gap: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #edf0f5; font-size: 15px; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .site-header.menu-open .main-nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 62px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__content { max-width: 720px; }
  .hero h1 { max-width: 700px; font-size: clamp(45px, 7vw, 62px); }
  .hero__visual { width: 100%; max-width: 690px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card > p { min-height: auto; }
  .epd-layout { grid-template-columns: 1fr; gap: 50px; }
  .epd-content { max-width: 730px; }
  .epd-panel { width: 100%; max-width: 650px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .price-card__head, .price { min-height: auto; }
  .price-card__head { margin-bottom: 24px; }
  .price-note { min-height: auto; }
  .price-features { flex: initial; }
  .price-card--enterprise { grid-column: auto; grid-template-columns: 1fr; padding: 30px; column-gap: 0; }
  .price-card--enterprise .price-card__head,
  .price-card--enterprise .price,
  .price-card--enterprise .price-note,
  .price-card--enterprise .price-features,
  .price-card--enterprise > .button { grid-column: 1; grid-row: auto; }
  .price-card--enterprise .price-card__head { margin-bottom: 24px; }
  .price-card--enterprise .price-note { margin-bottom: 0; }
  .price-card--enterprise .price-features { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; margin: 23px 0 27px; }
  .popular-label { position: absolute; margin: 0; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 720px) {
  .section { padding: 82px 0; }
  .section-heading--split { display: block; }
  .section-heading--split > p { max-width: 600px; margin-top: 22px; }
  .section-heading { margin-bottom: 38px; }
  .audience-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: auto; }
  .audience-card .icon-box { margin-bottom: 25px; }
  .audience-card h3 { max-width: none; }
  .outcome-card h3 { min-height: auto; }
  .outcome-card__number { margin-bottom: 22px; }
  .videos-grid { grid-template-columns: 1fr; }
  .section-heading--videos .videos-intro { max-width: 600px; margin-top: 22px; }
  .cta-box { padding: 52px 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  html { scroll-padding-top: 76px; }
  .header__inner { min-height: 68px; }
  .brand { width: 124px; }
  .header__cta { display: none; }
  .hero { padding-top: 46px; }
  .eyebrow { max-width: 330px; margin-bottom: 19px; font-size: 10px; line-height: 1.5; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(37px, 10.6vw, 48px); letter-spacing: -0.052em; }
  .hero__lead { font-size: 15px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__meta { grid-template-columns: 1fr; margin-top: 30px; padding-top: 12px; gap: 0; }
  .hero__meta div { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #e9edf3; flex-direction: row; gap: 16px; }
  .hero__meta div:last-child { border-bottom: 0; }
  .hero__meta span { text-align: right; }
  .hero__visual { margin-top: 2px; padding-bottom: 76px; }
  .product-window { border-radius: 13px; }
  .window-bar { height: 35px; }
  .app-layout { grid-template-columns: 1fr; min-height: 0; }
  .app-sidebar { display: none; }
  .app-main { padding: 15px 11px; }
  .app-heading { margin-bottom: 13px; }
  .app-heading strong { font-size: 13px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:last-child { grid-column: 1 / -1; }
  .metric strong { font-size: 11px; }
  .trip-row { grid-template-columns: 0.65fr 1.45fr 0.75fr; min-height: 36px; padding: 0 9px; font-size: 7px; gap: 5px; }
  .trip-panel__head { padding: 10px; }
  .document-notice { bottom: 32px; left: 10px; min-width: 0; width: calc(100% - 30px); padding: 12px; }
  .visual-caption { bottom: 6px; font-size: 8px; }
  .visual-orbit--one { right: -160px; }
  .hero__footer { align-items: flex-start; margin-top: 30px; flex-direction: column; }
  .integration-list { flex-wrap: wrap; }
  .section-heading h2, .epd-content h2, .cta-content h2 { font-size: 35px; letter-spacing: -0.04em; }
  .section-heading--center { text-align: left; }
  .section-heading--center > p { margin-left: 0; }
  .section-label { margin-bottom: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px; }
  .feature-card__top { margin-bottom: 22px; }
  .epd-documents { grid-template-columns: 1fr; gap: 14px; }
  .epd-documents > div { display: grid; grid-template-columns: 30px 1fr; padding-top: 12px; gap: 0 8px; }
  .epd-documents span { grid-row: 1 / 3; margin: 2px 0 0; }
  .epd-documents strong { margin-bottom: 3px; }
  .epd-documents p { grid-column: 2; }
  .epd-actions { align-items: stretch; flex-direction: column; }
  .epd-actions .button { width: 100%; }
  .epd-actions > span { text-align: center; }
  .epd-panel { padding: 17px; border-radius: 16px; }
  .epd-panel__head { align-items: flex-start; }
  .epd-step { grid-template-columns: 34px minmax(0, 1fr); min-height: 78px; padding: 11px; gap: 10px; }
  .epd-step__number { width: 32px; height: 32px; }
  .epd-step > small { display: none; }
  .epd-flow::before { left: 16px; }
  .epd-panel__footer { gap: 7px; font-size: 8px; }
  .epd-panel__footer i { width: 10px; }
  .outcome-card { padding: 25px; }
  .price-card { padding: 25px; }
  .price-card--enterprise { padding: 25px; }
  .price-card--enterprise .price-features { grid-template-columns: 1fr; }
  .popular-label { position: static; margin-bottom: 15px; }
  .price strong, .price--formula strong, .price--custom strong { font-size: 27px; white-space: normal; }
  .video-card__body { padding: 20px; }
  .play-button { width: 58px; height: 58px; }
  .cta-section { padding-top: 0; }
  .cta-box { padding: 38px 24px; border-radius: 20px; }
  .cta-content p { font-size: 14px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .cta-route { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
}
