:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', sans-serif;
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* ---------- background layers ---------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.glow-blob {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(110px);
  opacity: 0.28;
}

.glow-blob--1 {
  top: -10%;
  left: 8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
}

.glow-blob--2 {
  top: 10%;
  right: 4%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
}

.glow-blob--3 {
  bottom: -15%;
  left: 30%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  opacity: 0.18;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #22d3ee;
  color: #04050a;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  left: 0;
}

/* ---------- header ---------- */

#site-header.is-scrolled #header-inner {
  height: 4.25rem;
}

#site-header.is-scrolled {
  background: rgba(4, 5, 10, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(148 163 184);
  border-radius: 9999px;
  transition: color 200ms ease, background-color 200ms ease;
  cursor: pointer;
}

.nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.04);
}

.nav-link.is-active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-link-mobile {
  padding: 0.85rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(203 213 225);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}

.nav-link-mobile:last-of-type {
  border-bottom: none;
}

/* ---------- buttons ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #04050a;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.5);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(34, 211, 238, 0.65);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ---------- text helpers ---------- */

.text-gradient {
  background: linear-gradient(135deg, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}

.section-subtitle {
  margin-top: 1rem;
  color: rgb(148 163 184);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
}

/* ---------- trust pills (hero) ---------- */

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(203 213 225);
}

/* ---------- hero dashboard mock ---------- */

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: rgba(34, 211, 238, 0.08);
  color: #22d3ee;
}

.badge-ok {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-progress {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ---------- service cards ---------- */

.service-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 20px 40px -20px rgba(34, 211, 238, 0.25);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(59,130,246,0.15));
  color: #22d3ee;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(148 163 184);
}

/* ---------- why-us cards ---------- */

.why-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 250ms ease, border-color 250ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
}

.why-card--feature {
  background: linear-gradient(160deg, rgba(34,211,238,0.06), rgba(59,130,246,0.03));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-card--feature h3 {
  font-size: 1.5rem;
}

.why-card--feature p {
  font-size: 1rem;
  max-width: 34rem;
}

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(148 163 184);
}

/* ---------- process steps ---------- */

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #080b14;
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #22d3ee;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(148 163 184);
}

/* ---------- about ---------- */

.tag-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(203 213 225);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
}

.about-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

.about-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.about-card-text {
  font-size: 0.8125rem;
  color: rgb(148 163 184);
  line-height: 1.5;
}

/* ---------- CTA banner ---------- */

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(34,211,238,0.15), transparent 70%);
  pointer-events: none;
}

/* ---------- contact form ---------- */

.form-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(226 232 240);
  margin-bottom: 0.5rem;
}

.field .req {
  color: #22d3ee;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  color: #fff;
  transition: border-color 200ms ease, background-color 200ms ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgb(100 116 139);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.04);
}

.field input:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.field-error {
  display: none;
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.4rem;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #f87171;
}

.field.has-error .field-error {
  display: block;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.7rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: rgb(226 232 240);
  font-size: 0.875rem;
}

.form-success.hidden {
  display: none;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.7rem;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: rgb(226 232 240);
  font-size: 0.875rem;
}

.form-error.hidden {
  display: none;
}

/* ---------- contact info cards ---------- */

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 200ms ease;
}

.contact-info-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.contact-value {
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
}

/* ---------- footer ---------- */

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgb(148 163 184);
  transition: color 200ms ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: #22d3ee;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgb(148 163 184);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
  cursor: pointer;
}

.social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.social-icon:hover {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- back to top ---------- */

#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- scrollbar ---------- */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #04050a;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
