* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b1021;
  --card: #111731;
  --text: #e8ecff;
  --muted: #9fb0d7;
  --accent: #5cf0c8;
  --accent-2: #6bc3ff;
  --border: #1f2847;
  --shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(108, 227, 255, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(92, 240, 200, 0.07), transparent 25%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  padding: 32px 18px 80px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.tagline {
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 12px;
  color: #0c1224;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(91, 240, 200, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: none;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.highlight {
  border: 1px solid rgba(91, 240, 200, 0.35);
  background: linear-gradient(160deg, rgba(91, 240, 200, 0.07), rgba(107, 195, 255, 0.05));
}

.card ul {
  margin-top: 8px;
  color: var(--muted);
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 6px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pill {
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.chat-section .chat-card {
  padding: 0;
  overflow: hidden;
}

.chat-card {
  border: 1px solid var(--border);
}

.chat-log {
  max-height: 360px;
  overflow-y: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  max-width: 80ch;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.chat-bubble.me {
  margin-left: auto;
  background: linear-gradient(120deg, rgba(91, 240, 200, 0.15), rgba(107, 195, 255, 0.12));
  border-color: rgba(91, 240, 200, 0.3);
}

.chat-bubble.bot {
  margin-right: auto;
}

.chat-form {
  display: flex;
  gap: 12px;
  padding: 12px 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.chat-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
}

.chat-form input:focus {
  outline: 1px solid rgba(91, 240, 200, 0.6);
}

.chat-hint {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-form {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

