:root {
  --blue: #1a3bff;
  --blue-mid: #2d52ff;
  --blue-glow: rgba(26, 59, 255, 0.18);
  --black: #07080d;
  --dark: #0c0d14;
  --surface: #111320;
  --surface2: #161828;
  --white: #eef0f8;
  --muted: #686b88;
  --muted2: #8b8fa8;
  --border: rgba(255, 255, 255, 0.06);
  --border-blue: rgba(26, 59, 255, 0.25);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  cursor: none;
}

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition:
    width 0.3s,
    height 0.3s;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26, 59, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.5;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 76px;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s,
    border-color 0.4s,
    backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(7, 8, 13, 0.88);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}
.logo img {
  height: 62px;
  width: auto;
  display: block;
  translate: 0 -6px;
  object-position: 0 9px;
  filter: drop-shadow(0 0 8px rgba(26, 59, 255, 0.3));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-btn {
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--blue);
  padding: 10px 22px;
  border-radius: 2px;
  transition:
    background 0.2s,
    transform 0.2s !important;
}
.nav-btn:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px) !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 56px 80px;
  position: relative;
  overflow: hidden;
  gap: 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 70% at 70% 50%,
      rgba(26, 59, 255, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 10% 80%,
      rgba(26, 59, 255, 0.04) 0%,
      transparent 60%
    );
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 59, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 59, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 80% 90% at 60% 50%,
    black 20%,
    transparent 80%
  );
}
.hero-left {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 59, 255, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-badge span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(100, 130, 255, 0.95);
  letter-spacing: 0.5px;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 59, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(26, 59, 255, 0);
  }
}

h1 {
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-desc strong {
  color: var(--white);
  font-weight: 500;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 3px;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.btn-main:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 59, 255, 0.35);
}
.btn-main svg {
  transition: transform 0.25s;
}
.btn-main:hover svg {
  transform: translateX(3px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--white);
}

/* HERO RIGHT */
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 59, 255, 0.22) 0%,
    rgba(26, 59, 255, 0.05) 50%,
    transparent 75%
  );
  filter: blur(2px);
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

.ring-outer {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(26, 59, 255, 0.15);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* animation: spin 22s linear infinite; */
}
.ring-outer::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--blue);
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border: 1px solid rgba(26, 59, 255, 0.1);
  border-radius: 50%;
  animation: spinR 15s linear infinite;
}
.ring-inner::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translateX(-50%);
}
@keyframes spinR {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
.ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 50%;
  border: 1px solid var(--border-blue);
  box-shadow: 0 0 40px rgba(26, 59, 255, 0.15);
}
.ring-center img {
  width: 500px;
  height: auto;
  border-radius: 1000px;
  filter: drop-shadow(0 0 8px rgba(26, 59, 255, 0.5));
}

.float-card {
  position: absolute;
  background: rgba(17, 19, 32, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(12px);
}
.fc-1 {
  top: 20px;
  left: -10px;
  animation: float 4s ease-in-out infinite;
}
.fc-2 {
  bottom: 40px;
  right: -10px;
  animation: float 4s ease-in-out 1.5s infinite;
}
.fc-3 {
  bottom: 50px;
  left: 10px;
  z-index: 3;
  animation: float 4s ease-in-out 0.8s infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.fc-label {
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.fc-value {
  font-weight: 700;
  font-size: 32px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
}
.fc-value span {
  color: var(--blue);
}
.fc-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-blue),
    transparent
  );
  margin: 0 56px;
}

/* SERVICES */
.services {
  padding: 100px 56px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 59, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}
h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}
h2 em {
  font-style: normal;
  color: var(--blue);
}
.section-desc {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 320px;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s,
    transform 0.35s,
    box-shadow 0.35s;
}
.svc-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-5px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(26, 59, 255, 0.1);
}
.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.svc-card:hover::after {
  opacity: 1;
}
.svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 59, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
  transition: background 0.3s;
}
.svc-card:hover .svc-icon {
  background: rgba(26, 59, 255, 0.2);
}
.svc-card h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.svc-card p {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.7;
  font-weight: 300;
}

/* RESULTS */
.results {
  padding: 100px 56px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.results-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.metric-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}
.metric-num {
  font-weight: 800;
  font-size: 40px;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 300;
  line-height: 1.5;
}
.cases-col {
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}
.case-card:hover {
  border-color: var(--border-blue);
  transform: translateX(5px);
}
.case-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 0.3s;
}
.case-card:hover::before {
  opacity: 1;
}
.case-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-card h4 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.case-card p {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
  font-weight: 300;
}

/* CONTACT */
.contact {
  padding: 100px 56px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(26, 59, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.promises {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.promise {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.p-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(26, 59, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}
.p-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 3px;
}
.p-text span {
  font-size: 14px;
  color: var(--muted2);
  font-weight: 300;
  line-height: 1.5;
}
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.form-wrap::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(26, 59, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.form-wrap h3 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.form-wrap p {
  font-size: 14px;
  color: var(--muted2);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.6;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fg {
  margin-bottom: 16px;
}
.fg label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted2);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.fg input,
.fg select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  -webkit-appearance: none;
}
.fg input::placeholder {
  color: var(--muted);
}
.fg input:focus,
.fg select:focus {
  border-color: rgba(26, 59, 255, 0.5);
  background: rgba(26, 59, 255, 0.04);
}
.fg select option {
  background: var(--surface);
}
.btn-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  padding: 17px 28px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 59, 255, 0.4);
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer img {
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(26, 59, 255, 0.3));
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}
.footer-handle {
  font-size: 13px;
  color: var(--muted2);
}
.footer-handle a {
  color: var(--blue);
  text-decoration: none;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* MOBILE */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .logo img {
    height: 52px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero-right {
    display: none;
  }
  .hero-cta-row {
    gap: 12px;
  }
  .btn-main {
    font-size: 11px;
    padding: 12px 16px;
  }

  .services,
  .results,
  .contact {
    padding: 72px 24px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .results-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .svc-card {
    padding: 24px 20px;
  }
  footer {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .cases-col {
    padding-top: 0;
  }
  .divider {
    margin: 0 24px;
  }
  .btn-submit {
    font-size: 10px;
    padding: 14px 20px;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }
}
