:root {
  /* Core Blues */
  --blue:         #2563EB;
  --blue-l:       #3B82F6;
  --blue-ll:      #93C5FD;
  --indigo:       #6366F1;
  --indigo-l:     #818CF8;
  /* Extended Palette */
  --emerald:      #10B981;
  --emerald-l:    #34D399;
  --amber:        #F59E0B;
  --amber-l:      #FCD34D;
  --violet:       #8B5CF6;
  --violet-l:     #A78BFA;
  --cyan:         #06B6D4;
  --cyan-l:       #67E8F9;
  --rose:         #F43F5E;
  --rose-l:       #FB7185;
  /* Accent Gradients */
  --grad-emerald: linear-gradient(135deg, #10B981, #0891B2);
  --grad-amber:   linear-gradient(135deg, #F59E0B, #EF4444);
  --grad-violet:  linear-gradient(135deg, #8B5CF6, #EC4899);
  --grad-cyan:    linear-gradient(135deg, #06B6D4, #6366F1);
  /* Dark Scale */
  --dark:         #07101E;
  --dark2:        #132030;
  --slate:        #334155;
  --muted:        #64748B;
  --border:       #E2E8F0;
  --bg:           #F8FAFC;
  --white:        #FFFFFF;
  /* Shared */
  --gradient:     linear-gradient(135deg, #2563EB, #6366F1);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.14);
  --shadow-blue:  0 8px 32px rgba(37,99,235,0.28);
  --r:            16px;
  --r-sm:         10px;
  --r-full:       50px;
  --ease:         cubic-bezier(0.23, 1, 0.32, 1);
}

/* RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark2);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,99,235,0.4);
  filter: brightness(1.08);
}
.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-outline-w {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-w:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.light-tag {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.sec-header { text-align: center; max-width: 660px; margin: 0 auto 72px; }
.sec-title   { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--dark); margin-bottom: 14px; }
.sec-sub     { font-size: 1.05rem; color: var(--muted); line-height: 1.75; }

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ANIMATIONS */
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-55px) scale(1.06); }
  66%      { transform: translate(-35px,-25px) scale(0.94); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-40px,50px) scale(1.04); }
  66%      { transform: translate(50px,15px) scale(0.96); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
@keyframes logoIn {
  from { opacity: 0; transform: translateX(-14px) scale(0.82); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(37,99,235,0.6);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  overflow: visible;
  background: rgba(7,12,26,0.42);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.4s ease, padding 0.35s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.88);
  padding: 8px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
}

.nav-inner {
  width: 100%;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
  animation: logoIn 0.7s var(--ease) both;
  transition: transform 0.35s var(--ease), filter 0.3s ease;
}
.logo:hover .nav-logo-img {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(59,130,246,0.5));
}
.logo span { color: var(--blue-l); }
.navbar.scrolled .logo { color: var(--dark); }
.navbar.scrolled .logo span { color: var(--blue); }

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: var(--r-full);
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-link { color: var(--slate); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--dark); background: rgba(37,99,235,0.07); }

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--gradient);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(37,99,235,0.32);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.2s ease;
  margin-left: 8px;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.42);
  filter: brightness(1.07);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border-radius: 8px;
  transition: background 0.2s ease;
  cursor: pointer;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s ease, width 0.25s ease;
}
.navbar.scrolled .hamburger:hover { background: rgba(0,0,0,0.05); }
.navbar.scrolled .hamburger span { background: var(--dark2); }
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* SERVICE HERO */
.svc-hero {
  min-height: 85vh;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.svc-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.sh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.sh-orb1 {
  width: 600px; height: 600px;
  background: var(--svc-color, var(--blue));
  top: -180px; right: -120px;
  animation: orbDrift 22s ease-in-out infinite;
}
.sh-orb2 {
  width: 400px; height: 400px;
  background: var(--indigo);
  bottom: -140px; left: -80px;
  opacity: 0.11;
  animation: orbDrift2 28s ease-in-out infinite;
}
.sh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

.svc-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.sh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.sh-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.sh-breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.sh-breadcrumb i { font-size: 0.6rem; }
.sh-breadcrumb .sh-bc-current { color: rgba(255,255,255,0.7); }

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid;
  padding: 7px 18px;
  border-radius: var(--r-full);
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
  backdrop-filter: blur(8px);
}

.sh-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.08;
  animation: fadeUp 0.8s 0.15s ease both;
}
.sh-grad {
  background: linear-gradient(135deg, var(--g-from, #2563EB), var(--g-to, #6366F1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sh-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.82;
  max-width: 580px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.22s ease both;
}
.sh-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeUp 0.8s 0.28s ease both;
}

.sh-stats {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  animation: fadeUp 0.8s 0.34s ease both;
}
.sh-stat  { display: flex; flex-direction: column; }
.sh-sn    { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); line-height: 1; }
.sh-sl    { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }
.sh-sep   { width: 1px; height: 40px; background: rgba(255,255,255,0.1); align-self: center; }

/* FEATURES GRID */
.svc-features {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.svc-features::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.3s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.16);
}
.feat-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; }
.feat-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* PROCESS STEPS */
.svc-process { padding: 100px 0; background: var(--bg); }

.proc-steps {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.proc-steps::before {
  content: '';
  position: absolute;
  left: 30px; top: 48px; bottom: 48px;
  width: 1px;
  background: var(--border);
}

.proc-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.proc-step:last-child { border-bottom: none; }

.ps-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c, var(--blue));
  background: var(--white);
  border: 2px solid var(--c, var(--blue));
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.ps-body h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 10px; }
.ps-body p  { font-size: 0.94rem; color: var(--muted); line-height: 1.8; }

/* SERVICE CTA */
.svc-cta {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.svc-cta .cta-bg { position: absolute; inset: 0; pointer-events: none; }
.svc-cta .orb    { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.13; }
.svc-cta .orb-1  { width: 550px; height: 550px; background: var(--blue);   top: -160px;    right: -100px; animation: orbDrift  20s ease-in-out infinite; }
.svc-cta .orb-2  { width: 420px; height: 420px; background: var(--indigo); bottom: -160px; left: -60px;   animation: orbDrift2 25s ease-in-out infinite; }
.svc-cta .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
  background-size: 70px 70px;
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-h2   { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 18px; }
.cta-p    { font-size: 1.05rem; color: rgba(255,255,255,0.5); margin-bottom: 48px; line-height: 1.75; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* FOOTER */
.footer {
  background: #04080F;
  padding: 80px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.footer-logo  { display: block; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 260px;
}
.socials { display: flex; gap: 9px; }
.social {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.38);
  font-size: 0.84rem;
  transition: all 0.3s var(--ease);
}
.social:hover { background: var(--gradient); border-color: transparent; color: var(--white); transform: translateY(-3px); }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.84rem; font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col ul li          { margin-bottom: 10px; }
.footer-col ul li a        { font-size: 0.86rem; color: rgba(255,255,255,0.32); transition: color 0.3s ease; }
.footer-col ul li a:hover  { color: rgba(255,255,255,0.78); }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.32);
  margin-bottom: 10px;
}
.contact-list li i { color: var(--blue-l); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.22); }
.footer-legal    { display: flex; gap: 22px; }
.footer-legal a  { font-size: 0.8rem; color: rgba(255,255,255,0.22); transition: color 0.3s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { width: 94%; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container  { width: 100%; padding: 0 20px; }
  .nav-inner  { padding: 0 20px; }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px); right: 16px;
    width: 210px;
    background: rgba(8,12,26,0.96);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 6px;
    gap: 2px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s var(--ease);
    z-index: 999;
  }
  .nav-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-link { padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,0.72); width: 100%; font-size: 0.88rem; }
  .nav-link:hover,
  .nav-link.active { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-cta { margin: 6px 4px 2px 4px; padding: 11px 16px; font-size: 0.88rem; border-radius: 10px; justify-content: center; border-top: 1px solid rgba(255,255,255,0.08); }
  .navbar.scrolled .nav-menu { background: rgba(255,255,255,0.96); border-color: rgba(0,0,0,0.08); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
  .navbar.scrolled .nav-link { color: var(--slate); }
  .navbar.scrolled .nav-link:hover,
  .navbar.scrolled .nav-link.active { background: rgba(37,99,235,0.06); color: var(--dark); }
  .hamburger { display: flex; }

  .svc-hero { padding: 100px 0 70px; min-height: auto; }
  .sh-h1    { font-size: 2.4rem; }
  .sh-btns  { gap: 10px; }
  .sh-stats { gap: 18px; flex-wrap: wrap; }
  .sh-sep   { display: none; }

  .feat-grid    { grid-template-columns: 1fr; }
  .svc-features { padding: 72px 0; }
  .svc-process  { padding: 72px 0; }
  .svc-cta      { padding: 72px 0; }
  .cta-btns     { flex-direction: column; align-items: center; gap: 12px; }
  .cta-h2       { font-size: 1.9rem; }

  .sec-title  { font-size: 1.85rem; }
  .sec-header { margin-bottom: 48px; }

  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .nav-inner  { padding: 0 16px; }
  .sh-h1      { font-size: 2rem; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
