/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid #1e293b;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  background: #1e40af;
  color: #93c5fd;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Features ===== */
.features { padding: 64px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.feature-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; color: #f1f5f9; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: #94a3b8; }

/* ===== Interview Section ===== */
.interview {
  padding: 64px 0;
  background: #1e293b;
}
.interview h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #f8fafc;
}
.section-sub {
  text-align: center;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
}

/* ===== Chat Widget ===== */
.chat-widget {
  max-width: 540px;
  margin: 0 auto;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #1e40af;
  color: #f8fafc;
}
.chat-avatar { font-size: 2rem; }
.chat-header strong { display: block; font-size: 0.95rem; }
.chat-header small { color: #93c5fd; font-size: 0.8rem; }

.chat-messages {
  padding: 20px;
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-line;
}
.message.bot {
  background: #1e293b;
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.message.user {
  background: #1e40af;
  color: #f8fafc;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.message.typing {
  background: #1e293b;
  color: #64748b;
  align-self: flex-start;
  font-style: italic;
}

.chat-input {
  display: flex;
  border-top: 1px solid #334155;
}
.chat-input input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.9rem;
  outline: none;
}
.chat-input input::placeholder { color: #475569; }
.chat-input input:disabled { background: #1e293b; cursor: not-allowed; }
.chat-input button {
  padding: 14px 20px;
  border: none;
  background: #1e40af;
  color: #f8fafc;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-input button:hover { background: #2563eb; }
.chat-input button:disabled { background: #1e293b; color: #475569; cursor: not-allowed; }

/* ===== Email Capture ===== */
.email-capture { padding: 64px 0; }
.email-card {
  max-width: 460px;
  margin: 0 auto;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.email-card h2 { font-size: 1.5rem; color: #f8fafc; margin-bottom: 12px; }
.email-card > p { color: #94a3b8; margin-bottom: 16px; font-size: 0.95rem; }
.email-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  padding: 0 12px;
}
.email-card li {
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.email-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

#email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#email-input {
  padding: 14px 16px;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.95rem;
  outline: none;
  text-align: center;
}
#email-input:focus { border-color: #3b82f6; }
#email-input::placeholder { color: #475569; }

.rodo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748b;
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
}
.rodo input { margin-top: 2px; accent-color: #3b82f6; flex-shrink: 0; }

#email-form button[type="submit"] {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#email-form button[type="submit"]:hover { background: #1d4ed8; }
#email-form button[type="submit"]:disabled { background: #334155; cursor: not-allowed; }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid #1e293b;
  color: #475569;
  font-size: 0.85rem;
}
.footer-disclaimer { margin-top: 6px; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-sub { font-size: 0.95rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .chat-widget { border-radius: 12px; }
}
