:root {
  --bg: #0b0c10;
  --bg-alt: #0f1015;
  --text: #c5c6c7;
  --white: #ffffff;
  --accent: #66fcf1;
  --secondary: #45a29e;
  --slate: #1f2833;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

div h2 {
  margin-bottom: 32px;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
}
.mono-label {
  font-family: monospace;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 1.5rem;
}
.title-stretched {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  letter-spacing: -3px;
}
.title-narrow {
  font-size: 2.8rem;
  letter-spacing: 12px;
  font-weight: 900;
}
.title-step {
  font-size: 3.2rem;
  letter-spacing: -1px;
}
.section-label {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: block;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.header__slab {
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate);
  padding: 20px 0;
  transition: 0.4s;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.logo span {
  color: var(--accent);
}

.logo img {
  width: 50px;
  height: 50px;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 40px;
}
.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}
.nav__link:hover {
  color: var(--accent);
}
.header__vertical-guide {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  width: 1px;
  background: rgba(102, 252, 241, 0.08);
  pointer-events: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 7px;
}
.burger span {
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* Menu Panel */
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  transform: translateY(-100%);
  transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-panel.active {
  transform: translateY(0);
}
.menu-panel__close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}
.menu-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.menu-panel__link {
  font-size: 2.2rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  transition: 0.3s;
}

/* Hero */
.hero-slice {
  min-height: 100vh;
  padding: 200px 0 120px;
  position: relative;
}
.hero-slice__pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./image/3d-futuristic-background-with-particle-design.jpg");
  background-size: cover;
  opacity: 0.6;
}
.slice-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 5;
}
.hero-lead {
  font-size: 1.5rem;
  max-width: 900px;
  color: var(--white);
  font-weight: 300;
}
.hero-sub {
  max-width: 700px;
  color: var(--text);
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Buttons */
.btn-arch {
  padding: 18px 45px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}
.btn-arch:hover {
  background: var(--white);
  transform: translateY(-3px);
}
.btn-outline {
  padding: 18px 45px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}

/* Section Styles */
.section-panel {
  padding: 120px 0;
}
.panel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.panel-block--visual img {
  width: 100%;
  border: 1px solid var(--slate);
  padding: 10px;
  background: var(--bg-alt);
}
.section-num {
  font-size: 6rem;
  font-weight: 900;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 20px;
}

.section-dividers {
  padding: 120px 0;
  background: var(--bg-alt);
}
.divider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.divider-col {
  position: relative;
}
.guide-v {
  position: absolute;
  left: -25px;
  top: 0;
  height: 100%;
  width: 1px;
  background: var(--accent);
  opacity: 0.3;
}

.section-fragments {
  padding: 100px 0;
}
.fragments-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.fragment {
  padding: 50px;
  background: var(--slate);
  border: 1px solid rgba(102, 252, 241, 0.2);
}
.fragment h4 {
  margin-bottom: 15px;
}

.section-columns {
  padding: 120px 0;
  background: var(--bg-alt);
}
.columns-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.columns-layout img {
  width: 100%;
  margin-top: 30px;
  border: 1px solid var(--slate);
}

.module-box {
  background: var(--white);
  color: var(--bg);
  padding: 80px;
}
.module-box h2 {
  color: var(--bg);
  font-size: 3.5rem;
  margin-bottom: 30px;
}
.module-box p {
  color: #333;
  font-weight: 500;
  font-size: 1.2rem;
}

.section-schematics {
  padding: 120px 0;
}
.schematics-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
}
.scheme-node {
  text-align: center;
}
.scheme-node i {
  color: var(--accent);
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}
.section-faq {
  margin: 50px 0 100px;
}
.scheme-line {
  height: 1px;
  background: var(--slate);
  flex-grow: 1;
  margin: 0 40px;
  position: relative;
}
.scheme-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: rotate(45deg);
}

.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 120px 0;
}
.balance-item--massive h2 {
  font-size: 5rem;
  text-transform: uppercase;
}

.captcha-input {
  width: 100%;
}

.isometry-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.shape-cube {
  width: 200px;
  height: 200px;
  background: var(--slate);
  border: 2px solid var(--accent);
  transform: rotateX(45deg) rotateZ(45deg);
}

.section-typography {
  padding: 200px 0;
  position: relative;
}
.typo-overlay {
  position: absolute;
  top: 0;
  left: -100px;
  font-size: 18rem;
  font-weight: 900;
  color: var(--slate);
  opacity: 0.15;
  white-space: nowrap;
  pointer-events: none;
}
.typo-content h2 {
  font-size: 4.5rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}
.faq-btn {
  width: 100%;
  padding: 30px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
}
.faq-panel p {
  padding: 25px 0;
  font-size: 1.1rem;
}
.faq-item.active .faq-panel {
  max-height: 300px;
}
.faq-item.active .faq-btn i {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Form */
.form-slab {
  background: var(--slate);
  padding: 80px;
  border-left: 10px solid var(--accent);
}
.arch-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field label {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}
.form-field input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--slate);
  padding: 20px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}
.form-field input:focus {
  border-color: var(--accent);
  outline: none;
}
.captcha-row {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.form-check {
  display: flex;
  gap: 15px;
  align-items: center;
}
.form-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.9rem;
}
.btn-submit {
  padding: 25px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-weight: 900;
  letter-spacing: 5px;
  cursor: pointer;
  transition: 0.4s;
}
.btn-submit:hover {
  background: var(--white);
  box-shadow: 0 0 30px rgba(102, 252, 241, 0.4);
}

/* Footer */
.footer {
  padding: 100px 0 50px;
  background: #000;
  border-top: 1px solid var(--slate);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 100px;
  margin-bottom: 80px;
}
.footer-col h6 {
  color: var(--accent);
  margin-bottom: 30px;
  letter-spacing: 2px;
}
.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-col--links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 0.95rem;
  transition: 0.3s;
}
.footer-col--links a:hover {
  color: var(--white);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--slate);
  padding-top: 40px;
  text-align: center;
  color: var(--secondary);
  font-size: 0.8rem;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--white);
  color: var(--bg);
  padding: 35px;
  max-width: 450px;
  z-index: 5000;
  display: none;
  border-radius: 4px;
}
.btn-cookie {
  padding: 12px;
  background: var(--bg);
  color: var(--white);
  border: none;
  font-weight: 900;
  margin-top: 25px;
  cursor: pointer;
  width: 100%;
  letter-spacing: 2px;
}

@media (max-width: 1024px) {
  .nav__list {
    display: none;
  }
  .burger {
    display: flex;
  }
  .title-narrow {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
  .balance-item--massive h2 {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
  .typo-content h2 {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
  .panel-layout,
  .divider-grid,
  .fragments-wrap,
  .columns-layout,
  .schematics-grid,
  .balance-grid,
  .isometry-layout,
  .faq-layout,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .title-stretched,
  .title-step {
    font-size: 2.5rem;
  }
  .section-num {
    font-size: 4rem;
  }
  .module-box h2 {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
  .schematics-grid {
    flex-direction: column;
    gap: 20px;
  }
  .module-box {
    padding: 40px 20px;
  }
  .form-slab {
    padding: 40px 20px;
  }
  .hero-actions {
    flex-direction: column;
  }
}

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