/* SarahUniverse — 2026 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
  --bg: #07080e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(139, 92, 246, 0.3);
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --cosmic-blue: #38bdf8;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #475569;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* === BACKGROUND ORBS === */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 64, 160, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* === STARS (very subtle) === */
.stars, .stars2, .stars3 {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.stars {
  background: transparent url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1.5" fill="white" /><circle cx="50" cy="30" r="1" fill="white"/><circle cx="80" cy="80" r="1.5" fill="white"/></svg>') repeat;
  animation: moveStars 100s linear infinite;
  opacity: 0.12;
}

.stars2 {
  background: transparent url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="white" /><circle cx="60" cy="60" r="1" fill="white"/></svg>') repeat;
  animation: moveStars 150s linear infinite;
  opacity: 0.07;
}

.stars3 {
  background: transparent url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="40" r="1.2" fill="white" /></svg>') repeat;
  animation: moveStars 200s linear infinite;
  opacity: 0.05;
}

@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
}

body > *:not(.stars):not(.stars2):not(.stars3) {
  position: relative;
  z-index: 1;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(7, 8, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  box-sizing: border-box;
  z-index: 10;
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.brand-name {
  display: none;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-light);
  background: rgba(255, 255, 255, 0.07);
}

/* === HEADER === */
.header {
  text-align: center;
  padding: 16px 20px 14px;
  background: linear-gradient(160deg, #0f0520 0%, #1e0a45 35%, #3a1575 65%, #6a209a 85%, #b03898 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(167, 139, 250, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.header-logo {
  height: auto;
  width: clamp(260px, 45vw, 520px);
  max-width: 100%;
  margin-bottom: 0;
  position: relative;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  margin-top: 4px;
  margin-bottom: 0;
}

/* === MAIN CONTENT === */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
}

section {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

section:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
}

h2 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple-light);
  margin-top: 0;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  gap: 12px;
}

ul li strong {
  color: var(--text);
  font-weight: 500;
  min-width: 130px;
  flex-shrink: 0;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  padding-top: 2px;
}

p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

a {
  color: var(--purple-light);
  text-decoration: none;
}

a:hover {
  color: var(--text);
  text-decoration: none;
}

/* === NAVBAR ACTIVE LINK === */
.nav-links a.active {
  color: var(--purple-light);
  background: rgba(255, 255, 255, 0.07);
}

/* === APP CARDS === */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 12px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.app-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
}

.app-icon-wrap {
  flex-shrink: 0;
}

.app-icon-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple), #b03898);
}

.app-icon-wrap img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-name {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  border: none;
  letter-spacing: 0;
  text-transform: none;
}

.app-description {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.app-store-badge img {
  height: 36px;
  width: auto;
  margin-top: 4px;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.app-store-badge:hover img {
  opacity: 1;
}


/* === GITHUB ICON === */
.github-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.github-icon-link:hover {
  transform: scale(1.2);
}

.github-icon {
  width: 22px;
  height: 22px;
  fill: var(--text-muted);
  transition: fill 0.2s;
}

.github-icon-link:hover .github-icon {
  fill: var(--purple-light);
}

/* === FOOTER === */
footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* === RESPONSIVE / MOBILE === */
@media (max-width: 640px) {

  .nav-logo {
    height: 22px;
    max-width: 140px;
  }

  .navbar {
    padding: 12px 16px;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 6px 10px;
  }


  .tagline {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }

  /* Content & sections: reduce padding */
  .content {
    padding: 24px 16px;
  }

  section {
    padding: 20px 16px;
  }

  /* List items: stack label above value instead of side-by-side */
  ul li {
    flex-direction: column;
    gap: 3px;
  }

  ul li strong {
    min-width: unset;
  }

  /* App cards: stack icon above info */
  .app-card {
    flex-direction: column;
    gap: 16px;
  }
}
