/* Shared styles for PerformX static pages */
:root {
  --aqua: #22d3ee;
  --bg-deep: #020818;
  --bg-900: #080f1e;
  --bg-800: #0c1628;
  --border: rgba(255, 255, 255, 0.07);
  --border-aqua: rgba(34, 211, 238, 0.25);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --font: "Space Grotesk", system-ui, sans-serif;
  --radius: 14px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--aqua);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.875em;
}
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
nav {
  background: rgba(8, 15, 30, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1rem;
  color: inherit;
}
.nav-brand:hover {
  text-decoration: none;
}
.brand-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2em;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.nav-back {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.nav-back:hover {
  color: var(--aqua);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
}
.meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Content */
.content {
  padding-bottom: 5rem;
}
.section {
  margin-bottom: 2.5rem;
}
h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
ul,
ol {
  color: var(--text-muted);
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
li {
  margin-bottom: 0.35rem;
}
strong {
  color: var(--text);
}

.callout {
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p {
  color: var(--text);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}
.card p {
  font-size: 0.85rem;
  margin: 0;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.status-row:last-child {
  border-bottom: none;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.status-dot.yellow {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}
.status-dot.red {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}
.status-label {
  font-size: 0.875rem;
  color: var(--text);
  flex: 1;
}
.status-value {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact form */
.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.65rem 0.875rem;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--aqua);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-primary {
  display: inline-block;
  background: var(--aqua);
  color: #020818;
  font-weight: 700;
  font-family: var(--font);
  padding: 0.7rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}
.btn-primary:hover {
  opacity: 0.88;
  text-decoration: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--aqua);
  text-decoration: none;
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
