:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --card: rgba(255, 255, 255, 0.85);
  --text: #0b0b0f;
  --muted: #5c5f6b;
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.12);
  --border: rgba(22, 24, 35, 0.08);
  --shadow: 0 30px 60px rgba(15, 18, 30, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f7f9ff 0%, var(--bg) 55%, #eef0f6 100%);
  color: var(--text);
  line-height: 1.6;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 20px 120px;
}

header {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

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

h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 44ch;
}

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

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 18px 28px rgba(10, 132, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-visual {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

section {
  margin-top: 72px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 22px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.logos span {
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.lazy-gallery img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  color: var(--muted);
}

.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(320px, 90vw);
  font-size: 14px;
  z-index: 10;
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 22px;
  box-shadow: 0 16px 32px rgba(10, 132, 255, 0.35);
  cursor: pointer;
}

.chatbot-panel {
  margin-top: 12px;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-panel.active {
  display: flex;
}

.chatbot-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #f8f9fc;
  font-weight: 600;
}

.chatbot-messages {
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 10px 12px;
  border-radius: 14px;
  max-width: 85%;
}

.message.bot {
  background: #f0f3ff;
  align-self: flex-start;
}

.message.user {
  background: var(--accent);
  color: white;
  align-self: flex-end;
}

.chatbot-input {
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
}

.chatbot-input button {
  border: none;
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

footer {
  margin-top: 80px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px;
}

.wrap h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.wrap h2 {
  font-size: 16px;
  margin: 28px 0 10px;
}

.wrap p,
.wrap li {
  margin: 0 0 10px;
}

.wrap ul {
  padding-left: 18px;
  margin: 0;
}

.wrap a {
  color: inherit;
}

.muted-link {
  color: #666;
  font-size: 13px;
  margin-top: 28px;
}

.box {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  background: white;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95em;
}

@media (max-width: 720px) {
  header {
    grid-template-columns: 1fr;
  }

  main {
    padding: 40px 18px 120px;
  }

  .chatbot {
    right: 16px;
    bottom: 16px;
  }
}
