/* AnjeerSoft — developer site
   Palette: near-black navy ground, violet/blue signal accent (from the wordmark)
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (labels, metadata)
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --bg: #0A0C12;
  --surface: #12151F;
  --surface-2: #171B27;
  --border: #212636;
  --text: #E9ECF5;
  --muted: #8890A6;
  --muted-2: #575E72;
  --accent: #8B7FFF;
  --accent-2: #5FA8FF;
  --radius: 3px;
  --max: 860px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

/* Ambient glow field — echoes the two light-streaks under the wordmark.
   Fixed, low-opacity, sits behind everything, never repeated per-section. */
body::before{
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  width: 1400px;
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 420px 220px at 30% 15%, rgba(95,168,255,0.16), transparent 70%),
    radial-gradient(ellipse 380px 200px at 72% 10%, rgba(139,127,255,0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

header, .hero, section, footer{ position: relative; z-index: 1; }

a{ color: inherit; }

::selection{ background: var(--accent); color: #0A0C12; }

:focus-visible{
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Header ---------- */

header{
  padding: 24px 0 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,12,18,0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.wordmark{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img{
  height: 30px;
  width: auto;
  display: block;
}

.nav-links{
  display: flex;
  gap: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.nav-links a{ text-decoration: none; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav-links a:hover{ color: var(--text); }

@media (max-width: 480px){
  .nav-links{ gap: 14px; font-size: 11.5px; }
  .wordmark img{ height: 24px; }
}

/* ---------- Hero ---------- */

.hero{
  padding: 64px 0 60px;
  position: relative;
  text-align: center;
}

.hero-logo{
  width: min(420px, 78%);
  height: auto;
  margin: 0 auto 8px;
  display: block;
  animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.hero h1{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.35;
  margin: 4px auto 18px;
  max-width: 30ch;
  color: var(--text);
  animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .08s;
}

.hero p.lede{
  color: var(--muted);
  max-width: 46ch;
  font-size: 15.5px;
  margin: 0 auto;
  animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .14s;
}

.hero .eyebrow{ text-align: center; }

.signal{
  height: 1px;
  width: 220px;
  margin: 44px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-2) 30%, var(--accent) 70%, transparent);
  opacity: 0.6;
}

@keyframes rise{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .hero-logo, .hero h1, .hero p.lede{ animation: none; }
}

/* ---------- Section shell ---------- */

section{
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type{ border-bottom: none; }

section > .eyebrow{ margin-bottom: 6px; }

section h2{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 28px;
}

/* ---------- App entries (dossier style) ---------- */

.app-entry{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.app-entry:hover{
  border-color: #343c58;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -20px rgba(139,127,255,0.35);
}

.app-icon{
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6);
  background: var(--surface-2);
  flex-shrink: 0;
}

.app-meta{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 10px;
}

.app-meta span{ white-space: nowrap; }
.status-dot{
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-right: 6px;
  vertical-align: middle;
}

.app-entry h3{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}

.app-entry p{
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
  max-width: 60ch;
}

.tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tag{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.entry-links{ display: flex; gap: 20px; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent-2);
  padding-bottom: 2px;
  transition: opacity .15s;
}
.btn:hover{ opacity: 0.75; }
.btn.muted{ color: var(--muted); border-color: var(--muted-2); }

@media (max-width: 560px){
  .app-entry{ grid-template-columns: 1fr; }
  .app-icon{ width: 56px; height: 56px; border-radius: 12px; }
}

/* ---------- Studio / about ---------- */

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-grid p{ color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.about-grid h4{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 12px;
}
@media (max-width: 640px){
  .about-grid{ grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
}
.contact-row a{ text-decoration: none; border-bottom: 1px solid var(--border); }
.contact-row a:hover{ border-color: var(--accent-2); }

/* ---------- Footer ---------- */

footer{
  padding: 32px 0 48px;
  color: var(--muted-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Privacy page ---------- */

.doc h1{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin: 18px 0 6px;
}
.doc .updated{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 36px;
}
.doc h2{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  margin: 36px 0 12px;
}
.doc p, .doc li{ color: var(--muted); font-size: 15px; }
.doc ul{ padding-left: 20px; }
.doc strong{ color: var(--text); }
