﻿:root {
  --bg: #f4f7fb;
  --bg-soft: #e9f0f8;
  --surface: #ffffff;
  --surface-2: #f7fafd;
  --text: #0f223c;
  --muted: #4b617f;
  --line: rgba(15, 34, 60, 0.14);
  --primary: #f5a623;
  --primary-dark: #dc8d10;
  --accent: #123e73;
  --shadow: 0 14px 34px rgba(15, 34, 60, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 14% 5%, #ffffff 0%, #f3f7fc 45%, #edf3fa 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.23;
  z-index: -1;
}

.bg-glow-1 {
  background: #9bc5f2;
  top: -180px;
  left: -120px;
}

.bg-glow-2 {
  background: #ffe1ac;
  bottom: -220px;
  right: -120px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 18px;
  border-bottom: 1px solid rgba(18, 62, 115, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.9));
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  width: 94px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(9, 24, 43, 0.12));
}

.brand-kicker {
  margin: 0 0 4px;
  color: #6b7f99;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.assistant-avatar {
  width: clamp(78px, 14vw, 150px);
  height: auto;
}

.header-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  color: #12253f;
  background: linear-gradient(180deg, #ffd87f, #f5a623);
  border: 1px solid #e4af45;
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 8px 16px rgba(245, 166, 35, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffe29e, #df9013);
}

.intro {
  padding: 26px 0 12px;
}

.intro p {
  margin: 0;
  max-width: none;
  width: 100%;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
}

.products {
  padding: 20px 0 48px;
}

.tars-highlight {
  padding: 0 0 56px;
}

.tars-card {
  margin: 0 auto;
  width: min(760px, 100%);
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  border: 1px solid rgba(18, 62, 115, 0.2);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 35, 62, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 22px;
  text-align: center;
}

.tars-card-image {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.tars-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tars-kicker {
  margin: 0 0 4px;
  color: #6b7f99;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.tars-card h2 {
  margin: 0;
}

.tars-card p {
  margin: 8px 0 0;
  max-width: 42ch;
  color: #47607f;
  line-height: 1.55;
}

.tars-card .btn {
  margin-top: 12px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(18, 62, 115, 0.16);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 34, 60, 0.18);
}

h2 {
  margin: 2px 0 12px;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  letter-spacing: 0.02em;
  color: #163e72;
}

.card-image-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  border-radius: 14px;
  text-decoration: none;
}

.card-image-link img {
  width: min(285px, 100%);
  max-height: 290px;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.card-image-link:hover img {
  transform: scale(1.035);
}

.btn {
  margin-top: 14px;
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  color: #132339;
  background: linear-gradient(180deg, #ffd274, var(--primary));
  border: 1px solid #efbb57;
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffdc8f, var(--primary-dark));
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
  }

  .assistant-avatar {
    width: clamp(72px, 22vw, 120px);
  }

  .header-btn {
    padding: 10px 14px;
    font-size: 0.76rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card-image-link img {
    width: min(250px, 92%);
  }

  .tars-card {
    flex-direction: column;
    padding: 16px 14px 18px;
  }

  .tars-card-image {
    width: 112px;
  }
}

@media (max-width: 580px) {
  .site-header {
    padding-top: 18px;
  }

  .header-inner {
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .brand-wrap {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .brand-logo {
    width: 64px;
  }

  .brand-kicker {
    font-size: 0.68rem;
    margin-bottom: 2px;
  }

  h1 {
    font-size: clamp(1.05rem, 8vw, 1.95rem);
    line-height: 1.1;
  }

  .header-actions {
    width: auto;
    flex: 0 0 auto;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }

  .header-btn {
    display: inline-block;
    padding: 8px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
  }

  .assistant-avatar {
    display: block;
    width: 76px;
  }

  .card {
    padding: 16px 14px 18px;
  }

  .intro p {
    max-width: 33ch;
    margin: 0 auto;
    text-align: left;
    line-height: 1.62;
    word-spacing: normal;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }
}
