:root {
  --bg: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(20, 28, 45, 0.08);
  --line-strong: rgba(20, 28, 45, 0.14);
  --text: #11203a;
  --muted: #5f6f86;
  --accent: #2f6bff;
  --accent-soft: #eef3ff;
  --accent-2: #17b8a6;
  --danger: #a2aabc;
  --shadow: 0 24px 60px rgba(31, 48, 86, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(47, 107, 255, 0.10), transparent 24%),
    radial-gradient(circle at right 10%, rgba(23, 184, 166, 0.10), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(247,248,252,0.92));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  background: rgba(247, 248, 252, 0.82);
  backdrop-filter: blur(14px);
}

.brand-wrap { display: flex; flex-direction: column; gap: 4px; }
.brand-mark { font-weight: 800; letter-spacing: 0.02em; font-size: 1.05rem; }
.brand-sub { color: var(--muted); font-size: 0.92rem; }

.top-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); }
.top-nav a:hover, .footer-links a:hover, .secondary-btn:hover, .ghost-link:hover { color: var(--accent); }
.disabled-nav-link { color: #9aa5b8; cursor: not-allowed; }

.hero-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: 36px 0 18px;
}

.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin: 18px 0 16px;
  letter-spacing: -0.04em;
}

.tagline {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: #324766;
  line-height: 1.6;
}

.hero-text, .section-head p, .feature-card p, .use-case-copy p, .showcase-copy p, .contact-copy p, .contact-response {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-btn, .secondary-btn, .field-input {
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #6d8eff);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(47, 107, 255, 0.22);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-weight: 700;
}

.primary-btn:hover, .secondary-btn:hover, .feature-card:hover, .use-case-card:hover {
  transform: translateY(-2px);
}

.disabled-btn {
  background: #d5dbe7;
  color: #6d7788;
  box-shadow: none;
  cursor: not-allowed;
}

.demo-disabled-note {
  margin-top: 16px;
  color: #7b8798;
  font-size: 0.96rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-value { font-size: 1.1rem; font-weight: 800; }
.stat-label { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }

.hero-visual { position: relative; }
.visual-stack { display: flex; flex-direction: column; gap: 18px; }
.visual-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.image-large img { height: 320px; object-fit: cover; }
.visual-row { display: grid; grid-template-columns: 1fr 0.95fr; gap: 18px; }
.image-small img { height: 220px; object-fit: cover; }
.insight-card { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.insight-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.insight-card h3 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.35; }
.insight-card p { margin: 0; color: var(--muted); line-height: 1.8; }

.section-block { padding: 88px 0 0; }
.section-head { margin-bottom: 28px; }
.section-head.centered { text-align: center; }
.section-head h2, .showcase-copy h2, .contact-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(47,107,255,0.12), rgba(23,184,166,0.18));
  color: var(--accent);
  font-weight: 800;
}

.showcase-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: center;
}

.showcase-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.showcase-image-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.showcase-image-card img { height: 420px; object-fit: cover; }

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use-case-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.use-case-card img { height: 220px; object-fit: cover; }
.use-case-copy { padding: 20px; }
.use-case-copy h3 { margin: 0 0 10px; }

.customization-note { margin-top: 24px; }
.customization-note p { max-width: 860px; margin: 0 auto; }

.assistant-section { padding-bottom: 8px; }
.assistant-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,253,0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.assistant-note { color: var(--text); }
.assistant-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.assistant-messages {
  min-height: 280px;
  max-height: 380px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}
.assistant-bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.7;
  font-size: 0.96rem;
}
.assistant-bubble.assistant {
  background: #eef4ff;
  color: var(--text);
  border: 1px solid rgba(47, 107, 255, 0.12);
}
.assistant-bubble.user {
  margin-left: auto;
  background: #f5f7fb;
  border: 1px solid var(--line);
}
.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.assistant-input { margin: 0; }
.footer-contact a { color: var(--accent); }

.contact-section { padding-bottom: 28px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,247,252,0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-weight: 600; }
.field-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  outline: none;
}
.field-input:focus { border-color: rgba(47, 107, 255, 0.55); }
.textarea { min-height: 140px; resize: vertical; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 44px 0 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .hero-section,
  .showcase-block,
  .assistant-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 1200px); }
  .site-header { flex-direction: column; align-items: flex-start; }
  .top-nav { flex-wrap: wrap; gap: 14px; }
  .hero-section { min-height: auto; padding-top: 18px; }
  .hero-stats,
  .feature-grid,
  .form-grid,
  .visual-row {
    grid-template-columns: 1fr;
  }
  .image-large img,
  .image-small img,
  .showcase-image-card img { height: 240px; }
}
