/* Muretho Labs — Cybernetic Enterprise Design System */

:root {
  --graphite: #070707;
  --carbon: #1a1a1c;
  --carbon-mid: #2a2d35;
  --titanium: #d8d8d8;
  --steel: #7a7d85;
  --cyan: #00d1ff;
  --neon: #2563ff;
  --gradient-sig: linear-gradient(165deg, #070707 0%, #1a1a1c 45%, #2a2d35 100%);
  --gradient-glow: linear-gradient(135deg, #00d1ff 0%, #2563ff 100%);
  --font-display: "Space Grotesk", "Exo 2", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-cyan: 0 0 40px rgba(0, 209, 255, 0.25);
  --glow-blue: 0 0 60px rgba(37, 99, 255, 0.2);
  --border-thin: 1px solid rgba(216, 216, 216, 0.12);
  --glass: rgba(26, 26, 28, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--steel);
  background: var(--graphite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), opacity 0.25s;
}

a:hover {
  color: var(--titanium);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--titanium);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); text-transform: uppercase; letter-spacing: 0.08em; }

p { max-width: 62ch; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* Grid overlay utility */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 125, 133, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 125, 133, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: var(--border-thin);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-link span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--titanium);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-main a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--titanium);
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-glow);
  color: var(--graphite);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
  color: var(--graphite);
}

.btn-outline {
  background: transparent;
  color: var(--titanium);
  border: 1px solid rgba(0, 209, 255, 0.4);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-outline:hover {
  border-color: var(--cyan);
  box-shadow: inset 0 0 24px rgba(0, 209, 255, 0.08);
  color: var(--cyan);
}

.btn-ghost {
  background: rgba(216, 216, 216, 0.06);
  color: var(--titanium);
  border: var(--border-thin);
}

.btn-ghost:hover {
  background: rgba(0, 209, 255, 0.1);
  color: var(--cyan);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--gradient-sig);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--graphite));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 209, 255, 0.3);
  background: rgba(0, 209, 255, 0.05);
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--steel);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 400px);
  min-height: 360px;
  margin-left: auto;
  flex-shrink: 0;
  isolation: isolate;
}

.hero-visual-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: var(--border-thin);
  clip-path: polygon(0 12%, 12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

.hero-visual-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 360px;
  padding: 1.35rem 1.5rem 1.5rem;
  box-sizing: border-box;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-panel-label {
  color: var(--titanium);
}

.hero-panel-status {
  color: var(--cyan);
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(0, 209, 255, 0.35);
  background: rgba(0, 209, 255, 0.08);
}

.hero-chart {
  flex: 0 0 auto;
  height: 90px;
  width: 100%;
  padding: 0.65rem 0.5rem 0.35rem;
  border: 1px solid rgba(122, 125, 133, 0.18);
  background: rgba(7, 7, 7, 0.55);
  box-sizing: border-box;
}

.hero-chart-line {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bars {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.data-bar {
  height: 5px;
  width: 100%;
  background: rgba(122, 125, 133, 0.22);
  border-radius: 2px;
  overflow: hidden;
}

.data-bar span {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--gradient-glow);
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}

.data-bar span.w-71 { width: 71%; }
.data-bar span.w-78 { width: 78%; }
.data-bar span.w-92 { width: 92%; }
.data-bar span.w-64 { width: 64%; }

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(122, 125, 133, 0.15);
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-metric strong {
  color: var(--cyan);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ========== SECTIONS COMMON ========== */
section {
  position: relative;
  padding: 6rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--steel);
  font-size: 1.05rem;
}

/* ========== ABOUT — SPLIT ========== */
.about {
  background: var(--graphite);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  border: var(--border-thin);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.about-left {
  padding: 3.5rem;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border-thin);
}

.about-right {
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.08) 0%, rgba(0, 209, 255, 0.04) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-right::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0, 209, 255, 0.2);
  transform: rotate(45deg);
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(122, 125, 133, 0.15);
  font-size: 0.95rem;
  color: var(--titanium);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--gradient-glow);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.stat-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

/* ========== TECHNOLOGY — 3x3 GRID ========== */
.technology {
  background: var(--carbon);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: calc(6rem + 40px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 209, 255, 0.15);
  border: 1px solid rgba(0, 209, 255, 0.15);
}

.tech-card {
  background: var(--graphite);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.35s, box-shadow 0.35s;
  min-height: 200px;
}

.tech-card:hover {
  background: rgba(26, 26, 28, 0.95);
  box-shadow: inset 0 0 0 1px rgba(0, 209, 255, 0.3);
  z-index: 1;
}

.tech-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--cyan);
}

.tech-card h3 {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.tech-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--steel);
}

.tech-card-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: rgba(122, 125, 133, 0.5);
  letter-spacing: 0.1em;
}

/* ========== INDUSTRIES — 2x2 + FEATURE ========== */
.industries {
  background: var(--graphite);
}

.industries-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.industry-feature {
  grid-row: span 2;
  padding: 2.5rem;
  background: var(--gradient-sig);
  border: var(--border-thin);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.industry-feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.2), transparent 70%);
}

.industry-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.industry-feature p {
  font-size: 0.95rem;
  position: relative;
}

.industry-card {
  padding: 1.75rem;
  background: var(--carbon);
  border: var(--border-thin);
  transition: border-color 0.3s, transform 0.3s;
}

.industry-card:hover {
  border-color: rgba(0, 209, 255, 0.35);
  transform: translateX(4px);
}

.industry-card h3 {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.industry-card p {
  font-size: 0.85rem;
}

.industries-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ========== PLATFORM — SPLIT DIAGONAL ========== */
.platform {
  background: var(--carbon-mid);
  position: relative;
  overflow: hidden;
}

.platform-diagonal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.platform-dark {
  padding: 4rem 3rem;
  background: var(--graphite);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform-light {
  padding: 4rem 3rem 4rem 5rem;
  margin-left: -8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-left: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.pillar:hover {
  border-left-color: var(--cyan);
  background: rgba(0, 209, 255, 0.04);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  stroke: var(--cyan);
}

.pillar h4 {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.pillar p {
  font-size: 0.85rem;
}

.platform-cta-wrap {
  margin-top: 2rem;
}

/* ========== INSIGHTS — STAGGERED CARDS 3x2 ========== */
.insights {
  background: var(--graphite);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.insight-card:nth-child(1) {
  background: var(--carbon);
  border: var(--border-thin);
  transform: translateY(24px);
}

.insight-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(0, 209, 255, 0.08), rgba(37, 99, 255, 0.06));
  border: 1px solid rgba(0, 209, 255, 0.2);
}

.insight-card:nth-child(3) {
  background: var(--carbon);
  border: var(--border-thin);
  transform: translateY(24px);
}

.insight-card:nth-child(4) {
  grid-column: span 2;
  background: var(--gradient-sig);
  border: var(--border-thin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.insight-card:nth-child(4) p {
  max-width: 42ch;
}

.page-content .container:not(.legal-content) {
  max-width: 1180px;
}

.insight-card:nth-child(5) {
  background: var(--carbon);
  border: var(--border-thin);
  border-left: 3px solid var(--cyan);
}

.insight-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.insight-card h3 {
  margin-bottom: 0.5rem;
}

.insight-card p {
  font-size: 0.9rem;
}

.insights-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--carbon);
  padding-bottom: 7rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  border: var(--border-thin);
  background: rgba(7, 7, 7, 0.5);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
}

.contact-info {
  padding: 3rem;
  background: linear-gradient(180deg, rgba(37, 99, 255, 0.1) 0%, transparent 100%);
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
  list-style: none;
}

.contact-details li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(122, 125, 133, 0.12);
  font-size: 0.9rem;
}

.contact-details strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.contact-form-panel {
  padding: 3rem;
  background: var(--graphite);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: var(--carbon);
  border: var(--border-thin);
  color: var(--titanium);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 209, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--steel);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(0, 209, 255, 0.1);
  border: 1px solid rgba(0, 209, 255, 0.3);
  color: var(--cyan);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--graphite);
  border-top: var(--border-thin);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  max-width: 28ch;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: var(--border-thin);
  transition: border-color 0.25s, background 0.25s;
}

.footer-social:hover {
  border-color: var(--cyan);
  background: rgba(0, 209, 255, 0.06);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
  color: var(--titanium);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--steel);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: var(--border-thin);
  font-size: 0.78rem;
  color: var(--steel);
}

/* ========== INNER PAGES ========== */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--gradient-sig);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero-lead {
  font-size: 1.1rem;
  max-width: 56ch;
}

.page-content {
  padding: 4rem 0 5rem;
  background: var(--graphite);
}

.page-content .container {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 0.95rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--steel);
}

.legal-content p,
.legal-content li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-content ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Security page cards */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
  max-width: none;
}

.security-card {
  padding: 1.75rem;
  background: var(--carbon);
  border: var(--border-thin);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.security-card h3 {
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: none;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--carbon);
  border: var(--border-thin);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(0, 209, 255, 0.4);
  background: linear-gradient(180deg, rgba(0, 209, 255, 0.06) 0%, var(--carbon) 40%);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-align: center;
  background: var(--gradient-glow);
  color: var(--graphite);
  font-family: var(--font-display);
  font-weight: 600;
}

.pricing-card.featured {
  padding-top: 3rem;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--titanium);
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--steel);
}

.pricing-desc {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(122, 125, 133, 0.1);
  padding-left: 1rem;
  position: relative;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  background: var(--cyan);
}

/* Page form sections */
.page-form-section {
  padding: 5rem 0 6rem;
  background: var(--carbon);
  position: relative;
}

.page-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.page-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.page-form-visual {
  padding: 2rem;
}

.page-form-visual h2 {
  margin-bottom: 1rem;
}

.page-form-box {
  padding: 2.5rem;
  background: var(--graphite);
  border: var(--border-thin);
  clip-path: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

/* Support FAQ */
.faq-list {
  max-width: none;
  margin: 2rem 0 3rem;
}

.faq-item {
  border-bottom: var(--border-thin);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--titanium);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--cyan);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-visual {
    margin-inline: auto;
    width: min(100%, 400px);
  }

  .hero-inner,
  .about-split,
  .contact-wrap,
  .platform-diagonal,
  .page-form-inner {
    grid-template-columns: 1fr;
  }

  .platform-dark {
    clip-path: none;
  }

  .platform-light {
    margin-left: 0;
    padding: 3rem;
  }

  .industries-layout {
    grid-template-columns: 1fr;
  }

  .industry-feature {
    grid-row: auto;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-card:nth-child(1),
  .insight-card:nth-child(3) {
    transform: none;
  }

  .insight-card:nth-child(4) {
    grid-column: auto;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 7, 7, 0.98);
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: var(--border-thin);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s var(--ease-out), opacity 0.35s;
    pointer-events: none;
  }

  .nav-main.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-visual {
    display: none;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    flex-direction: column;
    gap: 1rem;
  }

  .about-left,
  .about-right {
    padding: 2rem;
  }
}
