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

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

:root {
  --bg: #0a0a0a;
  --green: #10b981;
  --border: #2a2a2a;
  --text: #fafafa;
  --secondary: #6b7280;
  --red: #ef4444;
  --amber: #f59e0b;
  --surface: #111111;
  --terminal-bg: #0f0f0f;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

::selection {
  background: var(--green);
  color: var(--bg);
}

a {
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.divider {
  text-align: center;
  color: var(--border);
  font-size: 10px;
  overflow: hidden;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  user-select: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-prefix {
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.section-tag {
  color: var(--secondary);
  font-size: 13px;
}

#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  image-rendering: pixelated;
}

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

.nav-links a {
  font-size: 13px;
  color: var(--secondary);
  transition: color 0.2s;
}

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

.nav-download {
  color: var(--green) !important;
  font-weight: 500;
}

.ascii-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ascii-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 2.2;
  white-space: nowrap;
  color: var(--text);
}

.ascii-layer-1 {
  opacity: 0.02;
  animation: drift1 90s linear infinite;
}

.ascii-layer-1::before {
  content: '═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  ||| ═══ ─── ::: ... >>> <<< /// \\\\  |||';
  display: block;
  padding-top: 10%;
}

.ascii-layer-2 {
  opacity: 0.025;
  animation: drift2 120s linear infinite;
  top: 30%;
}

.ascii-layer-2::before {
  content: '>>> ::: === --- ... <<< ||| /// >>> ::: === --- ... <<< ||| /// >>> ::: === --- ... <<< ||| /// >>> ::: === --- ... <<< ||| /// >>> ::: === --- ... <<< ||| /// >>> ::: === --- ... <<< ||| ///';
  display: block;
}

.ascii-layer-3 {
  opacity: 0.035;
  animation: drift3 70s linear infinite;
  top: 65%;
}

.ascii-layer-3::before {
  content: '─── ||| ::: >>> ═══ ... <<< /// ─── ||| ::: >>> ═══ ... <<< /// ─── ||| ::: >>> ═══ ... <<< /// ─── ||| ::: >>> ═══ ... <<< /// ─── ||| ::: >>> ═══ ... <<< /// ─── ||| ::: >>> ═══ ... <<< ///';
  display: block;
}

@keyframes drift1 {
  from { transform: translateX(0); }
  to { transform: translateX(-33.33%); }
}

@keyframes drift2 {
  from { transform: translateX(-33.33%); }
  to { transform: translateX(0); }
}

@keyframes drift3 {
  from { transform: translateX(-16.66%); }
  to { transform: translateX(-50%); }
}

#nav, main, footer {
  position: relative;
  z-index: 1;
}

#hero {
  padding-top: 80px;
  padding-bottom: 60px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-logo {
  image-rendering: pixelated;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cursor-blink {
  color: var(--green);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 16px;
  color: var(--green);
  margin-bottom: 8px;
  min-height: 26px;
}

.hero-sub {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-meta {
  font-size: 11px;
  color: var(--secondary);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--green);
  color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-transform: lowercase;
}

.btn-primary:hover {
  background: #0ea572;
  opacity: 1;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.demo-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.demo-chrome {
  background: #1a1a1a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  display: block;
}

.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }

.demo-title {
  color: var(--secondary);
  font-size: 11px;
}

.demo-iframe {
  width: 100%;
  height: 550px;
  border: none;
  display: block;
  background: var(--bg);
}

.feature-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #1a1a1a;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-cmd {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  width: 120px;
}

.feature-dash {
  color: var(--border);
  flex-shrink: 0;
}

.feature-desc {
  color: var(--secondary);
  font-size: 13px;
}

.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
}

.step {
  flex: 1;
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.step:hover {
  border-color: var(--green);
}

.step-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.7;
}

.step-arrow {
  color: var(--border);
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

footer {
  padding: 0 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 40px 60px;
  background: var(--surface);
  transition: border-color 0.3s;
}
.pricing-card:hover { border-color: var(--green); }
.pricing-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}
.pricing-sep {
  height: 1px;
  background: var(--border);
  margin: 0 auto 20px;
  width: 80px;
}

.footer-divider {
  color: var(--border);
  font-size: 10px;
  margin-bottom: 24px;
  overflow: hidden;
  user-select: none;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--secondary);
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--border);
}

.footer-logo {
  color: var(--green);
  font-weight: 600;
}

.footer-credit a {
  color: var(--green);
}

.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-icons a {
  color: var(--secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-icons a:hover {
  color: var(--green);
  opacity: 1;
}

.footer-end {
  text-align: center;
  margin-top: 20px;
  font-size: 10px;
  color: #2a2a2a;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section {
    padding: 60px 16px;
  }

  #hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .divider {
    font-size: 8px;
  }

  .nav-links {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .demo-iframe {
    height: 400px;
  }

  .feature-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .feature-cmd {
    width: auto;
  }

  .feature-dash {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 12px;
  }

  .step {
    padding: 24px 16px;
  }
}
