:root {
    --background: #050e1a;
    --background-soft: #081523;
    --surface: #0b1b2b;
    --surface-light: #10263a;
    --surface-bright: #173449;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(87, 226, 205, 0.25);
    --text: #f5f8fb;
    --muted: #a9b8c7;
    --muted-bright: #c8d3dc;
    --accent: #43d8c4;
    --accent-bright: #79eddd;
    --accent-dark: #27aa99;
    --maximum-width: 1200px;
    --header-height: 82px;
    --shadow:
        0 28px 70px rgba(0, 0, 0, 0.28);
}

.partners-page-hero {
  padding: 150px 0 90px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 13, 26, 0.98),
      rgba(7, 24, 43, 0.88)
    ),
    url("../images/brand/endeavos-background.jpg") center / cover no-repeat;
}

.partners-page-hero .container {
  max-width: 900px;
}

.partners-page-hero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.partners-page-hero p {
  max-width: 750px;
  margin: 0 0 30px;
  color: #b6c5d8;
  font-size: 1.15rem;
  line-height: 1.75;
}


/* =========================================================
   Strategic Partners and Validation Network
   ========================================================= */

.partners-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(34, 211, 238, 0.1),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(59, 130, 246, 0.1),
      transparent 34%
    ),
    #07111f;
}

.partners-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.partners-section .container {
  position: relative;
  z-index: 1;
}

.partners-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partners-heading h2 {
  margin-bottom: 18px;
  color: #ffffff;
}

.partners-heading p {
  margin: 0 auto;
  color: #b6c5d8;
  font-size: 1.05rem;
  line-height: 1.75;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.partner-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
  background: rgba(13, 27, 46, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 232, 249, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 28px 20px;
  background: #ffffff;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 115px;
  max-height: 100px;
  object-fit: contain;
}

.partner-card-content {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.partner-role {
  margin-bottom: 11px;
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card h3 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.partner-card p {
  margin: 0 0 24px;
  color: #b6c5d8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: #67e8f9;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.partner-link span {
  transition: transform 180ms ease;
}

.partner-link:hover span {
  transform: translateX(4px);
}

.partner-link:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.55);
  outline-offset: 5px;
  border-radius: 4px;
}

.partners-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 32px;
  padding: 34px 38px;
  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.12),
      rgba(59, 130, 246, 0.08)
    );
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 22px;
}

.partners-summary > div {
  max-width: 720px;
}

.partners-summary h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.3rem;
}

.partners-summary p {
  margin: 0;
  color: #b6c5d8;
  line-height: 1.7;
}

.partners-summary .button {
  flex-shrink: 0;
}

.partners-disclaimer {
  max-width: 920px;
  margin: 28px auto 0;
  color: #8292a8;
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

/* Tablet */
@media (max-width: 1000px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 290px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .partners-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-logo-wrapper {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .partner-logo {
    max-width: 150px;
    max-height: 85px;
  }

  .partner-card-content {
    padding: 25px;
  }

  .partners-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 25px;
  }

  .partners-summary .button {
    width: 100%;
    text-align: center;
  }
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.container {
    width: min(90%, var(--maximum-width));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--background);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid transparent;
    background: rgba(5, 14, 26, 0.76);
    backdrop-filter: blur(18px);
    transition:
        background 180ms ease,
        border-color 180ms ease;
}

.site-header.scrolled {
    border-color: var(--border);
    background: rgba(5, 14, 26, 0.95);
}

.header-container {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            rgba(67, 216, 196, 0.18),
            rgba(67, 216, 196, 0.03)
        );
    box-shadow:
        inset 0 0 20px rgba(67, 216, 196, 0.08);
}

.brand-mark span {
    display: block;
    width: 4px;
    border-radius: 5px;
    background: var(--accent);
}

.brand-mark span:nth-child(1) {
    height: 10px;
}

.brand-mark span:nth-child(2) {
    height: 18px;
}

.brand-mark span:nth-child(3) {
    height: 25px;
}

.brand-name {
    color: var(--text);
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

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

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    color: var(--muted-bright);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 150ms ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--accent);
}

.main-navigation .nav-cta {
    padding: 10px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--accent-bright);
}

.main-navigation .nav-cta:hover {
    background: rgba(67, 216, 196, 0.09);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.hero {
    position: relative;
    display: grid;
    min-height: 94vh;
    padding-top: var(--header-height);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(67, 216, 196, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 15%,
            rgba(45, 123, 255, 0.12),
            transparent 26%
        ),
        linear-gradient(135deg, #050e1a 0%, #061320 50%, #081b27 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 18%,
            black 76%,
            transparent
        );
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    align-items: center;
    gap: 70px;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-content {
    max-width: 720px;
}

.eyebrow,
.section-label {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: clamp(3.1rem, 6.4vw, 6.4rem);
    font-weight: 820;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.hero-description {
    max-width: 680px;
    margin: 0 0 36px;
    color: var(--muted-bright);
    font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

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

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #031312;
    box-shadow:
        0 16px 34px rgba(67, 216, 196, 0.18);
}

.button-primary:hover {
    background: var(--accent-bright);
}

.button-secondary {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
}

.button-secondary:hover {
    background: rgba(67, 216, 196, 0.08);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 38px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points span::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    content: "";
    box-shadow: 0 0 10px rgba(67, 216, 196, 0.8);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.platform-diagram {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 470px;
    height: 470px;
    transform: translate(-50%, -50%);
}

.diagram-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(67, 216, 196, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 285px;
    height: 285px;
}

.orbit-two {
    width: 450px;
    height: 450px;
    border-style: dashed;
    animation: orbit-rotation 40s linear infinite;
}

.platform-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 190px;
    height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(67, 216, 196, 0.34);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 40% 35%,
            rgba(67, 216, 196, 0.3),
            rgba(11, 27, 43, 0.92) 65%
        );
    box-shadow:
        0 0 75px rgba(67, 216, 196, 0.18),
        inset 0 0 45px rgba(67, 216, 196, 0.08);
    transform: translate(-50%, -50%);
}

.core-label {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.platform-core strong {
    margin-top: 6px;
    font-size: 1.5rem;
}

.platform-core small {
    margin-top: 3px;
    color: var(--muted);
}

.diagram-node {
    position: absolute;
    display: flex;
    min-width: 155px;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(11, 27, 43, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.diagram-node strong,
.diagram-node small {
    display: block;
}

.diagram-node strong {
    font-size: 0.84rem;
}

.diagram-node small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
}

.node-icon {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 7px;
    background: rgba(67, 216, 196, 0.11);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 800;
}

.node-one {
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}

.node-two {
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

.node-three {
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.node-four {
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
}

.signal {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 0 16px rgba(67, 216, 196, 1);
}

.signal-one {
    top: 91px;
    left: 140px;
    animation: signal-pulse 2.2s ease-in-out infinite;
}

.signal-two {
    right: 95px;
    bottom: 125px;
    animation: signal-pulse 2.7s ease-in-out infinite 0.4s;
}

.signal-three {
    bottom: 96px;
    left: 98px;
    animation: signal-pulse 2.4s ease-in-out infinite 0.8s;
}

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--background-soft);
}

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

.trust-grid > div {
    padding: 28px 24px;
    border-right: 1px solid var(--border);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 0.9rem;
}

.trust-grid span {
    color: var(--muted);
    font-size: 0.75rem;
}

.section {
    padding: 110px 0;
}

.problem-section {
    background:
        linear-gradient(
            180deg,
            var(--background),
            var(--background-soft)
        );
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 100px;
}

.section h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.section-copy {
    padding-top: 35px;
}

.section-copy p {
    margin-top: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.section-copy .highlight-copy {
    margin-top: 28px;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
    color: var(--text);
    font-weight: 680;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading p:not(.section-label) {
    max-width: 680px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.02rem;
}

.platform-section {
    background: var(--background-soft);
}

.platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 35px;
}

.platform-stack {
    display: grid;
    gap: 13px;
}

.stack-layer {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.stack-layer.active-layer {
    border-color: var(--border-strong);
    background:
        linear-gradient(
            135deg,
            rgba(67, 216, 196, 0.11),
            rgba(255, 255, 255, 0.02)
        );
}

.layer-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
}

.stack-layer h3,
.platform-summary h3 {
    margin: 0 0 8px;
}

.stack-layer h3 {
    font-size: 1.08rem;
}

.stack-layer p,
.platform-summary p {
    margin: 0;
    color: var(--muted);
}

.platform-summary {
    align-self: start;
    padding: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at top right,
            rgba(67, 216, 196, 0.15),
            transparent 45%
        ),
        var(--surface);
    box-shadow: var(--shadow);
}

.summary-label {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.platform-summary h3 {
    font-size: 1.7rem;
    line-height: 1.2;
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-bright);
    font-size: 0.9rem;
}

.check-list li::before {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(67, 216, 196, 0.13);
    color: var(--accent);
    content: "✓";
    font-size: 0.72rem;
    font-weight: 900;
}

.capabilities-section {
    background: var(--background);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.capability-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.026),
            rgba(255, 255, 255, 0.008)
        );
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        background 180ms ease;
}

.capability-card:hover {
    border-color: var(--border-strong);
    background:
        linear-gradient(
            145deg,
            rgba(67, 216, 196, 0.08),
            rgba(255, 255, 255, 0.01)
        );
    transform: translateY(-5px);
}

.card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 38px;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: rgba(67, 216, 196, 0.08);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 850;
}

.capability-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.capability-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.benefits-section {
    background: var(--surface);
}

.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 100px;
}

.benefit-list {
    border-top: 1px solid var(--border);
}

.benefit-list article {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.benefit-list article > span {
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 800;
}

.benefit-list h3 {
    margin: 0 0 7px;
    font-size: 1.08rem;
}

.benefit-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.industries-section {
    background: var(--background-soft);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.industry-card {
    min-height: 250px;
    padding: 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.industry-number {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
}

.industry-card h3 {
    margin: 55px 0 12px;
    font-size: 1.25rem;
}

.industry-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.roadmap-section {
    background: var(--background);
}

.roadmap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.roadmap::before {
    position: absolute;
    top: 20px;
    right: 12%;
    left: 12%;
    height: 1px;
    background: var(--border);
    content: "";
}

.roadmap-step {
    position: relative;
    z-index: 1;
}

.roadmap-marker {
    width: 41px;
    height: 41px;
    margin-bottom: 26px;
    border: 7px solid var(--background);
    border-radius: 50%;
    background: #425364;
    box-shadow:
        0 0 0 1px var(--border);
}

.roadmap-step.completed .roadmap-marker,
.roadmap-step.active .roadmap-marker {
    background: var(--accent);
    box-shadow:
        0 0 0 1px var(--accent),
        0 0 24px rgba(67, 216, 196, 0.25);
}

.roadmap-step.active .roadmap-marker {
    animation: roadmap-pulse 2s ease-in-out infinite;
}

.roadmap-content {
    padding-right: 12px;
}

.roadmap-content span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.roadmap-content h3 {
    margin: 12px 0;
    font-size: 1.1rem;
}

.roadmap-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.about-section {
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(67, 216, 196, 0.1),
            transparent 28%
        ),
        var(--surface);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 100px;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.experience-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.experience-card:first-child {
    grid-row: span 2;
    min-height: 376px;
    border-color: var(--border-strong);
    background:
        linear-gradient(
            155deg,
            rgba(67, 216, 196, 0.14),
            rgba(255, 255, 255, 0.015)
        );
}

.experience-number {
    color: var(--accent);
    font-size: 3.2rem;
    font-weight: 830;
    letter-spacing: -0.06em;
    line-height: 1;
}

.experience-label {
    max-width: 170px;
    margin-top: 12px;
    color: var(--muted-bright);
    font-size: 0.84rem;
}

.about-content p:not(.section-label) {
    color: var(--muted);
    font-size: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.contact-section {
    background: var(--background);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 70px;
    padding: 62px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at top right,
            rgba(67, 216, 196, 0.2),
            transparent 38%
        ),
        var(--surface);
    box-shadow: var(--shadow);
}

.contact-card h2 {
    max-width: 780px;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.contact-card p:not(.section-label) {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
}

.contact-actions {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-email {
    color: var(--muted-bright);
    font-size: 0.88rem;
    text-decoration: none;
}

.contact-email:hover {
    color: var(--accent);
}

.site-footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
    background: #030a12;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-layout > div:first-child > p {
    max-width: 330px;
    color: var(--muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 70px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    margin-bottom: 7px;
    font-size: 0.82rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 65px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: #738597;
    font-size: 0.75rem;
}

.footer-bottom p {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

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

@keyframes orbit-rotation {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes signal-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@keyframes roadmap-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px var(--accent),
            0 0 20px rgba(67, 216, 196, 0.2);
    }

    50% {
        box-shadow:
            0 0 0 1px var(--accent),
            0 0 32px rgba(67, 216, 196, 0.46);
    }
}

@media (max-width: 1050px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .platform-layout,
    .benefits-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .platform-summary {
        max-width: 700px;
    }

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

    .roadmap {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 24px;
    }

    .roadmap::before {
        display: none;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .menu-button {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: flex;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--border);
        background: rgba(5, 14, 26, 0.98);
        opacity: 0;
        transition:
            max-height 220ms ease,
            opacity 180ms ease;
    }

    .main-navigation.open {
        max-height: 520px;
        padding: 15px 5%;
        opacity: 1;
    }

    .main-navigation a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .main-navigation a:last-child {
        border-bottom: 0;
    }

    .main-navigation .nav-cta {
        margin: 12px 0;
        text-align: center;
    }

    .menu-button.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .trust-grid > div:nth-child(2) {
        border-right: 0;
    }

    .trust-grid > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-copy {
        padding-top: 0;
    }
}

@media (max-width: 650px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(92%, var(--maximum-width));
    }

    .section {
        padding: 80px 0;
    }

    .hero-layout {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

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

    .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
        gap: 10px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .platform-diagram {
        width: 330px;
        height: 330px;
    }

    .orbit-one {
        width: 200px;
        height: 200px;
    }

    .orbit-two {
        width: 320px;
        height: 320px;
    }

    .platform-core {
        width: 140px;
        height: 140px;
    }

    .platform-core strong {
        font-size: 1.13rem;
    }

    .diagram-node {
        min-width: 122px;
        padding: 10px;
    }

    .diagram-node small {
        display: none;
    }

    .node-one {
        top: 5px;
    }

    .node-two {
        right: -15px;
    }

    .node-three {
        bottom: 5px;
    }

    .node-four {
        left: -15px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .capability-grid,
    .industry-grid,
    .roadmap {
        grid-template-columns: 1fr;
    }

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

    .industry-grid {
        border-left: 0;
    }

    .industry-card {
        min-height: auto;
        border-left: 1px solid var(--border);
    }

    .industry-card h3 {
        margin-top: 35px;
    }

    .about-visual {
        grid-template-columns: 1fr;
    }

    .experience-card:first-child {
        grid-row: auto;
        min-height: 220px;
    }

    .contact-card {
        padding: 35px 24px;
    }

    .footer-layout,
    .footer-bottom {
        flex-direction: column;
    }

    .footer-links {
        gap: 35px;
    }

    .footer-bottom {
        margin-top: 45px;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
    gap: 80px;
    align-items: start;
}

.contact-introduction {
    position: sticky;
    top: 130px;
}

.contact-introduction h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.contact-introduction > p:not(.section-label) {
    max-width: 580px;
    color: var(--muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
}

.contact-details a {
    color: var(--accent);
    font-weight: 750;
    text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus {
    text-decoration: underline;
}

.contact-details span {
    color: var(--muted);
    font-size: 0.82rem;
}

.contact-form {
    padding: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at top right,
            rgba(67, 216, 196, 0.11),
            transparent 36%
        ),
        var(--surface);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 8px;
    color: var(--muted-bright);
    font-size: 0.82rem;
    font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: rgba(4, 14, 24, 0.78);
    color: var(--text);
    font: inherit;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.form-field input,
.form-field select {
    min-height: 50px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 160px;
    padding: 14px 15px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    background: rgba(6, 21, 34, 0.95);
    box-shadow: 0 0 0 3px rgba(67, 216, 196, 0.12);
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
    border-color: #ff8e8e;
}

.field-error {
    min-height: 18px;
    margin-top: 5px;
    color: #ffaaaa;
    font-size: 0.72rem;
}

.field-helper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#message-counter {
    flex: 0 0 auto;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.72rem;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.79rem;
    cursor: pointer;
}

.consent-field input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: var(--accent);
}

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

.form-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
}

.submit-button {
    min-width: 155px;
    border: 0;
    cursor: pointer;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.form-status {
    margin: 0;
    color: var(--muted-bright);
    font-size: 0.82rem;
}

.form-status.success {
    color: var(--accent-bright);
}

.form-status.error {
    color: #ffaaaa;
}

@media (max-width: 950px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-introduction {
        position: static;
    }
}

@media (max-width: 650px) {
    .contact-form {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-status {
        text-align: center;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
   EndeavOS Router Showcase
   ========================================================= */

.router-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 48%,
      rgba(25, 211, 218, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, #07111f 0%, #091728 100%);
}

.router-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 18%,
    black 82%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 18%,
    black 82%,
    transparent
  );
}

.router-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.router-showcase-content h2 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(2.3rem, 4.7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.router-showcase-intro {
  max-width: 650px;
  margin: 0 0 38px;
  color: #b6c5d8;
  font-size: 1.08rem;
  line-height: 1.75;
}

.router-feature-list {
  display: grid;
  gap: 22px;
}

.router-feature {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}

.router-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.25);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.router-feature h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.04rem;
}

.router-feature p {
  margin: 0;
  color: #97a9bf;
  font-size: 0.94rem;
  line-height: 1.65;
}

.router-showcase-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.router-visual-column {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 600px;
}

.router-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 470px;
  height: 470px;
  transform: translate(-50%, -50%);
  background: rgba(34, 211, 238, 0.12);
  border-radius: 50%;
  filter: blur(70px);
}

.router-product-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 118%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 35px 38px rgba(0, 0, 0, 0.36));
  transform: translateX(3%);
}

.router-status-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(390px, 88%);
  margin-top: -30px;
  padding: 16px 20px;
  background: rgba(8, 23, 39, 0.9);
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.router-status-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: #67e8f9;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.1);
}

.router-status-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.router-status-card strong {
  color: #ffffff;
  font-size: 0.94rem;
}

.router-status-card span {
  color: #91a5ba;
  font-size: 0.79rem;
}

.router-image-caption {
  position: relative;
  z-index: 3;
  max-width: 490px;
  margin: 17px auto 0;
  color: #74879d;
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

/* Tablet */
@media (max-width: 1050px) {
  .router-showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .router-visual-column {
    min-height: auto;
  }

  .router-product-image {
    width: 100%;
    max-width: 700px;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .router-showcase-content h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .router-showcase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .router-showcase-actions .button {
    width: 100%;
    text-align: center;
  }

  .router-product-image {
    width: 115%;
    max-width: none;
    margin-left: -7.5%;
  }

  .router-status-card {
    width: 100%;
    margin-top: -10px;
  }
}
/* LinkedIn footer link */

.footer-social {
  display: flex;
  align-items: center;
  margin-top: 26px;
}

.footer-social-label {
  color: #8292a8;
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-social .social-link {
  width: fit-content;
  margin: 0;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #dbe8f5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.social-link:hover {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.07);
  border-color: rgba(103, 232, 249, 0.35);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.5);
  outline-offset: 4px;
}
.contact-social-card {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding: 17px 19px;
  background: rgba(103, 232, 249, 0.055);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 14px;
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.08);
  border-radius: 12px;
}

.contact-social-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-social-card span {
  color: #8292a8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-social-card a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-social-card a:hover {
  color: #67e8f9;
}

/* =========================================================
   Compact footer correction
   ========================================================= */

.site-footer {
    padding: 56px 0 24px;
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 70px;
}

.footer-brand-column {
    max-width: 390px;
}

.footer-brand-column > p {
    max-width: 330px;
    margin: 0;
    color: var(--muted);
}

.footer-social {
    margin-top: 22px;
}

.footer-links {
    gap: 56px;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
}

@media (max-width: 650px) {
    .site-footer {
        padding: 46px 0 22px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-links {
        gap: 30px;
    }

    .footer-bottom {
        margin-top: 34px;
    }
}
