/* ═══════════════════════════════════════
   NovaMind AI — Shared Stylesheet
   Dark space theme · violet/cyan palette
   ═══════════════════════════════════════ */

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

:root {
  --bg:        #080910;
  --surface:   #0f1022;
  --surface2:  #141629;
  --border:    rgba(255,255,255,0.07);
  --violet:    #6C47FF;
  --violet-lo: rgba(108,71,255,0.15);
  --cyan:      #3ECFCF;
  --cyan-lo:   rgba(62,207,207,0.12);
  --text:      #E8E8F4;
  --text-muted:#9898B8;
  --radius:    14px;
}

html { scroll-behavior: smooth; }

/* 🔥 GLOBAL BACKGROUND LOGO */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('logo-bg.png') center center no-repeat;
  background-size: 650px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

body {
  position: relative;
  z-index: 1;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; }
a { text-decoration: none; color: inherit; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,71,255,0.35);
}

.btn-primary:hover {
  background: #7d5fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,71,255,0.5);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 44px;
  display: flex;
  align-items: center;
  background: rgba(8,9,16,0.65);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 🔥 LOGO */
.logo {
  display: flex;
  align-items: center;
}

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

/* ── Navigation ── */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* ── Sections ── */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

/* ── Footer ── */
.footer {
  padding: 56px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero glow ── */
.hero h1 {
  text-shadow: 
    0 0 40px rgba(108,71,255,0.6),
    0 0 80px rgba(62,207,207,0.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .logo img {
    height: 55px;
  }

  .navbar {
    height: 80px;
  }
}

/* 🔥 FINAL NAVBAR FIX */
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
}

.nav-inner {
  align-items: center;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.btn {
  line-height: 1;
}

/* ── Footer Upgrade ── */
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-col h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-signup {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: var(--violet);
  border-radius: 6px;
  color: #fff !important;
}
