/* DESIGN SYSTEM: Blueprint / Engineering */
:root {
  --bg: #0f172a; /* Slate 900 */
  --card-bg: #1e293b; /* Slate 800 */
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --cyan: #0ea5e9; /* Electric Blue */
  --border: #334155;

  --font-mono: "Fira Mono", monospace;
  --font-body: "Inter", sans-serif;

  --container: 1200px;
  --pad: 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-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* GRID BACKGROUND */
.bg-grid-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(51, 65, 85, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 65, 85, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* UTILS */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.center {
  text-align: center;
}

/* BUTTONS */
.btn-cyan {
  display: inline-block;
  padding: 15px 30px;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}
.btn-cyan:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.btn-outline {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--cyan);
  color: var(--bg);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
.btn-submit:hover {
  background: #fff;
}

.btn-cyan-sm {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--cyan);
  color: var(--bg);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
}
.btn-outline-sm {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
}
.btn-outline-sm:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* HEADER */
.sys-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(5px);
}
.h-wrapper {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  gap: 15px;
  align-items: center;
}
.logo-icon {
  width: 40px;
  height: 40px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  line-height: 1;
}
.lt-main {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}
.lt-sub {
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

.sys-nav {
  display: flex;
  gap: 5px;
}
.sys-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 8px 12px;
  transition: 0.3s;
}
.sys-nav a:hover,
.sys-nav a.active {
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.1);
}

.h-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.b-line {
  width: 25px;
  height: 2px;
  background: var(--cyan);
}

/* MOBILE MENU */
.mob-terminal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  border-left: 2px solid var(--cyan);
  z-index: 200;
  transform: translateX(100%);
  transition: 0.4s ease;
  padding: 30px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}
.mob-terminal.active {
  transform: translateX(0);
}
.mt-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  color: var(--cyan);
  font-weight: 700;
}
#closeMob {
  background: none;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 5px 10px;
  cursor: pointer;
}
.mt-links a {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}
.mt-links a:hover {
  color: var(--cyan);
  padding-left: 10px;
}
.mt-stat {
  margin-top: auto;
  border: 1px solid var(--border);
  padding: 15px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* HERO */
.hero-sys {
  padding-top: 150px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 5px 15px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 30px;
  background: rgba(14, 165, 233, 0.1);
}
.glow-text {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}
.sys-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 500px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}
.hero-spec {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* VISUAL: BLUEPRINT CARD */
.blueprint-card {
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.5);
  padding: 5px;
}
.bp-header {
  background: var(--card-bg);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.bp-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  margin-left: 5px;
}
.bp-body {
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.scheme-node {
  width: 80px;
  height: 80px;
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.05);
  z-index: 2;
}
.scheme-line {
  height: 2px;
  background: var(--border);
  flex-grow: 1;
  margin: 0 10px;
  position: relative;
}
.scheme-anim {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  transform: translateY(-50%);
  animation: dataFlow 3s infinite linear;
  box-shadow: 0 0 10px var(--cyan);
}
@keyframes dataFlow {
  0% {
    left: 15%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 85%;
    opacity: 0;
  }
}

/* TICKER */
.data-ticker {
  background: var(--cyan);
  color: var(--bg);
  padding: 10px 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-weight: 700;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.dt-track {
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}
.dt-track span {
  margin: 0 20px;
}
.dt-sep {
  opacity: 0.5;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* BLOG */
.sec-head {
  margin-bottom: 50px;
}
.sec-head h2 {
  color: var(--cyan);
  border-left: 4px solid var(--cyan);
  padding-left: 15px;
}
.sec-head p {
  margin-top: 15px;
  color: var(--text-dim);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tech-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.tech-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
}
.tc-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.tech-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  min-height: 60px;
}
.tech-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}
.tc-link {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.9rem;
}

/* METHOD */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lead {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 20px;
}
.method-txt p {
  color: var(--text-dim);
  margin-bottom: 30px;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cl-item {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: var(--font-mono);
  color: var(--text);
}
.cl-item i {
  color: var(--cyan);
}

.term-window {
  background: #000;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 5px;
  font-family: var(--font-mono);
  min-height: 300px;
}
.tw-head {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.r {
  background: #ff5f56;
}
.y {
  background: #ffbd2e;
}
.g {
  background: #27c93f;
}
.tw-title {
  color: #888;
  font-size: 0.8rem;
  margin-left: 10px;
}
.tw-body p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.prm {
  color: var(--cyan);
}
.res {
  color: #aaa;
  margin-left: 20px;
}
.blink {
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* STACK */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.stack-item {
  border: 1px solid var(--border);
  padding: 15px 30px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  transition: 0.3s;
}
.stack-item:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.05);
}

/* PRICING */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: flex-start;
}
.price-col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: 0.3s;
}
.price-col:hover {
  transform: translateY(-5px);
}
.price-col.active {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}
.pc-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--cyan);
  color: var(--bg);
  padding: 5px 15px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}
.price {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 20px;
}
.pc-list {
  text-align: left;
  margin-bottom: 30px;
  list-style: square;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.pc-list li {
  margin-bottom: 10px;
}

/* CONTACT */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 40px;
}
.contact-info {
  background: var(--bg);
  padding: 60px;
  border-right: 1px solid var(--border);
}
.ci-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 50px;
}
.ci-item {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}
.ci-item .lbl {
  color: var(--cyan);
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.contact-form-box {
  background: var(--card-bg);
  padding: 60px;
}
.cf-header {
  margin-bottom: 30px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-row input {
  width: 100%;
  padding: 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-row input:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-check {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  align-items: start;
}
.form-check a {
  color: var(--cyan);
  text-decoration: underline;
}

/* FOOTER */
.sys-footer {
  background: #0b1120;
  border-top: 1px solid var(--border);
  padding: 80px 0 20px;
  margin-top: 100px;
}
.f-top {
  margin-bottom: 50px;
}
.f-brand {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.f-sub {
  color: var(--text-dim);
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.f-col h5 {
  font-family: var(--font-mono);
  color: var(--cyan);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.f-col a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: 0.2s;
}
.f-col a:hover {
  color: var(--text);
  padding-left: 5px;
}
.f-addr p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.f-btm {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--border);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* COOKIE */
.cookie-term {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: var(--bg);
  border: 2px solid var(--cyan);
  padding: 0;
  z-index: 500;
  display: none; /* JS will show it */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.ct-head {
  background: var(--cyan);
  color: var(--bg);
  padding: 10px 15px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ct-body {
  padding: 20px;
  color: var(--text);
  font-size: 0.9rem;
}
.ct-act {
  padding: 0 20px 20px;
  text-align: right;
}
#acceptBtn {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 5px 15px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: 0.2s;
}
#acceptBtn:hover {
  background: var(--cyan);
  color: var(--bg);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .sys-nav,
  .h-controls .btn-cyan {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-txt {
    text-align: center;
  }
  .hero-p {
    margin: 0 auto 40px;
    border-left: none;
    padding-left: 0;
  }
  .hero-actions {
    justify-content: center;
  }

  .layout-split {
    grid-template-columns: 1fr;
  }
  .method-vis {
    order: -1;
  }

  .blog-grid,
  .pricing-table,
  .contact-wrapper,
  .f-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 15px;
  }
  .contact-form-box {
    padding: 15px;
  }
  .bp-body {
    flex-direction: column;
    height: auto;
    gap: 30px;
    padding: 20px 0;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  .sec-head h2 {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-term {
    width: 90%;
    left: 5%;
    bottom: 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 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
