/* Variables: Berlin Cyber-Industrial */
:root {
  --bg: #0b0d17; /* Very dark blue/black */
  --bg-card: #15192b;
  --text: #e0e6ed;
  --text-muted: #94a3b8;
  --cyan: #00f0ff; /* Neon Cyan */
  --cyan-dim: rgba(0, 240, 255, 0.1);
  --border: #2d3748;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1200px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.cyan-glitch {
  color: var(--cyan);
  text-shadow: 2px 2px 0px rgba(255, 0, 255, 0.5);
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Buttons */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: #000;
  padding: 15px 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-head);
  border: 1px solid var(--cyan);
  cursor: pointer;
  transition: var(--transition);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.btn-cyan:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.btn-border {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-border:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}
.btn-link:hover {
  color: var(--cyan);
  gap: 15px;
}

.link-cyan {
  color: var(--cyan);
  font-weight: 600;
}
.lnk-simple {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}
.lnk-simple:hover {
  color: #fff;
}

.full {
  width: 100%;
}
.sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 13, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.h-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.d-links {
  display: flex;
  gap: 30px;
}

.d-links a {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.d-links a:hover,
.d-links a.active {
  color: var(--cyan);
}

.h-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
}

/* Mobile Menu */
.cyb-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  padding: 30px;
  transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cyb-menu.active {
  transform: translateX(0);
}

.cyb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.glitch-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--cyan);
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.cyb-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.cyb-nav a {
  font-family: var(--font-head);
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
}

.cyb-foot {
  margin-top: auto;
}

/* HERO */
.hero-cyber {
  padding-top: 140px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sys-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  color: var(--cyan);
  font-size: 12px;
  border: 1px solid var(--cyan-dim);
  padding: 4px 10px;
  margin-bottom: 24px;
}

.blink-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.lead-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  border-left: 2px solid var(--cyan);
  padding-left: 20px;
}

.hero-btns {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-note {
  font-size: 12px;
  opacity: 0.6;
}

/* Hero Right - Cyber Card */
.cyber-card {
  background: rgba(21, 25, 43, 0.8);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.05);
}

.cc-head {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.r {
  background: #ff5f56;
}
.y {
  background: #ffbd2e;
}
.g {
  background: #27c93f;
}

.cc-body {
  font-family: monospace;
  color: #fff;
  position: relative;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  animation: scan 3s linear infinite;
  opacity: 0.5;
}

@keyframes scan {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

.data-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.success {
  color: #27c93f;
}
.wait {
  color: #ffbd2e;
  animation: blink 1s infinite;
}

.tech-graphic {
  margin-top: 30px;
  height: 150px;
  position: relative;
  border: 1px dashed var(--border);
}

.node {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}
.n1 {
  top: 20%;
  left: 20%;
}
.n2 {
  top: 50%;
  right: 30%;
}
.n3 {
  bottom: 20%;
  left: 40%;
}
.link {
  position: absolute;
  background: var(--border);
  height: 1px;
  transform-origin: left center;
}
.l1 {
  top: 20%;
  left: 20%;
  width: 150px;
  transform: rotate(25deg);
}
.l2 {
  bottom: 20%;
  left: 40%;
  width: 100px;
  transform: rotate(-45deg);
}

/* Concept */
.bg-dark {
  background: #080a11;
}
.dec-line {
  width: 50px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid transparent;
  transition: 0.3s;
}

.feature-box:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.02);
}

.fb-icon {
  color: var(--cyan);
  margin-bottom: 20px;
}

/* Modules */
.flex-btwn {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mod-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  padding: 30px;
  border-left: 3px solid var(--border);
  transition: 0.3s;
}

.mod-card:hover {
  border-left-color: var(--cyan);
  transform: translateX(10px);
}

.mc-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--border);
}

.mc-info h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.mc-info p {
  margin: 0;
  font-size: 14px;
}
.mc-info {
  flex: 1;
}

.mc-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.mc-btn:hover {
  background: var(--cyan);
  color: #000;
}

/* System */
.bg-grid {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--bg);
}

.split-sc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-list {
  margin-top: 30px;
  font-family: monospace;
}
.tech-list li {
  margin-bottom: 10px;
  color: var(--cyan);
}

.interface-mock {
  background: var(--bg);
  border: 1px solid var(--cyan);
  padding: 20px;
  position: relative;
  box-shadow: 10px 10px 0 var(--border);
}

.im-bar {
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}

.im-chart {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 100px;
}

.bar {
  flex: 1;
  background: var(--border);
}
.bar.active {
  background: var(--cyan);
}
.im-stat {
  text-align: right;
  font-family: monospace;
  margin-top: 10px;
  font-size: 12px;
}

/* Quiz Banner */
.quiz-banner {
  background: var(--cyan);
  color: #000;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.qb-decor {
  font-size: 200px;
  font-weight: 800;
  position: absolute;
  left: -20px;
  bottom: -60px;
  opacity: 0.1;
  font-family: var(--font-head);
}

.qb-content {
  flex: 1;
  position: relative;
  z-index: 2;
}
.qb-content h3 {
  color: #000;
}
.qb-content p {
  color: #333;
}
.qb-meta span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.qb-act .btn-cyan {
  background: #000;
  color: var(--cyan);
  border-color: #000;
}
.qb-act .btn-cyan:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat-cell {
  text-align: center;
}
.st-val {
  display: block;
  font-size: 40px;
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
}
.st-lbl {
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ig-img img {
  border: 1px solid var(--border);
  opacity: 0.8;
}

/* FAQ */
.bg-darker {
  background: #05060a;
}
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.faq-head {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.faq-body p {
  padding: 0 20px 20px;
  color: var(--text-muted);
}

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contacts-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cb-item {
  display: flex;
  gap: 15px;
  color: var(--cyan);
}
.cb-item span,
.cb-item a {
  color: #fff;
}

.cyber-form {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid var(--border);
}

.inp-field {
  margin-bottom: 20px;
  position: relative;
}
.inp-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.inp-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px;
  color: #fff;
  font-family: monospace;
}
.inp-field input:focus {
  outline: none;
  border-color: var(--cyan);
}

.chk-field {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--text-muted);
}
.chk-field a {
  color: var(--cyan);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #000;
  padding: 80px 0 20px;
  border-top: 1px solid var(--border);
}

.f-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.f-logo {
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.f-contact {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.f-contact a {
  display: block;
  color: var(--cyan);
  margin-top: 5px;
}

.f-item h5 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.5;
}
.f-item a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 14px;
}
.f-item a:hover {
  color: var(--cyan);
}

.f-copy {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: #555;
}

/* Cookie */
.cookie-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 1px solid var(--cyan);
  padding: 15px;
  z-index: 5000;
  display: none;
}
.cb-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}
.cb-inner p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .d-links,
  .h-right > a {
    display: none;
  }
  .burger {
    display: block;
    margin-left: auto;
  }
  .hero-grid,
  .grid-3,
  .split-sc,
  .stats-row,
  .info-grid,
  .form-wrap,
  .f-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hg-right {
    display: none;
  } /* Hide visual on mobile to save space */
  .modules-list {
    gap: 20px;
  }
  .mod-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mc-btn {
    margin-left: auto;
  }
  .quiz-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}
.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  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 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
