body {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  color: #fff;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  background: transparent;
  /* start transparent */
  transition: background 0.3s ease;
  z-index: 1000;
}

/* when scrolled */
header.scrolled {
  background: #1d1e1e;
  /* solid dark background */
}

header .logo {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

header a.nav-link {
  display: inline-block;
  text-decoration: none;
  /* remove underline */
  color: #fff;
  /* keep text white */
  position: relative;
  /* needed for pseudo-element */
  padding-bottom: 4px;
  /* space for underline */
}

header a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  /* initial border thickness */
  background-color: #fff;
  /* underline color */
  transition: width 0.3s ease, height 0.3s ease;
}

header a.nav-link:hover::after {
  width: 100%;
  /* expand underline */
  height: 3px;
  /* slightly thicker on hover */
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f0f10 0%, #1a1c1f 100%);
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
  min-height: 900px;
}

.hero img {
  max-width: 450px;
  /* set the max width */
  width: 100%;
  /* keeps responsiveness */
  height: auto;
  /* maintains aspect ratio */
}

/* Blockchain grid background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

/* Glowing orbs */
.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(32, 97, 182, 0.6) 0%,
    transparent 70%
  );
  filter: blur(100px);
  z-index: 0;
  animation: pulse 6s infinite ease-in-out;
}

/* Extra glowing orb (optional) */
.hero .orb {
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(77, 163, 255, 0.6) 0%,
    transparent 70%
  );
  filter: blur(120px);
  z-index: 0;
  animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

.btn-primary {
  background-color: #2061b6;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* phone layout */
.phone-wrapper {
  position: relative;
  display: inline-block;
}

/* rotation and hover on wrapper (no translateY here) */
.phone-tilt {
  position: relative;
  display: inline-block;
  transform: rotate(30deg);
  /* initial tilt to 2 o'clock */
  transition: transform 0.35s ease;
  z-index: 2;
}

/* hover: adjust rotation + scale */
.phone-tilt:hover {
  transform: rotate(33deg) scale(1.05);
}

/* phone image — responsive + floating vertical animation */
.phone-inner {
  display: block;
  width: 100%;
  max-width: 250px;
  /* control max size but stay responsive */
  height: auto;
  position: relative;
  z-index: 3;
  animation: floatY 4s ease-in-out infinite;
}

/* subtle floating movement (translateY only) */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* right-side blurred shadow via pseudo-element on wrapper */
.phone-tilt::after {
  content: "";
  position: absolute;
  z-index: 1;
  /* behind the image */
  right: 10%;
  /* nudge shadow to the right */
  bottom: 10%;
  /* vertical position */
  width: 50%;
  /* shadow width relative to image wrapper */
  height: 70%;
  /* thin elongated shadow */
  background: rgba(0, 0, 0, 0.2);
  filter: blur(18px);
  border-radius: 18px;
  transform-origin: center;
  /* small vertical float for the shadow (less amplitude than image) */
  animation: floatShadow 4s ease-in-out infinite;
  transition: background 0.6s ease, filter 0.6s ease;
}

/* shadow float (smaller amplitude so it feels natural) */
@keyframes floatShadow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

  100% {
    transform: translateY(0);
  }
}

/* stronger shadow on hover (when wrapper is hovered) */
.phone-tilt:hover::after {
  background: rgba(0, 0, 0, 0.3);
  filter: blur(20px);
}

/* responsive tweaks */
@media (max-width: 767.98px) {
  .phone-inner {
    max-width: 200px;
  }

  .phone-tilt {
    transform: rotate(12deg);
  }

  .phone-tilt:hover {
    transform: rotate(15deg) scale(1.03);
  }

  .phone-tilt::after {
    right: -4%;
    bottom: 4%;
    width: 60%;
    height: 18%;
    filter: blur(14px);
  }
}

/* about */
.about-section {
  padding: 150px 0px!important; /* give breathing space */
  text-align: center; /* align text */
  color: #1d1e1e; /* dark text for readability */
  min-height: 40vh;
}
.about-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* general problem */
.section-blue {
  background: linear-gradient(135deg, #4da3ff, #1c75ff);
  padding: 120px 20px 80px!important;
  /* top and bottom padding for content & wave */
  min-height: 80vh;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-blue .content {
  position: relative;
  z-index: 2;
}

.section-blue h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-blue p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.section-blue .btn-primary {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 500;
}

/* endl general problem  */

/* feature */
.lottie-wrapper {
  width: 250px;
  /* fixed size for consistency */
  height: 250px;
  margin: 0 auto 15px;
  /* center + spacing below */
  display: flex;
  align-items: center;
  justify-content: center;
}

.lottie-wrapper dotlottie-wc {
  width: 100%;
  height: 100%;
}

/* endl feature */

/* qr */
.qr-section {
  background: linear-gradient(135deg, #f9fafc, #ffffff);
}

.phone-img {
  max-width: 350px;
  margin: auto;
  position: relative;
}

.qr-float {
  position: absolute;
  top: 40%;
  right: 20%;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 0 20px rgba(32, 97, 182, 0.2);
  transition: transform 0.3s ease;
}

.qr-float:hover {
  transform: translateY(-6px);
}

/* endl qr */

.contact-section {
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 800px;
}

.footer {
  background: #4da3ff;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.btn-dark {
  width: 100%;
}
