/* ---- Custom Properties ---- */
:root {
  --bg:       #0d0d14;
  --bg-alt:   #111119;
  --bg-card:  #16161f;
  --border:   #24243a;
  --purple:   #9b72f0;
  --green:    #3dd68c;
  --text:     #ece9f8;
  --text-muted: #8b8aab;
  --link:     #b89af5;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w: 800px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--purple);
}

h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

address { font-style: normal; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  background: rgba(13, 13, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

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

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

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ---- Sections ---- */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

/* ---- Product Card ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.product-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.platform-badges {
  display: flex;
  gap: 0.4rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  border: 1px solid var(--green);
  color: var(--green);
}

.product-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--purple);
}

.archive-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 0.3rem;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .wordmark { font-size: 0.85rem; }
  nav { gap: 1rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  nav a { font-size: 0.8rem; }
}
