@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

/* ── Aurora Design System — CSS port ── */

:root {
  --ink:       #0E1116;
  --ink2:      #151921;
  --card:      #171B22;
  --card2:     #1E232C;
  --glass:     rgba(255,255,255,0.06);
  --edge:      rgba(255,255,255,0.08);
  --edge2:     rgba(255,255,255,0.14);
  --text:      #F2F5FA;
  --dim:       rgba(242,245,250,0.62);
  --faint:     rgba(242,245,250,0.40);
  --blue:      #7C8CFF;
  --blue-glow: rgba(124,140,255,0.18);
  --teal:      #46D9C0;
  --gold:      #F2C879;
  --alert:     #FBBF44;
  --alert-red: #FB7185;
  --highlight: rgba(255,255,255,0.05);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: #0B0D11;
  background-image: linear-gradient(to bottom, #191E2A, #11151C, #0B0D11);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.site { position: relative; z-index: 2; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,17,22,0.72);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-right { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
  color: var(--faint); text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.nav-back {
  font-family: 'Manrope', sans-serif;
  font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
  color: var(--faint); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--dim); }
.nav-back::before { content: '←'; font-size: 14px; font-weight: 400; }

/* ── Card surface ── */
.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: relative;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  border-radius: 20px 20px 0 0;
  background: var(--highlight);
  pointer-events: none;
}

/* ── Footer base ── */
footer {
  border-top: 1px solid var(--edge);
  position: relative; z-index: 2;
}

.footer-brand {
  font-family: 'Sora', sans-serif;
  font-size: 18px; font-weight: 600; letter-spacing: -0.3px;
  color: var(--dim);
}

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
  color: var(--faint); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--dim); }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (max-width: 768px) {
  nav { padding: 18px 24px; }
}
