/* TRam AI Platform — Agents UI */
:root {
  --navy: #0C1F3F;
  --navy-light: #2C5F8A;
  --gold: #C9A227;
  --gold-light: #d4b347;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --text: #333333;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -1px;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.primary-nav a:hover { color: var(--gold); }

.primary-nav a.cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 600;
}

.primary-nav a.cta:hover { background: var(--gold-light); color: var(--navy); }

/* Main */
.site-main { flex: 1; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); color: var(--gold); }

/* Catalog */
.catalog { padding: 96px 0 120px 0; background: var(--cream); }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.catalog h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 56px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.agent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.agent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(12, 31, 63, 0.08);
  border-color: var(--gold);
}

.agent-card-status {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.agent-card.placeholder .agent-card-status {
  color: var(--text-muted);
  border-color: var(--border);
}

.agent-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 12px;
}

.agent-card p {
  color: var(--text);
  font-size: 15px;
  flex: 1;
  margin-bottom: 24px;
}

.agent-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.agent-card-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  font-size: 13px;
}

.site-footer .container { display: flex; gap: 12px; align-items: center; justify-content: center; }

.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.separator { color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 64px 0 56px 0; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 16px; }
  .catalog { padding: 64px 0 80px 0; }
  .catalog h2 { font-size: 36px; }
  .primary-nav { gap: 16px; font-size: 13px; }
  .primary-nav a:not(.cta) { display: none; }
}
