/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #101018;
  --bg-tertiary: #16161f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --border: #1e1e2e;
  --border-hover: #2a2a3e;
  --text-primary: #e8e8ef;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent: #c8102e;
  --accent-dim: #8b0a1f;
  --accent-glow: rgba(200, 16, 46, 0.15);
  --accent-alt: #ff3350;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.nav__logo-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.nav__logo-text {
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav__cta:hover {
  background: var(--accent-alt) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 16, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: rgba(200, 16, 46, 0.05);
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.3);
}

.btn--outline {
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--text-secondary);
  background: var(--bg-tertiary);
}

.btn--full {
  width: 100%;
}

/* Hero Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.hero__stat {
  background: var(--bg-secondary);
  padding: 1.5rem 1rem;
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 7rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CAPABILITIES ===== */
.capabilities {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cap-card {
  background: var(--bg-card);
  padding: 2.2rem;
  transition: background 0.3s, transform 0.2s;
}

.cap-card:hover {
  background: var(--bg-card-hover);
}

.cap-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.cap-card__icon svg {
  width: 100%;
  height: 100%;
}

.cap-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.cap-card__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== ARCHITECTURE ===== */
.arch__visual {
  max-width: 700px;
  margin: 0 auto 4rem;
}

.arch__tier {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  text-align: center;
  background: var(--bg-card);
  position: relative;
}

.arch__tier--top {
  border-color: var(--accent-dim);
  box-shadow: 0 0 40px var(--accent-glow);
}

.arch__tier-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.arch__tier-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.arch__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0;
}

.arch__connector-line {
  width: 1px;
  height: 20px;
  background: var(--border-hover);
}

.arch__connector-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.25rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-primary);
}

.arch__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.arch__feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.arch__feature:hover {
  border-color: var(--border-hover);
}

.arch__feature-bullet {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  flex-shrink: 0;
}

.arch__feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.arch__feature p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* ===== SECTORS ===== */
.sectors {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sector-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.sector-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.sector-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.sector-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.sector-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sector-card__tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ===== WHY ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why__item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.why__item:hover {
  border-color: var(--border-hover);
}

.why__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.why__item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why__item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== NUMBERS ===== */
.numbers {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.numbers__item {
  background: var(--bg-card);
  padding: 3rem 1.5rem;
  text-align: center;
}

.numbers__value {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.numbers__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== CONTACT ===== */
.contact {
  padding: 7rem 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__text .section__tag {
  display: block;
  margin-bottom: 1rem;
}

.contact__text .section__title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact__text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form__input {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--accent-dim);
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

select.form__input {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355556a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--bg-primary);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__tagline {
  margin-left: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__legal {
  text-align: right;
}

.footer__legal p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__classification {
  font-family: var(--font-mono);
  font-size: 0.65rem !important;
  letter-spacing: 0.1em;
  color: var(--accent) !important;
  margin-top: 0.3rem;
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  text-align: center;
}

.page-loader__icon {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.page-loader__text {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.page-loader__bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.page-loader__progress {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loaderProgress 1.2s ease-out forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes loaderProgress {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* Page load stagger */
body.loading .nav,
body.loading .hero__content,
body.loading .hero__scroll-indicator {
  opacity: 0;
}

body .nav {
  animation: staggerUp 0.7s ease-out 1.3s both;
}

body .hero__badge {
  animation: staggerUp 0.6s ease-out 1.5s both;
}

body .hero__title {
  animation: staggerUp 0.6s ease-out 1.65s both;
}

body .hero__subtitle {
  animation: staggerUp 0.6s ease-out 1.8s both;
}

body .hero__actions {
  animation: staggerUp 0.6s ease-out 1.95s both;
}

body .hero__stats {
  animation: staggerUp 0.6s ease-out 2.1s both;
}

body .hero__scroll-indicator {
  animation: staggerUp 0.6s ease-out 2.3s both;
}

@keyframes staggerUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO CANVAS ===== */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__grid-bg {
  z-index: 1;
}

.hero__content {
  z-index: 2;
}

.hero__scroll-indicator {
  z-index: 2;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  background: var(--bg-primary);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--bg-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.compare-table thead th.compare-table__us {
  color: var(--accent);
}

.compare-table tbody tr {
  transition: background 0.2s;
}

.compare-table tbody tr:hover {
  background: var(--bg-secondary);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--white);
}

.compare-table__them {
  color: var(--text-muted);
}

.compare-table__us {
  color: var(--text-primary);
}

.compare-yes {
  color: #22c55e;
  font-weight: 700;
  margin-right: 0.5rem;
}

.compare-no {
  color: #ef4444;
  font-weight: 700;
  margin-right: 0.5rem;
}

.compare-partial {
  color: #f59e0b;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* ===== DEPLOYMENT MODELS ===== */
.deployment {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.deploy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.deploy-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}

.deploy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.deploy-card--highlight {
  border-color: var(--accent-dim);
  box-shadow: 0 0 40px var(--accent-glow);
}

.deploy-card--highlight:hover {
  border-color: var(--accent);
}

.deploy-card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.deploy-card__icon svg {
  width: 100%;
  height: 100%;
}

.deploy-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.deploy-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.deploy-card__features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.deploy-card__features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.deploy-card__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.deploy-card__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent-dim);
  border-radius: 2px;
  display: inline-block;
}

/* ===== ACCORDION / TECH SPECS ===== */
.specs {
  background: var(--bg-primary);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion__item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.accordion__item.active {
  border-color: var(--accent-dim);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: left;
  transition: background 0.2s;
}

.accordion__trigger:hover {
  background: var(--bg-card-hover);
}

.accordion__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  flex-shrink: 0;
}

.accordion__label {
  flex: 1;
  font-weight: 600;
  color: var(--white);
}

.accordion__icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__inner {
  padding: 0 1.5rem 1.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.spec-val {
  font-size: 0.83rem;
  color: var(--text-primary);
  text-align: right;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-dim);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.back-to-top:hover svg {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch__features {
    grid-template-columns: 1fr;
  }
  .deploy__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 6rem 1.2rem 3rem;
    min-height: auto;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities__grid {
    grid-template-columns: 1fr;
  }

  .sectors__grid {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__text .section__title {
    text-align: center;
  }

  .contact__text .section__tag {
    text-align: center;
  }

  .contact__text p {
    text-align: center;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer__legal {
    text-align: center;
  }

  .deploy__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .compare-table tbody td:first-child {
    white-space: normal;
    min-width: 130px;
  }

  .section {
    padding: 4rem 0;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .arch__tier {
    padding: 1.5rem 1.2rem;
  }

  .accordion__trigger {
    padding: 1rem 1.2rem;
  }

  .accordion__inner {
    padding: 0 1.2rem 1.2rem;
  }

  .sector-card {
    padding: 1.8rem;
  }

  .container {
    padding: 0 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat {
    padding: 1rem 0.5rem;
  }

  .hero__stat-value {
    font-size: 1rem;
  }

  .hero__stat-label {
    font-size: 0.65rem;
  }

  .numbers__value {
    font-size: 2rem;
  }

  .numbers__item {
    padding: 2rem 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cap-card {
    padding: 1.5rem;
  }

  .why__item {
    padding: 1.5rem;
  }

  .deploy-card {
    padding: 2rem 1.5rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.72rem;
  }
}
