/* PgStudio Marketing Site */
:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --pro: #2563eb;
  --enterprise: #7c3aed;
  --green: #22c55e;
  --border: #334155;
  --radius: 8px;
  --max-width: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card-hover); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero h1 span { color: var(--accent); }
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Feature Grid ===== */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.features .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }
.feature-icon { font-size: 1.4rem; }

/* ===== Pricing ===== */
.pricing {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.pricing h2 { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; }
.pricing .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}
.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
}
.pricing-card .price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}
.pricing-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-card li .check { color: var(--green); }
.pricing-card li .cross { color: #64748b; }
.pricing-card .btn { width: 100%; margin-top: 0.5rem; }

/* ===== Founding Banner ===== */
.founding-banner {
  max-width: 700px;
  margin: 0 auto 4rem;
  background: linear-gradient(135deg, #1e3a5f, #2563eb33);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.founding-banner h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.founding-banner p { color: var(--text-muted); font-size: 0.95rem; }
.founding-banner .founding-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.5rem 0;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ===== Feature Page ===== */
.feature-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.feature-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.feature-section p {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.feature-section .feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}
.feature-section .feature-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 1rem; }
}
