:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: #090909;
}

.bg-ink {
  background-color: #090909;
}

.text-gold,
.hover\:text-gold:hover {
  color: #cba650;
}

.text-gold-soft {
  color: #d6b76f;
}

.border-gold-weak {
  --tw-border-opacity: 1;
  border-color: rgb(210 170 86 / var(--tw-border-opacity));
}

.hero-glow {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 9999px;
  filter: blur(70px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(9, 9, 9, 0.45), rgba(9, 9, 9, 0.82)),
    radial-gradient(circle at 15% 20%, rgba(208, 170, 88, 0.14), transparent 45%);
  pointer-events: none;
}

.hero-glow-left {
  top: -6rem;
  left: -10rem;
  background: radial-gradient(circle at center, #d0aa58 0%, transparent 70%);
}

.hero-glow-right {
  bottom: -10rem;
  right: -8rem;
  background: radial-gradient(circle at center, #d0aa58 0%, transparent 70%);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid #d0aa58;
  background: linear-gradient(135deg, #cda44a 0%, #b48a35 100%);
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.15rem;
  border-radius: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(205, 164, 74, 0.3);
  filter: brightness(1.06);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.footer-list a:focus-visible,
.form-input:focus-visible {
  outline: 2px solid #d6b76f;
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(210, 170, 86, 0.45);
  color: #f4f4f5;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.15rem;
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(210, 170, 86, 0.75);
  background: rgba(15, 23, 42, 0.75);
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #d6b76f;
}

.mobile-nav-link {
  padding: 0.55rem 0;
}

.mobile-nav-link:hover {
  color: #d6b76f;
}

.section-wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}

.section-lead {
  margin-top: 0.85rem;
  max-width: 52rem;
  color: #cbd5e1;
}

.dashboard-mockup {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 40px rgba(0, 0, 0, 0.55);
}

.mock-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(210, 170, 86, 0.28);
  background: rgba(2, 6, 23, 0.55);
  padding: 0.8rem;
}

.mock-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
}

.mock-card p {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.content-card {
  border-radius: 0.95rem;
  border: 1px solid rgba(210, 170, 86, 0.3);
  background: rgba(15, 23, 42, 0.42);
  padding: 1.2rem;
}

.content-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f8fafc;
}

.content-card p {
  margin-top: 0.62rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.services-carousel {
  position: relative;
  margin-inline: 0;
  padding: 1.5rem 0 1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
}

.services-carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.services-carousel-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(210, 170, 86, 0.45);
  background: rgba(15, 23, 42, 0.85);
  color: #d6b76f;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.services-carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.services-carousel-btn:hover:not(:disabled),
.services-carousel-btn:focus-visible:not(:disabled) {
  background: rgba(210, 170, 86, 0.15);
  border-color: rgba(210, 170, 86, 0.75);
}

.services-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.services-carousel-track {
  --service-card-width: 20rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scroll-padding-inline: calc(50% - (var(--service-card-width) / 2));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-stop: always;
  padding: 2.75rem calc(50% - (var(--service-card-width) / 2)) 3rem;
  scrollbar-width: none;
}

.services-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.services-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(210, 170, 86, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.services-carousel-dot:hover,
.services-carousel-dot:focus-visible {
  background: rgba(210, 170, 86, 0.35);
}

.services-carousel-dot.is-active {
  width: 1.35rem;
  background: #d0aa58;
  border-color: #d0aa58;
}

.services-carousel-track.is-scrolling {
  scroll-snap-type: none;
}

.services-carousel-track::-webkit-scrollbar {
  display: none;
}

.services-carousel-track > .service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: var(--service-card-width);
  min-width: var(--service-card-width);
  max-width: var(--service-card-width);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform: scale(0.78);
  transform-origin: center center;
  opacity: 0.4;
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.services-carousel-track > .service-card.is-side {
  transform: scale(0.84);
  opacity: 0.72;
}

.services-carousel-track > .service-card.is-active {
  transform: scale(1.12);
  opacity: 1;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(210, 170, 86, 0.5);
  z-index: 3;
}

.service-card-clone {
  pointer-events: none;
}

.service-card > div {
  padding: 1.15rem 1.2rem 1.2rem;
}

.service-card > div h3 {
  margin-top: 0;
}

.service-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 0.95rem 0.95rem 0 0;
  object-fit: cover;
  border: none;
  border-bottom: 1px solid rgba(210, 170, 86, 0.35);
  background: rgba(2, 6, 23, 0.75);
}

.chip-card {
  border-radius: 0.8rem;
  border: 1px solid rgba(210, 170, 86, 0.3);
  background: rgba(15, 23, 42, 0.4);
  padding: 0.9rem 1rem;
  color: #e2e8f0;
  font-weight: 500;
}

.step-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(210, 170, 86, 0.26);
  background: rgba(15, 23, 42, 0.4);
  padding: 1rem;
}

.step-card span {
  display: inline-block;
  font-size: 0.8rem;
  color: #d6b76f;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-card p {
  margin-top: 0.5rem;
  color: #dbe3ee;
  line-height: 1.5;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.87rem;
  color: #e2e8f0;
  font-weight: 500;
}

.form-input {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.65);
  color: #f8fafc;
  padding: 0.72rem 0.82rem;
}

.form-input:hover {
  border-color: rgba(210, 170, 86, 0.45);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.footer-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-list a {
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #d6b76f;
}

@media (max-width: 640px) {
  .section-wrap {
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
  }

  .services-carousel-shell {
    gap: 0.4rem;
  }

  .services-carousel-btn {
    width: 2rem;
    height: 2rem;
  }

  .services-carousel-track {
    --service-card-width: min(15.25rem, calc(100vw - 6.5rem));
    scroll-padding-inline: calc(50% - (var(--service-card-width) / 2));
    padding: 1.15rem calc(50% - (var(--service-card-width) / 2)) 1.55rem;
    gap: 0.65rem;
  }

  .services-carousel-track > .service-card.is-side {
    transform: scale(0.9);
    opacity: 0.58;
  }

  .services-carousel-track > .service-card.is-active {
    transform: scale(1.02);
  }

  .service-card > div {
    padding: 0.95rem 0.95rem 1rem;
  }
}

@media (max-width: 480px) {
  .services-carousel {
    padding-top: 1.15rem;
    padding-bottom: 0.85rem;
  }

  .services-carousel-shell {
    gap: 0;
  }

  .services-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 1.9rem;
    height: 1.9rem;
    border-color: rgba(210, 170, 86, 0.6);
    background: rgba(10, 10, 10, 0.86);
  }

  #services-carousel-prev {
    left: 0.75rem;
  }

  #services-carousel-next {
    right: 0.75rem;
  }

  .services-carousel-track {
    --service-card-width: min(15.75rem, calc(100vw - 3.25rem));
    gap: 0.5rem;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .services-carousel-track > .service-card {
    transform: scale(0.92);
    opacity: 0.34;
  }

  .services-carousel-track > .service-card.is-side {
    transform: scale(0.95);
    opacity: 0.56;
  }

  .services-carousel-track > .service-card.is-active {
    transform: scale(1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(210, 170, 86, 0.5);
  }

  .service-card > div h3 {
    font-size: 1rem;
  }

  .service-card > div p {
    font-size: 0.92rem;
    line-height: 1.56;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-carousel-track {
    scroll-behavior: auto;
  }

  .service-card {
    transition: none;
  }
}
