*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  background: #030403;
  position: relative;
}



body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -6;

  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(0, 255, 84, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 30%,
      rgba(24, 197, 131, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(146, 154, 52, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #000000 0%,
      #020b06 35%,
      #000000 65%,
      #041009 100%
    );

  animation: backgroundPulse 12s ease-in-out infinite alternate;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 18%,
      black 82%,
      transparent
    );

  opacity: 0.7;

  animation: gridMove 22s linear infinite;
}



.background {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
}


.shape {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;

  filter: blur(95px);
  opacity: 0.55;
  mix-blend-mode: screen;
}


.shape-one {
  top: -120px;
  left: -100px;

  background:
    radial-gradient(
      circle,
      #00ff54 0%,
      rgba(0, 255, 84, 0.22) 45%,
      transparent 72%
    );

  animation:
    liquidOne 16s ease-in-out infinite;
}


.shape-two {
  top: 28%;
  right: -140px;

  background:
    radial-gradient(
      circle,
      #18c583 0%,
      rgba(24, 197, 131, 0.22) 45%,
      transparent 72%
    );

  animation:
    liquidTwo 20s ease-in-out infinite;
}


.shape-three {
  bottom: -140px;
  left: 34%;

  background:
    radial-gradient(
      circle,
      #929A34 0%,
      rgba(146, 154, 52, 0.18) 45%,
      transparent 72%
    );

  animation:
    liquidThree 24s ease-in-out infinite;
}


.background::before,
.background::after {
  content: "";
  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.06);

  pointer-events: none;
}


.background::before {
  width: 700px;
  height: 700px;

  top: 10%;
  left: 50%;

  transform: translateX(-50%);

  box-shadow:
    0 0 80px rgba(0, 255, 84, 0.06),
    inset 0 0 80px rgba(24, 197, 131, 0.04);

  animation:
    ringSpinOne 26s linear infinite;
}


.background::after {
  width: 1000px;
  height: 1000px;

  bottom: -45%;
  right: -20%;

  border-color: rgba(146, 154, 52, 0.08);

  box-shadow:
    0 0 100px rgba(146, 154, 52, 0.05);

  animation:
    ringSpinTwo 34s linear infinite reverse;
}



.site-header {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 30px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 5;
}


.logo {
  color: #ffffff;
  text-decoration: none;

  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;

  position: relative;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.logo span {
  color: #00ff54;

  text-shadow:
    0 0 18px rgba(0, 255, 84, 0.45);
}


.logo:hover {
  text-shadow:
    0 0 25px rgba(0, 255, 84, 0.35);
}


.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}


.top-nav a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;

  font-size: 0.9rem;

  position: relative;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.top-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: #00ff54;

  box-shadow:
    0 0 10px rgba(0, 255, 84, 0.8);

  transition:
    width 0.3s ease;
}


.top-nav a:hover {
  color: #ffffff;

  text-shadow:
    0 0 12px rgba(0, 255, 84, 0.35);
}


.top-nav a:hover::after {
  width: 100%;
}



.hero {
  width: min(1200px, 92%);
  min-height: 72vh;
  margin: 0 auto;
  padding: 60px 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 3;
}


.hero-small {
  margin-bottom: 20px;

  font-size: 0.75rem;
  letter-spacing: 4px;

  color: rgba(255, 255, 255, 0.42);

  display: flex;
  align-items: center;
  gap: 10px;
}


.hero-small::before {
  content: "";

  width: 24px;
  height: 1px;

  background: #00ff54;

  box-shadow:
    0 0 10px rgba(0, 255, 84, 0.8);
}


.hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;

  font-weight: 600;
  letter-spacing: -5px;

  max-width: 1100px;

  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.03);
}


.hero h1 span {
  display: block;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #d8ffe5 20%,
      #00ff54 42%,
      #18c583 62%,
      #929A34 78%,
      #ffffff 100%
    );

  background-size: 300% 100%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation:
    textFlow 10s linear infinite;
}


.hero-description {
  max-width: 520px;

  margin-top: 30px;

  font-size: 1rem;

  color: rgba(255, 255, 255, 0.55);

  line-height: 1.7;
}


.hero-button {
  width: fit-content;

  margin-top: 30px;
  padding: 13px 22px;

  color: #ffffff;
  text-decoration: none;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 100px;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.hero-button:hover {
  transform:
    translateY(-4px)
    scale(1.03);

  background:
    rgba(0, 255, 84, 0.1);

  border-color:
    rgba(0, 255, 84, 0.4);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(0, 255, 84, 0.18);
}


.work-section {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 90px 0;

  position: relative;
  z-index: 3;
}


.section-heading {
  margin-bottom: 40px;
}


.section-heading p {
  font-size: 0.7rem;
  letter-spacing: 4px;

  color: rgba(255, 255, 255, 0.38);
}


.section-heading h2 {
  margin-top: 8px;

  font-size: clamp(2rem, 5vw, 4rem);

  font-weight: 600;
  letter-spacing: -2px;
}


.card-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 26px;

  perspective: 1200px;
}



.glass-card {
  position: relative;

  min-height: 340px;
  padding: 26px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  color: #ffffff;
  text-decoration: none;

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.015)
    );

  border:
    1px solid rgba(255, 255, 255, 0.11);

  backdrop-filter:
    blur(28px)
    saturate(150%);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(150%);

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);

  overflow: hidden;

  transform-style: preserve-3d;

  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}


/* subtle inner glow */

.glass-card > * {
  position: relative;
}


/* animated reflection */

.glass-card::before {
  content: "";

  position: absolute;

  top: -40%;
  left: -90%;

  width: 65%;
  height: 190%;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0.16),
      transparent
    );

  transform:
    rotate(20deg);

  opacity: 0;

  pointer-events: none;

  transition:
    left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s ease;
}


.glass-card:hover::before {
  left: 135%;
  opacity: 1;
}


/* colored atmospheric glow */

.glass-card::after {
  content: "";

  position: absolute;

  right: -80px;
  bottom: -80px;

  width: 200px;
  height: 200px;

  border-radius: 50%;

  background:
    rgba(0, 255, 84, 0.22);

  filter: blur(60px);

  opacity: 0.7;

  pointer-events: none;

  transition:
    width 0.5s ease,
    height 0.5s ease,
    opacity 0.5s ease;
}


.glass-card:hover {
  transform:
    translateY(-12px)
    rotateX(4deg)
    rotateY(-4deg);

  border-color:
    rgba(0, 255, 84, 0.34);

  background:
    linear-gradient(
      145deg,
      rgba(0, 255, 84, 0.08),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(0, 255, 84, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


.glass-card:hover::after {
  width: 280px;
  height: 280px;
  opacity: 1;
}


.card-number {
  position: relative;
  z-index: 2;

  font-size: 0.7rem;
  letter-spacing: 2px;

  color:
    rgba(255, 255, 255, 0.38);

  transform:
    translateZ(25px);

  transition:
    color 0.3s ease;
}


.glass-card:hover .card-number {
  color:
    rgba(0, 255, 84, 0.65);
}


.card-icon {
  position: relative;
  z-index: 2;

  margin: auto 0;

  font-size: 3.7rem;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.9);

  transform:
    translateZ(40px);

  text-shadow:
    0 0 35px rgba(0, 255, 84, 0.16);

  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.4s ease,
    text-shadow 0.4s ease;
}


.glass-card:hover .card-icon {
  transform:
    translateZ(65px)
    scale(1.1);

  color: #ffffff;

  text-shadow:
    0 0 45px rgba(0, 255, 84, 0.4);
}



.card-content {
  position: relative;
  z-index: 2;

  transform:
    translateZ(30px);
}


.card-content small {
  font-size: 0.65rem;
  letter-spacing: 3px;

  color:
    rgba(255, 255, 255, 0.4);
}


.card-content h3 {
  margin: 7px 0 12px;

  font-size: 1.6rem;
  font-weight: 600;

  letter-spacing: -0.5px;
}


.card-content span {
  font-size: 0.85rem;

  color:
    rgba(255, 255, 255, 0.52);

  transition:
    color 0.3s ease,
    letter-spacing 0.3s ease;
}


.glass-card:hover .card-content span {
  color: #00ff54;
  letter-spacing: 0.5px;
}



.glass-card:nth-child(2)::after {
  background:
    rgba(24, 197, 131, 0.25);
}

.glass-card:nth-child(3)::after {
  background:
    rgba(146, 154, 52, 0.23);
}

.glass-card:nth-child(4)::after {
  background:
    rgba(0, 255, 84, 0.25);
}

.glass-card:nth-child(5)::after {
  background:
    rgba(24, 197, 131, 0.25);
}

.glass-card:nth-child(6)::after {
  background:
    rgba(146, 154, 52, 0.23);
}

.about-section {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 130px 0;

  position: relative;
  z-index: 3;
}


.about-section small {
  font-size: 0.7rem;
  letter-spacing: 4px;

  color:
    rgba(255, 255, 255, 0.38);
}


.about-section h2 {
  max-width: 850px;

  margin: 20px 0;

  font-size:
    clamp(2.5rem, 6vw, 5rem);

  line-height: 1;
  font-weight: 600;

  letter-spacing: -3px;
}


.about-section p {
  max-width: 550px;

  font-size: 1rem;

  line-height: 1.7;

  color:
    rgba(255, 255, 255, 0.52);
}


.site-footer {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 30px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);

  font-size: 0.8rem;

  color:
    rgba(255, 255, 255, 0.35);

  position: relative;
  z-index: 3;
}


.site-footer a {
  color:
    rgba(255, 255, 255, 0.55);

  text-decoration: none;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.site-footer a:hover {
  color: #00ff54;

  text-shadow:
    0 0 12px rgba(0, 255, 84, 0.5);
}



@keyframes liquidOne {

  0% {
    transform:
      translate(0, 0)
      scale(1);

    border-radius:
      50%;
  }

  25% {
    transform:
      translate(120px, 60px)
      scale(1.22);

    border-radius:
      70% 30% 55% 45%;
  }

  50% {
    transform:
      translate(60px, 150px)
      scale(0.9);

    border-radius:
      35% 65% 45% 55%;
  }

  75% {
    transform:
      translate(-40px, 80px)
      scale(1.18);

    border-radius:
      60% 40% 70% 30%;
  }

  100% {
    transform:
      translate(0, 0)
      scale(1);

    border-radius:
      50%;
  }
}


@keyframes liquidTwo {

  0% {
    transform:
      translate(0, 0)
      scale(1);
  }

  25% {
    transform:
      translate(-120px, -50px)
      scale(1.12)
      rotate(10deg);
  }

  50% {
    transform:
      translate(-170px, 70px)
      scale(0.9)
      rotate(-10deg);
  }

  75% {
    transform:
      translate(-60px, 120px)
      scale(1.2)
      rotate(6deg);
  }

  100% {
    transform:
      translate(0, 0)
      scale(1);
  }
}


@keyframes liquidThree {

  0% {
    transform:
      translate(0, 0)
      scale(1);
  }

  25% {
    transform:
      translate(80px, -90px)
      scale(1.18);
  }

  50% {
    transform:
      translate(-40px, -170px)
      scale(0.88);
  }

  75% {
    transform:
      translate(-100px, -70px)
      scale(1.14);
  }

  100% {
    transform:
      translate(0, 0)
      scale(1);
  }
}


@keyframes backgroundPulse {

  0% {
    filter:
      brightness(0.9)
      saturate(0.9);
  }

  100% {
    filter:
      brightness(1.08)
      saturate(1.15);
  }
}


@keyframes gridMove {

  from {
    background-position:
      0 0,
      0 0;
  }

  to {
    background-position:
      70px 70px,
      70px 70px;
  }
}


@keyframes ringSpinOne {

  from {
    transform:
      translateX(-50%)
      rotate(0deg)
      scale(1);
  }

  50% {
    transform:
      translateX(-50%)
      rotate(180deg)
      scale(1.08);
  }

  to {
    transform:
      translateX(-50%)
      rotate(360deg)
      scale(1);
  }
}


@keyframes ringSpinTwo {

  from {
    transform:
      rotate(0deg)
      scale(1);
  }

  50% {
    transform:
      rotate(180deg)
      scale(1.1);
  }

  to {
    transform:
      rotate(360deg)
      scale(1);
  }
}


@keyframes textFlow {

  from {
    background-position:
      0% 50%;
  }

  to {
    background-position:
      300% 50%;
  }
}



@media (max-width: 900px) {

  .card-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .hero h1 {
    letter-spacing: -3px;
  }

}


@media (max-width: 600px) {

  .site-header {
    padding: 20px 0;
  }

  .top-nav {
    gap: 16px;
  }

  .top-nav a {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 80vh;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 4rem;
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .work-section {
    padding: 70px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    min-height: 280px;
  }

  .card-icon {
    font-size: 3rem;
  }

  .about-section {
    padding: 90px 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
