/* MemeLabz site theme — mirrors mobile app palette */

:root {
  --bg: #090e1a;
  --surface: #1a2744;
  --surface-light: #243358;
  --cyan: #00c8ff;
  --cyan-glow: rgba(0, 200, 255, 0.4);
  --cyan-dim: rgba(0, 200, 255, 0.15);
  --purple: #6e3fff;
  --gold: #ffb830;
  --text: #e8f4ff;
  --text-secondary: rgba(232, 244, 255, 0.6);
  --text-muted: rgba(232, 244, 255, 0.3);
  --border: rgba(232, 244, 255, 0.1);
  --border-cyan: rgba(0, 200, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle radial gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 200, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(110, 63, 255, 0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.75;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  color: var(--text-secondary);
}

.nav a:hover {
  color: var(--cyan);
  opacity: 1;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.tagline {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
}

.store-badge .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.store-badge .name {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Features */
.features {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.section-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Legal pages */
.legal-page {
  padding: 64px 0 32px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.legal-page h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-page ul {
  margin: 12px 0 20px 24px;
  color: var(--text-secondary);
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong {
  color: var(--text);
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 64px 0 48px;
  }

  .nav {
    gap: 16px;
  }

  .nav a span.hide-mobile {
    display: none;
  }
}
