/* ============ Reset & Base ============ */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #05070f;
  --navy-2: #0a0f1e;
  --ink: #10192e;
  --ink-soft: #3a4a68;
  --blue: #0176d3;
  --blue-light: #00c9ff;
  --purple: #6c5ce7;
  --bg: #0a0e19;
  --surface: #111a2c;
  --surface-2: #182339;
  --white: #ffffff;
  --heading: #f4f7fc;
  --border: rgba(255, 255, 255, .09);
  --text: #d7deec;
  --text-soft: #8b98b3;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, .3);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .4);
  --shadow-lg: 0 26px 64px rgba(0, 0, 0, .55);
  --glow: 0 10px 30px rgba(1, 118, 211, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px circle at 12% 8%, rgba(1, 118, 211, .16), transparent 55%),
    radial-gradient(800px circle at 88% 28%, rgba(108, 92, 231, .13), transparent 55%),
    radial-gradient(1000px circle at 25% 92%, rgba(0, 201, 255, .10), transparent 55%);
  background-attachment: fixed;
  background-size: 160% 160%;
  animation: ambientDrift 30s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
  0%   { background-position: 0% 0%, 100% 0%, 0% 100%; }
  50%  { background-position: 20% 15%, 75% 25%, 25% 80%; }
  100% { background-position: 10% 30%, 85% 10%, 15% 95%; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ============ Progress bar ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  z-index: 2000;
  transition: width .1s linear;
}

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0;
  z-index: 3000;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark { animation: preloaderPulse 1.4s ease-in-out infinite; }
.preloader-mark img { height: 56px; width: auto; }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .75; }
}
.preloader-bar {
  width: 160px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.preloader-bar i {
  display: block;
  height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  border-radius: 3px;
  animation: preloaderBar 1.1s ease-in-out infinite;
}
@keyframes preloaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

/* ============ Cursor glow (desktop only, decorative) ============ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,255,.10), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 860px), (hover: none) {
  .cursor-glow { display: none; }
}

/* honeypot field — hidden from real users, left visible-ish to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  box-shadow: 0 10px 24px rgba(1, 118, 211, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(1, 118, 211, .45); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

.btn-small { padding: 11px 20px; font-size: .85rem; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(5, 7, 15, 0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease);
  z-index: -1;
}
.site-header.scrolled {
  height: 68px;
  box-shadow: var(--shadow-md);
}
.site-header.scrolled::before {
  background: rgba(6, 10, 22, .85);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 34px;
}
.nav-link {
  position: relative;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 0;
  transition: color .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-light);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Section dot navigation (left side, homepage only) ============ */
.side-dots {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.side-dots::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  background: rgba(255, 255, 255, .14);
}
.side-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  text-decoration: none;
  position: relative;
}
.side-dot .dot-mark {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .32);
  background: var(--bg);
  flex-shrink: 0;
  transition: all .35s var(--ease);
}
.side-dot .dot-label {
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.side-dot:hover .dot-mark {
  border-color: var(--blue-light);
  transform: scale(1.2);
}
.side-dot:hover .dot-label {
  opacity: 1;
  transform: translateX(0);
}
.side-dot.active .dot-mark {
  width: 13px; height: 13px;
  border-color: var(--blue-light);
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  box-shadow: 0 0 0 4px rgba(0, 201, 255, .16);
}
.side-dot.active .dot-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1180px) {
  .side-dots { display: none; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background: radial-gradient(120% 120% at 15% 0%, #0d1b34 0%, var(--navy) 55%, var(--navy) 100%);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, var(--blue), transparent 70%); }
.blob-2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--purple), transparent 70%); animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; top: 40%; left: 40%; background: radial-gradient(circle, var(--blue-light), transparent 70%); animation-delay: -8s; opacity: .35; }

@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #cfe8ff;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-desc {
  color: rgba(226, 233, 246, .82);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
}
.hero-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  color: #fff;
}
.hero-stat span {
  font-size: .78rem;
  color: rgba(226, 233, 246, .62);
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Hero visual dashboard mock */
.hero-visual { position: relative; height: 460px; }
.float-anim { animation: float 5s ease-in-out infinite; }
.float-anim.delay { animation-delay: -2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.dashboard-card {
  position: absolute;
  top: 10px; left: 0;
  width: 100%;
  max-width: 440px;
  background: rgba(16, 24, 44, .7);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.dash-title { margin-left: auto; color: rgba(255,255,255,.55); font-size: .78rem; }
.dash-body { padding: 22px 20px 24px; }
.dash-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.dash-label { font-size: .8rem; color: rgba(226,233,246,.75); margin-bottom: 6px; display: block; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  border-radius: 6px;
  animation: growBar 1.6s var(--ease) forwards;
  animation-delay: .4s;
}
.bar i { --w: 50%; }
@keyframes growBar { to { width: var(--w); } }
.dash-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .74rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 201, 255, .12);
  color: #8fe3ff;
  border: 1px solid rgba(0, 201, 255, .25);
}

.badge-card {
  position: absolute;
  bottom: 18px; right: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: none;
  width: max-content;
}
.badge-card svg { width: 19px; height: 19px; flex-shrink: 0; }
.badge-card strong { display: block; font-size: .8rem; color: var(--heading); line-height: 1.3; white-space: nowrap; }
.badge-card span { font-size: .7rem; color: var(--text-soft); line-height: 1.3; white-space: nowrap; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--blue-light);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ============ Page banner (About / Contact) ============ */
.page-banner {
  padding: calc(var(--header-h) + 64px) 0 90px;
  background: radial-gradient(120% 120% at 15% 0%, #0d1b34 0%, var(--navy) 55%, var(--navy) 100%);
  overflow: hidden;
  text-align: center;
}
.page-banner .container { position: relative; z-index: 1; }
.breadcrumb {
  color: rgba(226, 233, 246, .55);
  font-size: .85rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 16px;
}
.page-banner .lead {
  color: rgba(226, 233, 246, .82);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 30px;
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.feature-chips span {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #cfe8ff;
  font-size: .85rem;
  font-weight: 600;
}

/* ============ Intro / lead paragraph section ============ */
.intro-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.1rem;
}

/* ============ Vision & Mission ============ */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), var(--glow); }
.vm-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(1,118,211,.22), rgba(0,201,255,.28));
  border: 1px solid rgba(0,201,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.vm-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.vm-card p { color: var(--text-soft); }

/* ============ Salesforce offerings list ============ */
.offerings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 40px;
}
.offering-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: .98rem;
  color: var(--text);
}
.offering-item:nth-last-child(-n+2) { border-bottom: none; }
.offering-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(1,118,211,.16);
  border: 1px solid rgba(0,201,255,.25);
  display: flex; align-items: center; justify-content: center;
}

/* ============ Contact info cards ============ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), var(--glow); }
.contact-info-icon {
  width: 50px; height: 50px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(1,118,211,.22), rgba(0,201,255,.28));
  border: 1px solid rgba(0,201,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-light); margin-bottom: 10px; }
.contact-info-card p { color: var(--text); font-size: .95rem; line-height: 1.5; }
.contact-info-card a { color: var(--text); transition: color .25s; }
.contact-info-card a:hover { color: var(--blue-light); }

/* ============ CTA banner ============ */
.cta-banner {
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
}
.cta-banner h2 { margin-bottom: 18px; }
.cta-banner p { color: var(--text-soft); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

@media (max-width: 860px) {
  .vm-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: 1fr; }
  .offering-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .offering-item:last-child { border-bottom: none; }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ============ Logos strip / marquee ============ */
.logos-strip {
  background: var(--navy-2);
  padding: 34px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.logos-label {
  text-align: center;
  color: rgba(226,233,246,.5);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-item img {
  height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) opacity(.45);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.logo-item:hover img {
  filter: grayscale(0) brightness(1) invert(0) opacity(1);
  transform: scale(1.06);
}

/* ============ Ambient section glows (decorative, behind content) ============ */
.ambient-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-blue { background: radial-gradient(circle, rgba(1,118,211,.30), transparent 70%); }
.glow-purple { background: radial-gradient(circle, rgba(108,92,231,.26), transparent 70%); }
.glow-cyan { background: radial-gradient(circle, rgba(0,201,255,.22), transparent 70%); animation-delay: -6s; }

@media (prefers-reduced-motion: reduce) {
  .ambient-glow { animation: none; }
}

/* ============ Section head ============ */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  color: var(--blue-light);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ============ Services ============ */
.services { padding: 110px 0; }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,118,211,.05), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md), var(--glow);
  border-color: rgba(1,118,211,.35);
}
.service-card:hover::before { opacity: 1; }
.service-card.tilting { transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }

.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(1,118,211,.22), rgba(0,201,255,.28));
  border: 1px solid rgba(0,201,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }

.service-card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: .93rem; }

/* ============ Why Us ============ */
.why-us {
  padding: 110px 0;
  background: linear-gradient(180deg, rgba(10,14,25,.92), rgba(10,15,30,.95));
  overflow: hidden;
}
.why-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}
.why-text .eyebrow { display: block; }
.why-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.why-text > p { color: var(--text-soft); margin-bottom: 32px; font-size: 1.02rem; }

.why-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.why-list strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.why-list p { color: var(--text-soft); font-size: .92rem; }

.why-visual { display: flex; align-items: center; justify-content: center; }
.orbit-wrap {
  position: relative;
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  border: 1.5px dashed rgba(1,118,211,.28);
  border-radius: 50%;
}
.ring-1 { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.ring-2 { width: 72%; height: 72%; animation: spin 16s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg), var(--glow);
  z-index: 2;
}
.orbit-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}
.tag-1 { top: 0; left: 50%; transform: translateX(-50%); }
.tag-2 { right: -6px; top: 42%; animation-delay: -1.5s; }
.tag-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -3s; }
.tag-4 { left: -18px; top: 42%; animation-delay: -4.5s; }

/* ============ Success Stories ============ */
.success-stories { padding: 110px 0; overflow: hidden; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.story-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  perspective: 800px;
}
.story-card:hover { box-shadow: var(--shadow-lg), var(--glow); }
.story-card.tilting { transition: box-shadow .4s var(--ease); }
.story-thumb {
  /* matches the real screenshots' native ~0.92 aspect ratio so nothing is cropped */
  aspect-ratio: 92 / 100;
  position: relative;
  overflow: hidden;
  background: #f4f6fa;
}
.story-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.story-card:hover .story-thumb img { transform: scale(1.08); }
.story-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,0) 40%, rgba(5,7,15,.55) 100%);
}
.story-tag {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 1;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(1, 118, 211, .55);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 999px;
}
.story-card h3 { padding: 20px 22px 6px; font-size: 1.08rem; }
.story-card p { padding: 0 22px 22px; color: var(--text-soft); font-size: .9rem; }

/* ============ Testimonials ============ */
.testimonials { padding: 110px 0; background: linear-gradient(180deg, rgba(10,15,30,.95), rgba(10,14,25,.92)); overflow: hidden; }
.testimonial-slider { max-width: 780px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); }
.testimonial-track {
  display: flex;
  transition: transform .55s var(--ease);
  touch-action: pan-y;
  cursor: grab;
}
.testimonial-track:active { cursor: grabbing; }
.testimonial-card {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 46px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stars { color: #ffb400; letter-spacing: 4px; margin-bottom: 18px; }
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: var(--heading);
  line-height: 1.7;
  margin-bottom: 26px;
  font-style: italic;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(1,118,211,.25);
  flex-shrink: 0;
}
.testimonial-card figcaption div { text-align: left; }
.testimonial-card figcaption strong { display: block; font-size: .95rem; }
.testimonial-card figcaption span { font-size: .8rem; color: var(--text-soft); }

.slider-progress {
  max-width: 260px;
  margin: 30px auto 0;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.slider-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  border-radius: 3px;
}
.slider-progress i.animating {
  transition: width linear;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--heading);
  transition: background .25s, color .25s, transform .25s;
}
.slider-btn:hover { background: var(--blue); color: #fff; transform: scale(1.06); }
.slider-dots { display: flex; gap: 9px; }
.slider-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s, transform .3s;
}
.slider-dots button.active { background: var(--blue); transform: scale(1.3); }

/* ============ Consultation form ============ */
.consultation { padding: 110px 0 120px; overflow: hidden; }
.consult-form {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 30px;
}
.form-field.span-2 { grid-column: span 2; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-soft); opacity: .7; }
.form-field select option { background: var(--surface); color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 4px rgba(1,118,211,.18);
}
.form-field textarea { resize: vertical; }

.checkbox-row { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.checkbox {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.checkbox input { width: 16px; height: 16px; accent-color: var(--blue); }

.btn-submit { width: 100%; justify-content: center; position: relative; }
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-submit.loading .btn-label { opacity: .6; }
.btn-submit.loading .btn-spinner { display: inline-block; }

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: .9rem;
  min-height: 20px;
  color: var(--blue-light);
  opacity: 0;
  transition: opacity .3s;
}
.form-note.show { opacity: 1; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: rgba(226,233,246,.72);
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin: 18px 0 22px; font-size: .92rem; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .25s, transform .25s;
}
.social-links a:hover { background: var(--blue); transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: .92rem; transition: color .25s; }
.footer-col ul a:hover { color: var(--blue-light); }

.newsletter p { font-size: .88rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; margin-bottom: 14px; }
.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(226,233,246,.4); }
.newsletter-form button {
  width: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.privacy-check { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(226,233,246,.55); }

.footer-bottom { padding: 26px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(226,233,246,.5);
}
.legal-links { display: flex; gap: 24px; }
.legal-links a:hover { color: #fff; }

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .3s;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ Reveal animations ============ */
/* Only hide content when the "js-ready" class (set by an inline script) is present,
   so the page is never blank if JavaScript fails to load or run. Different sections
   use different data-reveal variants (up / left / right / scale) for visual variety. */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-ready [data-reveal="left"] { transform: translateX(-52px); }
.js-ready [data-reveal="right"] { transform: translateX(52px); }
.js-ready [data-reveal="scale"] { transform: translateY(24px) scale(.93); }

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ============ Hero load-in sequence ============ */
/* Gated behind .js-ready (see above) so the hero is never blank if JS doesn't run. */
.js-ready .hero-content > * {
  opacity: 0;
  transform: translateY(22px);
}
.hero-content.hero-play > * {
  animation: heroChildIn .9s var(--ease) forwards;
}
.hero-content.hero-play > *:nth-child(1) { animation-delay: .1s; }
.hero-content.hero-play > *:nth-child(2) { animation-delay: .25s; }
.hero-content.hero-play > *:nth-child(3) { animation-delay: .4s; }
.hero-content.hero-play > *:nth-child(4) { animation-delay: .55s; }
.hero-content.hero-play > *:nth-child(5) { animation-delay: .7s; }
@keyframes heroChildIn {
  to { opacity: 1; transform: translateY(0); }
}

.js-ready .hero-visual {
  opacity: 0;
  transform: translateY(30px) scale(.96);
  transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s;
}
.hero-visual.hero-play {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal],
  .js-ready .hero-content > *,
  .js-ready .hero-visual {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 460px; margin: 0 auto; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .services-grid, .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(6,10,22,.98);
    backdrop-filter: blur(14px);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 20px 24px 30px; gap: 20px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 24px; }
}

@media (max-width: 620px) {
  .services-grid, .stories-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .consult-form { padding: 30px 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
