/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: #0c1118;
  color: #ece7da;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography — serif for headers, matches the engraved logo */
h1, h2, h3, .serif {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #ece7da;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
p { font-size: 1.1rem; line-height: 1.7; color: #c8cbd2; }
a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5fc4c5;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6dd9da 0%, #4a9fa0 100%);
  color: #0c1118;
  box-shadow: 0 4px 24px rgba(95, 196, 197, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(95, 196, 197, 0.45);
}
.btn-secondary {
  background: transparent;
  color: #ece7da;
  border: 1px solid rgba(236, 231, 218, 0.3);
}
.btn-secondary:hover {
  background: rgba(236, 231, 218, 0.06);
  border-color: rgba(236, 231, 218, 0.6);
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(12, 17, 24, 0.85), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.nav.scrolled {
  background: rgba(12, 17, 24, 0.95);
  border-bottom: 1px solid rgba(236, 231, 218, 0.08);
}
.nav-logo { height: 32px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a:not(.btn) {
  color: #ece7da;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.nav-links a:not(.btn):hover { opacity: 1; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(12, 17, 24, 0.7) 75%, #0c1118 100%),
    linear-gradient(to bottom, rgba(12, 17, 24, 0.3), rgba(12, 17, 24, 0.85) 75%, #0c1118);
}
.hero-logo {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.7));
}
.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em;
  color: #ece7da;
  max-width: 1000px;
  margin: 0 auto 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.hero-meta {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9098a8;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Feature rows — alternating */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 6rem; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(236, 231, 218, 0.06);
}

/* Doctrine grid */
.doctrines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.doctrine {
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid rgba(236, 231, 218, 0.1);
  background: rgba(255, 255, 255, 0.015);
  border-radius: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.doctrine:hover {
  border-color: rgba(95, 196, 197, 0.5);
  background: rgba(95, 196, 197, 0.04);
  transform: translateY(-2px);
}
.doctrine-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ece7da;
  margin-bottom: 0.5rem;
}
.doctrine-desc {
  font-size: 0.95rem;
  color: #9098a8;
  line-height: 1.5;
}

/* Trailer */
.trailer-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(236, 231, 218, 0.08);
  background: #000;
}
.trailer-wrap video,
.trailer-wrap iframe {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  border: none;
}

/* Features bullet list */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 3rem;
  max-width: 950px;
  margin: 0 auto;
}
.features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #c8cbd2;
}
.features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #5fc4c5;
  font-size: 0.85em;
}
.features strong { color: #ece7da; font-weight: 600; }

/* About */
.about {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Section header */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 600px; margin: 1rem auto 0; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 7rem 2rem;
  background:
    radial-gradient(ellipse at center, rgba(95, 196, 197, 0.06), transparent 70%),
    linear-gradient(135deg, rgba(95, 196, 197, 0.05), rgba(198, 69, 69, 0.04));
  border-top: 1px solid rgba(236, 231, 218, 0.08);
  border-bottom: 1px solid rgba(236, 231, 218, 0.08);
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { margin-bottom: 2rem; color: #c8cbd2; }

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9098a8;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: #ece7da;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-links a:hover { opacity: 1; }

/* === Press kit === */
.press-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}
.press-hero img {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 3rem;
}
.fact-grid > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(236, 231, 218, 0.08);
}
.fact-label {
  color: #9098a8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  flex-shrink: 0;
}
.fact-value {
  color: #ece7da;
  text-align: right;
  font-size: 0.95rem;
  word-break: break-word;
}
.fact-value a { color: #5fc4c5; text-decoration: none; }
.fact-value a:hover { text-decoration: underline; }

.descriptions h3 { color: #5fc4c5; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.descriptions p + p { margin-top: 1rem; }
.descriptions .one-liner {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: #ece7da;
  letter-spacing: 0.04em;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.screenshot-grid a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(236, 231, 218, 0.08);
  transition: transform 0.2s, border-color 0.2s;
}
.screenshot-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 196, 197, 0.5);
}
.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.download-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(236, 231, 218, 0.08);
  border-radius: 6px;
  text-decoration: none;
  color: #ece7da;
  transition: border-color 0.15s, background 0.15s;
}
.download-card:hover {
  border-color: rgba(95, 196, 197, 0.5);
  background: rgba(95, 196, 197, 0.03);
}
.download-card .preview {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.download-card .preview img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.download-card span {
  font-size: 0.95rem;
  color: #c8cbd2;
}
.download-card .size {
  display: block;
  font-size: 0.8rem;
  color: #9098a8;
  margin-top: 0.25rem;
}

.trailer-meta {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #9098a8;
}
.trailer-meta a { color: #5fc4c5; text-decoration: none; }
.trailer-meta a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn) { display: none; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row + .feature-row { margin-top: 4rem; }
  .feature-row.reverse { direction: ltr; }
  .doctrines { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 1rem; }
  .fact-grid { grid-template-columns: 1fr; gap: 0; }
  .screenshot-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { padding: 0.9rem 1.5rem; font-size: 0.9rem; }
}
