:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --line: #e6e6e9;
  --text: #0d0d10;
  --text-dim: #5b5b64;
  --text-faint: #8e8e98;
  --grad-1: #34c8f0;
  --grad-2: #7c5cff;
  --grad-3: #d946ef;
  --accent: #7c5cff;
  --card: #f7f7f8;
  --card-border: #e6e6e9;
  --radius: 16px;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6vw;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--text); font-weight: 500; }

.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  border: 1px solid var(--card-border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  background: var(--bg);
  transition: border-color .2s ease;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  padding: 11vh 6vw 9vh;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  margin-bottom: 30px;
}

.avatar-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.avatar-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-wrap .live-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  border: 2px solid var(--bg-soft);
}

.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 46px;
}

/* ---------- chat ---------- */
.chat-wrap {
  width: 100%;
  max-width: 660px;
}

.welcome-line {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 24px;
}

.chat-label {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
}

.chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 10px 10px 10px 22px;
  box-shadow: 0 12px 32px -18px rgba(20,20,40,0.18);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.12);
}

.chat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  flex-shrink: 0;
}

.chat-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 10px 0;
}
.chat-bar input::placeholder { color: var(--text-faint); }

.chat-bar button {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 60%, var(--grad-3));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: filter .15s ease;
}
.chat-bar button:hover { filter: brightness(1.08); }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.chip {
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--card-border);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.chip:hover { color: var(--text); border-color: var(--accent); }

/* ---------- chat answer ---------- */
.chat-answer {
  margin-top: 28px;
  text-align: left;
  animation: fadeUp .4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-turn { animation: fadeUp .35s ease both; }

.user-line {
  font-size: 0.95rem;
  color: var(--text-dim);
  padding: 0 4px;
}
.user-line::before {
  content: "Jij — ";
  color: var(--text-faint);
  font-weight: 600;
}

.answer-card {
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 8px;
}

.answer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.answer-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.answer-thinking {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 0.95rem;
}
.answer-thinking .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.1s infinite ease-in-out;
}
.answer-thinking .dot:nth-child(2) { animation-delay: .15s; }
.answer-thinking .dot:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%,100% { opacity: .25; transform: scale(.8);} 50% { opacity: 1; transform: scale(1.1);} }

.answer-text {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.65;
}

.answer-options {
  margin-top: 22px;
  animation: fadeUp .4s ease both;
}

.options-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  color: var(--text);
  transition: all .18s ease;
}
.option-btn:hover {
  border-color: var(--accent);
}
.option-btn.active {
  border-color: var(--accent);
  background: rgba(124,92,255,0.06);
}

.option-letter {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
}

.option-body strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.option-body small { color: var(--text-faint); font-size: 0.8rem; }

.choice-panel {
  margin-top: 16px;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  animation: fadeUp .3s ease both;
}
.choice-panel p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 12px; }

.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.panel-hint { font-size: 0.78rem !important; color: var(--text-faint) !important; margin-top: 6px !important; }

.inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.inline-form-stack { flex-direction: column; align-items: stretch; }

.inline-form input,
.inline-form textarea {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  resize: vertical;
}
.inline-form input:focus,
.inline-form textarea:focus { border-color: var(--accent); }

.inline-form button {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.inline-form button:hover { filter: brightness(1.08); }

.choice-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(124,92,255,0.06);
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 12px;
  color: var(--accent);
  font-size: 0.92rem;
}

/* ---------- section helpers ---------- */
.section-tag {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  font-weight: 600;
}
.center { text-align: center; }

section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 50px;
}

/* ---------- about ---------- */
.about {
  padding: 10vh 6vw;
  max-width: 1080px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: center;
}

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

.photo-frame {
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  background-image: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-content p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-content h2 { margin-bottom: 20px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-row span {
  font-size: 0.82rem;
  color: var(--text-dim);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 999px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8vh;
  padding-top: 6vh;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-box { text-align: center; }
.stat-num, .stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 700;
}
.stat-num {
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-suffix { color: var(--grad-3); }
.stat-box p {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ---------- services ---------- */
.services {
  padding: 10vh 6vw;
  max-width: 1080px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.2rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p { color: var(--text-dim); font-size: 0.9rem; }

.tools-line {
  text-align: center;
  color: var(--text);
  font-size: 0.88rem;
  margin-top: 44px;
}

/* ---------- process ---------- */
.process {
  padding: 10vh 6vw;
  max-width: 1080px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 10px;
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- cta ---------- */
.cta {
  text-align: center;
  padding: 12vh 6vw;
  max-width: 760px;
  margin: 0 auto;
}
.cta-sub { color: var(--text-dim); margin-bottom: 30px; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label {
  font-size: 0.75rem;
  color: var(--text-faint);
}
.contact-item a, .contact-item span:last-child {
  color: var(--text-dim);
  font-size: 0.92rem;
}
.contact-item a:hover { color: var(--accent); }

.btn-primary {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  border: 1px solid var(--card-border);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 6vw 50px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.82rem;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-weight: 600;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-contact a { color: var(--text); }
.footer-contact a:hover { color: var(--accent); }

.copy-email-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
}
.footer-contact-item:hover { color: var(--accent); }

.footer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
