/* ============================================================
   Amgu Solutions — Premium Dark Design System
   ============================================================ */

:root {
  --bg: #070711;
  --bg-2: #0c0c1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1ff;
  --text-muted: #9aa0bd;
  --primary: #6d5efc;
  --primary-2: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --gradient: linear-gradient(120deg, #6d5efc 0%, #8b5cf6 40%, #22d3ee 100%);
  --gradient-soft: linear-gradient(120deg, #6d5efc, #22d3ee);
  --shadow-glow: 0 20px 60px rgba(109, 94, 252, 0.35);
  --radius: 20px;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--bg);
  position: relative;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
}

::selection { background: rgba(109, 94, 252, 0.4); color: #fff; }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a44; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a5c; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--gradient);
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
  animation: pulse-logo 1.4s ease-in-out infinite;
}
.preloader-bar {
  width: 180px; height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  width: 40%;
  background: var(--gradient);
  border-radius: 10px;
  animation: loading 1.1s ease-in-out infinite;
}
@keyframes pulse-logo { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes loading { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ============================================================
   Aurora animated background
   ============================================================ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 50% -10%, rgba(109, 94, 252, 0.1), transparent 60%),
    var(--bg);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-1 {
  width: 520px; height: 520px;
  background: #6d5efc;
  top: -140px; left: -120px;
  animation: drift1 18s ease-in-out infinite;
}
.aurora-2 {
  width: 460px; height: 460px;
  background: #22d3ee;
  top: 30%; right: -140px;
  animation: drift2 22s ease-in-out infinite;
}
.aurora-3 {
  width: 420px; height: 420px;
  background: #f472b6;
  bottom: -160px; left: 30%;
  animation: drift3 20s ease-in-out infinite;
}
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(120px,80px) scale(1.15);} }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-100px,60px) scale(1.1);} }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(80px,-70px) scale(1.2);} }

/* cursor glow */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.14), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(109, 94, 252, 0.8);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 14px;
  padding: 0.7rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
}
.btn-glow {
  position: relative;
  background: var(--gradient);
  background-size: 180% 180%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.3);
}
.btn-glow:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  background-position: right center;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.btn-light {
  background: #fff; color: #141427;
  font-weight: 700; border-radius: 14px;
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); color: #141427; }

/* ============================================================
   Navbar
   ============================================================ */
#mainNav {
  padding: 1.1rem 0;
  transition: all 0.35s ease;
  background: transparent;
}
#mainNav.scrolled {
  padding: 0.6rem 0;
  background: rgba(10, 10, 22, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand-logo {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--gradient);
  color: #fff; font-weight: 700;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.5px;
}
.brand-accent {
  background: var(--gradient-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}
.navbar-nav .nav-link {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 10px;
  position: relative;
  transition: color 0.2s ease;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute;
  bottom: 0.3rem; left: 50%;
  width: 0; height: 2px;
  background: var(--gradient-soft);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }

.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block; width: 26px; height: 2px;
  background: var(--text); margin: 5px 0;
  border-radius: 2px; transition: all 0.3s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500; font-size: 0.85rem;
  padding: 0.5rem 1rem; border-radius: 50px;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 1.2rem 0;
  color: var(--text);
}
.text-gradient-animated {
  background: linear-gradient(120deg, #6d5efc, #22d3ee, #f472b6, #6d5efc);
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 6s ease infinite;
}
@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.type-target {
  color: var(--cyan);
  border-right: 3px solid var(--cyan);
  padding-right: 2px;
  animation: caret 0.8s step-end infinite;
}
@keyframes caret { 50% { border-color: transparent; } }
.hero-lead {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.7;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--text);
}
.hero-stats .stat-label { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* hero visual: orbit system */
.hero-visual {
  position: relative;
  height: 460px;
  display: grid; place-items: center;
  transform-style: preserve-3d;
}
.orbit-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.orbit-ring-1 { width: 300px; height: 300px; animation: spin 24s linear infinite; }
.orbit-ring-2 { width: 420px; height: 420px; border-style: dashed; animation: spin 36s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-core {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-glow);
  animation: core-pulse 4s ease-in-out infinite;
}
@keyframes core-pulse {
  0%,100% { box-shadow: 0 0 40px rgba(109,94,252,0.4); }
  50% { box-shadow: 0 0 80px rgba(34,211,238,0.6); }
}
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(18, 18, 34, 0.8);
  border: 1px solid var(--border);
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 3;
}
.float-card i { font-size: 1.5rem; }
.float-card-1 { top: 8%; left: -4%; animation: floaty 5s ease-in-out infinite; }
.float-card-1 i { color: var(--primary); }
.float-card-2 { bottom: 14%; right: -6%; animation: floaty 5s ease-in-out infinite 1.2s; }
.float-card-2 i { color: var(--pink); }
.float-card-3 { bottom: 2%; left: 4%; animation: floaty 5s ease-in-out infinite 2.4s; }
.float-card-3 i { color: var(--green); }
.float-card strong { display: block; color: var(--text); font-family: var(--font-heading); font-size: 0.95rem; }
.float-card small { color: var(--text-muted); font-size: 0.78rem; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-16px);} }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: none;
}
.mouse {
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px;
}
.wheel {
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--text);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0);} 40% { opacity: 1;} 100% { opacity: 0; transform: translateY(12px);} }
@media (min-width: 992px) { .scroll-cue { display: block; } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee-section {
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  padding: 1.4rem 0;
  overflow: hidden;
}
.marquee { display: flex; overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--text);
}
.marquee-track .dot { color: var(--primary); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 7rem 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-eyebrow {
  display: inline-block;
  color: transparent;
  background: var(--gradient-soft);
  -webkit-background-clip: text; background-clip: text;
  font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700; letter-spacing: -1px;
  margin-bottom: 1rem; line-height: 1.15;
}
.section-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }

/* ============================================================
   About
   ============================================================ */
.about-visual { position: relative; transform-style: preserve-3d; }
.about-glass {
  height: 400px; border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  backdrop-filter: blur(10px);
}
.about-glow {
  position: absolute; width: 280px; height: 280px;
  background: var(--gradient); border-radius: 50%;
  filter: blur(60px); opacity: 0.5;
  animation: core-pulse 5s ease-in-out infinite;
}
.about-rocket {
  font-size: 6rem; color: #fff; position: relative; z-index: 2;
  animation: floaty 4s ease-in-out infinite;
}
.about-codeline { position: absolute; bottom: 32px; left: 32px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.about-codeline span { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.25); }
.about-codeline span:nth-child(1) { width: 120px; }
.about-codeline span:nth-child(2) { width: 80px; }
.about-codeline span:nth-child(3) { width: 150px; }
.about-badge {
  position: absolute; bottom: -22px; right: 18px;
  background: rgba(18, 18, 34, 0.92);
  border: 1px solid var(--border);
  padding: 1rem 1.3rem; border-radius: 16px;
  display: flex; align-items: center; gap: 0.7rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.about-badge i { font-size: 1.8rem; color: #fbbf24; }
.about-badge strong { display: block; color: var(--text); font-family: var(--font-heading); }
.about-badge small { color: var(--text-muted); }
.about-list li { padding: 0.45rem 0; color: var(--text); font-weight: 500; }
.about-list i { color: var(--cyan); margin-right: 0.6rem; }

/* ============================================================
   Service cards (glass + tilt + glow)
   ============================================================ */
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.service-glow {
  position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--gradient); filter: blur(50px);
  opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover .service-glow { opacity: 0.35; }
.service-icon {
  width: 66px; height: 66px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.8rem; color: #fff; margin-bottom: 1.5rem;
  position: relative; z-index: 2;
}
.service-icon-blue { background: linear-gradient(135deg, #6d5efc, #22d3ee); }
.service-icon-purple { background: linear-gradient(135deg, #8b5cf6, #f472b6); }
.service-icon-green { background: linear-gradient(135deg, #34d399, #22d3ee); }
.service-title { font-size: 1.4rem; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.service-text { color: var(--text-muted); margin-bottom: 1.25rem; position: relative; z-index: 2; }
.service-features { position: relative; z-index: 2; }
.service-features li { padding: 0.35rem 0; color: var(--text); font-size: 0.95rem; }
.service-features i { color: var(--green); margin-right: 0.5rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; color: var(--cyan);
  font-weight: 600; text-decoration: none;
  font-family: var(--font-heading);
  position: relative; z-index: 2;
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 0.8rem; color: #fff; }

/* ============================================================
   Process timeline
   ============================================================ */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(var(--primary), var(--cyan));
  opacity: 0.4;
}
.timeline-item { display: flex; gap: 1.5rem; margin-bottom: 1.8rem; position: relative; }
.timeline-node {
  flex: 0 0 56px; width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--primary);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--text); z-index: 2;
}
.timeline-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.3rem 1.6rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline-item:hover .timeline-card { transform: translateX(8px); border-color: var(--border-strong); }
.timeline-card h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.timeline-card p { margin: 0; color: var(--text-muted); }

/* ============================================================
   Why cards
   ============================================================ */
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem; text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.why-icon {
  font-size: 2.6rem; margin-bottom: 1rem; display: inline-block;
  background: var(--gradient-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ============================================================
   Parallax statement section
   ============================================================ */
.parallax-section {
  position: relative;
  overflow: hidden;
  padding: 9rem 0;
  background:
    radial-gradient(700px circle at 20% 20%, rgba(109, 94, 252, 0.25), transparent 55%),
    radial-gradient(700px circle at 80% 80%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(160deg, #0b0b1a, #15102e 55%, #0a1420);
  border-block: 1px solid var(--border);
  isolation: isolate;
}

/* every parallax layer sits behind content and moves via JS transform */
.px-layer {
  position: absolute;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

/* giant watermark word drifting slowly */
.px-watermark {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 26vw, 20rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.06);
  text-stroke: 2px rgba(255, 255, 255, 0.06);
  user-select: none;
  white-space: nowrap;
}

/* floating blurred shapes at varied depths */
.px-shape { border-radius: 50%; filter: blur(14px); }
.px-shape-1 { width: 260px; height: 260px; top: -40px; left: 6%; background: rgba(109, 94, 252, 0.35); }
.px-shape-2 { width: 180px; height: 180px; bottom: -30px; right: 10%; background: rgba(34, 211, 238, 0.3); }
.px-shape-3 { width: 120px; height: 120px; top: 30%; right: 32%; background: rgba(244, 114, 182, 0.3); }

/* dotted texture layer */
.px-dots {
  inset: -10% 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.px-content { z-index: 2; }
.parallax-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -1px;
  color: #fff; margin-bottom: 0.8rem;
}
.parallax-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

.px-stats { margin-top: 2.5rem; }
.px-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.px-stat:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.px-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--gradient-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.px-stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* ============================================================
   CTA banner (parallax)
   ============================================================ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 6rem 0; text-align: center;
  background: linear-gradient(120deg, #4c1d95, #1e1b4b 60%, #0e7490);
  isolation: isolate;
}
.cta-blob {
  position: absolute; border-radius: 50%;
  filter: blur(10px); z-index: -1; will-change: transform;
}
.cta-blob-1 { width: 220px; height: 220px; background: rgba(255,255,255,0.1); top: -50px; left: 8%; }
.cta-blob-2 { width: 150px; height: 150px; background: rgba(34,211,238,0.25); bottom: -40px; right: 12%; }
.cta-blob-3 { width: 100px; height: 100px; background: rgba(244,114,182,0.25); top: 30%; right: 30%; }
.cta-title { font-family: var(--font-display); color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
.cta-text { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 620px; margin: 0 auto 1.5rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-info li { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; color: var(--text); font-weight: 500; }
.contact-info i { color: var(--cyan); font-size: 1.1rem; }
.contact-info a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.contact-info a:hover { color: var(--cyan); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px; padding: 2.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.form-label { font-weight: 600; font-family: var(--font-heading); color: var(--text); font-size: 0.9rem; }
.form-control, .form-select {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 0.75rem 1rem;
}
.form-control::placeholder { color: #6b7190; }
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.05);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(109,94,252,0.18);
  color: var(--text);
}
.form-select option { background: var(--bg-2); color: var(--text); }
.social-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text);
  font-size: 1.1rem; transition: all 0.25s ease;
}
.social-btn:hover { background: var(--gradient); color: #fff; transform: translateY(-3px); border-color: transparent; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-heading { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.footer-text { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; color: var(--text-muted); font-size: 0.95rem; }
.footer-contact i { color: var(--cyan); margin-top: 0.15rem; }
.footer-contact a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--text); }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); padding-left: 4px; }
.footer-divider { border-color: var(--border); margin: 2.5rem 0 1.5rem; }
.footer a.footer-text:hover { color: var(--text); }

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--gradient); color: #fff;
  border-radius: 14px; box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 999; font-size: 1.2rem;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* ============================================================
   Reveal animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal][data-reveal-dir="left"] { transform: translateX(-50px); }
[data-reveal][data-reveal-dir="right"] { transform: translateX(50px); }
[data-reveal].in-view { opacity: 1; transform: translate(0, 0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  #mainNav { background: rgba(10,10,22,0.9); backdrop-filter: blur(16px); padding: 0.7rem 0; }
  .navbar-collapse {
    background: rgba(14,14,28,0.98);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 1rem; margin-top: 0.8rem;
  }
  .section { padding: 4.5rem 0; }
  .hero-visual { height: 380px; }
  .orbit-ring-2 { width: 340px; height: 340px; }
  .orbit-ring-1 { width: 250px; height: 250px; }
}
@media (max-width: 575.98px) {
  .hero-stats { gap: 1.2rem !important; }
  .stat-divider { display: none; }
  .hero-core { width: 120px; height: 120px; font-size: 3rem; }
  .float-card { padding: 0.6rem 0.8rem; }
  .float-card i { font-size: 1.2rem; }
  .float-card small { display: none; }
  .service-card, .contact-card { padding: 1.75rem; }
  .marquee-track { font-size: 1.1rem; }
  .timeline::before { left: 22px; }
  .timeline-node { flex-basis: 46px; width: 46px; height: 46px; font-size: 0.85rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .type-target { border-right: none; }
}
