/* ── MemorieAI Shared Styles ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue:      #0071e3;
  --blue-dark: #004488;
  --blue-light:#0077cc;
  --grad: linear-gradient(135deg, #004488 0%, #0077cc 100%);
}
html { scroll-behavior: smooth; }
body { font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--white); color: var(--gray-900); line-height: 1.6; overflow-x: hidden; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  font-size: 18px; font-weight: 700; letter-spacing: -.5px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap; text-decoration: none;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--gray-500); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--gray-900); }
.nav-cta {
  padding: 8px 20px; border-radius: 20px;
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background .15s, transform .1s; white-space: nowrap;
}
.nav-cta:hover { background: #222; transform: translateY(-1px); }

/* ── Footer ── */
footer { background: var(--black); color: rgba(255,255,255,.4); padding: 64px 40px 40px; }
.footer-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { font-size: 20px; display: block; margin-bottom: 12px; -webkit-text-fill-color: transparent; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.35); max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.8); }
.footer-bottom { max-width: 1080px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

/* ── Page hero ── */
.page-hero { background: var(--black); color: var(--white); padding: 80px 40px 72px; }
.page-hero .container { max-width: 1080px; margin: 0 auto; }
.page-hero .section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.5); max-width: 560px; line-height: 1.7; }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Utilities ── */
.container { max-width: 1080px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
section { padding: 80px 40px; }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 56px 20px; }
  .page-hero { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
