:root {
  --bg-dark: #0a0a0a;
  --bg-panel: #141414;
  --text-main: #e0e0e0;
  --text-mute: #888888;
  --accent: #00ffff;
  --border: #333333;
  --grid-line: rgba(255, 255, 255, 0.03);

  --font-main: "Arial", sans-serif;
  --font-display: "Courier New", monospace;

  --pad-container: 20px;
  --max-width: 1400px;
}

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

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

/* GLOBAL GRID OVERLAY */
.arch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
}
.v-line {
  width: 1px;
  height: 100%;
  background: var(--grid-line);
}

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

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
p {
  margin-bottom: 20px;
  color: var(--text-mute);
  font-size: 1rem;
  max-width: 700px;
}

/* HEADER - MONOLITH */
.monolith-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 100px;
  height: 80px;
  align-items: center;
}
.logo-area {
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
  padding-left: var(--pad-container);
}
.logo-link {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo-shape {
  width: 15px;
  height: 15px;
  background: var(--accent);
}

.nav-area {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-item {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-mute);
}
.nav-item:hover {
  color: var(--accent);
}

.cta-area {
  height: 100%;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}
.menu-trigger span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.menu-trigger:hover span {
  background: var(--accent);
}

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 200;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.8, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.fullscreen-menu.active {
  transform: translateY(0);
}
.fs-head {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad-container);
  border-bottom: 1px solid var(--border);
}
.fs-title {
  font-family: var(--font-display);
  color: var(--accent);
}
.fs-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.fs-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: 20px;
}
.fs-grid a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  transition: 0.3s;
}
.fs-grid a:hover {
  color: var(--accent);
  -webkit-text-stroke: 1px var(--accent);
}
.fs-foot {
  height: 60px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--text-mute);
}

/* HERO - WIREFRAME GRID */
.hero-wireframe {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.hero-col-left {
  padding: 80px var(--pad-container);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.hero-meta {
  font-family: var(--font-display);
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
}
.hero-title {
  font-size: 4.5rem;
  letter-spacing: -2px;
  line-height: 0.9;
  margin-bottom: 40px;
}
.h-stroke {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.hero-col-right {
  padding: 80px var(--pad-container);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.01) 0,
    rgba(255, 255, 255, 0.01) 1px,
    transparent 1px,
    transparent 10px
  );
}
.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn-architect {
  background: #fff;
  color: #000;
  padding: 20px 40px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-architect:hover {
  background: var(--accent);
}
.btn-minimal {
  background: transparent;
  color: #fff;
  padding: 20px 40px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #fff;
  cursor: pointer;
  transition: 0.3s;
}
.btn-minimal:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-3d-decor {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 200px;
  height: 200px;
  perspective: 1000px;
  pointer-events: none;
}
.cube-frame {
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  transform: rotateX(60deg) rotateZ(45deg);
  animation: rotateBox 20s infinite linear;
}
@keyframes rotateBox {
  0% {
    transform: rotateX(60deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(60deg) rotateZ(360deg);
  }
}

/* SECTION 1: PANEL */
.section-panel {
  border-bottom: 1px solid var(--border);
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.panel-img {
  position: relative;
  height: 600px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 255, 0.1);
  mix-blend-mode: overlay;
}

.panel-content {
  padding: 80px var(--pad-container);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sect-title {
  font-size: 3rem;
  margin-bottom: 30px;
}
.lead-text {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
}

/* SECTION 2: DIVIDERS */
.section-dividers {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.div-col {
  padding: 60px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.div-col:last-child {
  border-right: none;
}
.div-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 20px;
}
.div-col h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* SECTION 3: FRAGMENTS */
.section-fragments {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.frag-head {
  text-align: center;
  margin-bottom: 60px;
}
.frag-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 20px;
  padding: 0 var(--pad-container);
}
.frag-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
}
.frag-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}
.f-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.f-tall {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}
.f-wide {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.f-small {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.icon-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--accent);
}

/* SECTION 4: MAIN MODULE */
.section-main-mod {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.main-mod-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 1px solid var(--accent);
  padding: 60px;
  text-align: center;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}
.mm-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.inverted {
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid #fff;
  margin-top: 30px;
}
.inverted:hover {
  background: #fff;
  color: #000;
}

/* SECTION 5: TECH SCHEME */
.section-tech-scheme {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.scheme-draw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
}
.node {
  width: 80px;
  height: 80px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-panel);
  color: var(--accent);
  z-index: 2;
}
.connector {
  height: 1px;
  flex-grow: 1;
  background: var(--border);
  position: relative;
}
.connector::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 10px;
  height: 6px;
  background: var(--accent);
  animation: flow 2s infinite linear;
}
@keyframes flow {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

.scheme-desc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 0 var(--pad-container);
}
.sd-item h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* SECTION 6: BIG TYPO */
.section-big-type {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.bt-row {
  font-family: var(--font-display);
  font-size: 8vw;
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}
.bt-caption {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  color: var(--accent);
}

/* SECTION 7: COLUMNS (BALANCE) */
.section-columns {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.col-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.col-item {
  padding: 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.col-item:last-child {
  border-right: none;
}
.col-head {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.col-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

/* FAQ */
.section-faq {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.faq-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 0 var(--pad-container);
}
.faq-title h2 {
  font-size: 3rem;
  position: sticky;
  top: 100px;
}
.acc-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}
.acc-btn::after {
  content: "+";
  color: var(--accent);
}
.acc-btn.active::after {
  content: "-";
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-content p {
  margin-top: 10px;
}

/* FORM */
.section-form {
  padding: 100px 0;
}
.form-container {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 60px;
  background: var(--bg-panel);
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.eng-form {
  display: grid;
  gap: 20px;
}
.inp-row label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.inp-row input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 15px;
  color: #fff;
  font-family: var(--font-display);
}
.inp-row input:focus {
  outline: none;
  border-color: var(--accent);
}
.chk-row {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-mute);
}
.btn-submit {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
}
.btn-submit:hover {
  opacity: 0.9;
}

/* FOOTER */
.arch-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 20px;
}
.foot-struct {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 0 var(--pad-container);
  margin-bottom: 60px;
}
.f-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.f-col h4 {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.f-col a,
.f-col p {
  display: block;
  color: var(--text-mute);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.f-col a:hover {
  color: #fff;
}
.foot-btm {
  text-align: center;
  font-size: 0.7rem;
  color: #444;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* COOKIE */
.cookie-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--accent);
  padding: 20px;
  width: 300px;
  display: none;
  z-index: 500;
}
.cb-content p {
  margin-bottom: 15px;
  font-size: 0.8rem;
}
#acceptCookie {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 15px;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-display);
}
#acceptCookie:hover {
  background: var(--accent);
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-area {
    display: none;
  }
  .hero-container,
  .panel-grid,
  .frag-container,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .section-dividers,
  .col-wrap {
    grid-template-columns: 1fr;
  }
  .btn-architect {
    padding: 15px 30px;
  }

  .scheme-desc {
    grid-template-columns: 1fr;
  }

  .hero-col-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-title {
    font-size: 3rem;
  }
  .frag-item {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 200px;
  }
  .foot-struct {
    grid-template-columns: 1fr;
  }
}

.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 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
