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

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.pageShell {
  width: 100%;
  overflow-x: hidden;
}

/* NAV */
.navBar {
  padding: 26px 48px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.7;
}

.navLinks a {
  margin-left: 42px;
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.navLinks a:hover {
  color: #fff;
}

/* HERO */
.hero,
.heroSmall {
  text-align: center;
  padding: 170px 24px 130px;
  animation: fadeIn 1.2s ease-out both;
}

.tagLine {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
}

.heroTitle {
  margin-top: 22px;
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.04);
}

.heroSubtitle {
  margin-top: 30px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #d6d6d6;
  font-size: 22px;
  line-height: 1.7;
  opacity: 0.9;
}

/* CTA */
.ctaRow {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btnPrimary,
.btnGhost {
  padding: 15px 38px;
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.25s ease;
}

.btnPrimary {
  background: #fff;
  color: #000;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.10);
}

.btnPrimary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btnGhost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btnGhost:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* SECTIONS */
.section,
.sectionWide {
  padding: 130px 24px;
  max-width: 1200px;
  margin: auto;
  animation: fadeIn 1.2s ease-out both;
}

.sectionWide {
  max-width: 1300px;
}

.sectionTitle {
  font-size: 42px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.sectionLead {
  max-width: 900px;
  text-align: center;
  margin: 0 auto 90px;
  color: #cfcfcf;
  font-size: 21px;
  line-height: 1.7;
  opacity: 0.9;
}

/* GRID + CARDS */
.grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  padding: 46px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.08);
}

.cardTitle {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.cardText {
  color: #d0d0d0;
  line-height: 1.7;
  font-size: 17px;
}

/* FOOTER */
.footer {
  padding: 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 120px;
}

.footerInner {
  opacity: 0.7;
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET ≤1024px */
@media (max-width: 1024px) {
  .navBar {
    padding: 22px 32px;
  }

  .hero,
  .heroSmall {
    padding: 150px 22px 110px;
  }

  .heroTitle {
    font-size: 62px;
  }

  .heroSubtitle {
    font-size: 19px;
  }

  .section,
  .sectionWide {
    padding: 110px 22px;
  }

  .sectionTitle {
    font-size: 36px;
  }

  .sectionLead {
    font-size: 19px;
    margin-bottom: 70px;
  }

  .card {
    padding: 38px;
  }
}

/* MOBILE LARGE ≤768px */
@media (max-width: 768px) {

  /* POLISHED MOBILE HEADER — STYLE B */
  .navInner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navLinks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 26px;
    white-space: nowrap; /* ensures one-row nav */
    margin-top: 14px;
    width: 100%;
  }

  .navLinks a {
    font-size: 16px;
    margin-left: 0;
  }

  .brand {
    font-size: 24px;
  }

  .hero,
  .heroSmall {
    padding: 120px 22px 80px;
  }

  .heroTitle {
    font-size: 44px;
  }

  .heroSubtitle {
    font-size: 17px;
    max-width: 95%;
  }

  .section,
  .sectionWide {
    padding: 90px 22px;
  }

  .sectionTitle {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .sectionLead {
    font-size: 17px;
    margin-bottom: 55px;
    max-width: 95%;
  }

  .grid {
    gap: 32px;
  }

  .card {
    padding: 32px;
    border-radius: 20px;
  }

  .cardTitle {
    font-size: 20px;
  }

  .cardText {
    font-size: 16px;
  }

  .ctaRow {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .ctaRow a {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .footer {
    padding: 40px 22px;
    margin-top: 90px;
  }

  .footerInner {
    font-size: 13px;
  }
}

/* MOBILE SMALL ≤480px */
@media (max-width: 480px) {
  .brand {
    font-size: 22px;
  }

  .hero,
  .heroSmall {
    padding: 110px 18px 70px;
  }

  .heroTitle {
    font-size: 34px;
  }

  .heroSubtitle {
    font-size: 15px;
  }

  .section,
  .sectionWide {
    padding: 80px 18px;
  }

  .sectionTitle {
    font-size: 24px;
  }

  .sectionLead {
    font-size: 15px;
    margin-bottom: 45px;
  }

  .card {
    padding: 26px;
    border-radius: 18px;
  }

  .cardTitle {
    font-size: 18px;
  }

  .cardText {
    font-size: 15px;
  }

  .ctaRow {
    gap: 12px;
  }

  .ctaRow a {
    max-width: 240px;
  }

  .footer {
    padding: 32px 18px;
    margin-top: 70px;
  }

  .footerInner {
    font-size: 12px;
  }
}

/* PRIME DEMO */
.prime-demo {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #050509;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.prime-demo-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.prime-demo-controls button {
  padding: 0.375rem 0.9rem;
  background: #14141f;
  color: #f5f5ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
}

.prime-demo-controls button:hover {
  background: #1f1f2a;
}

.prime-demo-caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #c6c6d9;
}

.prime-demo-label.raw {
  color: #ff6666;
  font-weight: 600;
}

.prime-demo-label.sx {
  color: #4db0ff;
}
