@font-face {
  font-family: "Space Grotesk";
  src:
    url("fonts/SpaceGrotesk-Light.woff2") format("woff2"),
    url("fonts/SpaceGrotesk-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src:
    url("fonts/SpaceGrotesk-Regular.woff2") format("woff2"),
    url("fonts/SpaceGrotesk-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src:
    url("fonts/SpaceGrotesk-Medium.woff2") format("woff2"),
    url("fonts/SpaceGrotesk-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src:
    url("fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"),
    url("fonts/SpaceGrotesk-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src:
    url("fonts/SpaceGrotesk-Bold.woff2") format("woff2"),
    url("fonts/SpaceGrotesk-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  color: #fafaf9;
  background: #050208;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}
::selection {
  background: rgba(138, 119, 255, 0.3);
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
}
@media (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(138, 119, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    border-color 0.2s ease;
}
.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: #a99bff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px 2px rgba(138, 119, 255, 0.5);
}
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(138, 119, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
}
@media (pointer: coarse) {
  .cursor-ring,
  .cursor-dot,
  .cursor-glow {
    display: none !important;
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050208;
}
::-webkit-scrollbar-thumb {
  background: #6b5ce7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8a77ff;
}
html {
  scrollbar-color: #6b5ce7 #050208;
  scrollbar-width: thin;
}
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.glow-ring {
  position: fixed;
  bottom: -250px;
  opacity: 0;
  animation: glowRingReveal 1.5s ease-out 2.2s forwards;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(138,119,255,0.35) 0%, rgba(138,119,255,0.15) 30%, rgba(138,119,255,0.05) 55%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
}

@media (min-width: 768px) {
  .glow-ring {
    width: 900px;
    height: 600px;
    bottom: -300px;
  }
}
@keyframes heroZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.35);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
.animate-hero-zoom {
  opacity: 0;
  animation: heroZoomIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes fadeInUpBlur {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.animate-entry {
  animation: fadeInUpBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes animationIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.animate-on-scroll {
  opacity: 0;
}
.animate-on-scroll.animate {
  opacity: 1;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
.site-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 90px;
}
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 32px 0;
  animation: fadeInUpBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) 100ms both;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    padding 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.site-header.is-sticky {
  background: rgba(5, 2, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  padding-top: 18px;
  padding-bottom: 18px;
}
.header-left {
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-text {
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s;
}
.logo-text:hover {
  color: #8a77ff;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(20px, 2vw, 32px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}
.nav-link {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
}
.nav-link:hover {
  color: #8a77ff;
}
.header-right {
  display: flex;
  align-items: center;
}
.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .nav-btn {
    display: inline-flex;
  }
}
.nav-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(138, 119, 255, 0.1);
}
.menu-btn {
  --color: #fff;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  outline: none;
  position: relative;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 70;
}
@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}
.menu-btn svg {
  width: 64px;
  height: 48px;
  top: -6px;
  left: -14px;
  stroke: var(--color);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
  position: absolute;
}
.menu-btn svg path {
  transition:
    stroke-dasharray 0.85s ease,
    stroke-dashoffset 0.85s ease;
  stroke-dasharray: 26px 100px;
  stroke-dashoffset: 126px;
  transform: translateZ(0);
}
.menu-btn svg path:nth-child(2) {
  transition-duration: 0.7s;
  transition-timing-function: ease-in;
  stroke-dashoffset: 100px;
  stroke-dasharray: 26px 74px;
}
.menu-btn svg path:nth-child(3) {
  stroke-dashoffset: 133px;
  stroke-dasharray: 26px 107px;
}
.menu-btn.active svg path {
  stroke-dashoffset: 57px;
}
.menu-btn.active svg path:nth-child(1) {
  transition-delay: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}
.menu-btn.active svg path:nth-child(2) {
  transition-duration: 0.4s;
  stroke-dashoffset: 2px;
  stroke-dasharray: 1px 74px;
}
.menu-btn.active svg path:nth-child(3) {
  stroke-dashoffset: 58px;
  transition-delay: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: clip-path;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050208;
  z-index: -2;
}
.mobile-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 20% 20%,
      rgba(255, 255, 255, 0.03),
      transparent
    ),
    radial-gradient(
      ellipse 50% 50% at 80% 70%,
      rgba(255, 255, 255, 0.02),
      transparent
    ),
    radial-gradient(
      ellipse 40% 30% at 50% 10%,
      rgba(138, 119, 255, 0.05),
      transparent
    );
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: -1;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 36px);
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.mobile-link {
  font-size: 33px;
  font-weight: 500;
  color: #fff;
  transition:
    color 0.3s,
    opacity 0.4s ease,
    transform 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  background: none;
  border: none;
  padding: 0;
}
.mobile-link:hover {
  color: #8a77ff;
}
.mobile-menu.is-open .mobile-link:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}
.mobile-menu.is-open .mobile-link:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}
.mobile-menu.is-open .mobile-link:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.mobile-menu.is-open .mobile-link:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6b5ce7 0%, #8a77ff 40%, #a99bff 70%, #8a77ff 100%);
  color: #fff;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(138,119,255,0.35), 0 0 0 1px rgba(138,119,255,0.3);
  transition: all 0.3s, opacity 0.4s ease 0.65s, transform 0.4s ease 0.65s;
  opacity: 0;
  transform: translateY(20px);
  margin-bottom: 48px;
}
.mobile-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.mobile-cta:hover {
  box-shadow: 0 6px 32px rgba(138,119,255,0.5), 0 0 0 1px rgba(138,119,255,0.5);
  transform: translateY(-1px);
}
.mobile-cta svg {
  color: rgba(255,255,255,0.8);
}
.mobile-menu.is-open .mobile-cta {
  opacity: 1;
  transform: translateY(0) !important;
}
.mobile-divider {
  width: 96px;
  height: 1px;
  margin-bottom: 32px;
  background: linear-gradient(to right, transparent, #8a77ff, transparent);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.mobile-menu.is-open .mobile-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.mobile-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #737373;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.mobile-menu.is-open .mobile-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}
.mobile-footer a {
  transition: color 0.3s;
}
.mobile-footer a:hover {
  color: #8a77ff;
}
.hero {
  display: flex;
  flex-direction: column;
  padding: clamp(64px, 8vw, 96px) 0 clamp(80px, 12vw, 160px);
  position: relative;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  padding: 0 24px;
  margin-top: clamp(24px, 4vw, 48px);
}
.hero-title {
  font-size: clamp(42px, 7vw, 90px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: clamp(20px, 3vw, 32px);
  max-width: 37.5rem;
  background: linear-gradient(to bottom, #8a77ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
  max-width: 672px;
  margin-bottom: clamp(32px, 4vw, 48px);
  color: #a3a3a3;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: clamp(16px, 1.2vw, 18px);
  padding: 16px 40px;
  border-radius: 10px;
  border: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #6b5ce7 0%,
    #8a77ff 40%,
    #a99bff 70%,
    #8a77ff 100%
  );
  color: #fff;
  gap: 8px;
  transition: all 0.3s;
  box-shadow:
    0 4px 24px rgba(138, 119, 255, 0.35),
    0 0 0 1px rgba(138, 119, 255, 0.3);
}
.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}
.hero-btn:hover {
  box-shadow:
    0 6px 32px rgba(138, 119, 255, 0.5),
    0 0 0 1px rgba(138, 119, 255, 0.5);
  transform: translateY(-1px);
}
.hero-btn-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s, transform 0.3s;
}
.hero-btn:hover .hero-btn-icon {
  color: #fff;
  animation: arrowBounce 1s ease-in-out infinite;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  z-index: 1;
}

/* IMG */
.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  border-radius: 20px; /* sjednoceno s wrapperem */
}

/* TOP gradient */
.hero-image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(5, 2, 8, 0.6) 40%,
    #050208 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* BOTTOM gradient */
.hero-image-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(5, 2, 8, 0.8) 40%,
    #050208 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
}
.section-line-l {
  height: 1px;
  width: 48px;
  background: linear-gradient(to right, transparent, #8a77ff);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-line-r {
  height: 1px;
  width: 96px;
  background: linear-gradient(to left, transparent, rgba(138, 119, 255, 0.3));
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.animate-on-scroll.animate .section-line-l,
.section-header.animate .section-line-l {
  transform: scaleX(1);
}
.animate-on-scroll.animate .section-line-r,
.section-header.animate .section-line-r {
  transform: scaleX(1);
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #8a77ff;
  overflow: hidden;
  white-space: nowrap;
}
.section-title .char {
  display: inline-block;
  opacity: 0;
}


@media (max-width: 767px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-line-l {
    width: 48px;
  }
  .section-line-r {
    display: none;
  }
  .section-title {
    white-space: normal;
  }
}
.about {
  width: 100%;
  padding-bottom: clamp(80px, 10vw, 128px);
  position: relative;
  z-index: 20;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: start;
  }
}
.about-desc {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: #a3a3a3;
  margin-bottom: 32px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.about-tag {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d4;
  background: transparent;
  transition: border-color 0.3s;
}
.about-tag:hover {
  border-color: rgba(138, 119, 255, 0.4);
}
.about-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-primary-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6b5ce7 0%, #8a77ff 40%, #a99bff 70%, #8a77ff 100%);
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(138,119,255,0.35), 0 0 0 1px rgba(138,119,255,0.3);
}
.btn-primary-purple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.btn-primary-purple:hover {
  box-shadow: 0 6px 32px rgba(138,119,255,0.5), 0 0 0 1px rgba(138,119,255,0.5);
  transform: translateY(-1px);
}
.btn-primary-purple svg {
  transition: stroke 0.3s;
}
.btn-primary-purple:hover svg {
  stroke: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(138, 119, 255, 0.1);
}
.about-photo {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  outline: 2px solid rgba(138, 119, 255, 0.25);
  outline-offset: 6px;
}
.services {
  width: 100%;
  padding-bottom: clamp(80px, 10vw, 128px);
  position: relative;
  z-index: 20;
  scroll-margin-top: 128px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  border-color: rgba(138, 119, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.service-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card:hover .service-card-glow {
  opacity: 1;
}
.service-card:nth-child(1) .service-card-glow {
  background:
    radial-gradient(
      ellipse 50% 60% at 0% 100%,
      rgba(138, 119, 255, 0.18),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 100% 0%,
      rgba(107, 92, 231, 0.12),
      transparent 70%
    );
}
.service-card:nth-child(2) .service-card-glow {
  background:
    radial-gradient(
      ellipse 45% 70% at 100% 50%,
      rgba(138, 119, 255, 0.2),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 50% 100%,
      rgba(88, 74, 220, 0.15),
      transparent 70%
    );
}
.service-card:nth-child(3) .service-card-glow {
  background:
    radial-gradient(
      ellipse 50% 65% at 0% 40%,
      rgba(107, 92, 231, 0.18),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 40% at 70% 0%,
      rgba(138, 119, 255, 0.14),
      transparent 70%
    );
}
.service-card:nth-child(4) .service-card-glow {
  background:
    radial-gradient(
      ellipse 55% 50% at 100% 100%,
      rgba(138, 119, 255, 0.2),
      transparent 70%
    ),
    radial-gradient(
      ellipse 45% 45% at 0% 0%,
      rgba(107, 92, 231, 0.15),
      transparent 70%
    );
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background:
    radial-gradient(
      ellipse 35% 25% at 15% 85%,
      rgba(138, 119, 255, 0.08),
      transparent
    ),
    radial-gradient(
      ellipse 30% 35% at 85% 20%,
      rgba(169, 155, 255, 0.06),
      transparent
    );
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  transition: all 0.3s;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}
.service-card:hover .service-icon {
  color: #8a77ff;
  border-color: rgba(138, 119, 255, 0.3);
  background: rgba(138, 119, 255, 0.1);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  z-index: 10;
}
.service-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card h3 {
  font-size: clamp(20px, 1.6vw, 23px);
  color: #fff;
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 10;
}
.service-card p {
  font-size: clamp(14px, 1.1vw, 16px);
  color: #a3a3a3;
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
}
.service-stats {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-row {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #a3a3a3;
  padding: 12px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background 0.3s;
}
.stat-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.stat-label {
  color: #d4d4d4;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-wrap {
  position: relative;
  display: flex;
  width: 6px;
  height: 6px;
}
.dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #a99bff;
  opacity: 0.75;
  animation: dotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.dot-solid {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #8a77ff;
}
.projects {
  width: 100%;
  padding-bottom: clamp(80px, 10vw, 128px);
  position: relative;
  z-index: 20;
  scroll-margin-top: 128px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.project-card {
  display: block;
}
.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  transition: all 0.5s;
}
.project-card:hover .project-thumb {
  border-color: rgba(138, 119, 255, 0.3);
}
.project-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 92, 231, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 10;
  border-radius: 16px;
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-overlay-text {
  color: #050208;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-overlay-text svg {
  stroke: #050208;
}
.project-card:hover .project-overlay-text {
  opacity: 1;
}
.project-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-title {
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
}
.project-card:hover .project-title {
  color: #8a77ff;
}
.project-tags {
  font-size: 14px;
  color: #737373;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.testimonials {
  width: 100%;
  padding-bottom: clamp(80px, 10vw, 128px);
  position: relative;
  z-index: 20;
  scroll-margin-top: 128px;
}
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.testimonial-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  min-width: 100%;
  padding: 0 4px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .testimonial-page {
    grid-template-columns: repeat(2, 1fr);
  }
}
.testimonial-slide {
  min-width: 0;
  display: flex;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.testimonial-quote {
  font-size: clamp(48px, 5vw, 65px);
  color: rgba(138, 119, 255, 0.3);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.8;
  color: #d4d4d4;
  margin-bottom: 28px;
}
.testimonial-stars {
  color: #8a77ff;
  font-size: 19px;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.testimonial-author {
  margin-bottom: 8px;
}
.testimonial-author strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.testimonial-role {
  color: #737373;
  font-size: 15px;
  margin-left: 12px;
}
.testimonial-role::before {
  content: "|";
  margin-right: 12px;
  color: #404040;
}
.testimonial-company {
  font-size: 15px;
  color: #8a77ff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
  margin-top: auto;
}
.testimonial-company:hover {
  opacity: 0.7;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.testimonial-arrow:hover {
  border-color: rgba(138, 119, 255, 0.4);
  background: rgba(138, 119, 255, 0.1);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
}
.testimonial-dot.active {
  background: #8a77ff;
  width: 10px;
}
/* Swiper pagination overrides */
.testimonial-dots .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
  transition: all 0.3s !important;
}
.testimonial-dots .swiper-pagination-bullet-active {
  background: #8a77ff !important;
}
.contact {
  width: 100%;
  padding-bottom: clamp(64px, 8vw, 96px);
  position: relative;
  z-index: 20;
  scroll-margin-top: 128px;
}
.contact-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.contact-box-glow {
  position: absolute;
  top: -64px;
  right: -64px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(138, 119, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.form-full {
  grid-column: 1/-1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #a3a3a3;
  margin-left: 4px;
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s;
  outline: none;
}
.form-input::placeholder {
  color: #525252;
}
.form-input:focus {
  border-color: #8a77ff;
  box-shadow: 0 0 0 1px #8a77ff;
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s;
  margin-top: 8px;
  font-family: inherit;
}
.form-submit:hover {
  border-color: rgba(138, 119, 255, 0.5);
  background: rgba(138, 119, 255, 0.1);
  box-shadow: 0 0 20px rgba(138, 119, 255, 0.15);
}
@media (max-width: 767px) {
  .form-submit {
    width: 100%;
  }
}
.contact-email {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-email svg {
  color: #8a77ff;
  flex-shrink: 0;
}
.contact-email a {
  font-size: 16px;
  color: #a3a3a3;
  transition: color 0.3s;
}
.contact-email a:hover {
  color: #8a77ff;
}
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(12, 10, 24, 0.95);
  position: relative;
  z-index: 20;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #737373;
}
@media (min-width: 768px) {
  .footer-left {
    flex-direction: row;
    gap: 16px;
  }
}
.footer-name {
  font-weight: 500;
  color: #a3a3a3;
}
.footer-dot {
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #404040;
}
@media (min-width: 768px) {
  .footer-dot {
    display: block;
  }
}
.footer-right {
  font-size: 14px;
  color: #737373;
  transition: color 0.3s;
}
.footer-right:hover {
  color: #8a77ff;
}
@media (min-width: 768px) {
  .about,
  .services,
  .projects,
  .testimonials {
    padding-bottom: clamp(140px, 14vw, 200px);
  }
  .contact {
    padding-bottom: clamp(100px, 10vw, 140px);
  }
}
.anim-d1 {
  animation: animationIn 0.5s ease-out 0.05s both;
}
.anim-d2 {
  animation: animationIn 0.5s ease-out 0.1s both;
}
.anim-d3 {
  animation: animationIn 0.5s ease-out 0.2s both;
}
.anim-d4 {
  animation: animationIn 0.5s ease-out 0.3s both;
}
.anim-d5 {
  animation: animationIn 0.5s ease-out 0.4s both;
}
.animate-on-scroll:not(.animate) {
  animation-play-state: paused !important;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 2, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.popup-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
}
.popup-overlay.is-visible .popup-box {
  transform: scale(1) translateY(0);
}
.popup-icon {
  margin-bottom: 24px;
}
.popup-title {
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.popup-text {
  font-size: 16px;
  color: #a3a3a3;
  line-height: 1.7;
  margin-bottom: 32px;
}
.popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s;
}
.popup-close:hover {
  border-color: rgba(138, 119, 255, 0.5);
  background: rgba(138, 119, 255, 0.1);
}
.form-input.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444;
}
.form-error-msg {
  font-size: 13px;
  color: #ef4444;
  margin-top: 4px;
}
.form-submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.form-submit.is-loading {
  position: relative;
  color: transparent;
}
.form-submit.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.form-consent {
  font-size: 13px;
  color: #737373;
  line-height: 1.6;
  margin-top: 4px;
}
.form-consent a {
  color: #8a77ff;
  transition: opacity 0.3s;
}
.form-consent a:hover {
  opacity: 0.7;
}

/* Hero image container with orbiting glow */
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  margin-top: clamp(48px, 6vw, 80px);
}
.hero-glow-orb {
  position: absolute;
  width: 45%;
  height: 45%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: left, top;
  transform: translateZ(0);
}


.hero-glow-orb--purple {
  background: radial-gradient(circle, rgba(138,119,255,0.6) 0%, rgba(138,119,255,0.2) 80%, transparent 70%);
  filter: blur(40px);
}

/* Hero image fade-in only */
@keyframes heroImageFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.hero-image-container.animate-hero-zoom {
  animation-name: heroImageFadeIn;
}

@keyframes glowRingReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* AI Tools tag — highlighted with glow */
@keyframes aiTagShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.about-tag--ai {
  border-color: rgba(138, 119, 255, 0.4);
  color: #fff;
  background: linear-gradient(
    110deg,
    rgba(138, 119, 255, 0.12) 0%,
    rgba(138, 119, 255, 0.25) 40%,
    rgba(169, 155, 255, 0.35) 50%,
    rgba(138, 119, 255, 0.25) 60%,
    rgba(138, 119, 255, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: aiTagShimmer 4s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(138, 119, 255, 0.15);
}

/* AI tools list in about section */
.about-ai-list {
  margin-top: 28px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-ai-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #b0b0b0;
  line-height: 1.6;
}
.about-ai-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a77ff;
  margin-top: 7px;
  box-shadow: 0 0 8px rgba(138, 119, 255, 0.5);
}
/* Contact section description */
.contact-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: #a3a3a3;
  margin-bottom: 32px;
  max-width: 640px;
}