/* === BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0a0a0f; color: white; }

/* === NAVBAR === */
#navbar.scrolled {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: white; }
.nav-logo-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.nav-logo-box:hover { background: rgba(255,255,255,0.2); }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.mobile-menu {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
}

/* === GLOW === */
.glow-white {
  box-shadow: 0 0 24px 0 rgba(255,255,255,0.06), 0 0 1px 0 rgba(255,255,255,0.15);
}
.text-glow {
  text-shadow: 0 0 40px rgba(255,255,255,0.2);
}

/* === BUTTONS === */
.btn-primary {
  background: white;
  color: black;
  text-decoration: none;
  box-shadow: 0 0 24px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 40px 0 rgba(255,255,255,0.35);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
  background: rgba(255,255,255,0.05);
}

/* === FLOATING PANELS === */
.floating-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 0 24px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: floatIn 0.8s ease-out forwards, floatBob 4s ease-in-out infinite;
}

/* === FEATURE CARDS === */
.feature-card {
  background: #0f0f14;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 24px 0 rgba(255,255,255,0.06), 0 0 1px 0 rgba(255,255,255,0.15);
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 40px 0 rgba(255,255,255,0.1), 0 0 2px 0 rgba(255,255,255,0.25);
}
.feature-icon-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.feature-card:hover .feature-icon-box {
  background: rgba(255,255,255,0.12);
}

/* === WHY CARD === */
.why-card {
  background: #0f0f14;
  border: 1px solid rgba(255,255,255,0.1);
}
.why-left {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 1024px) {
  .why-left {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
}

/* === UPDATE CARDS === */
.update-card {
  background: #0f0f14;
  border: 1px solid rgba(255,255,255,0.1);
}
.update-card:hover {
  border-color: rgba(255,255,255,0.2);
}
.read-more { color: rgba(255,255,255,0.35); }
.read-more:hover { color: rgba(255,255,255,0.7); }

/* === CTA CARD === */
.cta-card {
  background: #0f0f14;
  border: 1px solid rgba(255,255,255,0.15);
}

/* === FOOTER === */
.footer-link { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-link:hover { color: white; }
.social-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* === PULSE === */
.pulse {
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === FADE IN (hero) === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease-out forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === FLOAT ANIMATIONS === */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBob {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

/* === SCROLL FADE === */
.scroll-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
