:root {
  --bg: #0a0a0f;
  --surface: rgba(15, 15, 25, 0.7);
  --primary: #abbbf0;
  --secondary: #ffaa00;
  --text: #e8e8f0;
  --text-muted: #8a8a9a;
  --glow: 0 0 15px var(--primary);
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: 0.2s;
  z-index: 9999;
}

.cursor.hover {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid var(--primary);
}

.grid-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(0, 243, 255, 0.08),
      transparent 40%
    ),
    linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
  background-size:
    100% 100%,
    40px 40px,
    40px 40px;
  z-index: -1;
}

/*navbar logo*/

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;

  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}

.lvbau-logo {
  display: inline-block;
}
.logo i {
  color: #2c9aff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  margin-right: 6px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar {
  max-width: 1200px;
}
.nav-links a {
  text-decoration: none;
  color: #eef5ff;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #2c9aff;
  transition: 0.3s;
}
.nav-links a:hover:after {
  width: 100%;
}
.nav-links a:hover {
  color: #8cd4ff;
}

nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  backdrop-filter: blur(12px);
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 28px;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

header {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/*hero background image */

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* FULL PAGE BACKGROUND IMAGE */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(10, 10, 15, 0.88), rgba(10, 10, 15, 0.96)),
    url("/images/lv service bg.jpeg");

  background-size: cover;
  background-position: center;
  background-attachment: scroll;

  z-index: -2;
}

.hero-title {
  font-family: "Space Grotesk";
  font-size: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(135deg, var(--text), #1400ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 1rem;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: "Space Grotesk";
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
  align-content: center;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface);

  padding: 1.2rem;

  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: var(--transition);

  min-height: 320px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: "Space Grotesk";
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* PROCESS SECTION BACKGROUND */
#process {
  position: relative;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);

  padding: 6rem 2rem;

  /*         background: url("images/zurich lvbau logo.jpeg");
 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow: hidden;
}

/* DARK OVERLAY */
#process::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(10, 10, 15, 0.88), rgba(10, 10, 15, 0.92));

  z-index: 0;
}

/* KEEP CONTENT ABOVE OVERLAY */
#process .section-title,
#process .process {
  position: relative;
  z-index: 1;
}

/* GRID ONLY */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

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

.contact-btn {
  display: block;
  width: fit-content;
  margin: 4rem auto 0; /* THIS centers it */
  padding: 0.6rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 17, 255, 0.4);
  color: whitesmoke;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  background: rgba(0, 243, 255, 0.05);
  text-align: center;
}

.contact-btn:hover {
  background: rgba(0, 89, 255, 0.468);
  color: #000;
  box-shadow: 0 0 12px var(--primary);
}

.contact-btn-2 {
  display: block;
  width: fit-content;
  margin: 4rem auto 0; /* THIS centers it */
  padding: 0.6rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 64, 255, 0.4);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  background: rgba(0, 243, 255, 0.05);
  text-align: center;
}

.contact-btn-2:hover {
  background: rgba(21, 103, 254, 0.468);
  color: #000;
  box-shadow: 0 0 12px var(--primary);
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px; /* or adjust depending on your layout */
}

.footer-credit {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-credit a {
  color: #006a7a; /* darker neon blue (idle state) */
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-credit a:hover {
  color: var(--primary); /* bright neon blue on hover */
  text-shadow: 0 0 10px var(--primary);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  /* FIX MOBILE BACKGROUND PERFORMANCE */
  body::before {
    background-attachment: scroll;
  }

  #process {
    background-attachment: scroll;
    padding: 4rem 1.2rem;
  }

  /* NAVBAR */
  nav {
    width: calc(100% - 20px);
    top: 10px;
    padding: 12px 16px;
    border-radius: 18px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .logo {
    width: 100%;
    justify-content: center;
    margin-bottom: 6px;
  }

  .logo-img {
    height: 32px;
  }

  nav a {
    font-size: 0.82rem;
  }

  /* HERO */
  header {
    min-height: auto;
    padding: 8rem 1.2rem 3rem;
  }

  .hero-title {
    font-size: clamp(2.3rem, 12vw, 4rem);
    line-height: 1.05;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
    margin-top: 1rem;
  }

  /* GENERAL SECTION */
  .section {
    padding: 3rem 1.2rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 2rem;
  }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }

  .service-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .icon {
    font-size: 1.4rem;
  }

  /* PROCESS GRID */
  .process {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .step {
    min-height: auto;
    padding: 1.4rem;
  }

  .step p {
    font-size: 0.95rem;
  }

  /* BUTTONS */
  .contact-btn,
  .contact-btn-2 {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  /* FOOTER */
  footer {
    padding: 2.5rem 1rem;
    font-size: 0.85rem;
  }

  /* GRID BACKGROUND */
  .grid-bg {
    background-size:
      100% 100%,
      24px 24px,
      24px 24px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
  nav {
    gap: 10px;
  }

  nav a {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card p,
  .step p {
    font-size: 0.9rem;
  }
}

/* TOUCH DEVICES */
@media (hover: none) {
  .service-card:hover,
  .step:hover,
  .contact-btn:hover,
  .contact-btn-2:hover {
    transform: none;
    box-shadow: none;
  }
}

/* MOBILE TAP IMPROVEMENTS */
button,
a {
  -webkit-tap-highlight-color: transparent;
}
