:root {
  /* hotelkit-стиль: светлая тема, фиолетовый акцент на белом. */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f4fb;
  --surface-3: #eeebf8;
  --border: #e6e2ee;
  --text: #1f1a2b;
  --muted: #6b6480;
  --accent: #5a3a8a;
  --accent-2: #7a5bb0;
  --accent-deep: #432a69;
  --accent-light: #c9b8ec;
  --ink: #17122a;
  --accent-soft: #f0ebf7;
  --green: #2e9e5b;
  --amber: #c9821a;
  --red: #d64545;
  --grad: linear-gradient(135deg, #5a3a8a 0%, #7a5bb0 100%);
  --radius: 20px;
  --radius-sm: 12px;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 28px; backdrop-filter: blur(14px); background: rgba(255,255,255,.85); border-bottom: 1px solid var(--border); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.brand { font-size: 23px; font-weight: 800; letter-spacing: -.5px; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px;
  font-family: inherit; cursor: pointer; transition: transform .15s, box-shadow .25s, border-color .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-primary { background: var(--grad); border: none; color: #fff; box-shadow: 0 12px 28px -10px rgba(90,58,138,.65); }
.btn-primary:hover { box-shadow: 0 18px 38px -10px rgba(90,58,138,.7); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* hero */
.hero { padding: 70px 0 40px; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 30px;
  background: var(--accent-soft); border: 1px solid #ddd0ec; color: var(--accent-deep); font-weight: 700; font-size: 13px; margin-bottom: 22px; }
.hero h1 { font-size: 54px; line-height: 1.06; margin: 0 0 20px; font-weight: 800; letter-spacing: -1.4px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 540px; line-height: 1.6; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* bento */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bento-tile { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 30px 70px -36px rgba(70,45,110,.4); position: relative; }
.bento-main { grid-row: 1 / span 2; }
.bento-main img, .bento-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bento-photo { min-height: 150px; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; }
.bento-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(20,12,45,.82)); }
.bento-stat { background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 20px; min-height: 110px; }
.bento-stat .t { font-size: 13px; font-weight: 600; opacity: .9; }
.bento-stat .n { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-top: 2px; }
.bento-stat .d { font-size: 12px; opacity: .85; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.bento-stat .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.6);} 70%{ box-shadow: 0 0 0 8px rgba(255,255,255,0);} 100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0);} }

/* metrics band */
.metrics { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.metrics .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-top: 46px; padding-bottom: 46px; }
.metric { text-align: center; }
.metric .num { font-size: 50px; font-weight: 800; letter-spacing: -1.5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* generic section */
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: 38px; margin: 0 0 12px; letter-spacing: -1px; line-height: 1.12; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; line-height: 1.55; }

/* core product cards */
.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); border-color: #d3c6e8; box-shadow: 0 26px 50px -28px rgba(90,58,138,.5); }
.card .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { margin: 0 0 9px; font-size: 19px; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.card .more { font-weight: 700; font-size: 14px; color: var(--accent-deep); }
.card .more:hover { color: var(--accent); }

/* deep-dive alternating rows */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; }
.dd:nth-child(even) .dd-text { order: 2; }
.dd-text h3 { font-size: 30px; margin: 8px 0 14px; letter-spacing: -.6px; line-height: 1.15; }
.dd-text > p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.dd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dd-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.dd-list li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a3a8a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

/* browser frame */
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 40px 80px -34px rgba(70,45,110,.4); }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6cff0; }
.frame-bar i:nth-child(1){ background:#ff5f57;} .frame-bar i:nth-child(2){ background:#febc2e;} .frame-bar i:nth-child(3){ background:#28c840;}
.frame-bar span { margin-left: 12px; color: var(--muted); font-size: 12px; }
.frame img { width: 100%; display: block; }

/* roles grid */
.roles { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.roles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.role { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: transform .2s, border-color .2s; }
.role:hover { transform: translateY(-4px); border-color: #d3c6e8; }
.role .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 21px; margin-bottom: 13px; }
.role h4 { margin: 0 0 6px; font-size: 17px; }
.role p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* stack chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 30px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 15px; }
.chip::before { content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%235a3a8a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.why { text-align: left; }
.why .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-size: 25px; margin-bottom: 16px; box-shadow: 0 14px 30px -12px rgba(90,58,138,.6); }
.why h3 { margin: 0 0 9px; font-size: 20px; }
.why p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* final cta */
.final { text-align: center; padding: 96px 0; background: radial-gradient(800px 360px at 50% 40%, rgba(90,58,138,.14), transparent 70%); }
.final h2 { font-size: 42px; margin: 0 0 14px; letter-spacing: -1.2px; }
.final p { color: var(--muted); font-size: 19px; margin: 0 0 28px; }
.hint { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* footer — тёмный, чёткий контраст (без серого металлика): белый текст на глубоком ink-фоне */
footer { background: var(--ink); border-top: none; color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 44px; }
.foot-brand .brand { font-size: 24px; margin-bottom: 14px; color: #fff; }
.foot-brand .brand span { color: var(--accent-light); }
.foot-brand p { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.6; max-width: 320px; margin: 0; }
.foot-col h5 { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.foot-col a { display: block; color: rgba(255,255,255,.78); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom .muted { color: rgba(255,255,255,.62); font-size: 13.5px; }

/* language switcher */
.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700;
  padding: 7px 11px; border-radius: 9px; cursor: pointer; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); }
.lang-btn:hover { border-color: var(--accent); }
.lang-btn .caret { font-size: 9px; opacity: .6; }
.lang-menu { position: absolute; top: 100%; right: 0; margin-top: 8px; z-index: 100; min-width: 172px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 5px; box-shadow: 0 16px 40px rgba(70,45,110,.18); }
.lang-menu[hidden] { display: none; }
.lang-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; font-size: 14px;
  padding: 9px 11px; border: none; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.lang-item:hover { background: var(--surface-2); }
.lang-item.active { background: var(--accent-soft); font-weight: 700; }
.lang-item i { font-style: normal; font-size: 11px; font-weight: 700; opacity: .55; width: 22px; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .roles-grid, .why-grid { grid-template-columns: repeat(2,1fr); }
  .dd { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .dd:nth-child(even) .dd-text { order: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section-head h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .cards, .roles-grid, .why-grid, .metrics .wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-main { grid-row: auto; grid-column: 1 / span 2; }
  .hero h1 { font-size: 33px; }
  .foot-top { grid-template-columns: 1fr; }
}
