/* SarahMae Apps — modern dark studio theme */
:root {
  --bg: #0e1526;
  --bg-soft: #16203a;
  --card: #1a2542;
  --card-border: #2a3a63;
  --text: #eef2ff;
  --muted: #aab6d8;
  --accent: #2dd4bf;      /* teal */
  --accent-warm: #fb7185; /* coral */
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.4rem; }

a { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { font-size: 1.25rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: 0.02em; }
.brand span { color: var(--accent); }
.site-header nav a { color: var(--muted); text-decoration: none; margin-left: 1.4rem; font-weight: 600; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 5.5rem 0 4rem; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--card-border); border-radius: 999px;
  padding: 0.35rem 1rem; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 20ch; margin: 0 auto 1.2rem; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 44ch; margin: 0 auto 2rem; }
.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #062a26; box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25); }
.btn-ghost { border: 1px solid var(--card-border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* App cards */
#apps { padding: 1rem 0 2rem; }
.app-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 2.2rem;
  margin-bottom: 2rem;
}
.app-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 50px rgba(45, 212, 191, 0.12); }
.app-badges { margin-bottom: 1rem; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 999px; padding: 0.3rem 0.85rem; margin-right: 0.5rem;
}
.badge-new { background: var(--accent-warm); color: #3b0a12; }
.badge-beta { background: rgba(45, 212, 191, 0.15); color: var(--accent); border: 1px solid var(--accent); }

.app-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.app-card h2 { font-size: 1.7rem; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.app-sub { display: block; font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.tagline { color: var(--accent-warm); font-weight: 700; margin-bottom: 0.8rem; }
.app-card p { color: var(--muted); margin-bottom: 1rem; }
.app-card p strong { color: var(--text); }

.features { list-style: none; margin: 0 0 1.2rem; }
.features li { color: var(--muted); padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.features li strong { color: var(--text); }

.beta-note { color: var(--text); font-weight: 600; }
.app-icon img { width: 100%; border-radius: 24px; border: 1px solid var(--card-border); }
.app-art img { width: 100%; border-radius: 14px; border: 1px solid var(--card-border); }

/* Screenshot gallery */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin-top: 1.8rem;
}
.shots figure { text-align: center; }
.shots img {
  width: 100%; border-radius: 12px; border: 1px solid var(--card-border);
  transition: transform 0.15s ease;
}
.shots img:hover { transform: scale(1.03); }
.shots figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }

/* Idea band */
.idea-band { background: var(--bg-soft); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 3.5rem 0; text-align: center; }
.idea-band h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.idea-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.6rem; }
.idea-band p strong { color: var(--text); }

/* Footer */
.site-footer { padding: 3rem 0 2.5rem; text-align: center; }
.footer-brand { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.6rem; }
.footer-brand span { color: var(--accent); }
.site-footer p { color: var(--muted); margin-bottom: 0.5rem; }
.site-footer .fine { font-size: 0.85rem; margin-top: 1.4rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 760px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-icon img { max-width: 220px; }
  .site-header nav a { margin-left: 0.9rem; }
  .hero { padding: 3.5rem 0 2.5rem; }
}
