:root {
  --rose: #ff6f91;
  --rose-deep: #d94f73;
  --peach: #ffd6a6;
  --cream: #fffaf2;
  --ink: #3b2c43;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(217, 79, 115, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at -10% -20%, #ffe6ef 0%, transparent 65%),
              radial-gradient(1000px 500px at 110% -10%, #fff0d5 0%, transparent 60%),
              linear-gradient(160deg, #fffaf6 0%, #fff1f7 55%, #fff9ef 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 260px;
  height: 260px;
  background: rgba(255, 111, 145, 0.25);
  top: 12%;
  left: -70px;
}

.orb-b {
  width: 320px;
  height: 320px;
  background: rgba(255, 214, 166, 0.35);
  bottom: -80px;
  right: -100px;
}

.hero {
  padding: 40px 20px 22px;
  text-align: center;
  animation: fadeUp 0.7s ease;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rose-deep);
  margin: 0;
}

h1 {
  margin: 8px 0 12px;
  font: 700 clamp(1.8rem, 5vw, 3.1rem) "Cormorant Garamond", serif;
}

.lead {
  margin: 0 auto 18px;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(120deg, var(--rose), #ff9cad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 111, 145, 0.28);
}

.btn-soft {
  background: #fff;
  color: var(--rose-deep);
  border: 1px solid var(--line);
}

.status {
  margin: 0;
  font-size: 0.9rem;
}

.layout {
  width: min(1040px, 94vw);
  margin: 8px auto 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.panel {
  background: var(--card);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(80, 32, 57, 0.08);
}

h2 {
  margin: 4px 0 14px;
  font: 700 1.4rem "Cormorant Garamond", serif;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 300px;
  overflow-y: auto;
  padding-right: 2px;
}

.bubble {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 16px;
  line-height: 1.6;
  animation: fadeUp 0.3s ease;
}

.bubble.bot {
  background: #fff;
  border: 1px solid var(--line);
  align-self: flex-start;
}

.bubble.user {
  background: #ffe6ee;
  border: 1px solid #ffc2d4;
  align-self: flex-end;
}

.chat-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #efcad6;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  line-height: 1.75;
}

.note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #8b6172;
}

.footer {
  text-align: center;
  padding: 8px 12px 24px;
  font-size: 0.83rem;
  color: #7a6070;
}

@keyframes fadeUp {
  from {
    transform: translateY(7px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .chat-log {
    height: 250px;
  }
}
