/* ============================================================
   ShowIntel — Shared Design System
   ============================================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Variables */
:root {
  --bg: #F5F0E8;
  --text: #1A1A1A;
  --body: #4A4A4A;
  --sub: #8A8A8A;
  --accent: #4A90D9;
  --border: #D8D2C8;
  --gradient: linear-gradient(135deg, #4A90D9, #9B59B6, #E8735A);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Keyframes ─────────────────────────────────────── */
@keyframes gradientWave {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

/* ── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--body);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-cta {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 999px;
  background-image: var(--gradient);
  background-size: 300% 300%;
  animation: gradientWave 11s ease-in-out infinite alternate;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.18s, transform 0.18s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  position: relative;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-hamburger span::before { top: -6px; }
.nav-hamburger span::after  { top: 6px; }

.nav-hamburger.open span            { background: transparent; }
.nav-hamburger.open span::before    { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span::after     { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: none;
  color: var(--text);
}

.nav-mobile .nav-link.active { color: var(--accent); }

.nav-mobile .nav-cta {
  font-size: 14px;
  padding: 13px 40px;
  margin-top: 8px;
}

/* ── Wordmark ─────────────────────────────────────────── */
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 15vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  background-image: var(--gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientWave 11s ease-in-out infinite alternate;
  display: block;
  text-align: center;
}

/* ── Gradient text (for page headlines) ──────────────── */
.gradient-text {
  background-image: var(--gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientWave 11s ease-in-out infinite alternate;
}

/* ── Section Label ────────────────────────────────────── */
.label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── Gradient Button ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 999px;
  background-image: var(--gradient);
  background-size: 300% 300%;
  animation: gradientWave 11s ease-in-out infinite alternate;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  transition: opacity 0.18s, transform 0.18s;
}

.btn:hover  { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 100px 32px 72px;
  text-align: center;
}

.hero-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
  display: block;
  margin-top: 24px;
  margin-bottom: 36px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 22px;
}

.hero-pain {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  max-width: 460px;
  margin: 0 auto 48px;
}

/* ── Chat Window ──────────────────────────────────────── */
.chat-section {
  padding: 0 32px 120px;
}

.chat-window {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(26, 26, 26, 0.06);
}

.chat-query-row {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.chat-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px 14px 2px 14px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--body);
  max-width: 72%;
  line-height: 1.55;
}

.chat-response {
  padding: 32px 36px 36px;
}

.chat-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.chat-list {
  margin-bottom: 24px;
}

.chat-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
  padding-bottom: 10px;
}

.chat-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.chat-list strong {
  color: var(--text);
  font-weight: 500;
}

.chat-rec {
  background: rgba(74, 144, 217, 0.07);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 13px 18px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 28px;
}

.chat-rec strong { color: var(--text); font-weight: 500; }

.chat-powered {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
}

/* ── Integration Strip (Home) ─────────────────────────── */
.int-strip {
  padding: 0 32px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body);
}

.int-sep {
  color: var(--border);
  margin: 0 14px;
  user-select: none;
}

/* ── Page Header (Interior) ───────────────────────────── */
.page-header {
  padding: 96px 32px 60px;
  text-align: center;
}

.page-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 18px;
}

.page-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Feature Cards (Product) ──────────────────────────── */
.feature-section {
  padding: 0 32px 80px;
}

.feature-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-card {
  padding: 36px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, transparent, transparent) border-box;
  border: 1.5px solid var(--border);
  transition: background 0.28s, border-color 0.28s, box-shadow 0.28s;
}

.feature-card:hover {
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, #4A90D9, #9B59B6, #E8735A) border-box;
  border-color: transparent;
  box-shadow: 0 4px 28px rgba(74, 144, 217, 0.1);
}


.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.6;
}

/* ── Pillar Sections (Product) ────────────────────────── */
.pillars {
  padding: 0 32px 100px;
}

.pillar {
  max-width: 680px;
  margin: 0 auto 72px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.pillar:first-child { border-top: none; padding-top: 0; }

.pillar-h {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 18px;
}

.pillar-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
}

/* ── Why Sections ─────────────────────────────────────── */
.why-sections {
  padding: 0 32px 100px;
}

.why-section {
  max-width: 680px;
  margin: 0 auto 72px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.why-section:first-child { border-top: none; padding-top: 0; }

.why-h {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 18px;
}

.why-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
}

/* ── Integrations Page ────────────────────────────────── */
.int-list {
  padding: 0 32px 100px;
}

.int-block {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.int-block:first-child { border-top: none; }

.int-block-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.int-block-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

/* ── About ────────────────────────────────────────────── */
.about-body {
  padding: 0 32px 120px;
}

.about-statement {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
}

.about-statement p + p { margin-top: 1.4em; }

/* ── Form (Early Access) ──────────────────────────────── */
.form-section {
  padding: 0 32px 120px;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-email {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.18s;
}

.form-input::placeholder { color: var(--sub); }
.form-input:focus         { border-color: var(--accent); }
.form-input.err           { border-color: #E8735A; }

.btn-submit {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  background-image: var(--gradient);
  background-size: 300% 300%;
  animation: gradientWave 11s ease-in-out infinite alternate;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: opacity 0.18s, transform 0.18s;
}

.btn-submit:hover    { opacity: 0.9; transform: translateY(-1px); }
.btn-submit:active   { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-success {
  text-align: center;
  padding: 60px 0;
}

.form-success-h {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.form-success-sub {
  font-size: 16px;
  color: var(--body);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  text-align: center;
  font-size: 12.5px;
  color: var(--sub);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-inner {
    justify-content: space-between;
    padding: 0 24px;
  }
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero          { padding: 72px 24px 56px; }
  .chat-section  { padding: 0 24px 80px; }
  .chat-query-row { padding: 20px 24px 18px; }
  .chat-response  { padding: 24px; }
  .chat-bubble    { max-width: 90%; }
  .int-strip     { padding: 0 24px 80px; }

  .page-header { padding: 72px 24px 48px; }
  .feature-section { padding: 0 24px 64px; }
  .feature-grid { grid-template-columns: 1fr; }

  .pillars     { padding: 0 24px 80px; }
  .pillar      { margin-bottom: 56px; }

  .why-sections  { padding: 0 24px 80px; }
  .why-section   { margin-bottom: 56px; }

  .int-list      { padding: 0 24px 80px; }

  .about-body  { padding: 0 24px 100px; }

  .form-section { padding: 0 24px 100px; }
  .form-row     { grid-template-columns: 1fr; }
  .form-wrap    { max-width: 100%; }

  .footer { padding: 24px; }
}
