:root {
  --primary: #1a1a1a;
  --accent: #2c3e50;
  --white: #fdfcf0; /* Bone white */
  --grey: #8a8a8e;
  --border: rgba(26, 26, 26, 0.15);
  --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--white);
  color: var(--primary);
  font-family: "Inter", -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HEADER: MASSIVE SLAB */
.arch-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  transition: var(--transition);
}
.header-blueprint {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: 50px;
}

.nav-arch a {
  text-decoration: none;
  color: var(--grey);
  margin-left: 35px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}
.nav-arch a:hover {
  color: var(--primary);
}
.nav-cta {
  border: 2px solid var(--primary);
  padding: 12px 25px;
  color: var(--primary) !important;
}

/* HERO: MONOLITHIC SLAB */
.hero-monolith {
  padding: 220px 0 120px;
  min-height: 95vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}
.staircase-title {
  font-size: clamp(45px, 7vw, 110px);
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.staircase-title span {
  color: var(--grey);
  opacity: 0.4;
}
.arch-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.hero-text-block p {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--accent);
  max-width: 600px;
}
.hero-btns {
  display: flex;
  gap: 25px;
  margin-top: 50px;
}

.hero-visual-slab {
  height: 700px;
  background: #eee;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary);
}
.hero-visual-slab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

/* COMMON BUTTONS */
.btn-arch {
  background: var(--primary);
  color: white;
  padding: 22px 45px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--primary);
}
.btn-arch:hover {
  background: transparent;
  color: var(--primary);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 22px 45px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

/* S1: PANEL MODULE */
.section-panel {
  padding: 180px 0;
  border-top: 1px solid var(--border);
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}
.img-frame {
  padding: 40px;
  border: 1px solid var(--primary);
  position: relative;
  background: white;
}
.img-frame img {
  width: 100%;
  filter: grayscale(1);
}
.module-title {
  font-size: 55px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 40px;
}
.panel-desc p {
  font-size: 19px;
  margin-bottom: 25px;
  color: var(--accent);
}

/* S2: VERTICAL DIVIDERS */
.section-dividers {
  padding: 180px 0;
  background: #f9f9f9;
}
.dividers-header {
  margin-bottom: 80px;
}
.dividers-header h2 {
  font-size: 40px;
  font-weight: 900;
}
.dividers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--primary);
}
.divider-item {
  padding: 80px 50px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.divider-item:last-child {
  border-right: none;
}
.divider-item:hover {
  background: white;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.06);
  transform: translateY(-15px);
  z-index: 2;
}
.divider-num {
  font-size: 100px;
  font-weight: 900;
  opacity: 0.04;
  display: block;
  margin-bottom: -40px;
}
.divider-item h3 {
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 25px;
}

/* S3: 2-MINUTE MODULE (REWORKED) */
.section-module-2min {
  padding: 180px 0;
  border-top: 1px solid var(--primary);
}
.module-blueprint-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.blueprint-sidebar {
  position: sticky;
  top: 150px;
}
.bp-tag {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--grey);
  margin-bottom: 20px;
}
.massive-text {
  font-size: 140px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -5px;
}
.massive-text span {
  font-size: 40px;
  letter-spacing: 2px;
  opacity: 0.5;
}
.bp-line-decor {
  width: 100%;
  height: 10px;
  background: var(--primary);
  margin-top: 30px;
}

.blueprint-content h3 {
  font-size: 45px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 40px;
}
.blueprint-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--accent);
}
.bp-features {
  margin-top: 50px;
  border-left: 5px solid var(--primary);
  padding-left: 30px;
}
.bp-feat-item {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

/* S4: ARCADE (COLUMNS) */
.section-columns-deep {
  padding: 180px 0;
  background: var(--primary);
  color: white;
}
.center-title {
  text-align: center;
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 100px;
}
.arcade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.arcade-column {
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}
.arcade-top {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.arcade-body {
  padding: 50px;
}
.arcade-column:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.02);
  transform: scale(1.02);
}

/* S5: SCHEMATIC V2 */
.section-schematic-v2 {
  padding: 180px 0;
}
.schem-v2-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.arch-svg-large {
  color: var(--primary);
  opacity: 0.15;
  width: 100%;
}
.schem-v2-text h2 {
  font-size: 55px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.schem-v2-text p {
  font-size: 19px;
  color: var(--accent);
  margin-bottom: 25px;
}

/* FAQ RIGID */
.section-faq-rigid {
  padding: 180px 0;
  border-top: 1px solid var(--border);
}
.faq-rigid-header {
  margin-bottom: 80px;
}
.faq-rigid-header h2 {
  font-size: 35px;
  font-weight: 900;
}
.horizontal-rule {
  width: 100px;
  height: 10px;
  background: var(--primary);
  margin-top: 20px;
}
.faq-rigid-container {
  border-top: 2px solid var(--primary);
}
.faq-rigid-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-rigid-trigger {
  padding: 45px 0;
  display: grid;
  grid-template-columns: 0.4fr 1.6fr 0.1fr;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.trigger-label {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--grey);
}
.trigger-text {
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
}
.faq-rigid-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding-left: 20%;
}
.faq-rigid-content p {
  padding-bottom: 45px;
  font-size: 19px;
  color: var(--grey);
  max-width: 800px;
}
.faq-rigid-item.active .faq-rigid-content {
  max-height: 500px;
}

/* FORM FINAL */
.section-form-final {
  padding: 180px 0;
  background: #f1f1f1;
}
.form-monolith-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  background: white;
  padding: 100px;
  border: 2px solid var(--primary);
}
.form-monolith-side h2 {
  font-size: 50px;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 30px;
}
.monolith-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.m-field input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--primary);
  padding: 20px 0;
  font-size: 12px;
  outline: none;
  background: transparent;
  font-weight: 700;
}
.m-field input:focus {
  border-bottom-width: 5px;
}
.captcha-m {
  display: flex;
  align-items: center;
  gap: 30px;
}
.captcha-m label {
  font-weight: 900;
  font-size: 20px;
}
.captcha-m input {
  width: 120px;
}
.m-check {
  font-size: 12px;
  color: var(--grey);
  font-weight: 700;
}
.m-submit {
  background: var(--primary);
  color: white;
  padding: 25px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.m-submit:hover {
  letter-spacing: 10px;
  background: var(--accent);
}

/* FOOTER BLUEPRINT */
.arch-footer {
  background: var(--primary);
  color: white;
  padding: 120px 0 40px;
}
.footer-blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 100px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.f-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 30px;
}
.f-nav-legal a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
}
.f-nav-legal a:hover {
  color: white;
}
.footer-sub {
  padding-top: 40px;
  font-size: 11px;
  opacity: 0.4;
  text-align: center;
}

/* BURGER */
.burger-arch {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 10px;
}
.burger-arch span {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}
.panel-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  color: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transform: translateX(100%);
  transition: var(--transition);
}
.panel-menu.active {
  transform: translateX(0);
}
.menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 80px;
  cursor: pointer;
}
.mobile-nav a {
  display: block;
  font-size: 25px;
  font-weight: 900;
  color: white;
  text-decoration: none;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.menu-header {
  display: flex;
  justify-content: right;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-arch {
    display: none;
  }
  .burger-arch {
    display: flex;
  }
  .panel-grid,
  .dividers-grid,
  .module-blueprint-layout,
  .arcade-grid,
  .schem-v2-layout,
  .form-monolith-layout,
  .footer-blueprint-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero-visual-slab {
    height: 400px;
    order: -1;
  }
  .staircase-title {
    font-size: 45px;
  }
  .massive-text {
    font-size: 100px;
  }
  .faq-rigid-trigger {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trigger-label {
    display: none;
  }
  .form-monolith-layout {
    padding: 40px 20px;
  }
  .footer-blueprint-grid {
    gap: 50px;
  }
  .hero-btns {
    flex-direction: column;
  }
  div h2,
  div h3 {
    font-size: 25px !important;
    display: flex;
    white-space: normal;
    flex-wrap: wrap;
  }
  .blueprint-sidebar {
    display: none;
  }
  .divider-item {
    padding: 30px;
  }
}

.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;
  }
}

/* COOKIE POPUP */
.cookie-popup {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 3000;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
}
.cookie-popup.cookie-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 26px 28px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  max-width: 900px;
  width: calc(100% - 40px);
}
.cookie-modal h3 {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  min-width: 120px;
}
.cookie-modal p {
  margin: 0;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.4;
}
.cookie-modal .btn-arch {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Responsive cookie popup */
@media (max-width: 600px) {
  .cookie-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: center;
  }
  .cookie-modal {
    width: 100%;
    padding: 18px;
    border-radius: 10px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .cookie-modal h3 {
    font-size: 13px;
    min-width: auto;
  }
  .cookie-modal p {
    font-size: 14px;
  }
  .cookie-modal .btn-arch {
    width: 100%;
    padding: 14px;
  }
}
