* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px 20px;
  color: #e8eef2;
}

.phone {
  width: 380px;
  height: 720px;
  max-height: 92vh;
  background: #111b21;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b141a;
  border-radius: 26px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1f2c34;
  padding: 10px 14px;
  border-bottom: 1px solid #2a3942;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.header-info .name {
  font-weight: 600;
  font-size: 16px;
}

.header-info .status {
  font-size: 12px;
  color: #8696a0;
}

.badge {
  margin-left: auto;
  background: #233c31;
  color: #7ae8b0;
  border: 1px solid #2e5b46;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  background-image: radial-gradient(#1d2a31 1px, transparent 1px);
  background-size: 22px 22px;
}

.day-divider {
  text-align: center;
  background: #1f2c34;
  color: #8696a0;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 3px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.msg {
  margin-bottom: 10px;
  max-width: 85%;
  animation: pop 0.18s ease-out;
}

@keyframes pop {
  from { transform: scale(0.96); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}

.msg.user {
  margin-left: auto;
}

.msg.bot {
  margin-right: auto;
}

.bubble {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

.msg.bot .bubble {
  background: #1f2c34;
  color: #e9edef;
  border-top-left-radius: 2px;
}

.msg.user .bubble {
  background: #005c4b;
  color: #e9fdf6;
  border-top-right-radius: 2px;
}

.msg.user .meta {
  text-align: right;
}

.meta {
  font-size: 10px;
  color: #8696a0;
  margin-top: 3px;
  padding: 0 4px;
}

.verdict-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 6px;
}

.verdict-MYTH, .verdict-भ्रांति { background: #5c2432; color: #ffb3c1; }
.verdict-VERIFIED, .verdict-सत्य { background: #1c4433; color: #7ae8b0; }
.verdict-PARTLY\ TRUE, .verdict-आंशिक\ सत्य { background: #4a3d1c; color: #ffd98a; }
.verdict-UNVERIFIABLE, .verdict-पुष्टि\ असंभव { background: #333b47; color: #b9c3cf; }

.quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 10px;
  background: #0b141a;
  border-top: 1px solid #1f2c34;
}

.chip {
  flex-shrink: 0;
  background: #1f2c34;
  color: #b9d4c9;
  border: 1px solid #2a3942;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.chip:hover {
  background: #00a884;
  color: #fff;
  border-color: #00a884;
}

.input-area {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #1f2c34;
}

.input-area input {
  flex: 1;
  min-width: 0;
  background: #2a3942;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  color: #e9edef;
  font-size: 14px;
  outline: none;
}

#pincodeInput {
  flex: 0 0 130px;
  width: 130px;
  font-size: 12px;
  color: #b9d4c9;
}

.input-area button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #00a884;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.input-area button:disabled {
  background: #2a3942;
  color: #8696a0;
  cursor: wait;
}

.typing .bubble::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 12px;
  vertical-align: -2px;
  background: linear-gradient(90deg, #8696a0 0 33%, transparent 33% 66%, #8696a0 66%);
  background-size: 200% 100%;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.side-panel {
  max-width: 420px;
}

.side-panel h1 {
  font-size: 34px;
  margin-bottom: 4px;
}

.side-panel .subtitle {
  color: #7ae8b0;
  margin-bottom: 14px;
}

.side-panel .desc {
  color: #b9c3cf;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.features .feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #d7e1e8;
}

.disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: #8696a0;
  line-height: 1.5;
}
