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

html {
  scroll-behavior: smooth;
}

body {
  background: #03060c;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
  transition: background 0.8s ease;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(3, 6, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  transition: all 0.4s ease;
}

.nav-logo {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #00f0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 35px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00f0ff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* DYNAMIC BACKGROUND GRID & GLOWS */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -5;
  animation: gridMove 25s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
  pointer-events: none;
}

.shape1 {
  width: 550px;
  height: 550px;
  background: rgba(0, 240, 255, 0.16);
  top: -150px;
  left: -150px;
}

.shape2 {
  width: 650px;
  height: 650px;
  background: rgba(0, 102, 255, 0.14);
  bottom: -200px;
  right: -150px;
}

.shape3 {
  width: 400px;
  height: 400px;
  background: rgba(140, 0, 255, 0.1);
  top: 45%;
  left: 40%;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.4);
  animation: slowZoom 14s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3,6,12,0.2), rgba(3,6,12,0.95));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  width: 120px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 240, 255, 0.6));
  opacity: 0;
  animation: logoFade 1.4s ease forwards;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 0.95; transform: translateY(0); }
}

.small-title {
  letter-spacing: 8px;
  margin-bottom: 20px;
  color: #00f0ff;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero-name {
  overflow: hidden;
}

.slide-up {
  opacity: 0;
  transform: translateY(120px) skewY(8deg);
  animation: smoothReveal 1.2s cubic-bezier(.19, 1, .22, 1) forwards;
}

.delay {
  animation-delay: 0.25s;
}

@keyframes smoothReveal {
  0% { opacity: 0; transform: translateY(120px) skewY(8deg); }
  100% { opacity: 1; transform: translateY(0px) skewY(0deg); }
}

.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: 11vw;
  line-height: 0.88;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px #00f0ff;
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.hero-text {
  margin-top: 25px;
  font-size: 18px;
  letter-spacing: 4px;
  color: #d1d5db;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.7s;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  padding: 16px 36px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid #00f0ff;
  border-radius: 40px;
  color: #00f0ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
}

.hero-btn:hover {
  background: #00f0ff;
  color: #03060c;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.85);
  transform: translateY(-4px) scale(1.02);
}

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

/* ABOUT SECTION */
.about {
  padding: 140px 80px 100px;
}

.section-title h2 {
  font-family: 'Anton', sans-serif;
  font-size: 72px;
  margin-bottom: 60px;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 45px rgba(0, 240, 255, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover img {
  transform: scale(1.03);
}

.highlight {
  color: #00f0ff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.big-text {
  font-size: 26px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-content p {
  color: #a3a8b4;
  line-height: 1.8;
  margin-bottom: 20px;
}

.info-box {
  margin-top: 60px;
}

.info-box h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #00f0ff;
  letter-spacing: 2px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.software-card {
  border: 1px solid rgba(0, 240, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.software-card:hover {
  transform: translateY(-8px);
  border-color: #00f0ff;
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
}

.software-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.software-card:hover img {
  transform: scale(1.1);
}

.software-card span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* GALLERY SECTION */
.gallery {
  padding: 100px 80px;
}

.category {
  margin-bottom: 110px;
}

.category h3 {
  font-size: 32px;
  margin-bottom: 35px;
  letter-spacing: 3px;
  border-left: 4px solid #00f0ff;
  padding-left: 18px;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #060c18;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 240, 255, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.item-overlay i {
  font-size: 26px;
  color: #ffffff;
  background: #03060c;
  padding: 16px;
  border-radius: 50%;
  border: 1px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: #00f0ff;
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.35);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

.gallery-item:hover .item-overlay i {
  transform: scale(1);
}

/* CONTACT SECTION */
.contact {
  padding: 100px 80px 140px;
}

.contact-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-btn {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  padding: 22px 38px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-btn i {
  color: #00f0ff;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.contact-btn:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-5px);
}

.contact-btn:hover i {
  transform: scale(1.2);
}

/* LIGHTBOX POPUP MODAL */
.image-popup {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-popup.active {
  opacity: 1;
}

.image-popup img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.35);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-popup.active img {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 45px;
  font-size: 50px;
  color: #00f0ff;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.2) rotate(90deg);
  color: #ffffff;
}

/* REVEAL TRANSITIONS (SCROLL ANIMATIONS) */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media(max-width: 900px) {
  .navbar {
    padding: 18px 25px;
  }
  .nav-links a {
    margin-left: 18px;
    font-size: 11px;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 19vw;
  }
  .about, .gallery, .contact {
    padding: 70px 25px;
  }
}