﻿:not(:defined) > * {
  display: none;
}

:root {
  color-scheme: light;
  --bg: #f2f4f7;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #1f2937;
  --muted: #667085;
  --accent: #d53b3b;
  --accent-strong: #b62e2e;
  --border: #e3e8ef;
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-offset: 72px;
  --font-title: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  min-height: 100vh;
}

body::before,
body::after {
  content: none;
}

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

img {
  max-width: 100%;
  display: block;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.6fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-copy h1 {
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 3.2vw, 3.6rem);
  line-height: 1.08;
  margin: 12px 0 12px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-meta {
  margin: 20px 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.meta-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 6px;
}

.meta-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(213, 59, 59, 0.25);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn.ghost {
  background: #fff;
  border: 1.5px solid #cbd5e1;
  color: var(--text);
}

.viewer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.viewer-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0;
}

.viewer-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 6px 0 0;
}

.viewer-badge {
  background: #1f2a37;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-action {
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.18);
  background: #fff;
  color: #1f2a37;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.viewer-action:hover {
  background: #1f2a37;
  color: #ffffff;
  border-color: transparent;
}

model-viewer {
  width: 100%;
  height: clamp(360px, 62vh, 720px);
  background: radial-gradient(circle at 50% 25%, #ffffff 0%, #eef2f6 45%, #d9e2ec 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  --poster-color: transparent;
  touch-action: pan-y;
}

.viewer-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.viewer-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 60;
}

.viewer-modal[hidden] {
  display: none;
}

.viewer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.viewer-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  height: min(80vh, 760px);
  background: #0f172a;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.viewer-modal__panel model-viewer {
  width: 100%;
  height: 100%;
}

.viewer-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.viewer-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.section-head {
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 140px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.variant-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.variant-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.variant-tag.lite {
  color: #2563eb;
}

.variant-tag.pro {
  color: #16a34a;
}

.variant-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin: 0;
}

.variant-desc {
  margin: 0;
  color: var(--muted);
}

.variant-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2a37;
}

.comparison-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin: 0;
}

.comparison-table {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  background: var(--surface-alt);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight {
  font-weight: 600;
  color: #1f2a37;
}

.details-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.details-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.details-card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.detail-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1f2a37 0%, #2f3f55 100%);
  color: #f8fafc;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  font-family: var(--font-title);
  margin: 0 0 6px;
}

.cta-section p {
  margin: 0;
  color: rgba(248, 250, 252, 0.8);
}

.cta-section .btn.primary {
  background: #ffffff;
  color: #1f2a37;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.progress-bar {
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 14px;
  height: 4px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.progress-bar.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.update-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  :root {
    --header-offset: 96px;
  }
}

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

  .hero-copy {
    min-height: auto;
  }

  .hero-cta {
    margin-top: 16px;
  }

  .viewer-card {
    order: -1;
  }

  model-viewer {
    height: clamp(320px, 55vh, 520px);
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .hero-cta {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 24px 16px 48px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .viewer-card {
    padding: 16px;
  }

  .viewer-modal {
    padding: 16px;
  }

  .viewer-modal__panel {
    height: min(75vh, 520px);
    border-radius: 18px;
  }

  .viewer-modal__close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


