:root {
  --orange: #f75710;
  --orange-dark: #d9460a;
  --navy: #0a0f1c;
  --navy-2: #111a2e;
  --ink: #141a26;
  --muted: #5b6475;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(10, 15, 28, 0.18);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.orange {
  color: var(--orange);
}

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

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid rgba(247, 87, 16, 0.5);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}
.btn-ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-lg {
  padding: 15px 28px;
  font-size: 17px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 15, 28, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
}
.brand-name {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.3px;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-tag {
  font-size: 10px;
  opacity: 0.9;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a,
.dropdown-toggle {
  display: block;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 6px;
}
.site-nav a:hover,
.dropdown-toggle:hover {
  color: var(--orange);
}
.site-nav .btn-primary {
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  padding: 8px 16px;
  margin-left: 8px;
}
.site-nav .btn-primary:hover {
  color: #fff;
  background: var(--orange-dark);
}
.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: 3px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
}
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  border-top: 3px solid var(--orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown-wide {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.site-nav .dropdown a {
  color: var(--ink);
  font-size: 15px;
  padding: 8px 12px;
}
.site-nav .dropdown a:hover {
  background: var(--bg-alt);
  color: var(--orange);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(6, 10, 22, 0.92) 0%,
      rgba(6, 10, 22, 0.72) 45%,
      rgba(6, 10, 22, 0.45) 100%
    ),
    linear-gradient(0deg, rgba(6, 10, 22, 0.7), transparent 40%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero h1 .orange {
  display: block;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 0 26px;
}
.rotator {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 26px);
  margin-bottom: 30px;
}
.rotator-label {
  display: block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.rotator-track {
  position: relative;
  display: block;
  height: 1.5em;
  overflow: hidden;
}
.rotator-item {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-weight: 700;
  color: var(--orange);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.45s, transform 0.45s;
}
.rotator-item.is-active {
  opacity: 1;
  transform: none;
}
.rotator-item.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badges img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

/* ---------- Form card ---------- */
.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.form-title {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 6px;
}
.form-sub {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 15px;
}
.form-step,
.form-success {
  display: none;
}
.form-step.is-active,
.form-success.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.field {
  display: block;
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 4px;
  border: 0;
  border-bottom: 1.5px solid #cfd3dc;
  background: transparent;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea {
  resize: vertical;
  border: 1.5px solid #cfd3dc;
  border-radius: 8px;
  padding: 12px;
  margin-top: 6px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field.has-error input,
.field.has-error textarea {
  border-color: #d93025;
}
.field-error,
.form-error {
  display: block;
  min-height: 0;
  color: #d93025;
  font-size: 13px;
  margin-top: 4px;
}
.form-error {
  text-align: center;
  margin: 8px 0 0;
}
.form-step .btn {
  margin-top: 14px;
}
.iti {
  display: block;
  width: 100%;
}
.iti input[type="tel"] {
  padding-left: 52px;
}
.iti--inline-dropdown .iti__dropdown-content {
  z-index: 5;
}
.iti--inline-dropdown .iti__country-list {
  max-height: 180px;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner {
  display: inline-block;
}
.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-success {
  text-align: center;
  padding: 16px 0 4px;
}
.form-success svg {
  color: #1e9e5a;
  margin: 0 auto 12px;
}
.form-success p {
  font-size: 18px;
  margin: 0 0 18px;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-2);
  color: #fff;
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
}
.trust-item strong {
  font-family: var(--font-head);
  font-size: 18px;
}
.trust-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.eyebrow-dark {
  color: var(--orange);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 15, 28, 0.1);
  border-color: rgba(247, 87, 16, 0.45);
}
.card h3 {
  font-size: 20px;
}
.card p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
  flex: 1;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(247, 87, 16, 0.1);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-link {
  font-weight: 700;
  color: var(--orange);
  font-size: 15px;
}
.card-link::after {
  content: " \2192";
  transition: margin 0.2s;
}
.card:hover .card-link::after {
  margin-left: 4px;
}
.card-feature {
  background: linear-gradient(145deg, var(--navy) 0%, #1a2440 100%);
  color: #fff;
  border-color: transparent;
}
.card-feature p {
  color: rgba(255, 255, 255, 0.78);
}
.card-feature .card-icon {
  background: rgba(247, 87, 16, 0.2);
}
.tags {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.center-cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Tech marquee ---------- */
.tech {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tech-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 26px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
}
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  color: var(--orange);
  margin-bottom: 8px;
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Industries ---------- */
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chips a {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chips a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(247, 87, 16, 0.05);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--navy) 0%, #1a2440 60%, #2a1a14 100%);
  color: #fff;
  padding: 72px 0;
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #070b15;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 8px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--orange);
}
.footer-brand p {
  margin: 16px 0;
}
.site-footer address {
  font-style: normal;
  line-height: 1.8;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.socials a:last-child svg {
  fill: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* ---------- Floating tab + modal ---------- */
.float-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 8px 0 0 8px;
  padding: 18px 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
}
.float-tab.is-visible {
  opacity: 1;
  visibility: visible;
}
.float-tab:hover {
  background: var(--orange-dark);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 22, 0.65);
  backdrop-filter: blur(2px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.25s ease;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
body.modal-open {
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: rgba(10, 15, 28, 0.98);
    padding: 8px 20px 24px;
    display: none;
  }
  .site-header.is-open .site-nav {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav a,
  .dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }
  .dropdown,
  .dropdown-wide {
    position: static;
    display: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 12px;
    grid-template-columns: 1fr;
  }
  .has-dropdown:hover .dropdown {
    display: none;
  }
  .has-dropdown.is-open .dropdown {
    display: grid;
  }
  .site-nav .dropdown a {
    color: rgba(255, 255, 255, 0.8);
  }
  .site-nav .dropdown a:hover {
    background: transparent;
  }
  .nav-cta-item {
    margin-top: 16px;
  }
  .site-nav .btn-primary {
    margin: 0;
    text-align: center;
    border-bottom: 0;
    padding: 12px;
    border-radius: 8px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-form {
    max-width: 560px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 0 16px;
  }
  .header-inner {
    height: 68px;
  }
  .site-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-tag {
    font-size: 9px;
  }
  .hero {
    min-height: auto;
    padding: 104px 0 48px;
  }
  .hero-overlay {
    background: rgba(6, 10, 22, 0.78);
  }
  .rotator-item {
    white-space: normal;
  }
  .rotator-track {
    height: 3em;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .badges img {
    width: 56px;
    height: 56px;
  }
  .form-card {
    padding: 26px 20px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .final-cta-actions,
  .final-cta-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .float-tab {
    writing-mode: horizontal-tb;
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
