/* Catalyst — Enterprise AI IDE Website
   Corporate America. Advanced. Sellable. */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --border: #252530;
  --text: #e8e8ed;
  --text-dim: #8888a0;
  --accent: #0066ff;
  --accent-hover: #3385ff;
  --accent-dim: rgba(0, 102, 255, 0.15);
  --success: #00c853;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Top bar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  color: var(--accent);
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
}

.logo-text sup {
  font-size: 10px;
  vertical-align: super;
  color: var(--text-dim);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text);
}

.topbar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 18px; }

.price-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dim);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 102, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* Trust bar */
.trust-bar {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-text {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--bg-elevated);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 48px;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(0, 102, 255, 0.3);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Comparison table */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  background: var(--bg-card);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* Enterprise list */
.enterprise-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}

.enterprise-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-dim);
}

.enterprise-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-card .badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card .price-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.pricing-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pricing-card .btn {
  width: 100%;
}

/* CTA section */
.cta-section {
  padding: 120px 24px;
}

.download-box {
  text-align: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.download-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
}

/* Footer */
.footer {
  padding: 48px 24px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-brand .logo-icon {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .comparison-table th, .comparison-table td { padding: 12px; font-size: 12px; }
}
