/* MountNova premium visual layer.
   Loaded after the original page styles so the live static site remains easy to roll back. */

:root {
  --bg-primary: #050a14;
  --bg-secondary: #081120;
  --bg-elevated: #0d1729;
  --bg-card: #111d32;
  --bg-card-hover: #16243d;
  --text-primary: #f8fbff;
  --text-secondary: #c7d2e4;
  --text-muted: #94a3b8;
  --accent-1: #8b5cf6;
  --accent-2: #12d7ff;
  --accent-3: #3b82f6;
  --accent-grad: linear-gradient(135deg, #12d7ff 0%, #3b82f6 46%, #8b5cf6 100%);
  --accent-grad-hover: linear-gradient(135deg, #5ee7ff 0%, #60a5fa 42%, #a78bfa 100%);
  --border: rgba(148, 184, 255, 0.22);
  --border-hover: rgba(18, 215, 255, 0.52);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 42px rgba(18, 215, 255, 0.18), 0 22px 55px rgba(0, 0, 0, 0.38);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 220ms cubic-bezier(.2, .8, .2, 1);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text-primary);
  background:
    linear-gradient(180deg, #050a14 0%, #07101f 42%, #050a14 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(18, 215, 255, 0.10), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.12), transparent 31%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  animation: premiumDrift 26s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(18, 215, 255, 0.34) 0 1px, transparent 1.3px);
  background-size: 140px 140px, 190px 190px;
  background-position: 0 0, 70px 90px;
  animation: premiumParticles 34s linear infinite;
}

@keyframes premiumDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 2% 3%, -3% 2%, 36px 36px, -36px -36px; }
}

@keyframes premiumParticles {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-70px, -90px, 0); }
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-primary);
  font-weight: 850;
}

h1 {
  font-size: clamp(2.7rem, 6.8vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

h3 {
  line-height: 1.18;
}

p,
.testimonial-text,
.check-list li,
.pricing-features li {
  color: var(--text-secondary);
}

.grad-text {
  color: transparent;
  background: linear-gradient(90deg, #f8fbff 0%, #12d7ff 28%, #60a5fa 56%, #a78bfa 82%, #f8fbff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: premiumTextFlow 7s ease-in-out infinite;
}

@keyframes premiumTextFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.container {
  width: min(calc(100% - 40px), 1200px);
  max-width: 1200px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 23, 41, 0.32), rgba(8, 17, 32, 0.64));
  border-top: 1px solid rgba(148, 184, 255, 0.12);
  border-bottom: 1px solid rgba(148, 184, 255, 0.10);
}

.section-label,
.badge {
  color: #8eeaff;
  background: rgba(18, 215, 255, 0.11);
  border: 1px solid rgba(18, 215, 255, 0.30);
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
}

.section-desc {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.navbar {
  padding: 18px 0;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(5, 10, 20, 0.78);
  border-bottom: 1px solid rgba(148, 184, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: opacity var(--transition);
}

.navbar.scrolled::before,
body.menu-open .navbar::before {
  opacity: 1;
}

.navbar.scrolled {
  background: transparent;
  border-bottom: 0;
  padding: 12px 0;
}

.nav-inner {
  position: relative;
  z-index: 2;
}

.nav-logo {
  color: var(--text-primary);
  letter-spacing: 0;
}

.nav-logo .logo-icon {
  color: #03101d;
  background: var(--accent-grad-hover);
  box-shadow: 0 0 30px rgba(18, 215, 255, 0.36);
}

.nav-links a {
  color: #d7e2f2;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  background: var(--accent-grad-hover);
}

.hamburger {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 184, 255, 0.24);
  border-radius: 12px;
  background: rgba(17, 29, 50, 0.72);
}

.hamburger span {
  background: var(--text-primary);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(2, 6, 15, 0.70);
  backdrop-filter: blur(8px);
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero,
.page-hero {
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(18, 215, 255, 0.06), transparent 36%),
    linear-gradient(225deg, rgba(139, 92, 246, 0.10), transparent 42%);
}

.hero {
  min-height: 88vh;
  padding: 142px 0 110px;
}

.hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 20% 30%, rgba(18, 215, 255, 0.18), transparent 22%),
    radial-gradient(circle at 74% 20%, rgba(139, 92, 246, 0.16), transparent 24%),
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.06) 36%, transparent 39% 100%);
  filter: saturate(1.15);
  animation: premiumHeroFlow 14s ease-in-out infinite alternate;
}

.hero::after,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(18, 215, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 70%, transparent 100%);
}

@keyframes premiumHeroFlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -18px, 0) scale(1.04); }
}

.orb {
  display: none;
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
  width: 100%;
}

.hero-content.fade-in {
  opacity: 1;
  transform: none;
  animation: premiumHeroIntro 820ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes premiumHeroIntro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  color: #bff5ff;
  background: rgba(18, 215, 255, 0.10);
  border: 1px solid rgba(18, 215, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-badge .dot {
  background: #2ef2ff;
  box-shadow: 0 0 18px rgba(18, 215, 255, 0.85);
}

.hero p {
  width: 100%;
  max-width: 680px;
  color: #d4deed;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.page-hero {
  padding: 158px 0 88px;
}

.page-hero p {
  color: #d4deed;
}

.btn {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  border-radius: 999px;
  transform: translate3d(0, 0, 0);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
  will-change: transform;
  max-width: 100%;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.95), transparent 30%);
  transition: opacity var(--transition);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
}

.btn-primary {
  color: #03101d;
  background: var(--accent-grad-hover);
  box-shadow: 0 18px 44px rgba(18, 215, 255, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.btn-primary:hover {
  color: #03101d;
  box-shadow: 0 22px 62px rgba(18, 215, 255, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.btn:hover::before {
  opacity: 0.45;
}

.btn-outline {
  color: #f8fbff;
  background: rgba(17, 29, 50, 0.74);
  border: 1px solid rgba(148, 184, 255, 0.36);
}

.btn-outline:hover {
  color: #ffffff;
  border-color: rgba(18, 215, 255, 0.74);
  box-shadow: 0 18px 42px rgba(18, 215, 255, 0.14);
}

.card,
.service-card,
.service-detail-card,
.pricing-card,
.portfolio-item,
.testimonial-card,
.process-step,
.contact-info-card,
.contact-form-card,
.faq-item,
.team-card,
.modal-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.card,
.service-card,
.service-detail-card,
.pricing-card,
.portfolio-item,
.testimonial-card,
.process-step,
.team-card,
.faq-item {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.card:hover,
.service-card:hover,
.service-detail-card:hover,
.pricing-card:hover,
.portfolio-item:hover,
.testimonial-card:hover,
.process-step:hover,
.team-card:hover,
.faq-item:hover {
  background:
    linear-gradient(180deg, rgba(18, 215, 255, 0.055), transparent 34%),
    var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.service-card,
.service-detail-card,
.pricing-card,
.portfolio-item,
.team-card {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.service-detail-card::after,
.pricing-card::after,
.portfolio-item::after,
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(18, 215, 255, 0.16), transparent 36%, rgba(139, 92, 246, 0.12));
  transition: opacity var(--transition);
}

.service-card:hover::after,
.service-detail-card:hover::after,
.pricing-card:hover::after,
.portfolio-item:hover::after,
.team-card:hover::after {
  opacity: 1;
}

.card-icon,
.step-number,
.contact-icon,
.service-big-icon,
.author-avatar {
  color: #03101d;
  background: var(--accent-grad-hover);
  box-shadow: 0 0 32px rgba(18, 215, 255, 0.28);
}

.stats-section {
  background:
    linear-gradient(90deg, rgba(18, 215, 255, 0.10), transparent 36%, rgba(139, 92, 246, 0.10)),
    rgba(8, 17, 32, 0.96);
  border-top: 1px solid rgba(148, 184, 255, 0.18);
  border-bottom: 1px solid rgba(148, 184, 255, 0.16);
}

.stat-number,
.price-amount,
.modal-stat .val,
.timeline-year {
  background: var(--accent-grad-hover);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: #d4deed;
}

.logos-strip {
  position: relative;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logos-strip .marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: premiumMarquee 24s linear infinite;
}

.logos-strip:hover .marquee-track {
  animation-play-state: paused;
}

.logo-pill {
  flex: 0 0 auto;
  color: #d7e2f2;
  background: rgba(17, 29, 50, 0.74);
  border: 1px solid rgba(148, 184, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-pill:hover {
  color: #ffffff;
  border-color: rgba(18, 215, 255, 0.46);
}

@keyframes premiumMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.service-card {
  animation: premiumFloat 8s ease-in-out infinite;
}

.service-card:nth-child(2n) {
  animation-delay: -2.2s;
}

.service-card:nth-child(3n) {
  animation-delay: -4s;
}

@keyframes premiumFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.service-card:hover {
  animation-play-state: paused;
}

.service-detail-card {
  border-radius: 22px;
}

.service-visual {
  background:
    radial-gradient(circle at 30% 25%, rgba(18, 215, 255, 0.12), transparent 42%),
    rgba(8, 17, 32, 0.64);
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(18, 215, 255, 0.64);
  box-shadow: 0 0 0 1px rgba(18, 215, 255, 0.30), 0 28px 70px rgba(18, 215, 255, 0.16);
}

.pricing-card:hover {
  box-shadow: 0 0 0 1px rgba(18, 215, 255, 0.38), 0 34px 80px rgba(18, 215, 255, 0.22);
}

.pricing-badge,
.result-chip,
.filter-btn.active {
  color: #03101d;
  background: var(--accent-grad-hover);
  border-color: transparent;
}

.filter-bar {
  background: rgba(8, 17, 32, 0.70);
  border: 1px solid rgba(148, 184, 255, 0.18);
  backdrop-filter: blur(14px);
}

.filter-btn {
  color: #d7e2f2;
  background: rgba(17, 29, 50, 0.72);
  border-color: rgba(148, 184, 255, 0.22);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(18, 215, 255, 0.48);
}

.portfolio-thumb {
  background-size: 150% 150%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), filter var(--transition), background-position 900ms ease;
}

.portfolio-item:hover .portfolio-thumb {
  transform: scale(1.035);
  filter: saturate(1.25) brightness(1.14);
  background-position: 100% 35%;
}

.portfolio-body p,
.team-body p,
.faq-answer-inner,
.contact-detail-sub {
  color: var(--text-secondary);
}

.result-chip.green {
  color: #062014;
  background: linear-gradient(135deg, #6ee7b7, #22c55e);
}

.result-chip.purple {
  color: #12051e;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
}

.result-chip.cyan {
  color: #03101d;
  background: linear-gradient(135deg, #67e8f9, #12d7ff);
}

.team-photo {
  box-shadow: inset 0 -42px 80px rgba(5, 10, 20, 0.34);
}

.team-social,
.social-btn,
.modal-close {
  background: rgba(17, 29, 50, 0.86);
  border-color: rgba(148, 184, 255, 0.24);
  color: #d7e2f2;
}

.team-social:hover,
.social-btn:hover,
.modal-close:hover {
  color: #03101d;
  background: var(--accent-grad-hover);
  border-color: transparent;
}

.timeline::before {
  background: linear-gradient(180deg, rgba(18, 215, 255, 0.72), rgba(139, 92, 246, 0.72));
}

.timeline-item::before {
  background: var(--accent-grad-hover);
  box-shadow: 0 0 0 7px rgba(18, 215, 255, 0.10), 0 0 28px rgba(18, 215, 255, 0.45);
}

.contact-detail-val a:hover,
.footer-col a:hover {
  color: #67e8f9 !important;
}

.form-control {
  color: var(--text-primary);
  background: rgba(8, 17, 32, 0.82);
  border: 1px solid rgba(148, 184, 255, 0.24);
}

.form-control::placeholder {
  color: #8190a5;
}

.form-control:focus {
  border-color: rgba(18, 215, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(18, 215, 255, 0.11);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 215, 255, 0.13), rgba(139, 92, 246, 0.13)),
    rgba(13, 23, 41, 0.92);
  border: 1px solid rgba(18, 215, 255, 0.26);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.10) 42%, transparent 64%);
  transform: translateX(-120%);
  animation: premiumShine 8s ease-in-out infinite;
}

@keyframes premiumShine {
  0%, 58%, 100% { transform: translateX(-120%); }
  76% { transform: translateX(120%); }
}

footer {
  background:
    linear-gradient(180deg, rgba(8, 17, 32, 0.94), #050a14);
  border-top: 1px solid rgba(148, 184, 255, 0.16);
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-secondary);
}

.footer-col h4 {
  color: #f8fbff;
}

.fade-in {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.premium-stagger {
  transition-delay: var(--stagger-delay, 0ms);
}

@media (max-width: 1024px) {
  h1 {
    font-size: clamp(2.55rem, 9vw, 4.6rem);
  }

  .section {
    padding: 92px 0;
  }
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    padding: 126px 0 82px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page-hero {
    padding: 130px 0 70px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-btns,
  .page-hero .hero-btns {
    width: 100%;
    max-width: 100%;
  }

  .hero-btns .btn,
  .page-hero .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(88vw, 340px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    background: rgba(8, 17, 32, 0.96);
    border-left: 1px solid rgba(148, 184, 255, 0.22);
    box-shadow: -28px 0 60px rgba(0, 0, 0, 0.38);
    transform: translateX(105%);
    transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
    transform: translateX(0);
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .card,
  .service-card,
  .service-detail-card,
  .pricing-card,
  .testimonial-card,
  .process-step,
  .contact-form-card,
  .contact-info-card {
    padding: 28px;
  }

  .logos-strip {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .section {
    padding: 76px 0;
  }

  .hero,
  .page-hero {
    text-align: left;
  }

  .page-hero .container {
    text-align: left;
  }

  .page-hero p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .stats-grid {
    gap: 20px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .process-step {
    flex-direction: column;
  }
}

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

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
