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

:root {
  --ab-red: #cd2026;
  --ab-red-dark: #9b1a1f;
  --deep-bg: #0a0c12;
  --card-bg: #11161f;
  --border-dim: #232936;
  --text: #eef2ff;
  --muted: #cbd5e6;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.navbar {
  position: sticky;
  top: 0;
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(205, 32, 38, 0.3);
  padding: 1rem 2rem;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: #cd2026;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(205, 32, 38, 0.45);
  border-radius: 10px;
  background: #11161f;
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #eef2ff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #cd2026;
}

.nav-contact {
  background: #cd2026;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

section {
  padding: 5rem 2rem;
  border-bottom: 1px solid rgba(205, 32, 38, 0.15);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.08;
  background: linear-gradient(135deg, #fff 30%, #cd2026 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  border-left: 6px solid #cd2026;
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-graphic,
.migration-graphic,
.hmi-graphic,
.recovery-graphic {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid #cd2026;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #0a0c12;
}

.hero-graphic img,
.migration-graphic img,
.hmi-graphic img,
.recovery-graphic img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-disclaimer {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9aa3ae;
  margin-top: 0.75rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.brand-mention {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.brand-item {
  background: rgba(205, 32, 38, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  border: 1px solid rgba(205, 32, 38, 0.3);
}

.logix-logo {
  background: linear-gradient(135deg, #cd2026 0%, #8b0000 100%);
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  box-shadow: 0 15px 35px rgba(205, 32, 38, 0.3);
}

.logix-logo .logix-part,
.logix-logo .upgrade-part {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.logix-logo .logix-part {
  color: white;
}

.logix-logo .upgrade-part {
  background: linear-gradient(135deg, #fff, #ffcc00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.independent-badge {
  display: inline-block;
  background: #1e293b;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-dim);
  border-bottom: 4px solid #cd2026;
  transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-3px);
}

.ico {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  color: #cd2026;
}

.ico svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.5;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.flex-row > div {
  flex: 1;
  min-width: 260px;
}

.check {
  color: #cd2026;
  font-weight: 700;
  margin-right: 0.35rem;
}

.laptop-card {
  background: linear-gradient(145deg, #11161f, #0a0d14);
  border-radius: 1.5rem;
  border: 2px solid #cd2026;
  padding: 2rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.upgrade-arrow {
  font-size: 1.2rem;
  margin: 0.8rem 0;
  color: #cd2026;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stat-bar {
  background: #1a1f2b;
  border-radius: 2rem;
  margin: 1.2rem 0;
  overflow: hidden;
}

.stat-fill {
  background: linear-gradient(90deg, #cd2026, #e34d32);
  padding: 1rem 1.5rem;
  color: white;
  font-weight: bold;
}

.legal-barrier {
  background: rgba(205, 32, 38, 0.08);
  border-left: 10px solid #cd2026;
  padding: 3rem;
  border-radius: 2rem;
}

.legal-barrier h2 {
  border-left: none;
  padding-left: 0;
  color: #cd2026;
}

.disclaimer-box {
  background: #11161f;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  border: 1px solid #232936;
}

.cta-btn {
  background: #cd2026;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-weight: 800;
  text-decoration: none;
  color: white;
  display: inline-block;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #9b1a1f;
  transform: scale(1.02);
}

.insight-box {
  background: linear-gradient(135deg, #11161f, #0a0d14);
  padding: 2rem;
  border-radius: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  border: 1px solid #cd2026;
}

.pill {
  background: #cd2026;
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.3rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
}

footer {
  background: #07090e;
  text-align: center;
  padding: 4rem 2rem;
  border-top: 2px solid #cd2026;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.84);
  backdrop-filter: blur(8px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid rgba(205, 32, 38, 0.65);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(205, 32, 38, 0.06), transparent 34%),
    #0d1119;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.contact-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: 1px solid #384252;
  border-radius: 10px;
  background: #111824;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__header {
  padding-right: 3rem;
  margin-bottom: 1.5rem;
}

.contact-modal__eyebrow {
  display: block;
  color: #e54b50;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 0.45rem;
}

.contact-modal__header h2 {
  border: 0;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-modal__header p {
  color: #aab6c6;
  max-width: 620px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label > span,
.contact-form__label {
  color: #cfd8e6;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #303b4b;
  border-radius: 10px;
  background: #080c13;
  color: #eef2ff;
  padding: 0.75rem 0.85rem;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #cd2026;
  box-shadow: 0 0 0 3px rgba(205, 32, 38, 0.16);
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.contact-form__consent {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  gap: 0.7rem !important;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid #283241;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.contact-form__consent input {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: #cd2026;
}

.contact-form__consent span {
  font-size: 0.78rem !important;
  line-height: 1.45;
  font-weight: 500 !important;
}

.contact-form__verification {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1rem;
  align-items: end;
  margin-top: 1rem;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-top: 0.4rem;
  padding: 0.6rem 0.8rem;
  border: 1px dashed #cd2026;
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg, rgba(205, 32, 38, 0.07) 0 4px, transparent 4px 9px),
    #080c13;
}

.captcha-box strong {
  letter-spacing: 0.08em;
  color: #fff;
}

.captcha-box button {
  width: 32px;
  height: 32px;
  border: 1px solid #3d4859;
  border-radius: 8px;
  background: #131a25;
  color: #fff;
  cursor: pointer;
}

.contact-form__status {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.contact-form__status.is-error {
  display: block;
  color: #ffd0d2;
  border: 1px solid #9b3136;
  background: rgba(205, 32, 38, 0.13);
}

.contact-form__status.is-success {
  display: block;
  color: #c8ffe0;
  border: 1px solid #248351;
  background: rgba(34, 197, 94, 0.1);
}

.contact-form__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 1rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #cd2026, #94181d);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-form__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-form__note {
  margin-top: 0.65rem;
  color: #758194;
  text-align: center;
  font-size: 0.72rem;
}

.contact-form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.6rem 0 0.2rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: #11161f;
    border: 1px solid #232936;
  }

  .nav-links .nav-contact {
    text-align: center;
    border-color: #cd2026;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 1rem;
  }

  .navbar {
    padding: 0.8rem 1rem;
  }

  .legal-barrier {
    padding: 1.5rem;
  }

  .flex-row {
    gap: 1.5rem;
  }

  .contact-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .contact-modal__dialog {
    max-height: calc(100vh - 1rem);
    padding: 1.25rem;
    border-radius: 18px 18px 10px 10px;
  }

  .contact-form__grid,
  .contact-form__verification {
    grid-template-columns: 1fr;
  }

  .contact-form__wide {
    grid-column: auto;
  }
}
