/* Styleens Shop — Native Modern CSS (Zero Framework) */
:root {
  --bg-color: #0a0a0a;
  --text-primary: #f5f5f5;
  --text-muted: #888888;
  --text-faint: #444444;
  --border-color: #1a1a1a;
  --status-green: #10b981;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html, body {
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Page Layout */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .page-container {
    padding: 3rem 2.5rem;
  }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--status-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot.green {
  background-color: var(--status-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-dot.red {
  background-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.9); }
}

/* Main Hero Section */
.hero-content {
  text-align: center;
  max-width: 48rem;
  margin: auto auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ef4444;
  line-height: 1;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 5.5rem;
  }
}

.hero-description {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 30rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.15rem;
  }
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-faint);
}

@media (min-width: 640px) {
  .site-footer {
    flex-direction: row;
  }
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.db-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.db-badge.connected {
  color: #10b981;
}

.db-badge.disconnected {
  color: #ef4444;
}

.site-footer a {
  color: var(--text-faint);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--text-muted);
}