:root {
  --bg: #faf8ff;
  --gradient: linear-gradient(135deg, #faf0ff 0%, #fff5f0 40%, #f0f8ff 100%);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #fff;
  --text: #2d2640;
  --text-muted: #7a7089;
  --violet: #7c5cfc;
  --violet-soft: rgba(124, 92, 252, 0.12);
  --coral: #ff7b6b;
  --coral-soft: rgba(255, 123, 107, 0.12);
  --teal: #2ec4b6;
  --teal-soft: rgba(46, 196, 182, 0.12);
  --border: rgba(124, 92, 252, 0.15);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 20px 60px rgba(124, 92, 252, 0.1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --container: 1080px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  margin-top: 0.75rem;
  padding: 0 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  color: var(--violet);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--violet);
}

.header__end {
  display: flex;
  gap: 0.5rem;
}

.menu-btn {
  display: none;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  width: 40px;
  height: 36px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--violet), #9b7dff);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 252, 0.45);
}

.btn--soft {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--soft:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero__desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Chat mock */
.chat-mock {
  background: var(--surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-mock__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.chat-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-mock__top strong {
  display: block;
  font-size: 0.9rem;
}

.chat-mock__top span {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
}

.chat-mock__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}

.bubble {
  max-width: 88%;
  padding: 0.9rem 1.15rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.bubble--user {
  align-self: flex-end;
  background: var(--violet-soft);
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
}

.bubble--ai {
  align-self: flex-start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.bubble--ai b {
  display: block;
  font-size: 0.72rem;
  color: var(--violet);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.bubble--ai ul {
  margin: 0.5rem 0 0 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.chat-mock__input {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.4);
}

.chat-mock__input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  background: var(--surface-solid);
  color: var(--text-muted);
}

.chat-mock__input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card__icon--v {
  background: var(--violet-soft);
}

.card__icon--c {
  background: var(--coral-soft);
}

.card__icon--t {
  background: var(--teal-soft);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Quote strip */
.quote-strip {
  text-align: center;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
  max-width: 600px;
  margin: 0 auto;
}

.quote-strip cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Nav cards */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.nav-card:hover {
  border-color: var(--violet);
  background: var(--surface-solid);
}

.nav-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.nav-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.nav-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet);
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0.75rem auto 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.split p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.list-check {
  list-style: none;
  margin-top: 1.25rem;
}

.list-check li {
  padding: 0.55rem 0 0.55rem 1.75rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Flow steps */
.flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin-inline: auto;
}

.flow-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.flow-item__n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.flow-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* CTA */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--violet), #9b7dff);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 24px 60px rgba(124, 92, 252, 0.35);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
}

.cta-box p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.cta-box .btn--soft {
  background: #fff;
  color: var(--violet);
  border: none;
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 0.35rem;
}

.form-panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-solid);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 260px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.footer__col a:hover {
  color: var(--violet);
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer__bar p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Legal */
.legal-wrap {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.legal-content {
  max-width: 660px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content .upd {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--violet);
}

.legal-content p,
.legal-content li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content a {
  color: var(--violet);
}

/* Cookie */
.cookie-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  max-width: 380px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s ease;
}

.cookie-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-toast p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.cookie-toast a {
  color: var(--violet);
  font-weight: 600;
}

.cookie-toast__row {
  display: flex;
  gap: 0.5rem;
}

.nav--mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: calc(var(--header-h) + 0.75rem);
  left: 1rem;
  right: 1rem;
  background: var(--surface-solid);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 1rem;
  z-index: 99;
  box-shadow: var(--shadow);
}

.nav--mobile.open {
  display: flex;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero__layout,
  .split,
  .contact-grid,
  .footer__inner,
  .cta-box,
  .cards {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

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

  .nav,
  .header__end {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero__desc,
  .hero__btns {
    margin-inline: auto;
    justify-content: center;
    text-align: center;
  }

  .hero {
    text-align: center;
  }

  .eyebrow {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .cookie-toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
