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

body {
  background: #ffffff;
  color: #09090b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

a { text-decoration: none; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4e4e7;
  padding: 0 32px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  font-size: 13px;
  color: #71717a;
  transition: color 0.15s;
}
.header-nav a:hover { color: #09090b; }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 8px;
  background: #09090b;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.header-cta:hover { background: #27272a !important; color: #ffffff !important; }

/* ── Hero wrap (3D bg + text overlay) ── */
.hero-wrap {
  position: relative;
  background: #0d0d1a;
  overflow: hidden;
}
.hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
  z-index: 2;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 150px;
  text-align: center;
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 68px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  background: #ffffff;
  color: #09090b;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-primary:hover { background: #f4f4f5; }
.btn-primary svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: #ffffff; }

/* ── Preview canvas (absolute bg inside hero-wrap) ── */
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #0d0d1a;
  z-index: 1;
}

/* ── Section ── */
.section {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: #71717a;
  line-height: 1.7;
  max-width: 520px;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid #f4f4f5;
  max-width: 1040px;
  margin: 0 auto;
}

/* ── Feature grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  overflow: hidden;
  background: #e4e4e7;
}

.feature-card {
  background: #ffffff;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-media {
  aspect-ratio: 16 / 9;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #e4e4e7;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #71717a;
}
.feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.65;
}

/* ── Object generation carousel ── */
.objgen-carousel {
  margin-top: 48px;
  position: relative;
}
.objgen-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.objgen-track::-webkit-scrollbar { display: none; }
.objgen-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  flex: 0 0 calc((100% - 16px * 2.5) / 3.5);
  scroll-snap-align: start;
}
.objgen-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.objgen-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.objgen-nav-btn:hover { background: #f4f4f5; border-color: #a1a1aa; }
.objgen-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.objgen-nav-btn svg { width: 14px; height: 14px; stroke: #09090b; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.objgen-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.objgen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4e4e7;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.objgen-dot:hover { background: #a1a1aa; }
.objgen-dot.active { background: #09090b; transform: scale(1.3); }
.objgen-canvas-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.objgen-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.objgen-prompt {
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 12px;
  color: #52525b;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.55;
}
.objgen-prompt::before {
  content: '/';
  color: #a1a1aa;
  margin-right: 6px;
  font-weight: 700;
}
.objgen-name {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.objgen-prompt {
  min-height: 4.4em;
}
.objgen-prompt-cursor {
  display: inline-block;
  width: 6px;
  height: 1em;
  background: #09090b;
  vertical-align: -2px;
  margin-left: 2px;
  animation: objgen-blink 0.9s steps(2, end) infinite;
}
@keyframes objgen-blink { 50% { opacity: 0; } }

/* ── Steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  overflow: hidden;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px;
  border-bottom: 1px solid #f4f4f5;
}
.step:last-child { border-bottom: none; }

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #09090b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.65;
}

/* ── Plan table ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.plan-card {
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}

.plan-card.pro {
  border-color: #09090b;
  background: #09090b;
  color: #ffffff;
}

.plan-card.team .plan-coming {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 20px;
  background: #fef3c7;
  color: #92400e;
}

.plan-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 10px;
}
.plan-card.pro .plan-name { color: #71717a; }

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: #09090b;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-card.pro .plan-price { color: #ffffff; }

.plan-price-sub {
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 20px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3f3f46;
}
.plan-card.pro .plan-features-list li { color: #a1a1aa; }

.plan-features-list li svg {
  width: 14px;
  height: 14px;
  stroke: #09090b;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.plan-card.pro .plan-features-list li svg { stroke: #71717a; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e4e4e7;
  color: #09090b;
  background: #ffffff;
  transition: background 0.15s, border-color 0.15s;
}
.plan-btn:hover { background: #f4f4f5; }

.plan-btn.pro-btn {
  border-color: #27272a;
  background: #27272a;
  color: #ffffff;
}
.plan-btn.pro-btn:hover { background: #3f3f46; border-color: #3f3f46; }

/* ── CTA section ── */
.cta-section {
  background: #09090b;
  padding: 80px 32px;
  text-align: center;
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 15px;
  color: #71717a;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  background: #ffffff;
  color: #09090b;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
}
.cta-btn:hover { background: #f4f4f5; }
.cta-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Footer ── */
.footer {
  border-top: 1px solid #e4e4e7;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 13px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: #a1a1aa;
  transition: color 0.15s;
}
.footer-links a:hover { color: #09090b; }

.footer-copy {
  font-size: 12px;
  color: #d4d4d8;
}

/* ── Auto demo (showcase) ── */
.auto-demo-pane {
  display: flex;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  overflow: hidden;
  height: 460px;
  background: #ffffff;
  margin-top: 48px;
  width: 100%;
  max-width: 100%;
  contain: layout;
}
.auto-demo-viewer {
  flex: 0 0 58%;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.auto-demo-viewer canvas { width: 100%; height: 100%; display: block; }
.auto-demo-badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.auto-demo-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: auto-pulse 1.6s ease-out infinite;
}
@keyframes auto-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0);   }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);   }
}

.auto-demo-chat {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e4e4e7;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.auto-demo-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f4f4f5;
  flex-shrink: 0;
}
.auto-demo-title {
  font-size: 13px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.01em;
}
.auto-demo-hint {
  font-size: 11px;
  color: #a1a1aa;
}
.auto-demo-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #e4e4e7 transparent;
}
.auto-demo-msgs::-webkit-scrollbar { width: 4px; }
.auto-demo-msgs::-webkit-scrollbar-thumb { background: #e4e4e7; border-radius: 2px; }

.auto-msg {
  font-size: 12.5px;
  line-height: 1.6;
  padding: 9px 12px;
  border-radius: 10px;
  max-width: 88%;
  word-break: break-word;
  opacity: 0;
  transform: translateY(6px);
  animation: auto-fadein 0.35s ease-out forwards;
}
.auto-msg.user {
  background: #09090b;
  color: #ffffff;
  align-self: flex-end;
  border-radius: 10px 10px 3px 10px;
}
.auto-msg.assistant {
  background: #f4f4f5;
  color: #09090b;
  align-self: flex-start;
  border-radius: 10px 10px 10px 3px;
}
.auto-msg .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  vertical-align: -2px;
  margin-left: 1px;
  animation: auto-caret 0.9s steps(1) infinite;
  opacity: 0.7;
}
.auto-msg.user .caret { background: #ffffff; }
@keyframes auto-caret { 50% { opacity: 0; } }
@keyframes auto-fadein {
  to { opacity: 1; transform: translateY(0); }
}

.auto-thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  align-self: flex-start;
  background: #f4f4f5;
  border-radius: 10px 10px 10px 3px;
  animation: auto-fadein 0.25s ease-out forwards;
  opacity: 0;
}
.auto-thinking span {
  width: 6px; height: 6px;
  background: #a1a1aa;
  border-radius: 50%;
  animation: auto-dot 1.2s ease-in-out infinite;
}
.auto-thinking span:nth-child(2) { animation-delay: 0.2s; }
.auto-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes auto-dot {
  0%,80%,100% { transform: scale(0.6); opacity: 0.4; }
  40%          { transform: scale(1);   opacity: 1;   }
}

.auto-demo-foot {
  flex-shrink: 0;
  padding: 10px 14px 12px;
  border-top: 1px solid #f4f4f5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auto-demo-fake-input {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12.5px;
  color: #09090b;
  display: flex;
  align-items: center;
  background: #ffffff;
  transition: border-color 0.15s;
  overflow: hidden;
  white-space: nowrap;
}
.auto-demo-fake-input > #auto-demo-input-text {
  overflow: hidden;
  text-overflow: clip;
  min-width: 0;
}
.auto-demo-fake-input.typing { border-color: #a1a1aa; }
.auto-demo-fake-input .caret {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: #09090b;
  margin-left: 2px;
  animation: auto-caret 0.9s steps(1) infinite;
}
.auto-demo-fake-input .caret.hidden { visibility: hidden; }
.auto-demo-fake-send {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}
.auto-demo-fake-send.active { background: #09090b; }
.auto-demo-fake-send.active svg { fill: #ffffff; }
.auto-demo-fake-send.pulse { transform: scale(0.9); }
.auto-demo-fake-send svg { width: 14px; height: 14px; fill: #a1a1aa; transition: fill 0.15s; }

/* ── Examples (carousel) section ── */
.examples-wrap {
  margin-top: 40px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
.examples-stage {
  position: relative;
  background: #fafafa;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}
.examples-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.examples-canvas:active { cursor: grabbing; }
.examples-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #71717a;
  background: rgba(255,255,255,0.85);
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: 4px 10px;
  backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}
.examples-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: calc(100% - 130px);
}
.examples-view-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: #71717a;
  border: 1px solid #e4e4e7;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(6px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.examples-view-btn:hover { color: #09090b; border-color: #a1a1aa; }
.examples-view-btn.active { background: #09090b; color: #ffffff; border-color: #09090b; }
.examples-presets {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}
.examples-toggles {
  position: absolute;
  bottom: 52px;
  right: 14px;
  display: flex;
  gap: 4px;
}
.examples-toggles .view-toggle {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  height: 28px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 10px;
  color: #a1a1aa;
  font-family: inherit;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}
.examples-toggles .view-toggle:hover { background: #f4f4f5; border-color: #a1a1aa; }
.examples-toggles .view-toggle.active { color: #09090b; border-color: #a1a1aa; }
.examples-toggles .view-toggle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.examples-presets .view-btn {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  width: 44px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 2px;
  transition: background 0.1s, border-color 0.1s;
  padding: 0;
  font-family: inherit;
}
.examples-presets .view-btn:hover { background: #f4f4f5; border-color: #a1a1aa; }
.examples-presets .view-btn svg {
  width: 13px;
  height: 13px;
  stroke: #71717a;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.examples-presets .view-btn span {
  font-size: 9px;
  color: #71717a;
  font-family: inherit;
  letter-spacing: 0.03em;
  line-height: 1;
}
.examples-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 20px;
  border-top: 1px solid #f4f4f5;
}
.examples-meta-text { min-width: 0; flex: 1; }
.examples-title {
  font-size: 16px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.examples-desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
}
.examples-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.examples-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.examples-nav-btn:hover { background: #f4f4f5; border-color: #a1a1aa; }
.examples-nav-btn svg { width: 14px; height: 14px; stroke: #09090b; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.examples-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 0 0 18px;
}
.examples-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e4e4e7;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.examples-dot:hover { background: #a1a1aa; }
.examples-dot.active { background: #09090b; transform: scale(1.2); }
@media (max-width: 640px) {
  .examples-meta { flex-direction: column; align-items: stretch; }
  .examples-nav { justify-content: center; }
}

/* ── Demo section ── */
.demo-tabs-row {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}
.demo-tab-btn {
  padding: 9px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-bottom: none;
  color: #71717a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.demo-tab-btn.active { background: #ffffff; color: #09090b; }
.demo-tab-btn:hover:not(.active) { background: #ececec; }

.demo-pane {
  display: flex;
  border: 1px solid #e4e4e7;
  border-radius: 0 12px 12px 12px;
  overflow: hidden;
  height: 440px;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  contain: layout;
}

.demo-viewer-col {
  flex: 0 0 58%;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.demo-canvas { width: 100%; height: 100%; display: block; }

.demo-chat-col {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e4e4e7;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.demo-chat-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f4f4f5;
  flex-shrink: 0;
}
.demo-chat-title {
  font-size: 13px;
  font-weight: 700;
  color: #09090b;
  letter-spacing: -0.01em;
}
.demo-counter {
  font-size: 11px;
  font-weight: 600;
  color: #a1a1aa;
  background: #f4f4f5;
  border-radius: 20px;
  padding: 3px 10px;
}
.demo-counter.exhausted { color: #ef4444; background: #fef2f2; }

.demo-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #e4e4e7 transparent;
}
.demo-msgs::-webkit-scrollbar { width: 4px; }
.demo-msgs::-webkit-scrollbar-thumb { background: #e4e4e7; border-radius: 2px; }

.dmsg {
  font-size: 12.5px;
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 92%;
  word-break: break-word;
}
.dmsg.user {
  background: #09090b;
  color: #ffffff;
  align-self: flex-end;
  border-radius: 10px 10px 3px 10px;
}
.dmsg.assistant {
  background: #f4f4f5;
  color: #09090b;
  align-self: flex-start;
  border-radius: 10px 10px 10px 3px;
}
.dmsg.system {
  background: transparent;
  color: #a1a1aa;
  font-size: 12px;
  align-self: center;
  text-align: center;
  padding: 4px 0;
}
.dmsg.error {
  background: #fef2f2;
  color: #ef4444;
  align-self: center;
  text-align: center;
  font-size: 12px;
}
.demo-thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  align-self: flex-start;
}
.demo-thinking span {
  width: 6px; height: 6px;
  background: #a1a1aa;
  border-radius: 50%;
  animation: demo-dot 1.2s ease-in-out infinite;
}
.demo-thinking span:nth-child(2) { animation-delay: 0.2s; }
.demo-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes demo-dot {
  0%,80%,100% { transform: scale(0.6); opacity: 0.4; }
  40%          { transform: scale(1);   opacity: 1;   }
}

.demo-foot {
  flex-shrink: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid #f4f4f5;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.demo-quicks { display: flex; flex-wrap: wrap; gap: 5px; }
.demo-quick {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #71717a;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s, color 0.12s;
}
.demo-quick:hover { border-color: #a1a1aa; color: #09090b; }
.demo-quick:disabled { opacity: 0.4; cursor: not-allowed; }

.demo-input-row { display: flex; gap: 8px; align-items: flex-end; min-width: 0; }
.demo-textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-family: inherit;
  color: #09090b;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
}
.demo-textarea:focus { border-color: #a1a1aa; }
.demo-textarea:disabled { background: #f9f9f9; color: #a1a1aa; }
.demo-send {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #09090b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.demo-send:hover { background: #27272a; }
.demo-send:disabled { background: #e4e4e7; cursor: not-allowed; }
.demo-send svg { width: 14px; height: 14px; fill: #ffffff; }
.demo-send:disabled svg { fill: #a1a1aa; }
.demo-send.stop { background: #ef4444; }
.demo-send.stop:hover { background: #dc2626; }

.demo-login-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 14px;
  padding: 20px;
  text-align: center;
}
.demo-login-notice p { font-size: 12.5px; color: #71717a; line-height: 1.7; }
.demo-login-notice a {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 8px;
  background: #09090b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.demo-login-notice a:hover { background: #27272a; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .header { padding: 0 16px; }
  .header-nav { gap: 12px; }
  .hero { padding: 72px 20px 120px; }
  .section { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .objgen-card { flex: 0 0 calc((100% - 16px * 0.5) / 1.5); }
  .plan-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { justify-content: center; }
  .demo-pane { flex-direction: column; height: auto; border-radius: 0 0 12px 12px; }
  .demo-viewer-col { flex: none; height: 220px; }
  .demo-chat-col { flex: none; height: 340px; border-left: none; border-top: 1px solid #e4e4e7; }
  .demo-tab-btn { padding: 7px 12px; font-size: 12px; }
  .auto-demo-pane { flex-direction: column; height: auto; }
  .auto-demo-viewer { flex: none; height: 240px; }
  .auto-demo-chat { flex: none; height: 360px; border-left: none; border-top: 1px solid #e4e4e7; }
}
