@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f8fa;
  --bg-tertiary: #eaeef2;
  --bg-border: #d0d7de;
  --bg-surface: #dfe3e8;
  --text-primary: #1f2328;
  --text-secondary: #656d76;
  --text-muted: #8c959f;
  --accent-blue: #0969da;
  --accent-cyan: #0598bc;
  --status-green: #238636;
  --status-red: #da3633;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ——— Nav ——— */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-blue);
}

.nav-cta {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--bg-border);
  border-radius: 999px;
  transition: all 0.2s;
}

.nav-cta:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--bg-secondary);
}

/* ——— Hero ——— */

.hero {
  padding: 160px 0 100px;
  text-align: center;
}


.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ——— Terminal ——— */

.hero-terminal {
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--bg-border);
  background: #0d1117;
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #30363d;
}

.terminal-dot:first-child {
  background: #ff5f57;
}

.terminal-dot:nth-child(2) {
  background: #febc2e;
}

.terminal-dot:nth-child(3) {
  background: #28c840;
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6e7681;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-right: 36px;
}

.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13.5px;
  line-height: 1.8;
}

.terminal-line {
  display: flex;
  gap: 10px;
}

.terminal-prompt {
  color: #58a6ff;
  user-select: none;
}

.terminal-cmd {
  color: #f0f6fc;
}

.terminal-output {
  color: #3fb950;
  padding-left: 22px;
  margin-bottom: 8px;
}

.terminal-output:last-child {
  margin-bottom: 0;
}

/* ——— Philosophy ——— */

.philosophy {
  padding: 120px 0;
  border-top: 1px solid var(--bg-border);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-text h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.philosophy-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.value {
  padding-left: 24px;
  border-left: 2px solid var(--bg-border);
  transition: border-color 0.3s;
}

.value:hover {
  border-color: var(--accent-blue);
}

.value-number {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.value h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

/* ——— Features ——— */

.features {
  padding: 120px 0;
  border-top: 1px solid var(--bg-border);
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--bg-border);
  background: var(--bg-secondary);
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: var(--text-muted);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

/* ——— Roadmap ——— */

.roadmap {
  padding: 120px 0;
  border-top: 1px solid var(--bg-border);
}

.roadmap-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.roadmap-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.roadmap-detail {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.roadmap-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.roadmap-example {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-border);
  background: var(--bg-secondary);
}

.roadmap-example-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.roadmap-example p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .roadmap-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .roadmap-examples {
    grid-template-columns: 1fr;
  }
}

/* ——— Comparison ——— */

.comparison {
  padding: 120px 0;
  border-top: 1px solid var(--bg-border);
}

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

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

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

.comparison-table thead th {
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.comparison-table thead th.highlight {
  color: var(--accent-blue);
}

.comparison-table tbody td {
  color: var(--text-secondary);
}

.comparison-table tbody td.highlight-yes {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table tbody td.highlight-no {
  color: var(--accent-blue);
  font-weight: 600;
  background: rgba(9, 105, 218, 0.06);
}

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

.comparison-table tbody tr:hover td {
  background: var(--bg-secondary);
}

.comparison-table tbody tr:hover td.highlight-no {
  background: rgba(9, 105, 218, 0.1);
}

/* ——— CTA ——— */

.cta {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--bg-border);
}

.cta h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 999px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.cta-button:hover {
  background: #0860c7;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(9, 105, 218, 0.2);
}

/* ——— Footer ——— */

.footer {
  border-top: 1px solid var(--bg-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.footer-text a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-logo img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 1;
}

/* ——— Responsive ——— */

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-sub br {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-text h2,
  .section-header h2 {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 13px;
  }

  .terminal-body {
    font-size: 12px;
    padding: 16px;
  }
}
