* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: white;
}

/* LANDING PAGE */

.landing-wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(139,92,246,0.16), transparent 35%),
    linear-gradient(135deg, #08111f 0%, #111827 50%, #1e293b 100%);
}

.landing-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 20px 50px;
}

.brand-header {
  margin-bottom: 20px;
}

.landing-brand-name {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 12px 35px rgba(37, 99, 235, 0.28);
}

h1 {
  font-size: 56px;
  font-weight: 800;
  margin: 10px 0 20px;
  letter-spacing: -1px;
}

.landing-subtitle {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 20px;
  line-height: 1.7;
  color: #cbd5e1;
}

.agreement {
  margin-bottom: 28px;
  color: #e2e8f0;
  font-size: 15px;
}

.agreement label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.agreement a {
  color: #38bdf8;
  text-decoration: none;
}

.agreement a:hover {
  text-decoration: underline;
}

.agreement input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.start-btn {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: white;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 42px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(37,99,235,0.35);
  transition: all 0.25s ease;
}

.start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37,99,235,0.42);
}

.start-btn:disabled {
  background: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

/* FEATURES */

.feature-section {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  border-radius: 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.25);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* SEO */

.seo-section,
.faq-section {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.seo-section h2,
.faq-section h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.seo-section p,
.faq-item p {
  color: #cbd5e1;
  line-height: 1.8;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 50px 20px;
  color: #94a3b8;
}

.footer a {
  color: #38bdf8;
  margin: 0 10px;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* MOBILE LANDING */

@media (max-width: 768px) {
  .landing-brand-name {
    font-size: 46px;
  }

  h1 {
    font-size: 34px;
  }

  .landing-subtitle {
    font-size: 16px;
  }

  .feature-section {
    grid-template-columns: 1fr;
  }

  .landing-container {
    padding-top: 70px;
  }
}

/* CHAT PAGE */

.chat-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  color: #111827;

  background:
    radial-gradient(circle at top, rgba(59,130,246,0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 35%),
    #f8fbff;
}

.chat-header {
  text-align: center;
  margin-bottom: 25px;
}

.chat-brand {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

.chat-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-top: 8px;
}

#chat-box {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(59,130,246,0.12);
  box-shadow: 0 10px 28px rgba(37,99,235,0.08);
  height: 60vh;
  padding: 18px;
  overflow-y: auto;
  font-size: 18px;
  line-height: 1.6;
  border-radius: 8px;
}

.chat-message {
  margin-bottom: 10px;
}

.you-name {
  color: #2563eb;
  font-weight: 700;
}

.stranger-name {
  color: #16a34a;
  font-weight: 700;
}

.system-message {
  text-align: center;
  color: #d97706;
  font-style: italic;
  margin: 12px 0;
}

.typing-msg {
  color: #6b7280;
  font-style: italic;
  margin-top: 8px;
}

.input-area {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

input[type="text"] {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border: 1px solid rgba(59,130,246,0.14);
  border-radius: 8px;
  background: white;
}

.primary-btn,
.send-btn {
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.primary-btn {
  background: #0f172a;
  color: white;
  box-shadow: 0 6px 18px rgba(15,23,42,0.18);
}

.send-btn {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: white;
  box-shadow: 0 6px 18px rgba(37,99,235,0.22);
}

.primary-btn:hover,
.send-btn:hover {
  transform: translateY(-1px);
}

.chat-footer-note {
  text-align: center;
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
}

/* MOBILE CHAT */

@media (max-width: 768px) {
  .chat-brand {
    font-size: 36px;
  }

  .chat-subtitle {
    font-size: 15px;
  }

  #chat-box {
    height: 58vh;
    font-size: 16px;
  }

  .input-area {
    flex-direction: column;
  }

  .primary-btn,
  .send-btn {
    width: 100%;
  }
}
.online-badge {
  display: inline-block;
  margin: 12px 0 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(34,197,94,0.08);
}