/* =========================
   LIQUID GLASS NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  /* 🔥 Force remove any border/shadow */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Liquid glass layer */
/* =========================
   CONTINUOUS LIQUID GLASS
========================= */

/* Liquid glass surface */
.liquid-glass {
  /* High opacity + heavy blur = Frosted Glass (Text hidden, colors visible) */
  background: rgba(var(--bg-rgb), 0.8);

  /* CRITICAL: Heavy blur to obscure scrolling text completely */
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);

  /* Subtle separation border */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  /* Remove other borders/shadows */
  outline: none !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

/* Inner container */
.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

/* =========================
   NAV LINKS
========================= */

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
}

/* Liquid underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* =========================
   NAV ACTIONS
========================= */

.nav-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Connect Button (Liquid Pill) */
/* =========================
   CONNECT BUTTON (MATCH HERO BUTTONS)
========================= */

.connect-btn {
  position: relative;
  padding: 10px 18px;
  border-radius: 12px; /* same as hero buttons */
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(
    135deg,
    rgba(124, 124, 255, 0.55),
    rgba(124, 124, 255, 0.25)
  );
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(124, 124, 255, 0.3);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Subtle reflection (same system) */
.connect-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18),
    transparent 65%
  );
  opacity: 0;
  transform: translateX(0);
  transition:
    opacity 0.25s ease,
    transform 0.4s ease;
}

/* Hover */
.connect-btn:hover {
  transform: translateY(-1px);
}

.connect-btn:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

/* Active */
.connect-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Theme Button */
.theme-btn {
  font-size: 1.1rem;
  cursor: pointer;
}

/* =========================
   SCROLL REACTION (OPTIONAL)
========================= */

body.scrolled .liquid-glass {
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
}
textarea::placeholder {
  color: var(--text);
  opacity: 0.7;
}
textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}
textarea::placeholder {
  color: var(--text);
  opacity: 0.7;
}
textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

.contact-card button {
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}
.contact-card button:hover {
  background: darken(var(--accent), 10%);
}
textarea::placeholder {
  color: var(--text);
  opacity: 0.7;
}
textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}
.contact-card button {
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}
.contact-card button:hover {
  background: darken(var(--accent), 10%);
}
