/* Linear Clone - Built with $0 local models */
/* Extracted design system from linear.app */

:root {
  /* Colors - Extracted from Linear */
  --bg-dark: rgb(8, 9, 10);
  --text-light: rgb(247, 248, 248);
  --text-muted: rgb(138, 143, 152);
  --primary: rgb(95, 95, 255);
  
  /* Typography - Extracted */
  --font-primary: "Inter Variable", "SF Pro Display", -apple-system, system-ui, sans-serif;
  
  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  
  /* Container */
  --container-max: 1200px;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Navigation */
.nav {
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-right: var(--space-2);
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  padding: 0 12px;
  height: 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-primary);
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-lg {
  height: 48px;
  padding: 0 var(--space-4);
  font-size: 16px;
}

/* Hero */
.hero {
  padding: var(--space-8) 0;
  text-align: center;
}

.hero-title {
  /* Extracted exact values from Linear */
  font-size: 64px;
  font-weight: 510;
  line-height: 64px;
  letter-spacing: -1.408px;
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.hero-footnote {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-img {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-8) 0;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: var(--space-6);
  text-align: center;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-item h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-item p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Product Images */
.product-img {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.two-col h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.two-col p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--space-8) * 2 0;
}

.cta-title {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin-bottom: var(--space-3);
}

.cta-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-8) 0 var(--space-4);
  margin-top: var(--space-8);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-1);
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-3);
  text-align: center;
}

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

/* Utility */
.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-grid,
  .two-col,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 40px;
    line-height: 1.1;
  }
  
  .section-title,
  .cta-title {
    font-size: 32px;
  }
}
