/* =========================
   EASYPRINT GLOBAL STYLE
========================= */

:root {
  --ep-navy: #184e83;
  --ep-navy-2: #24538b;
  --ep-blue: #2f9dde;
  --ep-cyan: #16b9d4;
  --ep-text: #2d4766;
  --ep-muted: #63758c;
  --ep-white: #ffffff;
  --ep-glass: rgba(255, 255, 255, 0.64);
  --ep-glass-strong: rgba(255, 255, 255, 0.78);
  --ep-border: rgba(255, 255, 255, 0.76);
  --ep-shadow: 0 24px 70px rgba(24, 78, 131, 0.14);
  --ep-shadow-soft: 0 16px 38px rgba(24, 78, 131, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: "ABeeZee", sans-serif;
  color: var(--ep-navy);
  overflow-x: hidden;

  background:
    radial-gradient(circle at 14% 16%, rgba(47, 157, 222, 0.18), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(22, 185, 212, 0.12), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(22, 185, 212, 0.22), transparent 34%),
    linear-gradient(135deg, #f9fdff 0%, #eaf8ff 42%, #ffffff 100%);
}

/* animated background orbs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(22px);
}

body::before {
  width: 640px;
  height: 640px;
  left: -190px;
  top: -200px;
  background: radial-gradient(circle, rgba(47, 157, 222, 0.24), transparent 68%);
  animation: circleOrbitOne 38s ease-in-out infinite alternate;
}

body::after {
  width: 760px;
  height: 760px;
  right: -260px;
  bottom: -280px;
  background: radial-gradient(circle, rgba(22, 185, 212, 0.20), transparent 70%);
  animation: circleOrbitTwo 46s ease-in-out infinite alternate;
}

main,
.site-header,
.modal-overlay {
  position: relative;
  z-index: 2;
}

/* =========================
   HEADER / NAVIGATION
========================= */

.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 70px);
  pointer-events: none;
  animation: navDrop 0.75s ease both;
}

.nav-menu {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 42px rgba(24, 78, 131, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* .nav-link {
  min-height: 38px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ep-navy);
  font-size: 14px;
  line-height: 1;
  transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease;
} */

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  min-height: 38px;
  margin: 0;
  padding: 10px 18px;

  appearance: none;
  -webkit-appearance: none;

  border: 0;
  border-radius: 999px;
  background: transparent;

  text-decoration: none;
  white-space: nowrap;

  color: var(--ep-navy);
  font-family: "ABeeZee", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(214, 243, 255, 0.95);
  color: var(--ep-navy);
  box-shadow: inset 0 0 0 1px rgba(47, 157, 222, 0.08);
}

.nav-link:hover {
  transform: translateY(-1px);
}

/* =========================
   GLOBAL SECTION
========================= */

.section {
  position: relative;
  z-index: 2;
  width: 100%;
}

.section-title {
  font-family: "Hammersmith One", sans-serif;
  color: var(--ep-navy);
  letter-spacing: 0.2px;
}

/* =========================
   REVEAL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    filter 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left {
  transform: translateX(-42px);
}

.reveal-right {
  transform: translateX(42px);
}

.reveal-scale {
  transform: translateY(24px) scale(0.94);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  transform: translateX(0) translateY(0) scale(1);
}

/* =========================
   BUTTON SHINE
========================= */

.upload-btn {
  position: relative;
  overflow: hidden;
}

.upload-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 45%,
    transparent 75%
  );
  transform: translateX(-130%);
  animation: buttonShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* =========================
   HOVER POLISH
========================= */

.step-card,
.price-card,
.about-card {
  will-change: transform;
}

/* =========================
   KEYFRAMES
========================= */

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonShine {
  0%, 48% {
    transform: translateX(-130%);
  }

  70%, 100% {
    transform: translateX(130%);
  }
}

@keyframes circleOrbitOne {
  from {
    transform: translate3d(-10px, -12px, 0) scale(1);
    opacity: 0.85;
  }

  to {
    transform: translate3d(32px, 24px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes circleOrbitTwo {
  from {
    transform: translate3d(18px, 18px, 0) scale(1);
    opacity: 0.85;
  }

  to {
    transform: translate3d(-28px, -22px, 0) scale(1.06);
    opacity: 1;
  }
}

/* =========================
   RESPONSIVE NAV
========================= */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    top: 14px;
    justify-content: center;
    padding: 0 12px;
  }

  .nav-menu {
    max-width: 100%;
    overflow-x: auto;
    gap: 4px;
    padding: 7px;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 13px;
  }
}

/* =========================
   ACCESSIBILITY / PERFORMANCE
========================= */

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* TEMPORARY: hide upload modal content while modal JS is not fixed */
#uploadModal,
.modal-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}