/* ===============================
   RESET & BASE
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand — холодный бирюзовый */
  --brand-primary: #06b6d4;
  --brand-secondary: #0e7490;
  --brand-accent: #22c1c3;

  /* Surfaces */
  --surface-primary: #ffffff;
  --surface-secondary: #f5f7fb;
  --surface-muted: #edf1f7;
  --surface-outline: #e2e8f0;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Shadows & radius */
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 20px 45px rgba(15, 23, 42, 0.18);

  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  --radius-full: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.16s var(--ease-out);
  --transition-normal: 0.24s var(--ease-in-out);

  /* Sizes */
  --header-height: 70px;
}

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  min-height: 100vh;
  background: radial-gradient(
      900px 500px at 10% 0%,
      rgba(45, 212, 191, 0.08),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at 90% 20%,
      rgba(14, 165, 233, 0.08),
      transparent 60%
    ),
    #f3f6fb;
}

/* ===============================
   HEADER
   =============================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(18px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* Desktop nav */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-btn {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-normal);
}

.nav-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(148, 163, 184, 0.5);
}

.nav-btn.active {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

/* ===============================
   MOBILE MENU
   =============================== */

.pmenu-burger {
  display: none;
  margin-left: auto;
  width: 32px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.pmenu-burger-bar {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: #0f172a;
  transition: background 0.2s;
}

.pmenu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 360px);
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.16);
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  z-index: 1200;
  border-left: 1px solid rgba(226, 232, 240, 0.9);
  pointer-events: none;
}

.pmenu[hidden] {
  display: block;
}

.pmenu.active {
  transform: translateX(0);
  pointer-events: auto;
}

.pmenu-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 28px;
}

.pmenu-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 15px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #ecfeff;
  border-color: rgba(45, 212, 191, 0.8);
  color: #0f172a;
}

/* ===============================
   MAIN LAYOUT
   =============================== */

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* ===============================
   HERO
   =============================== */

.hero {
  padding-top: 24px;
  padding-bottom: 10px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-title {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 460px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.hero-highlight {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-highlight-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-secondary);
}

.hero-highlight p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.45);
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero right */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-panel {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: radial-gradient(
    circle at 0 0,
    rgba(34, 211, 238, 0.16),
    transparent 60%
  );
}

.hero-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.hero-panel-dot:nth-child(1) {
  background: #f97373;
}
.hero-panel-dot:nth-child(2) {
  background: #facc15;
}
.hero-panel-dot:nth-child(3) {
  background: #22c55e;
}

.hero-panel-label {
  margin-left: auto;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-panel-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-chat {
  font-size: 13px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 9px 11px;
}

.hero-chat-user {
  align-self: flex-start;
  background: #e0f2fe;
  color: #0f172a;
}

.hero-chat-bot {
  align-self: flex-end;
  background: #ecfeff;
  color: #0f172a;
}

.hero-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.hero-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  color: #0f172a;
}

.hero-mini-metrics {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
  border-top: 1px dashed rgba(209, 213, 219, 0.9);
}

.hero-metric-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-secondary);
}

.hero-metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-suggestion-btn {
  text-align: left;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.9);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.hero-suggestion-btn:hover {
  background: #ecfeff;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.25);
  transform: translateY(-1px);
}

/* ===============================
   GENERIC SECTIONS
   =============================== */

.section {
  padding-top: 32px;
  padding-bottom: 8px;
}

.section-muted {
  background: linear-gradient(
    to bottom,
    rgba(241, 245, 249, 0.95),
    rgba(248, 250, 252, 0.98)
  );
  border-radius: 18px;
  padding-inline: 20px;
  margin-top: 18px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-header-tight {
  max-width: 600px;
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.section-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* How it works */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Why Pickly */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.benefit-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===============================
   ASSISTANT (CHAT MODULE)
   =============================== */

.assistant-section {
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.assistant-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Chat container — встроенный, не fixed */
.chat-container {
  position: relative;
  width: 100%;
  max-width: 680px;

  max-height: 700px;
  min-height: 700px;

  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08),
    0 4px 14px rgba(15, 23, 42, 0.05);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  margin-top: 40px;
}

/* Header inside chat */
.chat-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding: 20px 26px;
  text-align: left;
}

.chat-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.chat-header .subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

/* Messages area */

.chat-messages {
  flex: 1;
  min-height: 0;
  padding: 24px 26px;
  background: #ffffff;
  overflow-y: auto;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.7);
  border-radius: 999px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.9);
  border-radius: 999px;
}
.chat-messages {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.9) rgba(226, 232, 240, 0.7);
}

.message {
  max-width: 88%;
  margin-bottom: 18px;
  position: relative;
}

.bot-message {
  margin-right: auto;
}

.user-message {
  margin-left: auto;
  text-align: right;
}

.message-sender {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.message-text {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.6;
}

/* Bot bubble */
.bot-message .message-text {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: none;
}

/* User bubble */
.user-message .message-text {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.3);
}

/* Без хвостиков */
.bot-message .message-text::before,
.user-message .message-text::before {
  display: none !important;
}

.message-time {
  margin-top: 6px;
  font-size: 10px;
  color: #94a3b8;
}

/* Welcome section bubble */
#welcome-section .message-text {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* Start button */
.start-btn {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
  margin-top: 16px;
  transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.start-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.45);
}

/* Geo buttons */

.geo-buttons {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-btn {
  background: #f1fcff;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #0f172a;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.geo-btn:hover {
  background: #dffaff;
  border-color: rgba(6, 182, 212, 0.6);
}

/* Input area */

.chat-input-container {
  padding: 18px 20px;
  background: #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-wrapper {
  flex: 1;
  height: 52px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
}

.input-wrapper:focus-within {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

#user-input {
  flex: 1;
  padding: 0 18px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #0f172a;
  outline: none;
}

#user-input::placeholder {
  color: var(--text-muted);
}

#send-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
  transition: all 0.2s ease;
}

#send-button:hover {
  transform: translateY(-2px);
}

/* Typing indicator */

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #0ea5e9;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===============================
   INFO PAGES (About / Terms / Privacy)
   =============================== */

.info-page[hidden] {
  display: none !important;
}

.info-page {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
  z-index: 1300;
  overflow-y: auto;
  padding: 32px 16px;
}

.info-page.active {
  display: block;
}

.info-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  background: var(--surface-primary);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.info-header h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--text-primary);
}

.info-body p,
.info-body li,
.policy-content p,
.policy-content li {
  line-height: 1.7;
  font-size: 15px;
  color: var(--text-secondary);
}

.info-body ul,
.policy-content ul {
  margin: 10px 0 10px 18px;
}

.info-body li,
.policy-content li {
  margin-bottom: 4px;
}

.back-button {
  margin-top: 18px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.96);
  margin-top: 12px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-dot {
  opacity: 0.5;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-link {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease;
}

.footer-link:hover {
  background: #ecfeff;
  border-color: rgba(45, 212, 191, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.25);
}

/* ===============================
   HELPERS
   =============================== */

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .pmenu-burger {
    display: inline-block;
  }

  .page-main {
    padding-inline: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr);
    gap: 28px;
  }

  .hero-right {
    order: -1;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-main {
    padding-inline: 14px;
  }

  .header-content {
    padding-inline: 14px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-inner {
    gap: 22px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-muted {
    padding-inline: 14px;
    border-radius: 14px;
  }

  /* Ассистент на мобиле — нормальная колонка,
     без «плавающей» карточки по центру */
  .assistant-section {
    display: block;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .assistant-shell {
    width: 100%;
    display: block;
  }

  .chat-container {
    max-width: 100%;
    width: 100%;
    margin-top: 24px;
    margin-inline: 0;
    border-radius: 16px;
    height: 600px;
  }

  .chat-header {
    padding: 16px 18px;
  }

  .chat-messages {
    padding: 16px 14px;
  }

  .message {
    max-width: 96%;
  }

  .message-text {
    font-size: 13px;
  }

  .chat-input-container {
    padding: 14px 14px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-page {
    inset: 0;
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 120px;
  }

  .hero-inner {
    gap: 20px;
  }

  .chat-container {
    border-radius: 12px;
    min-height: 480px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1),
      0 3px 10px rgba(15, 23, 42, 0.05);
  }

  .chat-header h3 {
    font-size: 16px;
  }

  .chat-header .subtitle {
    font-size: 13px;
  }

  .message-text {
    font-size: 13px;
    padding: 10px 12px;
  }

  #user-input {
    font-size: 14px;
    padding: 0 14px;
  }

  #send-button {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* ===============================
   ACCESSIBILITY
   =============================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
