:root {
  --bg: #08090a;
  --bg-deep: #050607;
  --bg-soft: #101215;
  --panel: #171a1f;
  --panel-light: #20242b;
  --text: #f4f5f7;
  --muted: #b7bcc5;
  --subtle: #7f8792;
  --line: #303640;
  --red: #e21b23;
  --red-dark: #9d1118;
  --silver: #d9dde4;
  --white: #ffffff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(125deg, rgba(226, 27, 35, 0.12), transparent 24%),
    linear-gradient(215deg, rgba(217, 221, 228, 0.07), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 88px),
    var(--bg-deep);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
}

h3 {
  font-size: 1.15rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(5, 6, 7, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 700;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 22px rgba(226, 27, 35, 0.2);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--red);
}

.site-nav a:last-child {
  padding: 0.55rem 0.85rem;
  color: var(--white);
  border: 1px solid rgba(226, 27, 35, 0.42);
  border-radius: 6px;
  background: rgba(226, 27, 35, 0.09);
}

.site-nav a:last-child:hover,
.site-nav a:last-child[aria-current="page"] {
  background: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.hero,
.page-hero,
.product-hero,
.section,
.site-footer {
  width: min(var(--max), 90vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: 74vh;
  padding: 5.5rem clamp(1.5rem, 4vw, 3.5rem) 4rem;
}

.hero-home {
  isolation: isolate;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 3rem 0 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(226, 27, 35, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.hero-screen {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02)),
    rgba(8, 9, 10, 0.86);
  box-shadow: 0 28px 80px rgba(226, 27, 35, 0.2), 0 18px 70px rgba(0, 0, 0, 0.45);
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: conic-gradient(from 120deg, transparent 0 72%, rgba(226, 27, 35, 0.22), transparent);
  animation: screenSweep 9s linear infinite;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0.65rem;
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(226, 27, 35, 0.18), transparent 38%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
}

.image-loop {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #050607;
}

.loop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: imageLoop 18s ease-in-out infinite;
}

.image-one {
  animation-delay: 0s;
}

.image-two {
  animation-delay: 6s;
}

.image-three {
  animation-delay: 12s;
  filter: saturate(1.08) contrast(1.1);
}

.screen-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  color: var(--silver);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(5, 6, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--silver);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.4rem;
}

.status-strip span {
  padding: 0.5rem 0.75rem;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #f0242d, var(--red-dark));
  color: var(--white);
  box-shadow: 0 14px 36px rgba(226, 27, 35, 0.24);
}

.button.primary:hover {
  box-shadow: 0 18px 42px rgba(226, 27, 35, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--red);
}

@keyframes imageLoop {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: scale(1.01);
  }
  38% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes screenSweep {
  to {
    transform: rotate(360deg);
  }
}

.section {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2.3rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.journey-grid article,
.price-card {
  min-height: 190px;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.feature-card:hover,
.journey-grid article:hover,
.price-card:hover,
.service-row:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 27, 35, 0.45);
}

.feature-card h3,
.journey-grid h3 {
  color: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 3rem;
}

.system-panel,
.quote-panel,
.product-panel,
.process-list {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.system-panel,
.process-list {
  display: grid;
  gap: 0.75rem;
}

.system-panel span,
.process-list span,
.product-panel span {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--panel-light);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  color: var(--silver);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--white);
  font-weight: 700;
  border-bottom: 2px solid var(--red);
}

.text-link:hover {
  color: var(--red);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem;
  margin-bottom: 4rem;
  background:
    linear-gradient(90deg, rgba(226, 27, 35, 0.21), rgba(255, 255, 255, 0.045)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.cta-band h2 {
  max-width: 740px;
}

.page-hero,
.product-hero {
  padding: 6rem 0 4rem;
}

.page-hero {
  max-width: 960px;
  position: relative;
}

.page-hero::after,
.product-hero::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 2rem;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 999px;
}

.product-hero::after {
  position: absolute;
  left: 0;
  bottom: 2rem;
  margin-top: 0;
}

.quote-panel p {
  margin: 0;
  color: var(--silver);
  font-size: 1.3rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: roadmap;
}

.timeline li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--muted);
}

.services-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.service-row > span,
.journey-grid span {
  color: var(--red);
  font-weight: 800;
}

.service-row h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.success-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background:
    linear-gradient(115deg, rgba(226, 27, 35, 0.18), rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 76px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.success-copy {
  max-width: 760px;
}

.testimonial-panel {
  padding: 1.4rem;
  background: rgba(8, 9, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.case-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(226, 27, 35, 0.2);
}

.testimonial-panel span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(226, 27, 35, 0.18);
  border: 1px solid rgba(226, 27, 35, 0.38);
  border-radius: 6px;
}

.testimonial-panel strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.testimonial-panel p {
  margin-bottom: 0;
  color: var(--silver);
  font-size: 1.1rem;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.64fr);
  align-items: center;
  gap: 3rem;
  min-height: 66vh;
  position: relative;
}

.product-panel {
  display: grid;
  gap: 0.8rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: center;
}

.price-card {
  min-height: 0;
}

.price-card span {
  color: var(--muted);
  font-weight: 700;
}

.price-card strong {
  display: block;
  margin: 0.7rem 0;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
}

.price-card p:last-child,
.feature-card p:last-child,
.journey-grid p:last-child,
.service-row p:last-child {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-methods a {
  color: var(--white);
  font-weight: 700;
  border-bottom: 1px solid var(--red);
  width: fit-content;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.contact-form label {
  color: var(--silver);
  font-weight: 700;
}

.hidden-field {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0d0f12;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(226, 27, 35, 0.45);
  border-color: var(--red);
}

.form-note {
  margin: 0.25rem 0 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

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

  .site-nav a {
    padding: 0.85rem;
  }

  .site-nav a:last-child {
    padding: 0.85rem;
  }

  .hero,
  .split-section,
  .success-story,
  .product-hero,
  .pricing-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero-home::before {
    inset: 2rem 0 0;
  }

  .hero-screen {
    justify-self: start;
    width: min(100%, 420px);
  }

  .feature-grid.three,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline li,
  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .page-hero,
  .product-hero,
  .section {
    width: min(100% - 2rem, var(--max));
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .cta-band {
    padding: 1.4rem;
  }

  .success-story {
    padding: 1.4rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-screen {
    width: 100%;
  }

  .screen-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-screen::before,
  .loop-image {
    animation: none;
  }

  .loop-image {
    opacity: 0;
  }

  .image-one {
    opacity: 1;
    transform: none;
  }
}
