/* DESIGN SYSTEM: Industrial Cyber */
:root {
  --bg: #0a0a0a;
  --bg-sec: #111111;
  --text: #e0e0e0;
  --lime: #ccff00;
  --lime-dim: #99bf00;
  --gray: #333333;
  --border: 1px solid #333;

  --font-head: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --pad-container: 20px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: 0.5s;
}
img:hover {
  filter: grayscale(0%);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -2px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 10px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  color: var(--lime);
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

p {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 20px;
  max-width: 650px;
}
.lime-text {
  color: var(--lime);
}
.highlight {
  color: var(--lime);
  font-size: 1.2rem;
  text-align: center;
  border: 1px dashed var(--lime);
  padding: 20px;
  display: inline-block;
}

/* LAYOUT UTILS */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--pad-container);
}
.section {
  padding: 100px 0;
  border-bottom: var(--border);
}
.bg-darker {
  background: #050505;
}
.bg-grid {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-lime {
  background: var(--lime);
  color: #000;
}
.bg-lime h2,
.bg-lime p,
.bg-lime .lead {
  color: #000;
}
.bg-lime i {
  color: #000;
}

.center {
  text-align: center;
}
.mt-50 {
  margin-top: 50px;
}
.small-cont {
  max-width: 800px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 1px;
}
.btn-solid {
  background: var(--lime);
  color: #000;
}
.btn-solid:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--lime);
  color: var(--lime);
}
.btn-outline:hover {
  background: var(--lime);
  color: #000;
}

.btn-link {
  color: #fff;
  text-decoration: underline;
  background: transparent;
  padding: 18px 20px;
}
.btn-link:hover {
  color: var(--lime);
}

.btn-black {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.btn-black:hover {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

.btn-small {
  padding: 5px 15px;
  font-size: 0.7rem;
  background: var(--lime);
  color: #000;
  font-weight: 700;
}
.full {
  width: 100%;
  text-align: center;
}

/* HEADER */
.sys-bar {
  background: var(--gray);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  padding: 5px 0;
}
.sys-flex {
  display: flex;
  justify-content: space-between;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: var(--border);
  padding: 15px 0;
}
.head-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-ico {
  width: 50px;
  height: 50px;
}
.logo-txt {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
}

.desk-nav {
  display: flex;
  gap: 30px;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #888;
}
.nav-link:hover,
.nav-link.active {
  color: var(--lime);
}

.head-act {
  display: flex;
  gap: 20px;
  align-items: center;
}

.burger {
  display: none;
  background: none;
  border: 1px solid #fff;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.line {
  width: 20px;
  height: 2px;
  background: #fff;
}

/* HERO */
.hero {
  padding: 100px 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.tag-status {
  color: var(--lime);
  font-family: var(--font-mono);
  margin-bottom: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--lime);
  display: inline-block;
  padding: 5px 10px;
}
.hero-btns {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.tech-frame {
  position: relative;
  border: 1px solid var(--gray);
  padding: 20px;
}
.float-panel {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #000;
  border: 1px solid var(--lime);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  box-shadow: 10px 10px 0 rgba(204, 255, 0, 0.2);
}

/* MARQUEE */
.run-line {
  background: var(--lime);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1deg);
  margin: 50px 0;
}
.track {
  animation: scroll 20s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* MATRIX */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}
.deco-line {
  height: 1px;
  background: var(--gray);
  flex-grow: 1;
  margin-left: 30px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border);
}
.m-col {
  padding: 60px;
}
.m-col.info {
  border-right: var(--border);
}
.m-col ul {
  margin-top: 30px;
  font-family: var(--font-mono);
  color: #fff;
}
.m-col li {
  margin-bottom: 15px;
}

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stat-item {
  text-align: center;
  border: 1px solid var(--gray);
  padding: 40px 20px;
  background: #0a0a0a;
  transition: 0.3s;
}
.stat-item:hover {
  border-color: var(--lime);
  transform: translateY(-10px);
}
.stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.stat-lbl {
  display: block;
  font-family: var(--font-mono);
  color: var(--lime);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* PROCESS */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  border-bottom: 1px solid #222;
  padding-bottom: 30px;
}
.step-idx {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: #333;
  font-weight: 700;
}
.step-card:hover .step-idx {
  color: var(--lime);
}
.step-content p {
  max-width: 100%;
}

/* TERMINAL TEST */
.terminal-box {
  background: #000;
  border: 1px solid #444;
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-mono);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
.term-head {
  background: #222;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.r {
  background: #ff5f56;
}
.y {
  background: #ffbd2e;
}
.g {
  background: #27c93f;
}
.term-title {
  color: #aaa;
  font-size: 0.8rem;
  margin-left: 10px;
}

.term-body {
  padding: 40px;
  min-height: 300px;
}
.q-screen {
  display: none;
  animation: fadeIn 0.3s;
}
.q-screen.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sys-msg {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.8rem;
}
.q-text {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.q-opts button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid #444;
  color: var(--lime);
  padding: 15px;
  margin-bottom: 10px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
}
.q-opts button:hover {
  background: rgba(204, 255, 0, 0.1);
  border-color: var(--lime);
}

/* ADVANTAGES GRID */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.adv-card {
  background: #111;
  padding: 30px 20px;
  border: 1px solid #222;
  text-align: center;
  transition: 0.3s;
}
.adv-card:hover {
  border-color: #fff;
}
.adv-card i {
  color: var(--lime);
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

/* FAQ */
.accordion {
  border-top: 1px solid #333;
}
.acc-item {
  border-bottom: 1px solid #333;
}
.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #fff;
  padding: 25px 0;
  border: none;
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.acc-btn::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--lime);
}
.acc-btn.active::after {
  content: "-";
}
.acc-content {
  display: none;
  padding-bottom: 25px;
  color: #aaa;
}
.acc-content p {
  margin: 0;
}

/* CONTACT FORM */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-txt .lead {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}
.contacts-block {
  margin-top: 40px;
}
.contacts-block p {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #000;
  font-weight: 700;
  font-family: var(--font-mono);
}

.tech-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.inp-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}
.inp-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #000;
  background: transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  color: #000;
}
.inp-group input:focus {
  outline: none;
  background: #fff;
}
.chk-group {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #333;
  display: flex;
  gap: 10px;
}
.chk-group a {
  text-decoration: underline;
  color: #000;
}

/* FOOTER */
.footer {
  border-top: var(--border);
  padding: 80px 0 20px;
  margin-top: 0;
  background: #050505;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer h5 {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.footer a,
.footer p {
  display: block;
  color: #666;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.footer a:hover {
  color: #fff;
}
.foot-copy {
  text-align: center;
  color: #444;
  border-top: 1px solid #222;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* MOBILE MENU */
.mob-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--lime);
  z-index: 200;
  transform: translateX(-100%);
  transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 40px;
}
.mob-overlay.active {
  transform: translateX(0);
}
.mob-close {
  align-self: flex-end;
  background: none;
  border: 2px solid #000;
  font-weight: 700;
  padding: 5px 15px;
  cursor: pointer;
}
.mob-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.mob-links a {
  font-size: 2rem;
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
  display: inline-block;
  width: fit-content;
}
.mob-info {
  margin-top: auto;
  font-family: var(--font-mono);
  color: #000;
  font-weight: 700;
}

/* COOKIE */
.cookie-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: #000;
  padding: 20px;
  border: 4px solid var(--lime);
  display: none;
  align-items: center;
  gap: 20px;
  z-index: 500;
  max-width: 400px;
}
.c-txt {
  display: flex;
  gap: 10px;
  align-items: center;
}
.c-txt p {
  color: #000;
  margin: 0;
}
.c-txt i {
  color: #000;
}

/* ADAPTIVE */
@media (max-width: 992px) {
  .desk-nav,
  .head-act .btn {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .tech-frame img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }

  .matrix-grid,
  .stats-row,
  .adv-grid,
  .contact-wrap,
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .m-col {
    padding: 30px;
    border-right: none;
    border-bottom: var(--border);
  }

  h1 {
    font-size: 3rem;
  }
  .step-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    text-align: left;
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .margin {
    font-size: 28px;
  }
}
