:root {
  --bg: #090a0d;
  --panel: rgba(18, 20, 27, 0.82);
  --text: #f7f7f8;
  --muted: #b8bac4;
  --yellow: #f6b414;
  --red: #e0222d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial Black, Impact, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 180, 20, 0.18), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(224, 34, 45, 0.18), transparent 28rem),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: #111;
  background: var(--yellow);
  border-radius: 0.75rem;
  box-shadow: 0 0 0 3px rgba(246, 180, 20, 0.18);
}

.nav { display: flex; gap: clamp(0.75rem, 2.4vw, 2rem); color: var(--muted); font-weight: 700; }
.nav a:hover { color: var(--yellow); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 8rem clamp(1rem, 5vw, 5rem) 4rem;
  overflow: hidden;
}

.hero-bg {
  background-image:
    linear-gradient(115deg, rgba(9, 10, 13, 0.12), rgba(9, 10, 13, 0.72)),
    url("assets/jasapart-jg01-car.jpg"),
    linear-gradient(135deg, #f6b414 0%, #101116 45%, #e0222d 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 13, 0.9) 0%, rgba(9, 10, 13, 0.58) 42%, rgba(9, 10, 13, 0.16) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.sticker-title {
  display: grid;
  gap: clamp(0.55rem, 1.4vw, 1rem);
  align-items: start;
  text-shadow: none;
}

.sticker-word {
  display: inline-block;
  width: fit-content;
  color: #f7f7f8;
  font-family: "Arial Black", Impact, Inter, sans-serif;
  font-size: clamp(3.1rem, 10vw, 8.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  transform: skewX(-10deg) scaleX(1.08);
}

.sticker-model {
  display: inline-block;
  width: fit-content;
  padding: 0.08em 0.25em;
  color: var(--red);
  background: rgba(9, 10, 13, 0.84);
  border: 0.08em solid rgba(246, 180, 20, 0.65);
  border-radius: 0.18em;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
  text-shadow: 0 0.05em 0 #111, 0 12px 34px rgba(0, 0, 0, 0.55);
  transform: skewX(-8deg);
}

h2 { font-size: clamp(2rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.06em; }
h3 { font-size: 1.35rem; letter-spacing: -0.03em; }

.lead { max-width: 620px; color: #fff; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.5; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.resource-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { color: #111; background: var(--yellow); box-shadow: 0 16px 45px rgba(246, 180, 20, 0.28); }
.button.secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); }

.hero-actions .button.secondary {
  border-color: rgba(246, 180, 20, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.hero-actions .button.secondary:hover {
  border-color: var(--yellow);
  color: #111;
  background: var(--yellow);
  box-shadow: 0 16px 45px rgba(246, 180, 20, 0.3);
}

.hero-actions .button[data-video-open],
.resource-actions .button[href="documents.html"] {
  animation: attention-button-pulse 3s ease-in-out infinite;
}

@keyframes attention-button-pulse {
  0%,
  100% {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 0 26px rgba(246, 180, 20, 0.58), 0 16px 45px rgba(246, 180, 20, 0.26);
    filter: brightness(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .button[data-video-open],
  .resource-actions .button[href="documents.html"] {
    animation: none;
  }
}

.contact-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal.is-open {
  display: flex;
}

.video-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.video-modal[hidden] {
  display: none !important;
}

.video-modal.is-open {
  display: flex;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.contact-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(246, 180, 20, 0.16), rgba(224, 34, 45, 0.1)),
    rgba(18, 20, 27, 0.96);
  box-shadow: var(--shadow);
}

.video-dialog {
  position: relative;
  width: min(100%, 980px);
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(246, 180, 20, 0.14), rgba(224, 34, 45, 0.1)),
    rgba(18, 20, 27, 0.98);
  box-shadow: var(--shadow);
}

.video-dialog h2 {
  padding-right: 3rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.contact-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.6rem;
  line-height: 1;
}

.video-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.7rem;
  line-height: 1;
}

.contact-close:hover {
  color: #111;
  background: var(--yellow);
}

.video-close:hover {
  color: #111;
  background: var(--yellow);
}

.feature-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #000;
}

.contact-intro {
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-form label {
  color: #fff;
  font-weight: 900;
}

.optional-label,
.field-hint {
  color: var(--muted);
  font-weight: 700;
}

.optional-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field-hint {
  margin: -0.35rem 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(9, 10, 13, 0.7);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(246, 180, 20, 0.85);
  box-shadow: 0 0 0 4px rgba(246, 180, 20, 0.14);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #111;
  background: var(--yellow);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.form-status.error {
  color: #fff;
  background: var(--red);
}

.hero-card {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 4rem;
  display: grid;
  gap: 0.35rem;
  max-width: 310px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(10, 10, 13, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card strong { color: var(--yellow); font-size: 1.1rem; }
.hero-card span { color: var(--muted); line-height: 1.45; }

.section { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.intro p:last-child,
.split-copy p,
.cta p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.quote-panel,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.feature-card { padding: 1.4rem; min-height: 230px; }
.feature-card span { color: var(--red); font-weight: 900; }
.feature-card p { color: var(--muted); line-height: 1.6; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.check-list { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { color: #fff; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--yellow); margin-right: 0.7rem; }

.quote-panel {
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(246, 180, 20, 0.2), rgba(224, 34, 45, 0.12)),
    var(--panel);
}

.quote-panel p {
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.quote-panel span { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }

.ui-teaser {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.ui-copy p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.ui-shots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(246, 180, 20, 0.14), rgba(224, 34, 45, 0.1)),
    rgba(18, 20, 27, 0.64);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ui-shots::after {
  content: "COMING SOON";
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(246, 180, 20, 0.5);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(9, 10, 13, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  backdrop-filter: blur(12px);
}

.ui-shots img {
  width: 100%;
  height: clamp(220px, 28vw, 430px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  filter: saturate(0.95) contrast(1.05);
  opacity: 0.82;
}

.ui-shots img:nth-child(2) { transform: translateY(1.4rem); }

.cta { margin: 0 clamp(1rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); text-align: center; }
.cta h2 { max-width: 900px; margin-inline: auto; }
.cta p { max-width: 680px; margin-inline: auto; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.inner-header {
  background: rgba(9, 10, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.inner-page {
  padding-top: 5.2rem;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 180, 20, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(224, 34, 45, 0.2), transparent 26rem);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 9vw, 8.2rem);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-height: 360px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(246, 180, 20, 0.12), rgba(224, 34, 45, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

.resource-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.resource-card p {
  color: var(--muted);
  line-height: 1.65;
}

.resource-card .button {
  margin-top: auto;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.card-actions .button {
  margin-top: 0;
}

.resource-type {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(246, 180, 20, 0.55);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(9, 10, 13, 0.55);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.screenshot-gallery a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.screenshot-gallery a:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 180, 20, 0.65);
}

.screenshot-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.document-hero {
  min-height: 42vh;
}

.document-preview {
  padding-top: 0;
}

.document-paper {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  color: #f2f2f4;
  background: rgba(18, 20, 27, 0.92);
  box-shadow: var(--shadow);
}

.document-paper h2,
.document-paper h3,
.document-paper h4 {
  margin: 2rem 0 0.85rem;
  color: #fff;
  letter-spacing: -0.04em;
}

.document-paper h2:first-child,
.document-paper h3:first-child,
.document-paper h4:first-child {
  margin-top: 0;
}

.document-paper h2 {
  color: var(--yellow);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.document-paper h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.document-paper h4 {
  font-size: 1.15rem;
}

.document-paper p {
  color: var(--muted);
  line-height: 1.75;
}

.doc-table-wrap {
  max-width: 100%;
  margin: 1.3rem 0;
  overflow-x: auto;
}

.document-paper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.document-paper td {
  padding: 0.85rem;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
  vertical-align: top;
}

.document-paper tr:first-child td {
  color: #111;
  background: var(--yellow);
  font-weight: 900;
}

.doc-figure {
  margin: 1.5rem 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  overflow-x: auto;
}

.doc-figure img {
  display: block;
  max-width: min(100%, 760px);
  max-height: 72vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 0.5rem;
  object-fit: contain;
}

@media (max-width: 920px) {
  .nav { display: none; }
  .hero { min-height: 86vh; }
  .hero-card { position: relative; right: auto; bottom: auto; margin-top: 2rem; }
  .intro, .split, .ui-teaser { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: 1fr; }
  .screenshot-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .ui-shots { grid-template-columns: 1fr; }
  .ui-shots img { height: 260px; }
  .ui-shots img:nth-child(2) { transform: none; }
  .contact-dialog h2 { padding-right: 2.5rem; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}