@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  background: black;
  color: white;
}

/* =========================
   LOADER
========================= */
#loader {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-bar {
  width: 0;
  height: 6px;
  background: linear-gradient(90deg, #6dd5ed, #00ffcc);
  animation: loadBar 10s linear forwards;
}

.loader-text {
  margin-top: 15px;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 3px;
  font-size: 16px;
}

@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

/* =========================
   NAV
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.45);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 10000;
}

.nav-left,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 6px;
  color: white;
  cursor: pointer;
  text-shadow:
    0 0 8px rgba(0,255,204,0.5),
    0 0 20px rgba(0,255,204,0.35);
}

.nav-logo {
  height: 42px;
}

/* =========================
   BUTTONS
========================= */
.nav-left button,
.service-item button,
.submit-btn {
  position: relative;
  overflow: hidden;
  font-family: "Orbitron", sans-serif;
  min-width: 115px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg,#6dd5ed,#00ffcc);
  color: black;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.35s ease;
}

.nav-left button::before,
.service-item button::before,
.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.65),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.7s;
}

.nav-left button:hover::before,
.service-item button:hover::before,
.submit-btn:hover::before {
  left: 130%;
}

.nav-left button:hover,
.service-item button:hover,
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 15px rgba(0,255,204,0.25),
    0 0 30px rgba(0,255,204,0.18);
}

/* =========================
   SECTION
========================= */
.section {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.section.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* =========================
   VIDEO
========================= */
/* =========================
   VIMEO BACKGROUND VIDEO
========================= */
.bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* =========================
   CONTENT ABOVE VIDEO
========================= */
.section > *:not(.bg-video) {
  position: relative;
  z-index: 2;
}

/* =========================
   HERO
========================= */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34vw;
  max-width: 460px;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* =========================
   BANNER
========================= */
.section-banner {
  position: absolute;
  top: 70px;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  z-index: 6;
  backdrop-filter: blur(10px);
}

#section2 .section-banner { background: rgba(255,210,0,0.12); }
#section3 .section-banner { background: rgba(0,255,255,0.12); }
#section4 .section-banner { background: rgba(255,120,0,0.12); }

/* =========================
   SERVICES
========================= */
.services-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.service-buttons {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  z-index: 8;
}

.canvas-wrapper {
  position: absolute;
  width: 50vw;
  height: 50vh;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  overflow: visible;
}

.canvas-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#glcanvas { z-index: 1; }
#particleCanvas { z-index: 2; pointer-events: none; }

/* =========================
   PRICING
========================= */
.pricing-wrapper {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 5;
}

.pricing-card {
  width: 240px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: 0.35s ease;
  box-shadow: 0 0 12px rgba(0,255,204,0.08);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 0 18px rgba(0,255,204,0.25),
    0 0 35px rgba(0,255,204,0.18),
    0 12px 40px rgba(0,0,0,0.35);
}

.pricing-card h3 {
  font-family: "Orbitron", sans-serif;
}

.price {
  font-size: 22px;
  font-weight: 700;
  color: #00ffcc;
}

/* =========================
   CONTACT
========================= */
.contact-wrapper {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.contact-card {
  width: 560px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-card h2,
.contact-card h4 {
  font-family: "Orbitron", sans-serif;
}

.form-row {
  display: flex;
  gap: 10px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.services-grid label {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,255,204,0.05);
  box-shadow: 0 0 12px rgba(0,255,204,0.08);
}

.checkbox-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.submit-btn {
  width: 100%;
  margin-top: 15px;
}