/* COPYRIGHT 2026 NEAR ZERO, LLC */

:root {
  --bg-base: #020b18;
  --bg-overlay-top: rgba(1, 8, 20, 0.58);
  --bg-overlay-bottom: rgba(1, 8, 20, 0.82);

  --panel: rgba(7, 17, 37, 0.72);
  --panel-strong: rgba(6, 16, 34, 0.84);
  --panel-soft: rgba(10, 20, 42, 0.58);

  --text: #f4f7ff;
  --muted: #c9d4f0;

  --cyan: #49d8ff;
  --cyan-line: rgba(73, 216, 255, 0.26);
  --cyan-soft: rgba(73, 216, 255, 0.10);

  --violet: #c38cff;
  --violet-line: rgba(195, 140, 255, 0.24);
  --violet-soft: rgba(195, 140, 255, 0.10);

  --line: rgba(120, 160, 255, 0.18);
  --line-strong: rgba(120, 160, 255, 0.26);

  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --glow: 0 0 24px rgba(87, 155, 255, 0.18);

  --radius: 20px;
  --radius-lg: 28px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--cyan) #071427;
}

*::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

*::-webkit-scrollbar-track {
  background: #071427;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 999px;
  border: 3px solid #071427;
  box-shadow: 0 0 10px rgba(73, 216, 255, 0.45);
}

*::-webkit-scrollbar-thumb:hover {
  box-shadow:
    0 0 12px rgba(73, 216, 255, 0.55),
    0 0 16px rgba(195, 140, 255, 0.35);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    linear-gradient(var(--bg-overlay-top), var(--bg-overlay-bottom)),
    url("images/RMACK-Background.png") center center / cover fixed no-repeat,
    var(--bg-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--cyan);
}

.contact-list a,
.faq-item a,
.card a,
.footer a {
  color: #dbe6ff;
}

.contact-list a:hover,
.faq-item a:hover,
.card a:hover,
.footer a:hover {
  color: var(--cyan);
}

.nav a:hover,
.nav .cta-link:hover {
  color: var(--text);
}

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

.site-wrap {
  min-height: 100vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

h3 {
  font-size: 1.15rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

p {
  margin: 0;
}

.accent-cyan {
  color: var(--cyan);
}

.accent-violet {
  color: var(--violet);
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 9, 20, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(120, 160, 255, 0.10);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand span {
  color: var(--cyan);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 160ms ease, transform 160ms ease;
}

.nav a:hover {
  color: var(--text);
}

.nav .cta-link {
  color: var(--text);
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--glow);
}

.nav .cta-link:hover {
  transform: translateY(-1px);
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition:
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.nav a:not(.cta-link):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(120, 160, 255, 0.14);
}

.btn,
.btn-primary,
.nav .cta-link {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.btn:hover,
.btn-primary:hover,
.nav .cta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(195, 140, 255, 0.42);
  background: linear-gradient(
    135deg,
    rgba(73, 216, 255, 0.16),
    rgba(195, 140, 255, 0.24)
  );
  box-shadow:
    0 0 26px rgba(73, 216, 255, 0.12),
    0 0 30px rgba(195, 140, 255, 0.14);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 75%, rgba(73, 216, 255, 0.10), transparent 24%),
    radial-gradient(circle at 75% 30%, rgba(195, 140, 255, 0.10), transparent 26%),
    linear-gradient(180deg, rgba(7, 19, 39, 0.74), rgba(5, 12, 28, 0.88));
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-title span {
  display: inline-block;
}

.hero-title-rmack {
  color: var(--cyan);
  text-shadow:
    0 0 14px rgba(73, 216, 255, 0.22),
    0 2px 18px rgba(0, 0, 0, 0.30);
}

.hero-title-main {
  background: linear-gradient(90deg, #ffffff 0%, #dff6ff 25%, #d8c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-title-main-alt {
  background: linear-gradient(90deg, #ffffff 0%, #d8efff 25%, #c38cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  color: var(--text);
  margin: 0 0 20px;
  max-width: 850px;
}

.hero-note {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 820px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-side {
  display: grid;
  gap: 14px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  box-shadow: var(--glow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--violet);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(73, 216, 255, 0.18), rgba(195, 140, 255, 0.16));
}

/* Generic surfaces */

.panel,
.card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.card,
.stat-card,
.faq-item {
  position: relative;
}

.card {
  padding: 22px 20px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.stat-card {
  padding: 18px 18px 16px;
  background: rgba(7, 17, 37, 0.78);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.96rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(73, 216, 255, 0.15);
}

/* Sections */

section {
  padding: 28px 0 24px;
}

.rmack-section {
  position: relative;
}

.rmack-section > .container {
  position: relative;
}

.rmack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 12, 28, 0.18), rgba(4, 12, 28, 0.32));
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  max-width: 900px;
  font-size: 1.02rem;
}

/* Section theming without images */

.section-problem .card {
  border-color: var(--cyan-line);
  background:
    linear-gradient(180deg, rgba(8, 20, 42, 0.76), rgba(7, 17, 37, 0.76));
}

.section-capabilities .card {
  border-color: rgba(120, 170, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(10, 20, 44, 0.78), rgba(7, 17, 37, 0.78));
}

.section-demos .card {
  border-color: rgba(160, 120, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(16, 18, 44, 0.76), rgba(7, 17, 37, 0.76));
}

.section-licensing .card {
  border-color: rgba(170, 120, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(16, 18, 44, 0.80), rgba(7, 17, 37, 0.80));
}

.section-faq .panel,
.section-contact .panel {
  background: var(--panel-strong);
}

.section-problem .card::before,
.section-capabilities .card::before,
.section-demos .card::before,
.section-licensing .card::before,
.faq-item::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0.9;
}

/* Grids */

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Licensing cards */

.license-card {
  min-height: 100%;
}

.license-card .title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.license-card .desc {
  color: var(--muted);
  margin-bottom: 14px;
}

.license-card .meta {
  color: var(--text);
  font-size: 0.94rem;
  opacity: 0.92;
}

.license-eval .title {
  color: var(--cyan);
}

.license-nonexclusive .title {
  color: var(--violet);
}

.license-exclusive .title {
  color: #eadbff;
}

.license-eval {
  box-shadow: 0 0 24px rgba(73, 216, 255, 0.14);
}

.license-nonexclusive {
  box-shadow: 0 0 24px rgba(166, 92, 255, 0.12);
}

.license-exclusive {
  box-shadow: 0 0 24px rgba(210, 170, 255, 0.12);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
}

.faq-item:nth-child(odd) h3 {
  color: var(--cyan);
}

.faq-item:nth-child(even) h3 {
  color: var(--violet);
}

/* Contact */

.contact-panel {
  padding: 26px 24px;
  background:
    linear-gradient(180deg, rgba(6, 16, 34, 0.82), rgba(5, 12, 28, 0.90));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-list strong {
  color: var(--text);
}

.section-contact .section-heading h2 {
  margin-bottom: 12px;
}

.section-contact .section-heading p {
  max-width: 760px;
}

.contact-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.contact-list > div:first-child {
  color: var(--violet);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--text);
}

.contact-list a {
  color: var(--violet);
}

.contact-list a:hover {
  color: var(--cyan);
}

/* Form */

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(120, 160, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

::placeholder {
  color: rgba(220, 230, 255, 0.55);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(73, 216, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(73, 216, 255, 0.10);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
    linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color: #f4f7ff;
  background: #0b1220;
}

.form-alert {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

.form-alert-success {
  color: #dffef1;
  background: rgba(20, 90, 60, 0.28);
  border-color: rgba(90, 220, 160, 0.35);
}

.form-alert-error {
  color: #ffe4ea;
  background: rgba(110, 30, 50, 0.28);
  border-color: rgba(255, 120, 150, 0.35);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demos-grid {
  align-items: start;
}

.demo-card {
  padding: 18px;
}

.demo-card h3 {
  margin-top: 16px;
  margin-bottom: 10px;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 18px rgba(87, 155, 255, 0.12);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer */

.footer {
  padding: 30px 0 48px;
  color: rgba(220, 230, 255, 0.70);
  font-size: 0.95rem;
}

.footer-inner {
  border-top: 1px solid rgba(120, 160, 255, 0.12);
  padding-top: 18px;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 44px 24px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .nav {
    gap: 12px;
  }
}
