:root {
  --bg: #f3f7ff;
  --panel: rgba(255, 255, 255, 0.88);
  --border: rgba(93, 128, 255, 0.2);
  --text: #0a1a33;
  --muted: #4b5b7a;
  --accent: #2e7bff;
  --accent-soft: #8ac4ff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

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

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7fbff 0%, #edf3ff 45%, #fefeff 100%);
  color: var(--text);
}

.aura {
  position: fixed;
  inset: -20% -10% 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(142, 197, 255, 0.4), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(188, 223, 255, 0.5), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.8), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
}

.brand { display: flex; gap: 12px; align-items: center; }

.ion-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--accent);
}

.header-cta { display: flex; gap: 12px; }

.cta, .ghost {
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.cta { background: var(--accent); color: white; }
.ghost { border: 1px solid var(--border); color: var(--accent); }

.hero { margin-top: 48px; }
.kicker { letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.7rem; color: var(--accent); }
.hero h2 { margin: 16px 0; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.lead { color: var(--muted); line-height: 1.6; text-align: justify; }

.panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  margin-top: 30px;
  background: var(--panel);
  box-shadow: 0 15px 50px rgba(120, 150, 220, 0.2);
}

.panel h3 { text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.panel p { color: var(--muted); line-height: 1.6; }

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

.capabilities .list article {
  border: 1px solid rgba(46, 123, 255, 0.2);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.chat-preview .chat-card {
  border: 1px solid rgba(46, 123, 255, 0.25);
  border-radius: 20px;
  padding: 18px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); }
.msg p { background: rgba(46, 123, 255, 0.08); padding: 12px; border-radius: 14px; margin-top: 6px; }
.msg.human p { background: rgba(184, 212, 255, 0.4); }

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

.flow-grid article {
  border: 1px solid rgba(46, 123, 255, 0.2);
  border-radius: 18px;
  padding: 16px;
  background: white;
}

.flow-grid span { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); }

.reasons ul { list-style: disc; padding-left: 20px; color: var(--muted); line-height: 1.6; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; align-items: flex-start; }

footer { margin-top: 32px; text-align: center; color: var(--muted); }

@media (max-width: 640px) {
  header { flex-direction: column; gap: 12px; }
  .header-cta { flex-direction: column; width: 100%; }
  .cta, .ghost { text-align: center; }
}

.panel.cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 64px;
}

.flow-section {
  margin-top: 32px;
  background: linear-gradient(180deg, #f2f6fc 0%, #e9f1fb 100%);
  border: 1px solid rgba(110,150,210,0.25);
  border-radius: 26px;
  padding: 32px;
}

.flow-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.flow-header h3 {
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  margin: 8px 0;
}

.flow-header p {
  color: #475569;
  line-height: 1.6;
}

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

.workflow-grid article {
  background: #f7f9fc;
  border: 1px solid rgba(120,150,200,0.25);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.12);
}

.workflow-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-pill {
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #0f172a;
}

.icon-circle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f1ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: #3b82f6;
  fill: none;
  stroke-width: 1.4;
}

.workflow-grid h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.workflow-grid p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.flow-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.flow-tags span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(59,130,246,0.25);
  color: #3b82f6;
}

.panel.cta h3 { margin-top: 0; }
.panel.cta p { margin: 0; color: #475569; line-height: 1.6; }
.panel.cta .cta-row { margin-top: 24px; gap: 16px; }
