/* NEXANET Company page */
.company-page--nexa {
  --bg: #050507;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --accent: #bbf100;
  --surface: rgba(13, 15, 20, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

.company-page--nexa::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -150px;
  height: 210px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, #050507 0%, rgba(5, 5, 7, 0.95) 34%, rgba(9, 13, 10, 0.65) 72%, rgba(5, 5, 7, 0) 100%),
    radial-gradient(55% 100% at 70% 100%, rgba(187, 241, 0, 0.13), rgba(187, 241, 0, 0) 75%);
}

.company-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.company-eyebrow { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); opacity: 0.9; }
.company-section { padding: 88px 0; }
.company-section__head { max-width: 760px; margin-bottom: 28px; }
.company-section__title { margin: 10px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -0.02em; }

.nexanet-section-bg-grid {
  position: relative;
  background: linear-gradient(180deg, #060608 0%, #0c0c10 50%, #08080a 100%);
  overflow: hidden;
}

.nexanet-section-bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(187, 241, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 241, 0, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.nexanet-section-bg-grid > * {
  position: relative;
  z-index: 1;
}

.nexanet-section-bg-solid {
  background: linear-gradient(180deg, #08090c 0%, #0c0e14 50%, #08090c 100%);
}

.company-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.company-reveal.is-visible { opacity: 1; transform: translateY(0); }

.company-hero {
  position: relative;
  min-height: min(82vh, 860px);
  display: flex;
  align-items: center;
  padding: 94px 0 46px;
  background:
    linear-gradient(180deg, rgba(4, 5, 7, 0.55) 0%, rgba(5, 6, 8, 0.96) 24%, #050507 100%),
    linear-gradient(130deg, #060709 0%, #07090b 42%, #050507 100%);
}

.company-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(187, 241, 0, 0.028) 0,
      rgba(187, 241, 0, 0.028) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(187, 241, 0, 0.024) 0,
      rgba(187, 241, 0, 0.024) 1px,
      transparent 1px,
      transparent 44px
    );
  opacity: 0.62;
  animation: company-grid-drift 22s linear infinite, company-grid-pulse 6s ease-in-out infinite;
}

.company-hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.35;
  z-index: 1;
  animation: company-grid-drift-reverse 34s linear infinite;
}

.company-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px); gap: 42px; align-items: center; }
.company-hero__title { margin: 16px 0 14px; font-size: clamp(38px, 6vw, 74px); line-height: 0.98; letter-spacing: -0.035em; }
.company-hero__title span { color: var(--accent); text-shadow: 0 0 28px rgba(187, 241, 0, 0.32); }
.company-hero__text { margin: 0; max-width: 620px; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.65; color: var(--text-muted); }
.company-hero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.company-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.company-btn:hover { transform: translateY(-2px); }
.company-btn--accent { color: #090a0b; background: var(--accent); box-shadow: 0 0 28px rgba(187, 241, 0, 0.34); }
.company-btn--ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); }

.company-hero__visual { position: relative; height: 420px; transition: transform 0.2s linear; }
.company-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(187, 241, 0, 0.35); animation: company-spin 14s linear infinite; }
.company-orbit--a { inset: 36px; }
.company-orbit--b { inset: 0; opacity: 0.6; animation-direction: reverse; animation-duration: 18s; }

.company-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(88%, 320px); text-align: center;
  border-radius: 20px; padding: 28px 18px;
  background: linear-gradient(150deg, rgba(18, 20, 28, 0.92), rgba(9, 10, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 36px rgba(187, 241, 0, 0.18), inset 0 0 30px rgba(187, 241, 0, 0.06);
}
.company-core__label { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.company-core__value { display: block; margin-top: 6px; font-size: clamp(48px, 6vw, 68px); line-height: 1; color: var(--accent); font-weight: 800; text-shadow: 0 0 24px rgba(187, 241, 0, 0.3); }
.company-core__text { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }

.company-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.company-stat { border-radius: 18px; padding: 20px 18px; background: linear-gradient(150deg, rgba(20, 23, 30, 0.95), rgba(10, 12, 16, 0.95)); border: 1px solid var(--line); }
.company-stat__value { display: inline-block; font-size: clamp(38px, 4.5vw, 62px); line-height: 1; font-weight: 800; color: var(--accent); }
.company-stat__suffix { display: inline-block; margin-left: 4px; font-weight: 700; color: rgba(187, 241, 0, 0.84); }
.company-stat__text { margin: 10px 0 0; color: var(--text-muted); line-height: 1.5; font-size: 14px; }

.company-dc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.company-dc__scheme { position: relative; min-height: 320px; border-radius: 22px; border: 1px solid var(--line); background: rgba(8, 10, 13, 0.82); overflow: hidden; }
.company-dc__line { position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(187, 241, 0, 0.7), transparent); animation: company-pulse-line 2.2s ease-in-out infinite; }
.company-dc__node {
  position: absolute; width: 160px; min-height: 90px; border-radius: 14px; padding: 12px;
  background: rgba(15, 18, 24, 0.95); border: 1px solid rgba(187, 241, 0, 0.35);
  box-shadow: 0 0 24px rgba(187, 241, 0, 0.14); animation: company-float 4s ease-in-out infinite;
}
.company-dc__node span { display: block; font-size: 14px; font-weight: 700; }
.company-dc__node small { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.66); line-height: 1.4; }
.company-dc__node--edge { left: 9%; top: 22%; }
.company-dc__node--core { left: 50%; top: 52%; transform: translate(-50%, -50%); animation-delay: 0.5s; }
.company-dc__node--cloud { right: 9%; top: 24%; animation-delay: 1s; }

.company-dc__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.company-dc__text ul { margin: 16px 0 0; padding-left: 18px; color: var(--text-muted); line-height: 1.8; }

.company-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.company-trust__card {
  padding: 22px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(15, 17, 22, 0.95), rgba(8, 10, 14, 0.95));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.company-trust__card:hover { transform: translateY(-4px); border-color: rgba(187, 241, 0, 0.44); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34); }
.company-trust__card h3 { margin: 0 0 8px; font-size: 21px; }
.company-trust__card p { margin: 0; color: var(--text-muted); line-height: 1.6; }

.company-cta { border-radius: 22px; padding: 42px; border: 1px solid rgba(187, 241, 0, 0.34); background: radial-gradient(120% 140% at 0% 0%, rgba(187, 241, 0, 0.12), rgba(6, 8, 10, 0.95)); }
.company-cta h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.company-cta p { margin: 0 0 20px; max-width: 760px; font-size: 17px; color: var(--text-muted); line-height: 1.7; }

@keyframes company-spin { to { transform: rotate(360deg); } }
@keyframes company-pulse-line { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes company-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes company-grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 44px, 44px 0; }
}
@keyframes company-grid-drift-reverse {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 -38px, -38px 0; }
}
@keyframes company-grid-pulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.72; }
}

@media (max-width: 1100px) {
  .company-stats, .company-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-dc { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .company-hero__inner { grid-template-columns: 1fr; }
  .company-hero__visual { height: 320px; max-width: 420px; margin: 0 auto; width: 100%; }
  .company-section { padding: 70px 0; }
  .company-hero { padding-top: 82px; }
}

@media (max-width: 640px) {
  .company-stats, .company-trust { grid-template-columns: 1fr; }
  .company-section__title { font-size: clamp(26px, 9vw, 38px); }
  .company-cta { padding: 26px 18px; }
  .company-hero__actions { flex-direction: column; align-items: stretch; }
}
