@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Inter:wght@400;500;600;700;800&display=swap");

/*
Theme Name: OpsCore Marketing
Theme URI: https://opscore.local
Author: Codex
Description: Marketing landing page for OpsCore desktop downloads and platform positioning.
Version: 0.1.9
Text Domain: opscore-marketing
*/

:root {
  --bg: #061019;
  --bg-2: #0b1623;
  --panel: rgba(13, 23, 35, 0.84);
  --panel-strong: rgba(18, 31, 46, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(83, 131, 179, 0.24);
  --line-strong: rgba(44, 199, 255, 0.3);
  --text: #ebf5ff;
  --muted: #91a8c3;
  --cyan: #22c7ff;
  --blue: #1f66ff;
  --blue-soft: rgba(31, 102, 255, 0.16);
  --cyan-soft: rgba(34, 199, 255, 0.14);
  --green: #4fd6a4;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1180px;
  --pointer-x: 0.5;
  --pointer-y: 0.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #061019;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: #061019;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(34, 199, 255, 0.14), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(31, 102, 255, 0.2), transparent 22%),
    linear-gradient(180deg, #07111b 0%, #060e16 44%, #04090f 100%);
}

body.lightbox-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 199, 255, 0.2), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(31, 102, 255, 0.2), transparent 20%),
    radial-gradient(circle at 50% 68%, rgba(34, 199, 255, 0.14), transparent 24%);
  filter: blur(30px);
  opacity: 1;
  animation: driftField 14s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.28;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  overflow: clip;
  position: relative;
  z-index: 1;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at calc(18% + (var(--pointer-x) * 12%)) calc(18% + (var(--pointer-y) * 8%)), rgba(34, 199, 255, 0.14), transparent 18%),
    radial-gradient(circle at calc(82% - (var(--pointer-x) * 10%)) calc(22% + (var(--pointer-y) * 7%)), rgba(31, 102, 255, 0.14), transparent 16%);
  filter: blur(22px);
  opacity: 0.95;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0, transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0, transparent 16%);
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.ambient-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-field::before,
.ambient-field::after {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: 0.56;
}

.ambient-field::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 199, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(31, 102, 255, 0.24), transparent 20%),
    radial-gradient(circle at 62% 78%, rgba(34, 199, 255, 0.14), transparent 24%);
  animation: meshDrift 18s ease-in-out infinite alternate;
}

.ambient-field::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(34, 199, 255, 0.09) 28%, transparent 52%),
    linear-gradient(295deg, transparent 0%, rgba(31, 102, 255, 0.1) 30%, transparent 58%);
  mix-blend-mode: screen;
  animation: sheenDrift 20s ease-in-out infinite alternate;
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.34;
}

.orb-one {
  top: 10%;
  left: -6%;
  width: 360px;
  height: 360px;
  background: rgba(34, 199, 255, 0.18);
  animation: floatOrb 20s ease-in-out infinite;
}

.orb-two {
  top: 34%;
  right: -8%;
  width: 420px;
  height: 420px;
  background: rgba(31, 102, 255, 0.18);
  animation: floatOrb 24s ease-in-out infinite reverse;
}

.orb-three {
  bottom: -10%;
  left: 32%;
  width: 380px;
  height: 380px;
  background: rgba(34, 199, 255, 0.14);
  animation: floatOrb 28s ease-in-out infinite;
}

.container {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
}

.site-header .container {
  width: min(calc(100% - 28px), 1560px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 16, 25, 0.72);
  border-bottom: 1px solid rgba(83, 131, 179, 0.12);
}

.nav-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 280px;
  height: 72px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.18);
  transform-origin: center;
}

.brand-wordmark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

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

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(83, 131, 179, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 199, 255, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.button-primary {
  background: linear-gradient(135deg, #1c85ff, #26d1ff);
  border: 0;
  color: #04131c;
  box-shadow: 0 22px 44px rgba(34, 199, 255, 0.24);
}

.sticky-download-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(calc(100% - 24px), 980px);
  padding: 12px 14px;
  border: 1px solid rgba(83, 131, 179, 0.22);
  border-radius: 24px;
  background: rgba(7, 16, 24, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, 120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.sticky-download-bar.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.sticky-copy {
  flex: 1 1 auto;
}

.sticky-copy strong {
  display: block;
  font-size: 0.95rem;
}

.sticky-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.sticky-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero {
  padding: 74px 0 20px;
}

.hero-alt {
  padding-bottom: 36px;
  position: relative;
}

.hero-grid,
.split-showcase,
.support-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hero-copy,
.hero-visual,
.hero-panel,
.feature-card,
.story-card,
.story-visual,
.capability-card,
.enterprise-card,
.gallery-card,
.download-card,
.roadmap-card,
.support-card,
.footer-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.big-shot-card,
.capability-card,
.story-card,
.story-visual,
.enterprise-card,
.gallery-card,
.download-card,
.roadmap-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  padding: 42px;
  background:
    radial-gradient(circle at top left, rgba(34, 199, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 31, 46, 0.95), rgba(8, 16, 25, 0.92));
}

.eyebrow,
.section-kicker,
.card-eyebrow,
.roadmap-quarter,
.hero-visual-badge,
.stat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.hero h1,
.section-title {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3.5rem);
}

.hero-copy p,
.section-copy,
.feature-card p,
.story-card p,
.capability-card p,
.gallery-card p,
.download-card p,
.roadmap-card p,
.support-card p,
.footer-card p,
.signal-item span,
.stat-card span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-stats,
.feature-grid,
.capability-grid,
.gallery-grid,
.download-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(83, 131, 179, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.3rem;
}

.hero-visual {
  padding: 20px;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 70% 20%, rgba(31, 102, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(15, 27, 40, 0.96), rgba(6, 12, 20, 0.96));
}

.hero-visual::before,
.story-visual::before {
  content: "";
  position: absolute;
  inset: -16%;
  background: radial-gradient(circle, rgba(34, 199, 255, 0.12), transparent 38%);
}

.hero-visual-badge {
  position: relative;
  margin-bottom: 14px;
}

.hero-visual img,
.hero-panel img,
.story-visual img,
.gallery-card img {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(99, 144, 189, 0.18);
}

.section {
  padding: 58px 0;
}

.section-tight {
  padding-top: 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading .section-copy {
  max-width: 520px;
}

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

.feature-card,
.story-card,
.capability-card,
.download-card,
.roadmap-card,
.support-card {
  padding: 24px;
}

.feature-card h3,
.story-card h3,
.capability-card h3,
.enterprise-card h3,
.gallery-card h3,
.download-card h3,
.roadmap-card h3,
.support-card h3 {
  margin: 12px 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.story-card,
.story-visual {
  min-height: 100%;
}

.story-card {
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(34, 199, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(14, 24, 36, 0.95), rgba(8, 16, 25, 0.95));
}

.story-visual {
  padding: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 10px;
}

.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.signal-item {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(83, 131, 179, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.signal-item strong {
  display: block;
  margin-bottom: 6px;
}

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

.capability-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(16, 27, 40, 0.96), rgba(9, 17, 26, 0.94));
}

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

.gallery-grid-large .gallery-card-large {
  grid-column: span 2;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 10px;
}

.gallery-card .copy {
  padding: 18px 20px 22px;
}

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

.hero-grid-alt {
  align-items: center;
}

.hero-copy-alt {
  min-height: 100%;
}

.hero-quote {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(83, 131, 179, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero-quote strong {
  display: block;
  margin-bottom: 8px;
}

.demo-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(83, 131, 179, 0.18);
  background:
    radial-gradient(circle at top right, rgba(34, 199, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(10, 20, 30, 0.96), rgba(9, 16, 24, 0.94));
}

.demo-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.demo-card h3 {
  margin: 10px 0 0;
  font-size: 1.25rem;
  line-height: 1.15;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.demo-progress,
.demo-step-label {
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.demo-stage {
  min-height: 160px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(83, 131, 179, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.demo-stage h4 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
  line-height: 1.1;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.demo-stage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.demo-hotspot-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.demo-hotspot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.demo-hotspot.active {
  background: var(--cyan);
  transform: scale(1.25);
  box-shadow: 0 0 0 8px rgba(34, 199, 255, 0.14);
}

.demo-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hero-floating-demo {
  position: absolute;
  top: 110px;
  right: clamp(24px, 6vw, 110px);
  width: min(34vw, 540px);
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(83, 131, 179, 0.22);
  background:
    radial-gradient(circle at top right, rgba(34, 199, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(10, 20, 30, 0.92), rgba(8, 16, 25, 0.94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  z-index: 3;
}

@media (max-width: 1380px) {
  .hero-grid-alt {
    align-items: start;
  }

  .hero-floating-demo {
    position: static;
    width: min(calc(100% - 36px), var(--content));
    margin: 20px auto 0;
  }
}

.hero-floating-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hero-floating-head h3 {
  margin: 8px 0 0;
  font-size: 1.16rem;
  line-height: 1.12;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.hero-floating-progress {
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-floating-screen {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(83, 131, 179, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero-floating-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-floating-chip {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34, 199, 255, 0.12);
  border: 1px solid rgba(34, 199, 255, 0.18);
  color: #b9efff;
  font-size: 0.8rem;
}

.hero-floating-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(99, 144, 189, 0.18);
}

.hero-floating-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 10px;
}

.hero-film-cursor {
  position: absolute;
  left: 22%;
  top: 28%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0, rgba(34, 199, 255, 0.88) 54%, rgba(34, 199, 255, 0.18) 100%);
  box-shadow: 0 0 0 10px rgba(34, 199, 255, 0.14);
  transform: translate(-50%, -50%);
  transition: left 0.45s ease, top 0.45s ease, box-shadow 0.3s ease;
}

.hero-floating-copy {
  margin-top: 14px;
}

.hero-floating-copy h4 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.12;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.hero-floating-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.95rem;
}

.hero-floating-bar {
  position: relative;
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-floating-bar-fill {
  display: block;
  height: 100%;
  width: 16.67%;
  border-radius: inherit;
  background: linear-gradient(135deg, #1c85ff, #26d1ff);
  transition: width 0.45s ease;
}

.hero-stack {
  display: grid;
  gap: 16px;
}

.hero-panel {
  padding: 16px;
  overflow: hidden;
  transform: translate3d(calc((var(--pointer-x) - 0.5) * var(--panel-depth, 10px)), calc((var(--pointer-y) - 0.5) * var(--panel-depth, 10px)), 0);
  transition: transform 0.18s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 12px;
}

.hero-panel-side img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 12px;
}

.hero-panel-side {
  margin-left: 10%;
}

.big-shot-grid {
  display: grid;
  gap: 22px;
}

.big-shot-card {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.big-shot-card:hover,
.capability-card:hover,
.enterprise-card:hover,
.gallery-card:hover,
.download-card:hover,
.roadmap-card:hover,
.story-card:hover,
.story-visual:hover {
  border-color: rgba(44, 199, 255, 0.34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.big-shot-card.reverse {
  grid-template-columns: 1.2fr 0.95fr;
}

.big-shot-card.reverse .big-shot-copy {
  order: 2;
}

.big-shot-card.reverse .big-shot-media {
  order: 1;
}

.big-shot-copy h3 {
  margin: 10px 0 12px;
  font-size: 1.8rem;
  line-height: 1.08;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.big-shot-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.big-shot-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(99, 144, 189, 0.18);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.96), rgba(11, 21, 33, 0.96));
  padding: 12px;
}

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

.security-grid,
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.security-card,
.enterprise-card {
  padding: 24px;
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(34, 199, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(16, 27, 40, 0.98), rgba(9, 17, 26, 0.95));
}

.security-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.security-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.security-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(31, 102, 255, 0.28), rgba(34, 199, 255, 0.22));
  border: 1px solid rgba(44, 199, 255, 0.24);
  color: var(--text);
  font-weight: 800;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.security-card h3,
.enterprise-card h3 {
  margin: 12px 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.security-card p,
.enterprise-card p {
  color: var(--muted);
  line-height: 1.72;
}

.gallery-card button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.hero-panel button,
.big-shot-media button,
.story-visual button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card button img {
  transition: transform 0.3s ease;
}

.hero-panel button img,
.big-shot-media button img,
.story-visual button img {
  transition: transform 0.3s ease;
}

.gallery-card:hover button img {
  transform: scale(1.02);
}

.hero-panel:hover button img,
.big-shot-media:hover button img,
.story-visual:hover button img {
  transform: scale(1.015);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 8, 14, 0.86);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  overscroll-behavior: contain;
  touch-action: manipulation;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  width: min(100%, 1320px);
  max-height: 92vh;
  position: relative;
}

.lightbox-inner img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(83, 131, 179, 0.24);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(83, 131, 179, 0.24);
  background: rgba(9, 17, 26, 0.92);
  color: var(--text);
  cursor: pointer;
}

.gallery-grid-focus {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.download-card {
  background:
    linear-gradient(180deg, rgba(16, 28, 42, 0.96), rgba(9, 17, 26, 0.94));
}

.download-card.featured {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at top right, rgba(34, 199, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(17, 39, 58, 0.98), rgba(7, 15, 24, 0.96));
}

.download-meta,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-meta {
  margin: 18px 0 22px;
}

.pill,
.download-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(83, 131, 179, 0.22);
  color: #caddf0;
  font-size: 0.86rem;
}

.pill-success {
  background: rgba(79, 214, 164, 0.14);
  border-color: rgba(79, 214, 164, 0.32);
  color: #bff5de;
}

.download-card.featured .download-meta span {
  background: rgba(34, 199, 255, 0.12);
  color: #b7efff;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 179, 87, 0.12);
  border: 1px solid rgba(255, 179, 87, 0.26);
  color: #ffd4a2;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.button-soon {
  border-color: rgba(83, 131, 179, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow: none;
}

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

.roadmap-card {
  background:
    linear-gradient(180deg, rgba(16, 27, 40, 0.98), rgba(9, 17, 26, 0.95));
}

.roadmap-quarter {
  margin-bottom: 10px;
}

.support-grid {
  gap: 18px;
}

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

.site-footer {
  padding: 20px 0 42px;
  color: var(--muted);
}

.footer-card {
  padding: 22px;
  background: rgba(8, 16, 25, 0.74);
}

@media (max-width: 1100px) {
  .hero-stats,
  .feature-grid,
  .capability-grid,
  .capability-grid-wide,
  .security-grid,
  .enterprise-grid,
  .gallery-grid,
  .gallery-grid-focus,
  .download-grid-three,
  .roadmap-grid,
  .support-grid,
  .footer-grid,
  .hero-grid,
  .split-showcase,
  .big-shot-card,
  .big-shot-card.reverse {
    grid-template-columns: 1fr;
  }

  .gallery-grid-large .gallery-card-large {
    grid-column: auto;
  }

  .capability-card {
    min-height: auto;
  }

  .hero-panel-side {
    margin-left: 0;
  }

  .big-shot-card.reverse .big-shot-copy,
  .big-shot-card.reverse .big-shot-media {
    order: initial;
  }

  .hero-floating-demo {
    position: static;
    width: min(calc(100% - 36px), var(--content));
    margin: 20px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::after,
  .ambient-orb,
  .ambient-field::before,
  .ambient-field::after {
    animation: none;
  }

  .hero-copy,
  .big-shot-card,
  .capability-card,
  .security-card,
  .story-card,
  .story-visual,
  .enterprise-card,
  .gallery-card,
  .download-card,
  .roadmap-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-panel {
    transform: none;
  }

  .gallery-card button img {
    transition: none;
  }
}

@media (max-width: 860px) {
  .sticky-download-bar {
    width: min(calc(100% - 16px), 980px);
    padding: 12px;
  }
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -18px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-16px, 26px, 0) scale(0.98);
  }
}

@keyframes driftField {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(12px, -16px, 0) scale(1.04);
  }
}

@keyframes meshDrift {
  0% {
    transform: translate3d(-18px, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -10px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(28px, 16px, 0) scale(1.08);
  }
}

@keyframes sheenDrift {
  0% {
    transform: translate3d(-24px, 12px, 0);
    opacity: 0.18;
  }
  50% {
    transform: translate3d(10px, -8px, 0);
    opacity: 0.28;
  }
  100% {
    transform: translate3d(26px, -22px, 0);
    opacity: 0.2;
  }
}

@media (max-width: 860px) {
  body::before,
  body::after,
  .site-shell::before {
    display: none;
  }

  .grain,
  .ambient-field {
    display: none;
  }

  .site-header {
    position: static;
    backdrop-filter: none;
    background: rgba(6, 16, 25, 0.94);
  }

  .sticky-download-bar {
    display: none;
  }

  .hero-floating-demo {
    min-height: 0;
  }

  .hero-floating-copy {
    min-height: 160px;
  }

  .hero-floating-copy h4 {
    min-height: 3.5em;
  }

  .hero-floating-copy p {
    min-height: 7.2em;
  }

  .nav-row {
    min-height: 88px;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: visible;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    flex: 0 0 auto;
    justify-content: center;
  }

  .brand-mark {
    width: 152px;
    height: 40px;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    min-width: 100%;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 2px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: 0.8rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .cta-row {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .cta-row .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 22px), var(--content));
  }

  .site-header .container {
    width: min(calc(100% - 16px), 1560px);
  }

  .nav-row {
    min-height: 82px;
    gap: 8px;
  }

  .brand-mark {
    width: 128px;
    height: 34px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.74rem;
  }

  .cta-row .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-copy,
  .feature-card,
  .story-card,
  .capability-card,
  .download-card,
  .roadmap-card,
  .support-card,
  .big-shot-card {
    padding: 20px;
  }

  .demo-card {
    padding: 16px;
  }

  .brand-mark {
    width: 240px;
    height: 62px;
  }
}
