/* =========================================
   STYLE.CSS
   Theme: xAI Minimalist Dark Brutalism
   ========================================= */

:root {
  /* Colors */
  --bg-dark: #1f2228;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-disabled: rgba(255, 255, 255, 0.3);
  
  /* Surfaces & Borders */
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --surface-subtle: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --ring-focus: rgba(59, 130, 246, 0.5);

  /* Typography */
  --font-display: 'GeistMono', ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New;
  --font-body: 'universalSans', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Zero shadows, ever */
  box-shadow: none !important; 
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, .hero-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 320px); /* Responsive massive scale */
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
}

h2, .section-heading {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.label, .caption {
  font-size: 14px;
  color: var(--text-secondary);
}

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

/* Inline Links */
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-muted); /* Dims to 0.5 opacity */
}

/* Button Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  border-radius: 0px; /* Brutalist sharp edges */
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Primary Button (White on Dark) */
.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-dark);
  border: none;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background-color: var(--surface-subtle);
}

/* Monospace Tag / Badge */
.tag {
  display: inline-block;
  background-color: transparent;
  color: var(--text-primary);
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 0px;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards & Containers */
.card {
  background-color: transparent;
  border: 1px solid var(--border-default);
  border-radius: 0px;
  padding: 24px;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background-color: var(--surface-subtle);
}

/* Inputs & Forms */
input, textarea {
  background-color: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 0px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  border-color: var(--ring-focus);
  box-shadow: 0 0 0 1px var(--ring-focus) !important; /* Keyboard accessibility */
}

input::placeholder, textarea::placeholder {
  color: var(--text-disabled);
}

/* Section Spacing */
.section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 16px; /* Scales down on smaller screens */
  }
}

/* Layout Alignment & Spacing */
.hero-container {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px; /* Strict 8px base grid spacing */
  max-width: 800px;
}

.hero-subtitle {
  font-size: 16px;
  max-width: 600px;
  color: var(--text-secondary);
}

.button-group {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

/* Trusted By Grid */
.partner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border-default);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.partner-logo {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-disabled); /* Keeps them muted and cinematic */
  transition: color 0.2s ease;
}

.partner-logo:hover {
  color: var(--text-secondary);
}
