/* Homepage layout, demonstrations and enquiry form. */
.hero {
  padding-block: 5.5rem 5rem;
}
.hero-grid, .feature-grid, .contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.hero-content > p {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.hero-cta {
  flex-wrap: wrap;
}
.hero-overview {
  position: relative;
  padding: 0 1rem 4rem;
}
.hero-poster {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  padding: 1.25rem;
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}
.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-poster .eyebrow {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: hsla(230, 60%, 8%, 0.9);
}
.summary-card {
  position: absolute;
  padding: 1rem 1.3rem;
  background: hsla(230, 60%, 8%, 0.94);
}
.summary-enquiry {
  left: -1rem;
  bottom: 7.5rem;
  width: 75%;
}
.summary-enquiry p {
  font-size: 0.95rem;
  margin-top: 0.4rem;
}
.summary-needs {
  right: 0;
  bottom: 1rem;
  width: 75%;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.overview-note {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.section-padding {
  padding-block: 5rem;
}
.section-header {
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-header h2 {
  margin-block: 0.8rem 1rem;
}
.section-header p, .feature-copy > p {
  color: var(--text-muted);
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin-inline: auto;
}
.comparison-card {
  padding: 1rem;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 1.1rem;
}
.comparison-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
}
.comparison-note {
  margin-top: 0.85rem;
}
.comparison-controls {
  max-width: 1000px;
  margin-inline: auto;
}
.pending-label {
  padding: 0.4rem 0.7rem;
  margin-top: 1rem;
}
.comparison-caption {
  text-align: center;
  margin-top: 1.5rem;
}
.comparison-caption .fine-print {
  margin-top: 0.5rem;
}
.comparison-switch {
  display: none;
}
.feature-grid {
  grid-template-columns: 0.8fr 1.2fr;
}
.feature-copy h2 {
  margin-block: 0.9rem 1.2rem;
}
.feature-copy > p {
  margin-top: 1rem;
}
.demo {
  padding: 1.5rem;
  min-width: 0;
}
.demo-label {
  font-size: 0.7rem;
  white-space: nowrap;
}
.conversation-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--bg-surface);
}
.message {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  max-width: 88%;
}
.message p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
}
.customer {
  background: hsla(230, 60%, 12%, 0.7);
}
.assistant {
  margin: 2.5rem 0 0 auto;
  background: hsla(195, 100%, 50%, 0.08);
  border-color: var(--border-glass-hover);
}
.assistant .card-label {
  color: var(--accent-cyan);
}
[data-at] {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
[data-at].step-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}
.demo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
}
.demo-controls > div {
  white-space: nowrap;
}
.demo-disclosure {
  border-top: 1px solid var(--border-glass);
  padding-top: 0.75rem;
}
.followup-section {
  grid-template-columns: 1.3fr 0.7fr;
}
.followup-section .feature-copy {
  grid-column: 2;
  grid-row: 1;
}
.followup-demo {
  grid-column: 1;
  grid-row: 1;
}
.followup-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  padding-block: 1rem;
  min-height: 360px;
}
.followup-chat .message {
  max-width: 100%;
  padding: 0.8rem;
}
.followup-chat .assistant {
  margin-top: 0;
}
.followup-chat .message p {
  font-size: 0.85rem;
}
.time-divider {
  text-align: center;
  margin-block: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.needs-card {
  border: 1px solid var(--border-glass-hover);
  border-radius: 14px;
  padding: 1rem;
  align-self: start;
}
.needs-name {
  margin-block: 1rem;
}
.needs-name span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.needs-card .tag {
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
}
.project-reference {
  padding: 0.5rem;
  margin-top: 0.6rem;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-size: 0.75rem;
}
.project-reference small {
  display: block;
  color: var(--text-muted);
}
.contact-panel {
  padding: 3rem;
  align-items: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.9rem;
}
.form-field label span {
  color: var(--text-muted);
}
input, textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.8rem;
}
textarea {
  resize: vertical;
}
input:focus, textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-glow);
}
[aria-invalid="true"] {
  border-color: #e7a0a0;
}
.field-error {
  color: #e7a0a0;
  font-size: 0.8rem;
}
.field-error:empty {
  display: none;
}
#enquiry-form > .btn {
  margin-top: 1.2rem;
}
#form-status:not(:empty) {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-glass-hover);
  border-radius: 10px;
  font-size: 0.9rem;
}
.capability-detail-link {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  text-align: right;
}
.capability-detail-link a {
  font-size: 0.9rem;
  text-decoration: none;
}
.feature-copy .capability-detail-link {
  text-align: left;
  margin-top: 1.5rem;
}
