:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #05071a;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url('data:image/svg+xml,%3Csvg width=\"240\" height=\"240\" viewBox=\"0 0 240 240\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Ccircle cx=\"2\" cy=\"2\" r=\"1\" fill=\"%23ffffff10\"/%3E%3C/svg%3E');
  opacity: 0.35;
  z-index: -1;
}


.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(5, 7, 26, 0.82);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 26, 0.95);
  box-shadow: 0 24px 60px -45px rgba(7, 9, 32, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

@supports not (backdrop-filter: blur(18px)) {
  .site-header {
    background: rgba(5, 7, 26, 0.95);
  }
}

[data-parallax] {
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  will-change: transform;
}

[data-animate] {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--animate-delay, 0s);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Variants for reveal animations */
[data-animate="fade-right"] { transform: translateX(-42px); }
[data-animate="fade-right"].is-visible { transform: translateX(0); }
[data-animate="fade-left"] { transform: translateX(42px); }
[data-animate="fade-left"].is-visible { transform: translateX(0); }
[data-animate="zoom-in"] { transform: scale(0.95); }
[data-animate="zoom-in"].is-visible { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(226, 232, 240, 0.84);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link.is-active {
  color: #c7d2fe;
}

/* Underline effect for nav items */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #818cf8;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
  background: #c7d2fe;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.6rem;
  background: rgba(5, 7, 26, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.9);
  font-weight: 500;
}

.service-card,
.step-card,
.pros-card,
.testimonial-card,
.career-card,
.faq-item {
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.6rem;
  display: grid;
  gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.step-card:hover,
.pros-card:hover,
.testimonial-card:hover,
.career-card:hover,
.faq-item:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 28px 60px -40px rgba(15, 19, 54, 0.75);
}

.service-icon,
.step-icon,
.pros-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
}

.service-title,
.step-title,
.pros-title,
.career-title,
.faq-item h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
}

.service-copy,
.step-copy,
.pros-copy,
.career-copy,
.faq-item p,
.testimonial-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.95rem;
}

.testimonial-card span {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}

.career-meta {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}

.career-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.career-cta:hover {
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(79, 70, 229, 0.12);
  color: #c7d2fe;
}

.glass-card {
  border-radius: 2.2rem;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(140deg, rgba(79, 70, 229, 0.18), rgba(14, 17, 38, 0.9));
  box-shadow: 0 40px 120px -60px rgba(13, 17, 45, 0.7);
  padding: 2.2rem;
  backdrop-filter: blur(22px);
}

.field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
}

.field-input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(13, 17, 40, 0.92) !important;
  background-color: rgba(13, 17, 40, 0.92) !important;
  color: #f8fafc;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08), 0 6px 22px -12px rgba(10, 14, 35, 0.7);
  color-scheme: dark;

}

.field-input:hover {
  border-color: rgba(129, 140, 248, 0.4);
}

.field-input:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  background: rgba(17, 21, 48, 0.95) !important;
  background-color: rgba(17, 21, 48, 0.95) !important;
}

.field-input::placeholder {
  color: rgba(226, 232, 240, 0.58);
}

select.field-input {
  appearance: none;
  padding-right: 2.75rem;
  background-color: rgba(13, 17, 40, 0.92) !important;
  background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1l4 4 4-4" stroke="%23c7d2fe" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 0.65rem auto;
}

/* nicer checkbox/radio if any appear raw */
input[type="checkbox"], input[type="radio"] {
  accent-color: #818cf8;
}

textarea.field-input {
  min-height: 150px;
  resize: vertical;
}

.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc;
  -webkit-box-shadow: 0 0 0px 1000px rgba(17, 21, 48, 0.92) inset;
  transition: background-color 9999s ease-in-out 0s;
}
.field-input {
  border-radius:15px !important;
    padding-right: 2.75rem !important;
    border:1px solid rgba(148, 163, 184, 0.18) !important;
    background-color: rgba(13, 17, 40, 0.92) !important;
    padding:0.95rem 1.15rem !important;
}
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: none;
  background: #4992fc;
  color: #0b1027;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 50px -28px rgba(79, 70, 229, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 40;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-6px);
}

.footer-link {
  color: rgba(148, 163, 184, 0.82);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #c7d2fe;
}

.app-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.pros-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.85);
}

.pros-cta p {
  margin: 0;
}

@media (max-width: 1024px) {
  .mobile-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pros-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .glass-card {
    border-radius: 1.6rem;
    padding: 1.6rem;
  }
}

#faq-root {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

@media (min-width: 768px) {
  #faq-root {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 50px -40px rgba(15, 19, 54, 0.65);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-accordion.is-open,
.faq-accordion.is-highlighted {
  border-color: rgba(129, 140, 248, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -45px rgba(79, 70, 229, 0.45);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
}

.faq-trigger:hover {
  color: #c7d2fe;
}

.faq-icon {
  transition: transform 0.25s ease;
}

.faq-accordion.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  display: grid;
  gap: 0.85rem;
  transition: max-height 0.45s ease, padding-top 0.45s ease, padding-bottom 0.45s ease;
}

.faq-accordion.is-open .faq-panel {
  padding-top: 0.85rem;
  padding-bottom: 1.6rem;
}

.faq-panel p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.faq-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: rgba(79, 70, 229, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
}

.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radio-chip input:checked + span {
  border-color: rgba(129, 140, 248, 0.8);
  background: rgba(129, 140, 248, 0.2);
  color: #eef2ff;
}
.button-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.7rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button-pill--sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.button-pill--lg {
  padding: 1.05rem 2rem;
  font-size: 1.02rem;
}

.button-pill:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.6);
  outline-offset: 3px;
}

.button-pill--primary {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(67, 56, 202, 0.95));
  color: #f8fafc;
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow: 0 20px 38px -20px rgba(79, 70, 229, 0.75), 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.button-pill--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 46px -20px rgba(79, 70, 229, 0.8), 0 0 0 1px rgba(199, 210, 254, 0.45);
  background: linear-gradient(135deg, rgba(94, 86, 245, 0.98), rgba(76, 64, 220, 0.98));
}

.button-pill--primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 18px 30px -22px rgba(79, 70, 229, 0.75);
}

.button-pill--outline {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(8, 11, 28, 0.75);
  color: #e2e8f0;
  box-shadow: 0 16px 34px -24px rgba(15, 19, 54, 0.8);
}

.button-pill--outline:hover {
  border-color: rgba(129, 140, 248, 0.65);
  color: #c7d2fe;
  transform: translateY(-3px);
  box-shadow: 0 22px 36px -22px rgba(79, 70, 229, 0.5);
}

.button-pill--ghost {
  border: 1px solid transparent;
  background: transparent;
  color: #c7d2fe;
}

.button-pill--ghost:hover {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(129, 140, 248, 0.15);
  color: #eef2ff;
}

.button-pill--light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}
