/* ========================================================================
   NOVOTEK — Site styles
   Brand: Obsidian #0A0E13 · Carbon #13181F · Steel #1E252E · Snow #E8ECF1
          Mercury #9CA8B8 · Signal Cyan #00D9FF
   Type:  Space Grotesk (display) · Inter (body)
   ======================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg:       #0A0E13;
  --carbon:   #13181F;
  --steel:    #1E252E;
  --snow:     #E8ECF1;
  --mercury:  #9CA8B8;
  --faint:    #5A6470;
  --signal:   #00D9FF;
  --signal-dim: rgba(0, 217, 255, 0.12);
  --gold:     #D4A24C;

  --font-display: 'Space Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== Selection ===== */
::selection { background: var(--signal); color: var(--bg); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 19, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--steel); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--snow);
}
.nav-dot { color: var(--signal); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--mercury);
}
.nav-links a {
  position: relative;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--snow); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width 200ms ease;
}
.nav-links a:hover::after { width: 100%; }

@media (max-width: 640px) {
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px var(--gutter);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mercury);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 6px 14px;
  border: 1px solid var(--steel);
  border-radius: 999px;
  background: rgba(19, 24, 31, 0.6);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--signal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot { animation: none; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--snow);
  margin-bottom: 32px;
  max-width: 16ch;
}
.accent-text {
  color: var(--signal);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--mercury);
  max-width: 56ch;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Schematic decoration */
.schematic {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 760px;
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
@media (max-width: 900px) {
  .schematic {
    right: -30%;
    width: 110%;
    opacity: 0.22;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--signal);
  color: var(--bg);
  border-color: var(--signal);
}
.btn-primary:hover {
  background: #6BE7FF;
  border-color: #6BE7FF;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--snow);
  border-color: var(--steel);
}
.btn-ghost:hover {
  border-color: var(--mercury);
  color: var(--snow);
}
.btn-large {
  padding: 18px 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-tinted {
  background: var(--carbon);
  max-width: 100%;
  margin: 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.section-tinted > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--mercury);
  max-width: 56ch;
  line-height: 1.6;
}

/* ===== CAPABILITIES ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
}
.cap-card {
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: 36px 32px;
  transition: border-color 200ms ease, background 200ms ease;
}
.cap-card:hover {
  border-color: rgba(0, 217, 255, 0.32);
  background: #161C24;
}
.cap-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--signal);
  margin-bottom: 24px;
}
.cap-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cap-desc {
  color: var(--mercury);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.cap-list {
  border-top: 1px solid var(--steel);
  padding-top: 16px;
}
.cap-list li {
  font-size: 13px;
  color: var(--snow);
  padding: 7px 0;
  position: relative;
  padding-left: 18px;
}
.cap-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: var(--signal);
}

/* ===== APPROACH ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 80px;
}
@media (max-width: 760px) {
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
}
.approach-block {
  position: relative;
}
.approach-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 14px;
}
.approach-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--snow);
  margin-bottom: 14px;
}
.approach-block p {
  color: var(--mercury);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 50ch;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .products-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.product-mark {
  margin-bottom: 28px;
  height: 56px;
  display: flex;
  align-items: center;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--snow);
  margin-bottom: 14px;
}
.product-desc {
  color: var(--mercury);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 6.4em;
}
.product-list {
  border-top: 1px solid var(--steel);
  padding-top: 16px;
  margin-bottom: 28px;
  flex: 1;
}
.product-list li {
  font-size: 13px;
  padding: 6px 0;
  color: var(--snow);
  position: relative;
  padding-left: 18px;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--signal);
}
.product-status {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--signal);
  text-transform: uppercase;
  border-top: 1px solid var(--steel);
  padding-top: 16px;
}

/* Meridian variant */
.product-card--meridian {
  background: linear-gradient(180deg, #141B2D 0%, #13181F 100%);
  border-color: rgba(212, 162, 76, 0.2);
}
.product-card--meridian .product-status {
  color: var(--gold);
  border-top-color: rgba(212, 162, 76, 0.18);
}
.product-card--meridian .product-list li::before { background: var(--gold); }
.product-name--meridian { color: var(--gold); }
.product-name--meridian .endorsed {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--mercury);
  letter-spacing: 0;
  margin-left: 8px;
  vertical-align: middle;
}
.meridian-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0;
}

/* ===== CONTACT ===== */
.section-contact {
  text-align: center;
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact-inner .section-tag { display: block; margin-bottom: 24px; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--snow);
}
.contact-sub {
  color: var(--mercury);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta { margin-bottom: 56px; }
.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--steel);
  padding-top: 32px;
}
@media (max-width: 600px) {
  .contact-meta { grid-template-columns: 1fr; gap: 16px; }
}
.meta-item { text-align: center; }
.meta-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.meta-val {
  font-size: 14px;
  color: var(--snow);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--steel);
  padding: 32px var(--gutter);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--snow);
  letter-spacing: -0.01em;
}
.footer-meta {
  font-size: 12px;
  color: var(--faint);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-sep { color: var(--steel); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Platforms ===== */
.platforms-stack {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.platform-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid var(--steel);
}
.platform-row:first-child { border-top: none; padding-top: 0; }

@media (max-width: 880px) {
  .platform-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .platforms-stack { gap: 32px; }
}

.platform-row-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}
.platform-row-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mercury);
  max-width: 28ch;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}
.brand-chip {
  background: var(--carbon);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 200ms ease;
}
.brand-chip:hover { background: var(--steel); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--snow);
  line-height: 1.1;
}
.brand-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-transform: uppercase;
}

.platforms-foot {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
  text-align: center;
}
