:root {
  --bg: #0a0a0f;
  --surface: rgba(15, 15, 25, 0.7);
  --primary: #00f3ff;
  --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;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* Cursor */
.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: 34px;
  height: 34px;
  background: transparent;
  border: 2px solid var(--primary);
}

/* Background */
.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;
}
.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 */
header {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.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 {
  max-width: 600px;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* SECTION */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

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

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* FORM */
.form-wrap {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

form {
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--glow);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* BUTTON */
.cta-btn {
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid #1400ff;
  background: transparent;
  color: white;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.7s ease;
}

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

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

.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);
}

/*success on email sent*/

.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glow);
  transform: translateX(200%);
  transition: 0.4s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateX(0);
}

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

  .cursor {
    display: none;
  }

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

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

  .navbar {
    max-width: 1200px;
  }

  .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.4rem, 12vw, 4rem);
    line-height: 1.05;
    text-align: center;
  }

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

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

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

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

  .contact-card {
    padding: 1.5rem;
  }

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

  .contact-card p {
    font-size: 0.95rem;
    word-break: break-word;
  }

  /* FORM */
  .form-wrap {
    margin-top: 3rem;
  }

  form {
    width: 100%;
  }

  input,
  textarea {
    width: 100%;
    font-size: 16px; /* prevents iOS zoom */
    padding: 14px;
  }

  textarea {
    min-height: 130px;
  }

  /* BUTTON */
  .cta-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }

  /* TOAST */
  .toast {
    top: auto;
    bottom: 20px;
    right: 10px;
    left: 10px;
    width: auto;
    text-align: center;
    transform: translateY(150%);
  }

  .toast.show {
    transform: translateY(0);
  }

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

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

@media (hover: none) {
  .contact-card:hover {
    transform: none;
    box-shadow: none;
  }
}

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

  nav a {
    font-size: 0.75rem;
  }

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

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

  .contact-card {
    padding: 1.2rem;
  }

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

  .icon {
    font-size: 1.4rem;
  }
}
