@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #050505;
  color: #fff;
  margin: 0;
  overflow-x: hidden;
}

.hero-bg {
  position: relative;
  background-image: url('assets/img/bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 5rem 1rem 3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg h1,
.hero-bg p {
  position: relative;
  z-index: 20;
  margin: 0;
  padding: 0 1rem;
  color: #fff;
}

.glass-card {
  position: relative;
  z-index: 30;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,255,255,0.05);
  transition: all 0.4s ease-in-out;
}

.glass-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 40px rgba(0,255,255,0.25);
}

.glass-nav {
  background: rgba(15,15,20,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 100;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.glass-nav ul li a {
  transition: all 0.3s ease;
}

.glass-nav ul li a.active {
  color: cyan;
  text-shadow: 0 0 8px cyan;
}

#menu-btn.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
#menu-btn.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.25rem;
  background-color: rgba(17,17,17,0.95);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform-origin: top;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#mobile-menu.show {
  max-height: 500px;
  padding: 1rem 1.25rem;
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu a.active {
  color: cyan;
  text-shadow: 0 0 8px cyan;
}

@media (max-width: 1024px) {
  .hero-bg h1 { font-size: 2rem; }
  .hero-bg p { font-size: 1rem; }
}

@media (max-width: 768px) {
  #mobile-menu a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
  }
}

.accordion-header {
  cursor: pointer;
  background-color: #1f2937;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.accordion-header:hover {
  background-color: #2a2f3b;
}

.accordion-header span {
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;
  margin-bottom: 1rem;
  background-color: #111827;
  border-radius: 0.5rem;
}

.accordion-content.active {
  padding: 0.75rem 1rem;
  max-height: 1000px;
}

.accordion-active span {
  transform: rotate(45deg);
}

.service-block {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-block h3 {
  font-size: 1.75rem;
  font-weight: 900;
  text-shadow: 0 0 4px #0ff;
  margin-bottom: 1rem;
}

.service-block p,
.service-block ul li {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 1rem;
}

.service-block ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.service-block:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px #0ff, 0 0 60px #f0f, 0 0 90px #ff0;
}

@media (max-width: 768px) {
  .service-block:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px #0ff, 0 0 40px #f0f, 0 0 60px #ff0;
  }
}

.line-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.tiktok-float {
  position: fixed;
  bottom: 15px;
  right: -60px;
  width: 45px;
  height: 45px;
  background: #000;
  border-radius: 50%;
  padding: 5px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,255,255,0.5), 0 0 15px rgba(255,0,255,0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  animation: slideIn 1s forwards, pulseGlow 2s infinite alternate, gentleBounce 2s 1s infinite alternate;
}

.tiktok-float:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0,255,255,0.7), 0 0 25px rgba(255,0,255,0.5);
}

.tiktok-float img {
  width: 28px;
  height: 28px;
}

@keyframes slideIn {
  0% { right: -60px; }
  100% { right: 15px; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(0,255,255,0.5), 0 0 12px rgba(255,0,255,0.4); }
  100% { box-shadow: 0 0 15px rgba(0,255,255,0.7), 0 0 25px rgba(255,0,255,0.5); }
}

@keyframes gentleBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@media (min-width: 768px) {
  .tiktok-float {
    display: none;
  }
}

.social-float {
  position: fixed;
  bottom: 15px;
  right: -60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999999;
  animation: slideInContainer 1s forwards;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 0 10px rgba(0,255,255,0.5), 0 0 15px rgba(255,0,255,0.4);
  cursor: pointer;
  animation: pulseGlow 2s infinite alternate, gentleBounce 2s 1s infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.social-icon img {
  width: 28px;
  height: 28px;
}

.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0,255,255,0.7), 0 0 25px rgba(255,0,255,0.5);
}

@keyframes slideInContainer {
  0% { right: -60px; }
  100% { right: 15px; }
}

@media (min-width: 768px) {
  .social-float {
    display: none;
  }
}
