:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --ink: #1b1917;
  --muted: #57534e;
  --faint: #78716c;
  --border: #e8e5e0;
  --accent: #5b4fe0;
  --accent-dark: #4a3fd0;
  --accent-soft: #efedff;
  --accent-line: #ddd8ff;
  --dark: #1b1917;
  --dark-card: #292524;
  --dark-text: #d6d3d1;
  --dark-faint: #a8a29e;
  --accent-on-dark: #beb5ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: Sora, Manrope, sans-serif; margin: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-family: Sora, sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.5px; }
.logo::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang a { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; font-size: 13px; font-weight: 700; color: var(--faint); }
.lang a.active { background: var(--ink); color: var(--bg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--bg); height: 44px; border-radius: 10px; }
.btn-dark:hover { background: #33302c; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(91, 79, 224, 0.28); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: #d5d0ca; }

/* Hero */
.hero { display: flex; align-items: center; gap: 56px; padding: 80px 0 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
}
.hero h1 { font-weight: 800; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -1.5px; }
.hero .lead { font-size: 19px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero-visual { position: relative; width: 500px; height: 400px; flex-shrink: 0; }
.mock-window {
  position: absolute; top: 40px; left: 50px; width: 380px; height: 272px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(27, 25, 23, 0.10);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.mock-dots { display: flex; align-items: center; gap: 8px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-dots i.pill { width: 80px; border-radius: 5px; background: var(--accent-soft); margin-left: auto; }
.mock-cols { display: flex; gap: 12px; flex: 1; }
.mock-col { flex: 1; background: var(--bg); border-radius: 10px; padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.mock-col i { display: block; border-radius: 8px; }
.mock-label { width: 60%; height: 8px; border-radius: 4px; background: #d9d4ce; }
.mock-row { height: 30px; background: var(--surface); border: 1px solid #eceae5; }
.mock-row.hl { background: var(--accent-soft); border-color: var(--accent-line); }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; padding-bottom: 4px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent-line); }
.mock-bars i:nth-child(2) { height: 65% !important; background: #beb5ff; }
.mock-bars i:nth-child(3) { height: 85% !important; background: var(--accent); }
.float-card {
  position: absolute; border-radius: 14px; padding: 15px;
  display: flex; flex-direction: column; gap: 8px;
}
.float-stat {
  top: 0; right: 0; width: 200px; background: var(--dark); color: var(--bg);
  box-shadow: 0 16px 40px rgba(27, 25, 23, 0.25);
}
.float-stat .k { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--dark-faint); }
.float-stat .v { font-family: Sora, sans-serif; font-weight: 800; font-size: 28px; }
.float-stat .s { font-size: 13px; color: var(--dark-text); }
.float-check {
  bottom: 16px; left: 0; width: 230px; flex-direction: row; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(27, 25, 23, 0.10);
}
.float-check .ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-check b { font-size: 14px; display: block; }
.float-check small { font-size: 12px; color: var(--faint); }

/* Sections */
.section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; }
.section-head .side { font-size: 15px; color: var(--faint); max-width: 380px; }
.section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 10px; }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.division {
  display: flex; flex-direction: column; gap: 13px; padding: 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.division.featured { border: 2px solid var(--accent); }
.division-top { display: flex; align-items: center; justify-content: space-between; }
.division .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.division .tag {
  height: 24px; display: inline-flex; align-items: center; padding: 0 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 999px; font-size: 12px; font-weight: 700;
}
.division h3 { font-weight: 700; font-size: 22px; }
.division h3 em { font-style: normal; color: var(--accent); }
.division p { font-size: 15px; color: var(--muted); }

/* Products */
.products-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.thumb { height: 150px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px; position: relative; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.product-body h3 { font-weight: 700; font-size: 19px; }
.product-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.t-orchestr { background: var(--accent-soft); }
.t-orchestr .kan { width: 62px; height: 92px; background: var(--surface); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.t-orchestr .kan i { display: block; border-radius: 5px; height: 18px; background: #f1f0ec; }
.t-orchestr .kan i:first-child { height: 7px; background: var(--accent-line); }
.t-orchestr .kan.hl { background: var(--accent); }
.t-orchestr .kan.hl i { background: #6f63ea; }
.t-orchestr .kan.hl i:first-child { background: #beb5ff; }

.t-tuner { background: #e9f5ee; flex-direction: column; align-items: stretch; justify-content: center; padding: 22px 36px; gap: 9px; }
.t-tuner .bar { display: flex; align-items: center; gap: 10px; }
.t-tuner .bar span { width: 78px; font-size: 10px; font-weight: 700; color: #3e6b52; letter-spacing: 0.4px; }
.t-tuner .track { flex: 1; height: 9px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.t-tuner .fill { display: block; height: 100%; border-radius: 5px; background: #3e8e63; }

.t-smluvnik { background: #fdf0e7; flex-direction: column; align-items: stretch; justify-content: center; padding: 22px 36px; gap: 7px; }
.t-smluvnik .doc { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 8px; padding: 9px 13px; }
.t-smluvnik .doc i { border-radius: 4px; height: 7px; background: #eaddd2; }
.t-smluvnik .doc .amt { width: 36px; margin-left: auto; background: #f3e5d9; }

.t-carscout { background: #e8f1f8; }
.t-carscout .listing { background: var(--surface); border-radius: 10px; padding: 13px 16px; display: flex; flex-direction: column; gap: 8px; width: 230px; }
.t-carscout .row { display: flex; align-items: center; justify-content: space-between; }
.t-carscout .row i { height: 8px; border-radius: 4px; background: #e2ecf5; }
.t-carscout .deal { height: 20px; display: inline-flex; align-items: center; padding: 0 8px; background: #2f7d5d; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; }

.t-health { background: #fbecef; }
.t-night { background: #1e1b2e; }
.t-night .star { position: absolute; border-radius: 50%; background: #e8d590; }

/* Experience */
.experience-band { background: var(--dark); color: var(--bg); }
.experience-band .eyebrow { color: var(--accent-on-dark); }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.exp { background: var(--dark-card); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.exp h3 { font-weight: 700; font-size: 19px; }
.exp p { font-size: 15px; color: var(--dark-text); }

/* About */
.about { display: flex; align-items: center; gap: 48px; }
.avatar {
  width: 160px; height: 160px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  font-family: Sora, sans-serif; font-weight: 800; font-size: 42px; color: var(--accent);
}
.about-copy { display: flex; flex-direction: column; gap: 12px; }
.about-copy h2 { font-weight: 800; font-size: 30px; letter-spacing: -0.8px; }
.about-copy p { font-size: 17px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 64px 32px; background: var(--accent); border-radius: 24px; text-align: center;
}
.contact-card h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; color: #fff; }
.contact-card p { font-size: 18px; color: var(--accent-line); max-width: 560px; }
.contact-card .btn { background: #fff; color: var(--ink); height: 56px; padding: 0 32px; font-size: 17px; font-weight: 800; border-radius: 14px; margin-top: 6px; }
.contact-card .btn:hover { background: #f1efff; }

/* Footer */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer .logo { font-size: 17px; }
.footer-divisions { display: flex; gap: 22px; font-size: 13px; color: var(--faint); }
.footer small { font-size: 13px; color: var(--dark-faint); }

/* Responsive */
@media (max-width: 1080px) {
  .divisions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-visual { display: none; }
  .hero-copy { max-width: 640px; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .products, .divisions, .exp-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .about { flex-direction: column; align-items: flex-start; gap: 24px; }
  .contact-card { padding: 48px 20px; }
  .contact-card .btn { font-size: 15px; padding: 0 20px; }
}
